Home
last modified time | relevance | path

Searched refs:ml_len (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/wpa/src/ap/
H A Dieee802_11_eht.c1079 size_t ml_len, common_info_len; in hostapd_process_ml_assoc_req_addr() local
1087 ml_len = wpabuf_len(mlbuf); in hostapd_process_ml_assoc_req_addr()
1089 if (ml_len < sizeof(*ml)) in hostapd_process_ml_assoc_req_addr()
1126 if (sizeof(*ml) + common_info_len > ml_len) { in hostapd_process_ml_assoc_req_addr()
1157 size_t ml_len, common_info_len; in hostapd_process_ml_assoc_req() local
1169 ml_len = wpabuf_len(mlbuf); in hostapd_process_ml_assoc_req()
1214 if (sizeof(*ml) + common_info_len > ml_len) { in hostapd_process_ml_assoc_req()
1259 ml_len -= sizeof(*ml) + common_info_len; in hostapd_process_ml_assoc_req()
1261 while (ml_len > 2) { in hostapd_process_ml_assoc_req()
1269 if (2 + sub_elem_len > ml_len) { in hostapd_process_ml_assoc_req()
[all …]
H A Dbeacon.c1258 static bool parse_ml_probe_req(const struct ieee80211_eht_ml *ml, size_t ml_len, in parse_ml_probe_req() argument
1269 if (ml_len < sizeof(struct ieee80211_eht_ml)) in parse_ml_probe_req()
1279 if (sizeof(struct ieee80211_eht_ml) + 1 > ml_len) { in parse_ml_probe_req()
1286 if (len < 1 || sizeof(struct ieee80211_eht_ml) + len > ml_len) { in parse_ml_probe_req()
1304 len = ml_len - len - sizeof(struct ieee80211_eht_ml); in parse_ml_probe_req()
/freebsd/contrib/wpa/wpa_supplicant/
H A Devents.c3784 size_t ml_len; in wpas_ml_parse_assoc() local
3804 ml_len = wpabuf_len(mlbuf); in wpas_ml_parse_assoc()
3805 if (ml_len < sizeof(*ml)) in wpas_ml_parse_assoc()
3840 if (sizeof(*ml) + expected_common_info_len > ml_len) { in wpas_ml_parse_assoc()
3843 ml_len); in wpas_ml_parse_assoc()
3894 ml_len -= sizeof(*ml) + common_info->len; in wpas_ml_parse_assoc()
3895 while (ml_len > 2 && i < MAX_NUM_MLD_LINKS) { in wpas_ml_parse_assoc()
3904 if (sub_elem_len > ml_len - 2) { in wpas_ml_parse_assoc()
3907 2 + sub_elem_len, ml_len); in wpas_ml_parse_assoc()
3920 ml_len -= 2 + sub_elem_len; in wpas_ml_parse_assoc()
[all …]