From edab7cf824c2646deb120c527c423058c6f17160 Mon Sep 17 00:00:00 2001 From: Gyanranjan Hazarika Date: Thu, 7 May 2020 11:18:43 -0700 Subject: [PATCH] qcacmn: Define WMI_BEACON_TX_BUFFER_SIZE distinctly for WIN AP The current value of WMI_BEACON_TX_BUFFER_SIZE imposes a limita- tion on the size of the probe-response template that host can send to target. This limit is good for offloading probe response to target in case of soft-ap WIN AP requires to support up to 16 VAPs in a single WIFI radio. Also, 20TU probe response requirement for 6Ghz AP now requires WIN AP to offload probe response The current limit of 500 bytes is sufficient for soft-ap but does not fulfill 16 6Ghz WIN AP requirement Define WMI_BEACON_TX_BUFFER_SIZE for WIN AP as 1500 bytes CRs-fixed: 2681235 Change-Id: I6251ee049451aa0c4a0482d772842a4f688b2f89 --- wmi/inc/wmi_unified_param.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index 9b93668977..fcc15bd9c8 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -52,7 +52,13 @@ #define WMI_MCC_MIN_CHANNEL_QUOTA 20 #define WMI_MCC_MAX_CHANNEL_QUOTA 80 #define WMI_MCC_MIN_NON_ZERO_CHANNEL_LATENCY 30 + +#ifdef WMI_AP_SUPPORT +#define WMI_BEACON_TX_BUFFER_SIZE (1500) +#else #define WMI_BEACON_TX_BUFFER_SIZE (512) +#endif + #define WMI_WIFI_SCANNING_MAC_OUI_LENGTH 3 #define WMI_EXTSCAN_MAX_SIGNIFICANT_CHANGE_APS 64 #define WMI_RSSI_THOLD_DEFAULT -300