|
@@ -33,7 +33,7 @@
|
|
|
*
|
|
|
*
|
|
|
* This file was automatically generated by 'framesc'
|
|
|
- * Mon Sep 19 14:42:34 2016 from the following file(s):
|
|
|
+ * Mon Oct 3 12:40:25 2016 from the following file(s):
|
|
|
*
|
|
|
* dot11f.frms
|
|
|
*
|
|
@@ -5949,25 +5949,25 @@ uint32_t dot11f_unpack_ie_sec_chan_offset_ele(tpAniSirGlobal pCtx,
|
|
|
#define SigIesec_chan_offset_ele (0x007f)
|
|
|
|
|
|
|
|
|
-static const tFFDefn FFS_vendor2_ie[] = {
|
|
|
+static const tFFDefn FFS_vendor_vht_ie[] = {
|
|
|
{ NULL, 0, 0, 0,},
|
|
|
};
|
|
|
|
|
|
-static const tIEDefn IES_vendor2_ie[] = {
|
|
|
- { offsetof(tDot11fIEvendor2_ie, VHTCaps), offsetof(tDot11fIEVHTCaps,
|
|
|
+static const tIEDefn IES_vendor_vht_ie[] = {
|
|
|
+ { offsetof(tDot11fIEvendor_vht_ie, VHTCaps), offsetof(tDot11fIEVHTCaps,
|
|
|
present), 0, "VHTCaps", 0, 14, 14, SigIeVHTCaps, {0, 0, 0, 0, 0},
|
|
|
0, DOT11F_EID_VHTCAPS, 0, },
|
|
|
- { offsetof(tDot11fIEvendor2_ie, VHTOperation),
|
|
|
+ { offsetof(tDot11fIEvendor_vht_ie, VHTOperation),
|
|
|
offsetof(tDot11fIEVHTOperation, present), 0, "VHTOperation",
|
|
|
0, 7, 7, SigIeVHTOperation, {0, 0, 0, 0, 0},
|
|
|
0, DOT11F_EID_VHTOPERATION, 0, },
|
|
|
{0, 0, 0, NULL, 0, 0, 0, 0, {0, 0, 0, 0, 0}, 0, 0xff, 0, },
|
|
|
};
|
|
|
|
|
|
-uint32_t dot11f_unpack_ie_vendor2_ie(tpAniSirGlobal pCtx,
|
|
|
- uint8_t *pBuf,
|
|
|
- uint8_t ielen,
|
|
|
- tDot11fIEvendor2_ie *pDst)
|
|
|
+uint32_t dot11f_unpack_ie_vendor_vht_ie(tpAniSirGlobal pCtx,
|
|
|
+ uint8_t *pBuf,
|
|
|
+ uint8_t ielen,
|
|
|
+ tDot11fIEvendor_vht_ie *pDst)
|
|
|
{
|
|
|
uint32_t status = DOT11F_PARSE_SUCCESS;
|
|
|
(void) pBuf; (void)ielen; /* Shutup the compiler */
|
|
@@ -5984,14 +5984,14 @@ uint32_t dot11f_unpack_ie_vendor2_ie(tpAniSirGlobal pCtx,
|
|
|
status |= unpack_core(pCtx,
|
|
|
pBuf,
|
|
|
ielen,
|
|
|
- FFS_vendor2_ie,
|
|
|
- IES_vendor2_ie,
|
|
|
+ FFS_vendor_vht_ie,
|
|
|
+ IES_vendor_vht_ie,
|
|
|
(uint8_t *)pDst,
|
|
|
sizeof(*pDst));
|
|
|
return status;
|
|
|
-} /* End dot11f_unpack_ie_vendor2_ie. */
|
|
|
+} /* End dot11f_unpack_ie_vendor_vht_ie. */
|
|
|
|
|
|
-#define SigIevendor2_ie (0x0080)
|
|
|
+#define SigIevendor_vht_ie (0x0080)
|
|
|
|
|
|
|
|
|
static const tFFDefn FFS_AddTSRequest[] = {
|
|
@@ -6208,10 +6208,10 @@ static const tIEDefn IES_AssocRequest[] = {
|
|
|
{ offsetof(tDot11fAssocRequest, QosMapSet), offsetof(tDot11fIEQosMapSet,
|
|
|
present), 0, "QosMapSet", 0, 2, 62, SigIeQosMapSet, {0, 0, 0, 0, 0},
|
|
|
0, DOT11F_EID_QOSMAPSET, 0, },
|
|
|
- { offsetof(tDot11fAssocRequest, vendor2_ie),
|
|
|
- offsetof(tDot11fIEvendor2_ie, present), 0, "vendor2_ie",
|
|
|
- 0, 7, 28, SigIevendor2_ie, {0, 144, 76, 0, 0},
|
|
|
- 3, DOT11F_EID_VENDOR2_IE, 0, },
|
|
|
+ { offsetof(tDot11fAssocRequest, vendor_vht_ie),
|
|
|
+ offsetof(tDot11fIEvendor_vht_ie, present), 0, "vendor_vht_ie",
|
|
|
+ 0, 7, 28, SigIevendor_vht_ie, {0, 144, 76, 0, 0},
|
|
|
+ 3, DOT11F_EID_VENDOR_VHT_IE, 0, },
|
|
|
{ offsetof(tDot11fAssocRequest, hs20vendor_ie),
|
|
|
offsetof(tDot11fIEhs20vendor_ie, present), 0, "hs20vendor_ie",
|
|
|
0, 7, 9, SigIehs20vendor_ie, {80, 111, 154, 16, 0},
|
|
@@ -6336,10 +6336,10 @@ static const tIEDefn IES_AssocResponse[] = {
|
|
|
{ offsetof(tDot11fAssocResponse, QosMapSet), offsetof(tDot11fIEQosMapSet,
|
|
|
present), 0, "QosMapSet", 0, 2, 62, SigIeQosMapSet, {0, 0, 0, 0, 0},
|
|
|
0, DOT11F_EID_QOSMAPSET, 0, },
|
|
|
- { offsetof(tDot11fAssocResponse, vendor2_ie),
|
|
|
- offsetof(tDot11fIEvendor2_ie, present), 0, "vendor2_ie",
|
|
|
- 0, 7, 28, SigIevendor2_ie, {0, 144, 76, 0, 0},
|
|
|
- 3, DOT11F_EID_VENDOR2_IE, 0, },
|
|
|
+ { offsetof(tDot11fAssocResponse, vendor_vht_ie),
|
|
|
+ offsetof(tDot11fIEvendor_vht_ie, present), 0, "vendor_vht_ie",
|
|
|
+ 0, 7, 28, SigIevendor_vht_ie, {0, 144, 76, 0, 0},
|
|
|
+ 3, DOT11F_EID_VENDOR_VHT_IE, 0, },
|
|
|
{0, 0, 0, NULL, 0, 0, 0, 0, {0, 0, 0, 0, 0}, 0, 0xff, 0, },};
|
|
|
|
|
|
uint32_t dot11f_unpack_assoc_response(tpAniSirGlobal pCtx,
|
|
@@ -6567,9 +6567,10 @@ static const tIEDefn IES_Beacon[] = {
|
|
|
{ offsetof(tDot11fBeacon, Vendor1IE), offsetof(tDot11fIEVendor1IE,
|
|
|
present), 0, "Vendor1IE", 0, 5, 5, SigIeVendor1IE, {0, 16, 24, 0, 0},
|
|
|
3, DOT11F_EID_VENDOR1IE, 0, },
|
|
|
- { offsetof(tDot11fBeacon, vendor2_ie), offsetof(tDot11fIEvendor2_ie,
|
|
|
- present), 0, "vendor2_ie", 0, 7, 28, SigIevendor2_ie, {0, 144, 76, 0, 0},
|
|
|
- 3, DOT11F_EID_VENDOR2_IE, 0, },
|
|
|
+ { offsetof(tDot11fBeacon, vendor_vht_ie),
|
|
|
+ offsetof(tDot11fIEvendor_vht_ie, present), 0, "vendor_vht_ie",
|
|
|
+ 0, 7, 28, SigIevendor_vht_ie, {0, 144, 76, 0, 0},
|
|
|
+ 3, DOT11F_EID_VENDOR_VHT_IE, 0, },
|
|
|
{ offsetof(tDot11fBeacon, Vendor3IE), offsetof(tDot11fIEVendor3IE,
|
|
|
present), 0, "Vendor3IE", 0, 5, 5, SigIeVendor3IE, {0, 22, 50, 0, 0},
|
|
|
3, DOT11F_EID_VENDOR3IE, 0, },
|
|
@@ -6768,9 +6769,10 @@ static const tIEDefn IES_Beacon2[] = {
|
|
|
{ offsetof(tDot11fBeacon2, Vendor1IE), offsetof(tDot11fIEVendor1IE,
|
|
|
present), 0, "Vendor1IE", 0, 5, 5, SigIeVendor1IE, {0, 16, 24, 0, 0},
|
|
|
3, DOT11F_EID_VENDOR1IE, 0, },
|
|
|
- { offsetof(tDot11fBeacon2, vendor2_ie), offsetof(tDot11fIEvendor2_ie,
|
|
|
- present), 0, "vendor2_ie", 0, 7, 28, SigIevendor2_ie, {0, 144, 76, 0, 0},
|
|
|
- 3, DOT11F_EID_VENDOR2_IE, 0, },
|
|
|
+ { offsetof(tDot11fBeacon2, vendor_vht_ie),
|
|
|
+ offsetof(tDot11fIEvendor_vht_ie, present), 0, "vendor_vht_ie",
|
|
|
+ 0, 7, 28, SigIevendor_vht_ie, {0, 144, 76, 0, 0},
|
|
|
+ 3, DOT11F_EID_VENDOR_VHT_IE, 0, },
|
|
|
{ offsetof(tDot11fBeacon2, Vendor3IE), offsetof(tDot11fIEVendor3IE,
|
|
|
present), 0, "Vendor3IE", 0, 5, 5, SigIeVendor3IE, {0, 22, 50, 0, 0},
|
|
|
3, DOT11F_EID_VENDOR3IE, 0, },
|
|
@@ -6965,9 +6967,10 @@ static const tIEDefn IES_BeaconIEs[] = {
|
|
|
{ offsetof(tDot11fBeaconIEs, Vendor1IE), offsetof(tDot11fIEVendor1IE,
|
|
|
present), 0, "Vendor1IE", 0, 5, 5, SigIeVendor1IE, {0, 16, 24, 0, 0},
|
|
|
3, DOT11F_EID_VENDOR1IE, 0, },
|
|
|
- { offsetof(tDot11fBeaconIEs, vendor2_ie), offsetof(tDot11fIEvendor2_ie,
|
|
|
- present), 0, "vendor2_ie", 0, 7, 28, SigIevendor2_ie, {0, 144, 76, 0, 0},
|
|
|
- 3, DOT11F_EID_VENDOR2_IE, 0, },
|
|
|
+ { offsetof(tDot11fBeaconIEs, vendor_vht_ie),
|
|
|
+ offsetof(tDot11fIEvendor_vht_ie, present), 0, "vendor_vht_ie",
|
|
|
+ 0, 7, 28, SigIevendor_vht_ie, {0, 144, 76, 0, 0},
|
|
|
+ 3, DOT11F_EID_VENDOR_VHT_IE, 0, },
|
|
|
{ offsetof(tDot11fBeaconIEs, Vendor3IE), offsetof(tDot11fIEVendor3IE,
|
|
|
present), 0, "Vendor3IE", 0, 5, 5, SigIeVendor3IE, {0, 22, 50, 0, 0},
|
|
|
3, DOT11F_EID_VENDOR3IE, 0, },
|
|
@@ -7573,10 +7576,10 @@ static const tIEDefn IES_ProbeResponse[] = {
|
|
|
{ offsetof(tDot11fProbeResponse, Vendor1IE), offsetof(tDot11fIEVendor1IE,
|
|
|
present), 0, "Vendor1IE", 0, 5, 5, SigIeVendor1IE, {0, 16, 24, 0, 0},
|
|
|
3, DOT11F_EID_VENDOR1IE, 0, },
|
|
|
- { offsetof(tDot11fProbeResponse, vendor2_ie),
|
|
|
- offsetof(tDot11fIEvendor2_ie, present), 0, "vendor2_ie",
|
|
|
- 0, 7, 28, SigIevendor2_ie, {0, 144, 76, 0, 0},
|
|
|
- 3, DOT11F_EID_VENDOR2_IE, 0, },
|
|
|
+ { offsetof(tDot11fProbeResponse, vendor_vht_ie),
|
|
|
+ offsetof(tDot11fIEvendor_vht_ie, present), 0, "vendor_vht_ie",
|
|
|
+ 0, 7, 28, SigIevendor_vht_ie, {0, 144, 76, 0, 0},
|
|
|
+ 3, DOT11F_EID_VENDOR_VHT_IE, 0, },
|
|
|
{ offsetof(tDot11fProbeResponse, Vendor3IE), offsetof(tDot11fIEVendor3IE,
|
|
|
present), 0, "Vendor3IE", 0, 5, 5, SigIeVendor3IE, {0, 22, 50, 0, 0},
|
|
|
3, DOT11F_EID_VENDOR3IE, 0, },
|
|
@@ -7831,10 +7834,10 @@ static const tIEDefn IES_ReAssocRequest[] = {
|
|
|
{ offsetof(tDot11fReAssocRequest, QosMapSet),
|
|
|
offsetof(tDot11fIEQosMapSet, present), 0, "QosMapSet",
|
|
|
0, 2, 62, SigIeQosMapSet, {0, 0, 0, 0, 0}, 0, DOT11F_EID_QOSMAPSET, 0, },
|
|
|
- { offsetof(tDot11fReAssocRequest, vendor2_ie),
|
|
|
- offsetof(tDot11fIEvendor2_ie, present), 0, "vendor2_ie",
|
|
|
- 0, 7, 28, SigIevendor2_ie, {0, 144, 76, 0, 0},
|
|
|
- 3, DOT11F_EID_VENDOR2_IE, 0, },
|
|
|
+ { offsetof(tDot11fReAssocRequest, vendor_vht_ie),
|
|
|
+ offsetof(tDot11fIEvendor_vht_ie, present), 0, "vendor_vht_ie",
|
|
|
+ 0, 7, 28, SigIevendor_vht_ie, {0, 144, 76, 0, 0},
|
|
|
+ 3, DOT11F_EID_VENDOR_VHT_IE, 0, },
|
|
|
{ offsetof(tDot11fReAssocRequest, hs20vendor_ie),
|
|
|
offsetof(tDot11fIEhs20vendor_ie, present), 0, "hs20vendor_ie",
|
|
|
0, 7, 9, SigIehs20vendor_ie, {80, 111, 154, 16, 0},
|
|
@@ -7965,10 +7968,10 @@ static const tIEDefn IES_ReAssocResponse[] = {
|
|
|
{ offsetof(tDot11fReAssocResponse, QosMapSet),
|
|
|
offsetof(tDot11fIEQosMapSet, present), 0, "QosMapSet",
|
|
|
0, 2, 62, SigIeQosMapSet, {0, 0, 0, 0, 0}, 0, DOT11F_EID_QOSMAPSET, 0, },
|
|
|
- { offsetof(tDot11fReAssocResponse, vendor2_ie),
|
|
|
- offsetof(tDot11fIEvendor2_ie, present), 0, "vendor2_ie",
|
|
|
- 0, 7, 28, SigIevendor2_ie, {0, 144, 76, 0, 0},
|
|
|
- 3, DOT11F_EID_VENDOR2_IE, 0, },
|
|
|
+ { offsetof(tDot11fReAssocResponse, vendor_vht_ie),
|
|
|
+ offsetof(tDot11fIEvendor_vht_ie, present), 0, "vendor_vht_ie",
|
|
|
+ 0, 7, 28, SigIevendor_vht_ie, {0, 144, 76, 0, 0},
|
|
|
+ 3, DOT11F_EID_VENDOR_VHT_IE, 0, },
|
|
|
{0, 0, 0, NULL, 0, 0, 0, 0, {0, 0, 0, 0, 0}, 0, 0xff, 0, },};
|
|
|
|
|
|
uint32_t dot11f_unpack_re_assoc_response(tpAniSirGlobal pCtx,
|
|
@@ -10274,13 +10277,13 @@ static uint32_t unpack_core(tpAniSirGlobal pCtx,
|
|
|
sizeof(tDot11fIEsec_chan_offset_ele) *
|
|
|
countOffset));
|
|
|
break;
|
|
|
- case SigIevendor2_ie:
|
|
|
+ case SigIevendor_vht_ie:
|
|
|
status |=
|
|
|
- dot11f_unpack_ie_vendor2_ie(
|
|
|
+ dot11f_unpack_ie_vendor_vht_ie(
|
|
|
pCtx, pBufRemaining, len,
|
|
|
- (tDot11fIEvendor2_ie *)
|
|
|
+ (tDot11fIEvendor_vht_ie *)
|
|
|
(pFrm + pIe->offset +
|
|
|
- sizeof(tDot11fIEvendor2_ie) *
|
|
|
+ sizeof(tDot11fIEvendor_vht_ie) *
|
|
|
countOffset));
|
|
|
break;
|
|
|
default:
|
|
@@ -11453,8 +11456,8 @@ uint32_t dot11f_get_packed_ie_hs20vendor_ie(tpAniSirGlobal pCtx,
|
|
|
return status;
|
|
|
} /* End dot11f_get_packed_ie_hs20vendor_ie. */
|
|
|
|
|
|
-uint32_t dot11f_get_packed_ie_vendor2_ie(tpAniSirGlobal pCtx,
|
|
|
- tDot11fIEvendor2_ie *pIe, uint32_t *pnNeeded)
|
|
|
+uint32_t dot11f_get_packed_ie_vendor_vht_ie(tpAniSirGlobal pCtx,
|
|
|
+ tDot11fIEvendor_vht_ie *pIe, uint32_t *pnNeeded)
|
|
|
{
|
|
|
uint32_t status = DOT11F_PARSE_SUCCESS;
|
|
|
(void)pCtx;
|
|
@@ -11462,11 +11465,11 @@ uint32_t dot11f_get_packed_ie_vendor2_ie(tpAniSirGlobal pCtx,
|
|
|
*pnNeeded += 1;
|
|
|
*pnNeeded += 1;
|
|
|
status = get_packed_size_core(pCtx, (uint8_t *)pIe, pnNeeded,
|
|
|
- IES_vendor2_ie);
|
|
|
+ IES_vendor_vht_ie);
|
|
|
break;
|
|
|
}
|
|
|
return status;
|
|
|
-} /* End dot11f_get_packed_ie_vendor2_ie. */
|
|
|
+} /* End dot11f_get_packed_ie_vendor_vht_ie. */
|
|
|
|
|
|
uint32_t dot11f_get_packed_add_ts_request_size(tpAniSirGlobal pCtx,
|
|
|
tDot11fAddTSRequest *pFrm, uint32_t *pnNeeded)
|
|
@@ -12949,11 +12952,11 @@ static uint32_t get_packed_size_core(tpAniSirGlobal pCtx,
|
|
|
(pFrm + pIe->offset + offset * i))->
|
|
|
present;
|
|
|
break;
|
|
|
- case SigIevendor2_ie:
|
|
|
- offset = sizeof(tDot11fIEvendor2_ie);
|
|
|
+ case SigIevendor_vht_ie:
|
|
|
+ offset = sizeof(tDot11fIEvendor_vht_ie);
|
|
|
status |=
|
|
|
- dot11f_get_packed_ie_vendor2_ie(
|
|
|
- pCtx, (tDot11fIEvendor2_ie *)
|
|
|
+ dot11f_get_packed_ie_vendor_vht_ie(
|
|
|
+ pCtx, (tDot11fIEvendor_vht_ie *)
|
|
|
(pFrm + pIe->offset + offset * i),
|
|
|
pnNeeded);
|
|
|
break;
|
|
@@ -20413,17 +20416,17 @@ uint32_t dot11f_pack_ie_sec_chan_offset_ele(tpAniSirGlobal pCtx,
|
|
|
return DOT11F_PARSE_SUCCESS;
|
|
|
} /* End dot11f_pack_ie_sec_chan_offset_ele. */
|
|
|
|
|
|
-uint32_t dot11f_pack_ie_vendor2_ie(tpAniSirGlobal pCtx,
|
|
|
- tDot11fIEvendor2_ie *pSrc,
|
|
|
- uint8_t *pBuf,
|
|
|
- uint32_t nBuf,
|
|
|
- uint32_t *pnConsumed)
|
|
|
+uint32_t dot11f_pack_ie_vendor_vht_ie(tpAniSirGlobal pCtx,
|
|
|
+ tDot11fIEvendor_vht_ie *pSrc,
|
|
|
+ uint8_t *pBuf,
|
|
|
+ uint32_t nBuf,
|
|
|
+ uint32_t *pnConsumed)
|
|
|
{
|
|
|
uint8_t *pIeLen = 0;
|
|
|
uint32_t nConsumedOnEntry = *pnConsumed;
|
|
|
uint32_t nNeeded = 0U;
|
|
|
uint32_t status = DOT11F_PARSE_SUCCESS;
|
|
|
- status = dot11f_get_packed_ie_vendor2_ie(pCtx, pSrc, &nNeeded);
|
|
|
+ status = dot11f_get_packed_ie_vendor_vht_ie(pCtx, pSrc, &nNeeded);
|
|
|
if (!DOT11F_SUCCEEDED(status))
|
|
|
return status;
|
|
|
while (pSrc->present) {
|
|
@@ -20450,8 +20453,8 @@ uint32_t dot11f_pack_ie_vendor2_ie(tpAniSirGlobal pCtx,
|
|
|
pBuf,
|
|
|
nBuf,
|
|
|
pnConsumed,
|
|
|
- FFS_vendor2_ie,
|
|
|
- IES_vendor2_ie);
|
|
|
+ FFS_vendor_vht_ie,
|
|
|
+ IES_vendor_vht_ie);
|
|
|
break;
|
|
|
}
|
|
|
(void)pCtx;
|
|
@@ -20459,7 +20462,7 @@ uint32_t dot11f_pack_ie_vendor2_ie(tpAniSirGlobal pCtx,
|
|
|
*pIeLen = *pnConsumed - nConsumedOnEntry - 2;
|
|
|
}
|
|
|
return status;
|
|
|
-} /* End dot11f_pack_ie_vendor2_ie. */
|
|
|
+} /* End dot11f_pack_ie_vendor_vht_ie. */
|
|
|
|
|
|
uint32_t dot11f_pack_add_ts_request(tpAniSirGlobal pCtx,
|
|
|
tDot11fAddTSRequest *pFrm,
|
|
@@ -22402,12 +22405,12 @@ static uint32_t pack_core(tpAniSirGlobal pCtx,
|
|
|
sizeof(tDot11fIEsec_chan_offset_ele) * i),
|
|
|
pBufRemaining, nBufRemaining, &len);
|
|
|
break;
|
|
|
- case SigIevendor2_ie:
|
|
|
+ case SigIevendor_vht_ie:
|
|
|
status |=
|
|
|
- dot11f_pack_ie_vendor2_ie(
|
|
|
- pCtx, (tDot11fIEvendor2_ie *)
|
|
|
+ dot11f_pack_ie_vendor_vht_ie(
|
|
|
+ pCtx, (tDot11fIEvendor_vht_ie *)
|
|
|
(pSrc + pIe->offset +
|
|
|
- sizeof(tDot11fIEvendor2_ie) * i),
|
|
|
+ sizeof(tDot11fIEvendor_vht_ie) * i),
|
|
|
pBufRemaining, nBufRemaining, &len);
|
|
|
break;
|
|
|
default:
|