From eb38bfc9c8ba03d92de9c9395a577b95a25c4aa2 Mon Sep 17 00:00:00 2001 From: Kapil Gupta Date: Tue, 30 May 2017 18:51:17 +0530 Subject: [PATCH] qcacld-3.0: Add changes to add MBO IE in assoc request Add changes to add support for unpacking of MBO IE in association request packet. Change-Id: I575f718b0804e679bab31432694c97e45bd87ca0 CRs-Fixed: 2044512 --- core/mac/src/cfg/cfgUtil/dot11f.frms | 1 + core/mac/src/include/dot11f.h | 3 ++- core/mac/src/sys/legacy/src/utils/src/dot11f.c | 5 ++++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/core/mac/src/cfg/cfgUtil/dot11f.frms b/core/mac/src/cfg/cfgUtil/dot11f.frms index b0430379f49d..9e99e32e99ca 100644 --- a/core/mac/src/cfg/cfgUtil/dot11f.frms +++ b/core/mac/src/cfg/cfgUtil/dot11f.frms @@ -3481,6 +3481,7 @@ FRAME AssocRequest // 7.2.3.4 OPTIE hs20vendor_ie; OPTIE QCN_IE; OPTIE vendor_he_cap; + OPTIE MBO_IE; } // End frame AssocRequest. FRAME AssocResponse // 7.2.3.5 diff --git a/core/mac/src/include/dot11f.h b/core/mac/src/include/dot11f.h index 627c2ac94662..d8da91d04c66 100644 --- a/core/mac/src/include/dot11f.h +++ b/core/mac/src/include/dot11f.h @@ -35,7 +35,7 @@ * * * This file was automatically generated by 'framesc' - * Tue Apr 25 16:55:18 2017 from the following file(s): + * Tue May 30 15:11:12 2017 from the following file(s): * * dot11f.frms * @@ -8751,6 +8751,7 @@ typedef struct sDot11fAssocRequest{ tDot11fIEhs20vendor_ie hs20vendor_ie; tDot11fIEQCN_IE QCN_IE; tDot11fIEvendor_he_cap vendor_he_cap; + tDot11fIEMBO_IE MBO_IE; } tDot11fAssocRequest; #define DOT11F_ASSOCREQUEST (3) diff --git a/core/mac/src/sys/legacy/src/utils/src/dot11f.c b/core/mac/src/sys/legacy/src/utils/src/dot11f.c index 130f6e006df0..972bfeb28027 100644 --- a/core/mac/src/sys/legacy/src/utils/src/dot11f.c +++ b/core/mac/src/sys/legacy/src/utils/src/dot11f.c @@ -33,7 +33,7 @@ * * * This file was automatically generated by 'framesc' - * Tue Apr 25 16:55:18 2017 from the following file(s): + * Tue May 30 15:11:12 2017 from the following file(s): * * dot11f.frms * @@ -7038,6 +7038,9 @@ static const tIEDefn IES_AssocRequest[] = { offsetof(tDot11fIEvendor_he_cap, present), 0, "vendor_he_cap", 0, 22, 49, SigIevendor_he_cap, {0, 19, 116, 1, 0}, 4, DOT11F_EID_VENDOR_HE_CAP, 0, 0, }, + { offsetof(tDot11fAssocRequest, MBO_IE), offsetof(tDot11fIEMBO_IE, + present), 0, "MBO_IE", 0, 9, 12, 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_request(tpAniSirGlobal pCtx,