|
@@ -64,10 +64,8 @@
|
|
|
#define UP_LD_CMD_PORT_HOST_INT_STATUS (0x40U)
|
|
|
#define DN_LD_CMD_PORT_HOST_INT_STATUS (0x80U)
|
|
|
|
|
|
-#define SDIO_MP_TX_AGGR_DEF_BUF_SIZE (8192) /* 8K */
|
|
|
-
|
|
|
-/* Multi port RX aggregation buffer size */
|
|
|
-#define SDIO_MP_RX_AGGR_DEF_BUF_SIZE (16384) /* 16K */
|
|
|
+#define MWIFIEX_MP_AGGR_BUF_SIZE_16K (16384)
|
|
|
+#define MWIFIEX_MP_AGGR_BUF_SIZE_32K (32768)
|
|
|
|
|
|
/* Misc. Config Register : Auto Re-enable interrupts */
|
|
|
#define AUTO_RE_ENABLE_INT BIT(4)
|
|
@@ -234,6 +232,8 @@ struct sdio_mmc_card {
|
|
|
bool supports_sdio_new_mode;
|
|
|
bool has_control_mask;
|
|
|
u16 tx_buf_size;
|
|
|
+ u32 mp_tx_agg_buf_size;
|
|
|
+ u32 mp_rx_agg_buf_size;
|
|
|
|
|
|
u32 mp_rd_bitmap;
|
|
|
u32 mp_wr_bitmap;
|
|
@@ -258,6 +258,8 @@ struct mwifiex_sdio_device {
|
|
|
bool supports_sdio_new_mode;
|
|
|
bool has_control_mask;
|
|
|
u16 tx_buf_size;
|
|
|
+ u32 mp_tx_agg_buf_size;
|
|
|
+ u32 mp_rx_agg_buf_size;
|
|
|
};
|
|
|
|
|
|
static const struct mwifiex_sdio_card_reg mwifiex_reg_sd87xx = {
|
|
@@ -315,6 +317,8 @@ static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = {
|
|
|
.supports_sdio_new_mode = false,
|
|
|
.has_control_mask = true,
|
|
|
.tx_buf_size = MWIFIEX_TX_DATA_BUF_SIZE_2K,
|
|
|
+ .mp_tx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_16K,
|
|
|
+ .mp_rx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_16K,
|
|
|
};
|
|
|
|
|
|
static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = {
|
|
@@ -325,6 +329,8 @@ static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = {
|
|
|
.supports_sdio_new_mode = false,
|
|
|
.has_control_mask = true,
|
|
|
.tx_buf_size = MWIFIEX_TX_DATA_BUF_SIZE_2K,
|
|
|
+ .mp_tx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_16K,
|
|
|
+ .mp_rx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_16K,
|
|
|
};
|
|
|
|
|
|
static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = {
|
|
@@ -335,6 +341,8 @@ static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = {
|
|
|
.supports_sdio_new_mode = false,
|
|
|
.has_control_mask = true,
|
|
|
.tx_buf_size = MWIFIEX_TX_DATA_BUF_SIZE_2K,
|
|
|
+ .mp_tx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_16K,
|
|
|
+ .mp_rx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_16K,
|
|
|
};
|
|
|
|
|
|
static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = {
|
|
@@ -345,6 +353,8 @@ static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = {
|
|
|
.supports_sdio_new_mode = true,
|
|
|
.has_control_mask = false,
|
|
|
.tx_buf_size = MWIFIEX_TX_DATA_BUF_SIZE_4K,
|
|
|
+ .mp_tx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_32K,
|
|
|
+ .mp_rx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_32K,
|
|
|
};
|
|
|
|
|
|
/*
|