diff --git a/core/mac/src/cfg/cfgUtil/dot11f.frms b/core/mac/src/cfg/cfgUtil/dot11f.frms index cec72154471c..fef6e6f65e23 100644 --- a/core/mac/src/cfg/cfgUtil/dot11f.frms +++ b/core/mac/src/cfg/cfgUtil/dot11f.frms @@ -4319,6 +4319,7 @@ FRAME TDLSDisRsp OPTIE ht2040_bss_coexistence; MANDIE LinkIdentifier; OPTIE VHTCaps; + OPTIE he_cap; } FRAME TDLSSetupReq @@ -4344,6 +4345,7 @@ FRAME TDLSSetupReq OPTIE WMMInfoStation; OPTIE AID; OPTIE VHTCaps; + OPTIE he_cap; } FRAME TDLSSetupRsp @@ -4371,6 +4373,7 @@ FRAME TDLSSetupRsp OPTIE AID; OPTIE VHTCaps; OPTIE OperatingMode; + OPTIE he_cap; } FRAME TDLSSetupCnf @@ -4388,6 +4391,7 @@ FRAME TDLSSetupCnf OPTIE WMMParams; OPTIE VHTOperation; OPTIE OperatingMode; + OPTIE he_op; } FRAME TDLSTeardown { diff --git a/core/mac/src/include/dot11f.h b/core/mac/src/include/dot11f.h index 63a4f951e0a3..3048219df870 100644 --- a/core/mac/src/include/dot11f.h +++ b/core/mac/src/include/dot11f.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2020 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2021 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -26,7 +26,7 @@ * * * This file was automatically generated by 'framesc' - * Mon Dec 7 14:06:11 2020 from the following file(s): + * Wed Feb 24 22:21:36 2021 from the following file(s): * * dot11f.frms * @@ -11234,6 +11234,7 @@ typedef struct sDot11fTDLSDisRsp{ tDot11fIEht2040_bss_coexistence ht2040_bss_coexistence; tDot11fIELinkIdentifier LinkIdentifier; tDot11fIEVHTCaps VHTCaps; + tDot11fIEhe_cap he_cap; } tDot11fTDLSDisRsp; #define DOT11F_TDLSDISRSP (32) @@ -11326,6 +11327,7 @@ typedef struct sDot11fTDLSSetupCnf{ tDot11fIEWMMParams WMMParams; tDot11fIEVHTOperation VHTOperation; tDot11fIEOperatingMode OperatingMode; + tDot11fIEhe_op he_op; } tDot11fTDLSSetupCnf; #define DOT11F_TDLSSETUPCNF (35) @@ -11370,6 +11372,7 @@ typedef struct sDot11fTDLSSetupReq{ tDot11fIEWMMInfoStation WMMInfoStation; tDot11fIEAID AID; tDot11fIEVHTCaps VHTCaps; + tDot11fIEhe_cap he_cap; } tDot11fTDLSSetupReq; #define DOT11F_TDLSSETUPREQ (36) @@ -11416,6 +11419,7 @@ typedef struct sDot11fTDLSSetupRsp{ tDot11fIEAID AID; tDot11fIEVHTCaps VHTCaps; tDot11fIEOperatingMode OperatingMode; + tDot11fIEhe_cap he_cap; } tDot11fTDLSSetupRsp; #define DOT11F_TDLSSETUPRSP (37) 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 f4c22f8682a7..a695370a2319 100644 --- a/core/mac/src/sys/legacy/src/utils/src/dot11f.c +++ b/core/mac/src/sys/legacy/src/utils/src/dot11f.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2020 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2021 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -24,7 +24,7 @@ * * * This file was automatically generated by 'framesc' - * Mon Dec 7 14:06:11 2020 from the following file(s): + * Wed Feb 24 22:21:36 2021 from the following file(s): * * dot11f.frms * @@ -12393,6 +12393,9 @@ static const tIEDefn IES_TDLSDisRsp[] = { { offsetof(tDot11fTDLSDisRsp, VHTCaps), offsetof(tDot11fIEVHTCaps, present), 0, "VHTCaps", 0, 14, 14, SigIeVHTCaps, {0, 0, 0, 0, 0}, 0, DOT11F_EID_VHTCAPS, 0, 0, }, + { offsetof(tDot11fTDLSDisRsp, he_cap), offsetof(tDot11fIEhe_cap, present), + 0, "he_cap", 0, 23, 56, SigIehe_cap, {0, 0, 0, 0, 0}, + 0, DOT11F_EID_HE_CAP, 35, 0, }, {0, 0, 0, NULL, 0, 0, 0, 0, {0, 0, 0, 0, 0}, 0, 0xff, 0, },}; uint32_t dot11f_unpack_tdls_dis_rsp(tpAniSirGlobal pCtx, @@ -12526,6 +12529,9 @@ static const tIEDefn IES_TDLSSetupCnf[] = { offsetof(tDot11fIEOperatingMode, present), 0, "OperatingMode", 0, 3, 3, SigIeOperatingMode, {0, 0, 0, 0, 0}, 0, DOT11F_EID_OPERATINGMODE, 0, 0, }, + { offsetof(tDot11fTDLSSetupCnf, he_op), offsetof(tDot11fIEhe_op, present), + 0, "he_op", 0, 8, 17, SigIehe_op, {0, 0, 0, 0, 0}, + 0, DOT11F_EID_HE_OP, 36, 0, }, {0, 0, 0, NULL, 0, 0, 0, 0, {0, 0, 0, 0, 0}, 0, 0xff, 0, },}; uint32_t dot11f_unpack_tdls_setup_cnf(tpAniSirGlobal pCtx, @@ -12613,6 +12619,9 @@ static const tIEDefn IES_TDLSSetupReq[] = { { offsetof(tDot11fTDLSSetupReq, VHTCaps), offsetof(tDot11fIEVHTCaps, present), 0, "VHTCaps", 0, 14, 14, SigIeVHTCaps, {0, 0, 0, 0, 0}, 0, DOT11F_EID_VHTCAPS, 0, 0, }, + { offsetof(tDot11fTDLSSetupReq, he_cap), offsetof(tDot11fIEhe_cap, + present), 0, "he_cap", 0, 23, 56, SigIehe_cap, {0, 0, 0, 0, 0}, + 0, DOT11F_EID_HE_CAP, 35, 0, }, {0, 0, 0, NULL, 0, 0, 0, 0, {0, 0, 0, 0, 0}, 0, 0xff, 0, },}; uint32_t dot11f_unpack_tdls_setup_req(tpAniSirGlobal pCtx, @@ -12706,6 +12715,9 @@ static const tIEDefn IES_TDLSSetupRsp[] = { offsetof(tDot11fIEOperatingMode, present), 0, "OperatingMode", 0, 3, 3, SigIeOperatingMode, {0, 0, 0, 0, 0}, 0, DOT11F_EID_OPERATINGMODE, 0, 0, }, + { offsetof(tDot11fTDLSSetupRsp, he_cap), offsetof(tDot11fIEhe_cap, + present), 0, "he_cap", 0, 23, 56, SigIehe_cap, {0, 0, 0, 0, 0}, + 0, DOT11F_EID_HE_CAP, 35, 0, }, {0, 0, 0, NULL, 0, 0, 0, 0, {0, 0, 0, 0, 0}, 0, 0xff, 0, },}; uint32_t dot11f_unpack_tdls_setup_rsp(tpAniSirGlobal pCtx,