Browse Source

Merge "qca-wifi: Configure data buffer size in config file"

Linux Build Service Account 5 năm trước cách đây
mục cha
commit
5b6fc67c30
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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