Browse Source

qca-wifi: Set data buffers as 1792 if NO_RX_PKT_HDR_TLV is 1

Set RX data buffers as 1792 only if NO_RX_PKT_HDR_TLV is set as 1

Change-Id: Ie317da58c8ac860373d9630872810bc149a87c8a
CRs-Fixed: 2615883
Shashikala Prabhu 5 years ago
parent
commit
7e543d1f82
1 changed files with 1 additions and 1 deletions
  1. 1 1
      configs/wlan_cfg/ap_wlan_cfg.config

+ 1 - 1
configs/wlan_cfg/ap_wlan_cfg.config

@@ -28,7 +28,7 @@ else
 EXTRA_CFLAGS += -DWLAN_CFG_NUM_TX_DESC=0x320000
 endif
 
-ifdef NO_RX_PKT_HDR_TLV
+ifeq ($(strip ${NO_RX_PKT_HDR_TLV}),1)
 #RX_BUFFER_SIZE = 1536 data bytes + 256 RX TLV bytes. We are avoiding
 #128 bytes of RX_PKT_HEADER_TLV.
 EXTRA_CFLAGS += -DRX_DATA_BUFFER_SIZE=1792