From 079ec73fbc395844024ca7da19c4c7f19b9211f4 Mon Sep 17 00:00:00 2001 From: gaurank kathpalia Date: Tue, 4 Dec 2018 13:23:52 +0530 Subject: [PATCH] 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: Ib0e25c94e781ccd44b7f08ea3db6109ad8d6ad22 CRs-Fixed: 2360709 --- umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h b/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h index 6b654772a9f0..d4b459be8df4 100644 --- a/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h +++ b/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h @@ -96,7 +96,7 @@ /* Individual element IEs length checks */ -#define WLAN_SUPPORTED_RATES_IE_MAX_LEN 8 +#define WLAN_SUPPORTED_RATES_IE_MAX_LEN 12 #define WLAN_DS_PARAM_IE_MAX_LEN 1 #define WLAN_COUNTRY_IE_MIN_LEN 3 #define WLAN_QUIET_IE_MAX_LEN 6