浏览代码

qcacmn: Fix Supported rates max length

Currently the driver checks for the supported rates IE,
and if the length of the IE is greater than 8, the driver
rejects the IE, according to spec.
But some APs supports 12 rates hence are not scanned.

Fix is to have a supported rates IE length check of 12 instead
of 8.

Change-Id: I3e32171e1b089ccc8754872fa5c37ba35b8b2cf7
CRs-Fixed: 3036878
abhinav kumar 3 年之前
父节点
当前提交
8fc035b072
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h

+ 2 - 2
umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h

@@ -136,8 +136,8 @@
 
 /* Individual element IEs length checks */
 
-/* Maximum supported basic/mandatory rates are 8. */
-#define WLAN_SUPPORTED_RATES_IE_MAX_LEN          8
+/* Maximum supported basic/mandatory rates are 12 */
+#define WLAN_SUPPORTED_RATES_IE_MAX_LEN          12
 #define WLAN_FH_PARAM_IE_MAX_LEN                 5
 #define WLAN_DS_PARAM_IE_MAX_LEN                 1
 #define WLAN_CF_PARAM_IE_MAX_LEN                 6