Parcourir la source

qcacld-3.0: Add TPE IE to beacon frame structure

Add TPE IE to beacon frame struct tDot11fBeacon.

Change-Id: Ibc6bf166ee2830cc253bde3788569f5a49225458
CRs-Fixed: 2864125
Gururaj Pandurangi il y a 4 ans
Parent
commit
8553c2b4d2

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

@@ -3589,6 +3589,7 @@ FRAME Beacon                              // C.f. Sec. 7.2.3.1
     OPTIE  P2PBeacon;
     OPTIE  VHTCaps;
     OPTIE  VHTOperation;
+    OPTIE  transmit_power_env[0..8];
     OPTIE  VHTExtBssLoad;
     OPTIE  ExtCap;
     OPTIE  OperatingMode;

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

@@ -26,7 +26,7 @@
  *
  *
  * This file was automatically generated by 'framesc'
- * Mon Dec 21 15:52:53 2020 from the following file(s):
+ * Fri Jan 15 13:54:04 2021 from the following file(s):
  *
  * dot11f.frms
  *
@@ -10229,6 +10229,8 @@ typedef struct sDot11fBeacon{
 	tDot11fIEP2PBeacon                   P2PBeacon;
 	tDot11fIEVHTCaps                     VHTCaps;
 	tDot11fIEVHTOperation                VHTOperation;
+	uint16_t                             num_transmit_power_env;
+	tDot11fIEtransmit_power_env          transmit_power_env[8];
 	tDot11fIEVHTExtBssLoad               VHTExtBssLoad;
 	tDot11fIEExtCap                      ExtCap;
 	tDot11fIEOperatingMode               OperatingMode;

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

@@ -24,7 +24,7 @@
  *
  *
  * This file was automatically generated by 'framesc'
- * Mon Dec 21 15:52:53 2020 from the following file(s):
+ * Fri Jan 15 13:54:04 2021 from the following file(s):
  *
  * dot11f.frms
  *
@@ -10483,6 +10483,11 @@ static const tIEDefn IES_Beacon[] = {
 	{ offsetof(tDot11fBeacon, VHTOperation), offsetof(tDot11fIEVHTOperation,
 	present), 0, "VHTOperation", 0, 7, 7, SigIeVHTOperation, {0, 0, 0, 0, 0},
 	0, DOT11F_EID_VHTOPERATION, 0, 0, },
+	{ offsetof(tDot11fBeacon, transmit_power_env),
+	offsetof(tDot11fIEtransmit_power_env, present),
+	offsetof(tDot11fBeacon, num_transmit_power_env), "transmit_power_env",
+	8, 4, 11, SigIetransmit_power_env, {0, 0, 0, 0, 0},
+	0, DOT11F_EID_TRANSMIT_POWER_ENV, 0, 0, },
 	{ offsetof(tDot11fBeacon, VHTExtBssLoad),
 	offsetof(tDot11fIEVHTExtBssLoad, present), 0, "VHTExtBssLoad",
 	0, 7, 7, SigIeVHTExtBssLoad, {0, 0, 0, 0, 0},