Lines Matching full:ie
230 * Allocate and construct a Country Information IE.
262 struct ieee80211_country_ie *ie; in ieee80211_alloc_countryie() local
268 ic_printf(ic, "%s: unable to allocate memory for country ie\n", in ieee80211_alloc_countryie()
273 ie = (struct ieee80211_country_ie *) aie->ie_data; in ieee80211_alloc_countryie()
274 ie->ie = IEEE80211_ELEMID_COUNTRY; in ieee80211_alloc_countryie()
278 ie->cc[0] = ie->cc[1] = ' '; in ieee80211_alloc_countryie()
280 ie->cc[0] = rd->isocc[0]; in ieee80211_alloc_countryie()
281 ie->cc[1] = rd->isocc[1]; in ieee80211_alloc_countryie()
289 ie->cc[2] = (rd->location == 'I' ? 'I' : in ieee80211_alloc_countryie()
294 frm = (uint8_t *)&ie->band[0]; in ieee80211_alloc_countryie()
314 ic_printf(ic, "%s: country ie too big, " in ieee80211_alloc_countryie()
331 ie->len = frm - ie->cc; in ieee80211_alloc_countryie()
332 if (ie->len & 1) { /* Zero pad to multiple of 2 */ in ieee80211_alloc_countryie()
333 ie->len++; in ieee80211_alloc_countryie()