Searched refs:sta_info_len (Results 1 – 3 of 3) sorted by relevance
1263 size_t sta_info_len; in hostapd_process_ml_assoc_req() local1331 sta_info_len = 1 + ETH_ALEN; in hostapd_process_ml_assoc_req()1340 sta_info_len += link_info->nstr_bitmap_len; in hostapd_process_ml_assoc_req()1342 if (sta_info_len > ml_len || sta_info_len != *pos || in hostapd_process_ml_assoc_req()1343 sta_info_len > sub_elem_len) { in hostapd_process_ml_assoc_req()1370 sub_elem_len -= sta_info_len; in hostapd_process_ml_assoc_req()
1012 size_t sta_info_len; in ieee802_11_parse_link_assoc_req() local1050 sta_info_len = *(pos + 4); in ieee802_11_parse_link_assoc_req()1051 if (sub_elem_len < sta_info_len + 3 || sta_info_len < 1) { in ieee802_11_parse_link_assoc_req()1055 sub_elem_len, sta_info_len); in ieee802_11_parse_link_assoc_req()1059 pos += sta_info_len + 4; in ieee802_11_parse_link_assoc_req()1060 sub_elem_len -= sta_info_len + 2; in ieee802_11_parse_link_assoc_req()
3969 u8 sta_info_len; in wpas_ml_parse_assoc() local4058 sta_info_len = 1 + ETH_ALEN + 8 + 2 + 2 + 1 + nstr_bitmap_len; in wpas_ml_parse_assoc()4059 if (sta_info_len > ml_len || sta_info_len > end - pos || in wpas_ml_parse_assoc()4060 sta_info_len + 2 > sub_elem_len || in wpas_ml_parse_assoc()4061 sta_info_len != *pos) { in wpas_ml_parse_assoc()4064 sta_info_len, *pos); in wpas_ml_parse_assoc()4076 pos += sta_info_len; in wpas_ml_parse_assoc()4077 ml_len -= sta_info_len; in wpas_ml_parse_assoc()4080 sub_elem_len, sta_info_len); in wpas_ml_parse_assoc()4082 sub_elem_len -= sta_info_len + 2; in wpas_ml_parse_assoc()