瀏覽代碼

qcacmn: Set extended supported rates IE max len to 12

As per the spec, the maximum IE length of supported rates are 8 and ext
supported rates are max_rates minus supported rates (=44-8).
In the field, some APs are non-compliance with the spec and includes
12 rates. Due to this, our STAs does not scan and connect to those APs.

To fix this issue, supported rates IE length is already set to 8. Hence,
set extended supported rates IE max len back to 12.

Change-Id: I0d8ce972b08aa28c08a7e797df4208dd36154983
CRs-Fixed: 3036878
Shashikala Prabhu 3 年之前
父節點
當前提交
2b8f8e7ee5
共有 1 個文件被更改,包括 1 次插入7 次删除
  1. 1 7
      umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h

+ 1 - 7
umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h

@@ -146,13 +146,7 @@
 #define WLAN_CSA_IE_MAX_LEN                      3
 #define WLAN_XCSA_IE_MAX_LEN                     4
 #define WLAN_SECCHANOFF_IE_MAX_LEN               1
-
-#define WLAN_MAX_SUPPORTED_RATES                 44
-/* Maximum extended supported rates is equal to WLAN_MAX_SUPPORTED_RATES minus
- * WLAN_SUPPORTED_RATES_IE_MAX_LEN.
- */
-#define WLAN_EXT_SUPPORTED_RATES_IE_MAX_LEN      \
-	(WLAN_MAX_SUPPORTED_RATES - WLAN_SUPPORTED_RATES_IE_MAX_LEN)
+#define WLAN_EXT_SUPPORTED_RATES_IE_MAX_LEN      12
 
 #define WLAN_EXTCAP_IE_MAX_LEN                   15
 #define WLAN_FILS_INDICATION_IE_MIN_LEN          2