Browse Source

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

Linux Build Service Account 5 years ago
parent
commit
1af0162f69
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