qcacld-3.0: Add he_cap in TDLS Dot11 frames

Add he_cap (tDot11fIEhe_cap) in sDot11fTDLSDisRsp,
tDot11fTDLSSetupReq, tDot11fTDLSSetupRsp Dot11f
frames.
Add he_op (tDot11fIEhe_op) in tDot11fTDLSSetupCnf
frame.

Change-Id: I76947a9a7ddb51dcf2fdf76832f98c1a9f9135e7
CRs-Fixed: 2881825
This commit is contained in:
Utkarsh Bhatnagar 2021-02-24 22:23:51 +05:30 • committed by snandini
commit a6813d16dc
3 changed files with 24 additions and 4 deletions

View file

@ -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
{

View file

@ -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)

View file

@ -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,