Browse Source

Merge "qca-wifi: Set monitor buffer size as 2K for 256M profile"

Linux Build Service Account 5 years ago
parent
commit
a5987e5cd7
1 changed files with 4 additions and 0 deletions
  1. 4 0
      configs/wlan_cfg/ap_wlan_cfg.config

+ 4 - 0
configs/wlan_cfg/ap_wlan_cfg.config

@@ -33,6 +33,10 @@ ifeq ($(strip ${NO_RX_PKT_HDR_TLV}),1)
 #128 bytes of RX_PKT_HEADER_TLV.
 EXTRA_CFLAGS += -DRX_DATA_BUFFER_SIZE=1792
 EXTRA_CFLAGS += -DRX_DATA_BUFFER_ALIGNMENT=0
+ifeq ($(strip ${QCA_LOWMEM_CONFIG}),1)
+EXTRA_CFLAGS += -DRX_MONITOR_BUFFER_SIZE=1792
+EXTRA_CFLAGS += -DRX_MONITOR_BUFFER_ALIGNMENT=0
+endif
 endif
 
 EXTRA_CFLAGS += -DWLAN_PSOC_MAX_VDEVS=60