Explorar o código

qcacld-3.0: Add MBO IE in assoc response for RSSI based assoc reject

Add MBO IE in assoc response to extract params for RSSI based
assoc reject.

Change-Id: I426e99e490c58aff5e1fa90b763dd5f788d63fa5
CRs-Fixed: 2063865
Abhishek Singh %!s(int64=7) %!d(string=hai) anos
pai
achega
4c1ec99d15

+ 2 - 0
core/mac/src/cfg/cfgUtil/dot11f.frms

@@ -3634,6 +3634,7 @@ FRAME AssocResponse                       // 7.2.3.5
     OPTIE  vendor_he_op;
     OPTIE  bss_color_change;
     OPTIE  mu_edca_param_set;
+    OPTIE  MBO_IE;
 } // End frame AssocResponse.
 
 FRAME ReAssocRequest                      // 7.2.3.6
@@ -3712,6 +3713,7 @@ FRAME ReAssocResponse                     // 7.2.3.7
     OPTIE  vendor_he_op;
     OPTIE  bss_color_change;
     OPTIE  mu_edca_param_set;
+    OPTIE  MBO_IE;
 } // End frame ReAssocResponse.
 
 FRAME ProbeRequest                        // 7.2.3.8

+ 3 - 1
core/mac/src/include/dot11f.h

@@ -35,7 +35,7 @@
  *
  *
  * This file was automatically generated by 'framesc'
- * Thu Jul  6 16:41:06 2017 from the following file(s):
+ * Fri Jul 14 12:29:59 2017 from the following file(s):
  *
  * dot11f.frms
  *
@@ -9291,6 +9291,7 @@ typedef struct sDot11fAssocResponse{
 	tDot11fIEvendor_he_op                 vendor_he_op;
 	tDot11fIEbss_color_change             bss_color_change;
 	tDot11fIEmu_edca_param_set            mu_edca_param_set;
+	tDot11fIEMBO_IE                       MBO_IE;
 } tDot11fAssocResponse;
 
 #define DOT11F_ASSOCRESPONSE (4)
@@ -10218,6 +10219,7 @@ typedef struct sDot11fReAssocResponse{
 	tDot11fIEvendor_he_op              vendor_he_op;
 	tDot11fIEbss_color_change          bss_color_change;
 	tDot11fIEmu_edca_param_set         mu_edca_param_set;
+	tDot11fIEMBO_IE                    MBO_IE;
 } tDot11fReAssocResponse;
 
 #define DOT11F_REASSOCRESPONSE (27)

+ 7 - 1
core/mac/src/sys/legacy/src/utils/src/dot11f.c

@@ -33,7 +33,7 @@
  *
  *
  * This file was automatically generated by 'framesc'
- * Thu Jul  6 16:41:06 2017 from the following file(s):
+ * Fri Jul 14 12:29:59 2017 from the following file(s):
  *
  * dot11f.frms
  *
@@ -7370,6 +7370,9 @@ static const tIEDefn IES_AssocResponse[] = {
 	offsetof(tDot11fIEmu_edca_param_set, present), 0, "mu_edca_param_set",
 	0, 19, 19, SigIemu_edca_param_set, {0, 19, 116, 4, 0},
 	4, DOT11F_EID_MU_EDCA_PARAM_SET, 0, 0, },
+	{ offsetof(tDot11fAssocResponse, MBO_IE), offsetof(tDot11fIEMBO_IE,
+	present), 0, "MBO_IE", 0, 6, 295, SigIeMBO_IE, {80, 111, 154, 22, 0},
+	4, DOT11F_EID_MBO_IE, 0, 0, },
 	{0, 0, 0, NULL, 0, 0, 0, 0, {0, 0, 0, 0, 0}, 0, 0xff, 0, },};
 
 uint32_t dot11f_unpack_assoc_response(tpAniSirGlobal pCtx,
@@ -9150,6 +9153,9 @@ static const tIEDefn IES_ReAssocResponse[] = {
 	offsetof(tDot11fIEmu_edca_param_set, present), 0, "mu_edca_param_set",
 	0, 19, 19, SigIemu_edca_param_set, {0, 19, 116, 4, 0},
 	4, DOT11F_EID_MU_EDCA_PARAM_SET, 0, 0, },
+	{ offsetof(tDot11fReAssocResponse, MBO_IE), offsetof(tDot11fIEMBO_IE,
+	present), 0, "MBO_IE", 0, 6, 295, SigIeMBO_IE, {80, 111, 154, 22, 0},
+	4, DOT11F_EID_MBO_IE, 0, 0, },
 	{0, 0, 0, NULL, 0, 0, 0, 0, {0, 0, 0, 0, 0}, 0, 0xff, 0, },};
 
 uint32_t dot11f_unpack_re_assoc_response(tpAniSirGlobal pCtx,