|
@@ -24,7 +24,7 @@
|
|
|
*
|
|
|
*
|
|
|
* This file was automatically generated by 'framesc'
|
|
|
- * Thu Sep 27 15:54:27 2018 from the following file(s):
|
|
|
+ * Fri Nov 23 09:33:04 2018 from the following file(s):
|
|
|
*
|
|
|
* dot11f.frms
|
|
|
*
|
|
@@ -9322,6 +9322,26 @@ uint32_t dot11f_unpack_ie_osen_ie(tpAniSirGlobal pCtx,
|
|
|
#define SigIeosen_ie (0x0093)
|
|
|
|
|
|
|
|
|
+uint32_t dot11f_unpack_ie_roaming_consortium_sel(tpAniSirGlobal pCtx,
|
|
|
+ uint8_t *pBuf,
|
|
|
+ uint8_t ielen,
|
|
|
+ tDot11fIEroaming_consortium_sel *pDst,
|
|
|
+ bool append_ie)
|
|
|
+{
|
|
|
+ uint32_t status = DOT11F_PARSE_SUCCESS;
|
|
|
+ (void) pBuf; (void)ielen; /* Shutup the compiler */
|
|
|
+ if (pDst->present)
|
|
|
+ status = DOT11F_DUPLICATE_IE;
|
|
|
+ pDst->present = 1;
|
|
|
+ pDst->num_data = (uint8_t)(ielen);
|
|
|
+ DOT11F_MEMCPY(pCtx, pDst->data, pBuf, (ielen));
|
|
|
+ (void)pCtx;
|
|
|
+ return status;
|
|
|
+} /* End dot11f_unpack_ie_roaming_consortium_sel. */
|
|
|
+
|
|
|
+#define SigIeroaming_consortium_sel (0x0094)
|
|
|
+
|
|
|
+
|
|
|
uint32_t dot11f_unpack_ie_sec_chan_offset_ele(tpAniSirGlobal pCtx,
|
|
|
uint8_t *pBuf,
|
|
|
uint8_t ielen,
|
|
@@ -9343,7 +9363,7 @@ uint32_t dot11f_unpack_ie_sec_chan_offset_ele(tpAniSirGlobal pCtx,
|
|
|
return status;
|
|
|
} /* End dot11f_unpack_ie_sec_chan_offset_ele. */
|
|
|
|
|
|
-#define SigIesec_chan_offset_ele (0x0094)
|
|
|
+#define SigIesec_chan_offset_ele (0x0095)
|
|
|
|
|
|
|
|
|
static const tFFDefn FFS_vendor_vht_ie[] = {
|
|
@@ -9392,7 +9412,7 @@ uint32_t dot11f_unpack_ie_vendor_vht_ie(tpAniSirGlobal pCtx,
|
|
|
return status;
|
|
|
} /* End dot11f_unpack_ie_vendor_vht_ie. */
|
|
|
|
|
|
-#define SigIevendor_vht_ie (0x0095)
|
|
|
+#define SigIevendor_vht_ie (0x0096)
|
|
|
|
|
|
|
|
|
static const tFFDefn FFS_AddTSRequest[] = {
|
|
@@ -9655,6 +9675,10 @@ static const tIEDefn IES_AssocRequest[] = {
|
|
|
{ offsetof(tDot11fAssocRequest, osen_ie), offsetof(tDot11fIEosen_ie,
|
|
|
present), 0, "osen_ie", 0, 6, 261, SigIeosen_ie, {80, 111, 154, 18, 0},
|
|
|
4, DOT11F_EID_OSEN_IE, 0, 0, },
|
|
|
+ { offsetof(tDot11fAssocRequest, roaming_consortium_sel),
|
|
|
+ offsetof(tDot11fIEroaming_consortium_sel, present), 0,
|
|
|
+ "roaming_consortium_sel", 0, 6, 261, SigIeroaming_consortium_sel,
|
|
|
+ {80, 111, 154, 29, 0}, 4, DOT11F_EID_ROAMING_CONSORTIUM_SEL, 0, 0, },
|
|
|
{0, 0, 0, NULL, 0, 0, 0, 0, {0, 0, 0, 0, 0}, 0, 0xff, 0, },};
|
|
|
|
|
|
uint32_t dot11f_unpack_assoc_request(tpAniSirGlobal pCtx,
|
|
@@ -14475,6 +14499,16 @@ static uint32_t unpack_core(tpAniSirGlobal pCtx,
|
|
|
countOffset),
|
|
|
append_ie);
|
|
|
break;
|
|
|
+ case SigIeroaming_consortium_sel:
|
|
|
+ status |=
|
|
|
+ dot11f_unpack_ie_roaming_consortium_sel(
|
|
|
+ pCtx, pBufRemaining, len,
|
|
|
+ (tDot11fIEroaming_consortium_sel *)
|
|
|
+ (pFrm + pIe->offset +
|
|
|
+ sizeof(tDot11fIEroaming_consortium_sel) *
|
|
|
+ countOffset),
|
|
|
+ append_ie);
|
|
|
+ break;
|
|
|
case SigIesec_chan_offset_ele:
|
|
|
status |=
|
|
|
dot11f_unpack_ie_sec_chan_offset_ele(
|
|
@@ -17552,6 +17586,15 @@ static uint32_t get_packed_size_core(tpAniSirGlobal pCtx,
|
|
|
(pFrm + pIe->offset + offset * i))->
|
|
|
present;
|
|
|
break;
|
|
|
+ case SigIeroaming_consortium_sel:
|
|
|
+ offset = sizeof(tDot11fIEroaming_consortium_sel);
|
|
|
+ byteCount = ((tDot11fIEroaming_consortium_sel *)
|
|
|
+ (pFrm + pIe->offset + offset * i))->
|
|
|
+ num_data;
|
|
|
+ pIePresent = ((tDot11fIEroaming_consortium_sel *)
|
|
|
+ (pFrm + pIe->offset + offset * i))->
|
|
|
+ present;
|
|
|
+ break;
|
|
|
case SigIesec_chan_offset_ele:
|
|
|
offset = sizeof(tDot11fIEsec_chan_offset_ele);
|
|
|
byteCount = 1;
|
|
@@ -26738,6 +26781,43 @@ uint32_t dot11f_pack_ie_osen_ie(tpAniSirGlobal pCtx,
|
|
|
return DOT11F_PARSE_SUCCESS;
|
|
|
} /* End dot11f_pack_ie_osen_ie. */
|
|
|
|
|
|
+uint32_t dot11f_pack_ie_roaming_consortium_sel(tpAniSirGlobal pCtx,
|
|
|
+ tDot11fIEroaming_consortium_sel *pSrc,
|
|
|
+ uint8_t *pBuf,
|
|
|
+ uint32_t nBuf,
|
|
|
+ uint32_t *pnConsumed)
|
|
|
+{
|
|
|
+ uint8_t *pIeLen = 0;
|
|
|
+ uint32_t nConsumedOnEntry = *pnConsumed;
|
|
|
+ uint32_t nNeeded = 0U;
|
|
|
+ nNeeded += pSrc->num_data;
|
|
|
+ while (pSrc->present) {
|
|
|
+ if (nNeeded > nBuf)
|
|
|
+ return DOT11F_BUFFER_OVERFLOW;
|
|
|
+ *pBuf = 221;
|
|
|
+ ++pBuf; ++(*pnConsumed);
|
|
|
+ pIeLen = pBuf;
|
|
|
+ ++pBuf; ++(*pnConsumed);
|
|
|
+ *pBuf = 0x50;
|
|
|
+ ++pBuf; ++(*pnConsumed);
|
|
|
+ *pBuf = 0x6f;
|
|
|
+ ++pBuf; ++(*pnConsumed);
|
|
|
+ *pBuf = 0x9a;
|
|
|
+ ++pBuf; ++(*pnConsumed);
|
|
|
+ *pBuf = 0x1d;
|
|
|
+ ++pBuf; ++(*pnConsumed);
|
|
|
+ DOT11F_MEMCPY(pCtx, pBuf, &(pSrc->data), pSrc->num_data);
|
|
|
+ *pnConsumed += pSrc->num_data;
|
|
|
+ /* fieldsEndFlag = 1 */
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ (void)pCtx;
|
|
|
+ if (pIeLen) {
|
|
|
+ *pIeLen = *pnConsumed - nConsumedOnEntry - 2;
|
|
|
+ }
|
|
|
+ return DOT11F_PARSE_SUCCESS;
|
|
|
+} /* End dot11f_pack_ie_roaming_consortium_sel. */
|
|
|
+
|
|
|
uint32_t dot11f_pack_ie_sec_chan_offset_ele(tpAniSirGlobal pCtx,
|
|
|
tDot11fIEsec_chan_offset_ele *pSrc,
|
|
|
uint8_t *pBuf,
|
|
@@ -29030,6 +29110,14 @@ static uint32_t pack_core(tpAniSirGlobal pCtx,
|
|
|
sizeof(tDot11fIEosen_ie) * i),
|
|
|
pBufRemaining, nBufRemaining, &len);
|
|
|
break;
|
|
|
+ case SigIeroaming_consortium_sel:
|
|
|
+ status |=
|
|
|
+ dot11f_pack_ie_roaming_consortium_sel(
|
|
|
+ pCtx, (tDot11fIEroaming_consortium_sel *)
|
|
|
+ (pSrc + pIe->offset +
|
|
|
+ sizeof(tDot11fIEroaming_consortium_sel) * i),
|
|
|
+ pBufRemaining, nBufRemaining, &len);
|
|
|
+ break;
|
|
|
case SigIesec_chan_offset_ele:
|
|
|
status |=
|
|
|
dot11f_pack_ie_sec_chan_offset_ele(
|