Browse Source

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
Utkarsh Bhatnagar 4 years ago
parent
commit
ae8bbefcf1

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

@@ -4311,6 +4311,7 @@ FRAME TDLSDisRsp
     OPTIE  ht2040_bss_coexistence;
     MANDIE LinkIdentifier;
     OPTIE  VHTCaps;
+    OPTIE  he_cap;
 }
 
 FRAME TDLSSetupReq
@@ -4336,6 +4337,7 @@ FRAME TDLSSetupReq
     OPTIE  WMMInfoStation;
     OPTIE  AID;
     OPTIE  VHTCaps;
+    OPTIE  he_cap;
 }
 
 FRAME TDLSSetupRsp
@@ -4363,6 +4365,7 @@ FRAME TDLSSetupRsp
     OPTIE  AID;
     OPTIE  VHTCaps;
     OPTIE  OperatingMode;
+    OPTIE  he_cap;
 }
 
 FRAME TDLSSetupCnf
@@ -4380,6 +4383,7 @@ FRAME TDLSSetupCnf
     OPTIE  WMMParams;
     OPTIE  VHTOperation;
     OPTIE  OperatingMode;
+    OPTIE  he_op;
 }
 FRAME TDLSTeardown
 {

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

@@ -26,7 +26,7 @@
  *
  *
  * This file was automatically generated by 'framesc'
- * Fri Jan 15 13:54:04 2021 from the following file(s):
+ * Fri Feb 19 16:37:07 2021 from the following file(s):
  *
  * dot11f.frms
  *
@@ -11263,6 +11263,7 @@ typedef struct sDot11fTDLSDisRsp{
 	tDot11fIEht2040_bss_coexistence        ht2040_bss_coexistence;
 	tDot11fIELinkIdentifier                LinkIdentifier;
 	tDot11fIEVHTCaps                       VHTCaps;
+	tDot11fIEhe_cap                        he_cap;
 } tDot11fTDLSDisRsp;
 
 #define DOT11F_TDLSDISRSP (32)
@@ -11355,6 +11356,7 @@ typedef struct sDot11fTDLSSetupCnf{
 	tDot11fIEWMMParams              WMMParams;
 	tDot11fIEVHTOperation           VHTOperation;
 	tDot11fIEOperatingMode          OperatingMode;
+	tDot11fIEhe_op                  he_op;
 } tDot11fTDLSSetupCnf;
 
 #define DOT11F_TDLSSETUPCNF (35)
@@ -11399,6 +11401,7 @@ typedef struct sDot11fTDLSSetupReq{
 	tDot11fIEWMMInfoStation                WMMInfoStation;
 	tDot11fIEAID                           AID;
 	tDot11fIEVHTCaps                       VHTCaps;
+	tDot11fIEhe_cap                        he_cap;
 } tDot11fTDLSSetupReq;
 
 #define DOT11F_TDLSSETUPREQ (36)
@@ -11445,6 +11448,7 @@ typedef struct sDot11fTDLSSetupRsp{
 	tDot11fIEAID                           AID;
 	tDot11fIEVHTCaps                       VHTCaps;
 	tDot11fIEOperatingMode                 OperatingMode;
+	tDot11fIEhe_cap                        he_cap;
 } tDot11fTDLSSetupRsp;
 
 #define DOT11F_TDLSSETUPRSP (37)

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

@@ -24,7 +24,7 @@
  *
  *
  * This file was automatically generated by 'framesc'
- * Fri Jan 15 13:54:04 2021 from the following file(s):
+ * Fri Feb 19 16:37:07 2021 from the following file(s):
  *
  * dot11f.frms
  *
@@ -12336,6 +12336,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,
@@ -12469,6 +12472,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,
@@ -12556,6 +12562,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,
@@ -12649,6 +12658,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,