Lines Matching refs:sub
1414 const struct element *elem, *sub; in ieee802_11_find_bssid_profile() local
1427 for_each_element(sub, elem->data + 1, elem->datalen - 1) { in ieee802_11_find_bssid_profile()
1431 if (sub->id != 0 || sub->datalen < 4) { in ieee802_11_find_bssid_profile()
1436 if (sub->data[0] != WLAN_EID_NON_TX_BSSID_CAP || in ieee802_11_find_bssid_profile()
1437 sub->data[1] != 2) { in ieee802_11_find_bssid_profile()
1449 sub, in ieee802_11_find_bssid_profile()
1483 const struct element *sub; in ieee80211_mle_get_sta_prof() local
1492 for_each_mle_subelement(sub, (u8 *)ml, ml_len) { in ieee80211_mle_get_sta_prof()
1493 struct ieee80211_mle_per_sta_profile *prof = (void *)sub->data; in ieee80211_mle_get_sta_prof()
1497 if (sub->id != IEEE80211_MLE_SUBELEM_PER_STA_PROFILE) in ieee80211_mle_get_sta_prof()
1500 if (!ieee80211_mle_basic_sta_prof_size_ok(sub->data, in ieee80211_mle_get_sta_prof()
1501 sub->datalen)) in ieee80211_mle_get_sta_prof()
1515 cfg80211_defragment_element(sub, in ieee80211_mle_get_sta_prof()
1538 struct ieee80211_elems_parse_params sub = { in ieee80211_mle_parse_link() local
1584 sub.start = prof->variable + prof->sta_info_len - 1 + 4; in ieee80211_mle_parse_link()
1586 sub.len = end - sub.start; in ieee80211_mle_parse_link()
1589 sub.start, sub.len); in ieee80211_mle_parse_link()
1590 _ieee802_11_parse_elems_full(&sub, elems, non_inherit); in ieee80211_mle_parse_link()
1625 struct ieee80211_elems_parse_params sub = { in ieee802_11_parse_elems_full() local
1632 _ieee802_11_parse_elems_full(&sub, elems, NULL); in ieee802_11_parse_elems_full()