Lines Matching refs:elen
1043 u8 elen = elem->datalen; in _ieee802_11_parse_elems_full() local
1104 crc = crc32_be(crc, pos - 2, elen + 2); in _ieee802_11_parse_elems_full()
1110 if (elen + 2 < sizeof(struct ieee80211_tdls_lnkie)) { in _ieee802_11_parse_elems_full()
1117 if (elen < sizeof(struct ieee80211_ch_switch_timing)) { in _ieee802_11_parse_elems_full()
1125 elems->ext_capab_len = elen; in _ieee802_11_parse_elems_full()
1129 elems->ssid_len = elen; in _ieee802_11_parse_elems_full()
1133 elems->supp_rates_len = elen; in _ieee802_11_parse_elems_full()
1136 if (elen >= 1) in _ieee802_11_parse_elems_full()
1142 if (elen >= sizeof(struct ieee80211_tim_ie)) { in _ieee802_11_parse_elems_full()
1144 elems->tim_len = elen; in _ieee802_11_parse_elems_full()
1149 if (elen >= 4 && pos[0] == 0x00 && pos[1] == 0x50 && in _ieee802_11_parse_elems_full()
1154 crc = crc32_be(crc, pos - 2, elen + 2); in _ieee802_11_parse_elems_full()
1156 if (elen >= 5 && pos[3] == 2) { in _ieee802_11_parse_elems_full()
1160 elems->wmm_info_len = elen; in _ieee802_11_parse_elems_full()
1163 elems->wmm_param_len = elen; in _ieee802_11_parse_elems_full()
1170 elems->rsn_len = elen; in _ieee802_11_parse_elems_full()
1173 if (elen >= 1) in _ieee802_11_parse_elems_full()
1180 elems->ext_supp_rates_len = elen; in _ieee802_11_parse_elems_full()
1183 if (elen >= sizeof(struct ieee80211_ht_cap)) in _ieee802_11_parse_elems_full()
1189 if (elen >= sizeof(struct ieee80211_ht_operation)) in _ieee802_11_parse_elems_full()
1195 if (elen >= sizeof(struct ieee80211_vht_cap)) in _ieee802_11_parse_elems_full()
1201 if (elen >= sizeof(struct ieee80211_vht_operation)) { in _ieee802_11_parse_elems_full()
1204 crc = crc32_be(crc, pos - 2, elen + 2); in _ieee802_11_parse_elems_full()
1210 if (elen > 0) { in _ieee802_11_parse_elems_full()
1213 crc = crc32_be(crc, pos - 2, elen + 2); in _ieee802_11_parse_elems_full()
1220 elems->mesh_id_len = elen; in _ieee802_11_parse_elems_full()
1223 if (elen >= sizeof(struct ieee80211_meshconf_ie)) in _ieee802_11_parse_elems_full()
1230 elems->peering_len = elen; in _ieee802_11_parse_elems_full()
1233 if (elen >= 2) in _ieee802_11_parse_elems_full()
1238 elems->preq_len = elen; in _ieee802_11_parse_elems_full()
1242 elems->prep_len = elen; in _ieee802_11_parse_elems_full()
1246 elems->perr_len = elen; in _ieee802_11_parse_elems_full()
1249 if (elen >= sizeof(struct ieee80211_rann_ie)) in _ieee802_11_parse_elems_full()
1255 if (elen != sizeof(struct ieee80211_channel_sw_ie)) { in _ieee802_11_parse_elems_full()
1262 if (elen != sizeof(struct ieee80211_ext_chansw_ie)) { in _ieee802_11_parse_elems_full()
1269 if (elen != sizeof(struct ieee80211_sec_chan_offs_ie)) { in _ieee802_11_parse_elems_full()
1276 if (elen < in _ieee802_11_parse_elems_full()
1285 elen < sizeof(*elems->wide_bw_chansw_ie)) { in _ieee802_11_parse_elems_full()
1302 pos, elen); in _ieee802_11_parse_elems_full()
1313 elems->country_elem_len = elen; in _ieee802_11_parse_elems_full()
1316 if (elen != 1) { in _ieee802_11_parse_elems_full()
1328 if (elen < 4) { in _ieee802_11_parse_elems_full()
1337 if (elen != 6) { in _ieee802_11_parse_elems_full()
1343 crc = crc32_be(crc, pos - 2, elen + 2); in _ieee802_11_parse_elems_full()
1348 if (elen < sizeof(struct ieee80211_addba_ext_ie)) { in _ieee802_11_parse_elems_full()
1355 if (elen >= sizeof(struct ieee80211_timeout_interval_ie)) in _ieee802_11_parse_elems_full()
1361 if (elen >= sizeof(*elems->max_idle_period_ie)) in _ieee802_11_parse_elems_full()
1366 elems->rsnx_len = elen; in _ieee802_11_parse_elems_full()
1369 if (elen < 1 || in _ieee802_11_parse_elems_full()
1370 elen > sizeof(struct ieee80211_tx_pwr_env)) in _ieee802_11_parse_elems_full()
1377 elems->tx_pwr_env_len[elems->tx_pwr_env_num] = elen; in _ieee802_11_parse_elems_full()
1386 if (elen >= sizeof(*elems->s1g_capab)) in _ieee802_11_parse_elems_full()
1392 if (elen == sizeof(*elems->s1g_oper)) in _ieee802_11_parse_elems_full()
1398 if (elen == sizeof(*elems->s1g_bcn_compat)) in _ieee802_11_parse_elems_full()
1404 if (elen == sizeof(struct ieee80211_aid_response_ie)) in _ieee802_11_parse_elems_full()