Browse Source

qca-wifi: Configure data buffer size in config file

Configure data buffer size in ap_wlan_cfg config file.

Change-Id: I26471e0bfba19102a11aafa6e1a7f9e0311d1ab7
CRs-Fixed: 2605813
Shashikala Prabhu 5 years ago
parent
commit
26609ca370
1 changed files with 6 additions and 0 deletions
  1. 6 0
      configs/wlan_cfg/ap_wlan_cfg.config

+ 6 - 0
configs/wlan_cfg/ap_wlan_cfg.config

@@ -28,3 +28,9 @@ else
 EXTRA_CFLAGS += -DWLAN_CFG_NUM_TX_DESC=0x320000
 endif
 
+ifdef NO_RX_PKT_HDR_TLV
+#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
+EXTRA_CFLAGS += -DRX_DATA_BUFFER_ALIGNMENT=0
+endif