Lines Matching refs:countryIE
478 /* updating CountryIE */
605 /* updating CountryIE */
1062 TI_STATUS mlmeParser_readCountry(mlme_t *pMlme,TI_UINT8 *pData, TI_UINT32 dataLen, TI_UINT32 *pReadLen, dot11_COUNTRY_t *countryIE)
1066 countryIE->hdr[0] = *pData;
1067 countryIE->hdr[1] = *(pData+1);
1069 *pReadLen = countryIE->hdr[1] + 2;
1071 if ((dataLen < 8) || (dataLen < (TI_UINT32)(countryIE->hdr[1] + 2)))
1076 if (countryIE->hdr[1] > DOT11_COUNTRY_ELE_LEN_MAX)
1078 TRACE2(pMlme->hReport, REPORT_SEVERITY_ERROR, "MLME_PARSER: country IE error: eleLen=%d, maxLen=%d\n", countryIE->hdr[1], DOT11_COUNTRY_ELE_LEN_MAX);
1082 os_memoryCopy(pMlme->hOs,&(countryIE->countryIE.CountryString), pData+2, DOT11_COUNTRY_STRING_LEN);
1085 for (i = 0, j = 0; j < (countryIE->hdr[1] - DOT11_COUNTRY_STRING_LEN); i++, j+=3)
1087 countryIE->countryIE.tripletChannels[i].firstChannelNumber = *(pData + j + 5);
1088 countryIE->countryIE.tripletChannels[i].numberOfChannels = *(pData + j + 6);
1089 countryIE->countryIE.tripletChannels[i].maxTxPowerLevel = *(pData + j + 7);