diff --git a/dp/wifi3.0/dp_tx_desc.h b/dp/wifi3.0/dp_tx_desc.h index 9cbe6ad3b0ab..0d306ed0d91c 100644 --- a/dp/wifi3.0/dp_tx_desc.h +++ b/dp/wifi3.0/dp_tx_desc.h @@ -25,14 +25,14 @@ /** * 21 bits cookie - * 3 bits ring id 0 ~ 7, - * 8 bits page id 0 ~ 512 + * 2 bits pool id 0 ~ 3, + * 10 bits page id 0 ~ 1023 * 5 bits offset id 0 ~ 31 (Desc size = 128, Num descs per page = 4096/128 = 32) */ /* ???Ring ID needed??? */ -#define DP_TX_DESC_ID_POOL_MASK 0x01C000 -#define DP_TX_DESC_ID_POOL_OS 14 -#define DP_TX_DESC_ID_PAGE_MASK 0x003FE0 +#define DP_TX_DESC_ID_POOL_MASK 0x018000 +#define DP_TX_DESC_ID_POOL_OS 15 +#define DP_TX_DESC_ID_PAGE_MASK 0x007FE0 #define DP_TX_DESC_ID_PAGE_OS 5 #define DP_TX_DESC_ID_OFFSET_MASK 0x00001F #define DP_TX_DESC_ID_OFFSET_OS 0 diff --git a/wlan_cfg/wlan_cfg.c b/wlan_cfg/wlan_cfg.c index 645675b7d88a..56b258a1b0a9 100644 --- a/wlan_cfg/wlan_cfg.c +++ b/wlan_cfg/wlan_cfg.c @@ -65,7 +65,7 @@ #define WLAN_LRO_ENABLE 0 /* Tx Descriptor and Tx Extension Descriptor pool sizes */ -#define WLAN_CFG_NUM_TX_DESC (16 << 10) +#define WLAN_CFG_NUM_TX_DESC (32 << 10) #define WLAN_CFG_NUM_TX_EXT_DESC (8 << 10)