Lines Matching refs:elems
779 struct ieee802_11_elems *elems, in ieee80211_ibss_process_chanswitch() argument
806 if (elems->vht_cap_elem) in ieee80211_ibss_process_chanswitch()
807 vht_cap_info = le32_to_cpu(elems->vht_cap_elem->vht_cap_info); in ieee80211_ibss_process_chanswitch()
810 err = ieee80211_parse_ch_switch_ie(sdata, elems, in ieee80211_ibss_process_chanswitch()
920 struct ieee802_11_elems *elems) in ieee80211_rx_mgmt_spectrum_mgmt() argument
938 ieee80211_ibss_process_chanswitch(sdata, elems, false); in ieee80211_rx_mgmt_spectrum_mgmt()
989 struct ieee802_11_elems *elems, in ieee80211_update_sta_info() argument
1013 if (elems->supp_rates) { in ieee80211_update_sta_info()
1014 supp_rates = ieee80211_sta_get_rates(sdata, elems, in ieee80211_update_sta_info()
1044 (elems->wmm_info || elems->s1g_capab) && in ieee80211_update_sta_info()
1050 if (sta && elems->ht_operation && elems->ht_cap_elem && in ieee80211_update_sta_info()
1060 ieee80211_chandef_ht_oper(elems->ht_operation, &chandef); in ieee80211_update_sta_info()
1062 memcpy(&htcap_ie, elems->ht_cap_elem, sizeof(htcap_ie)); in ieee80211_update_sta_info()
1067 if (elems->vht_operation && elems->vht_cap_elem && in ieee80211_update_sta_info()
1074 le32_to_cpu(elems->vht_cap_elem->vht_cap_info); in ieee80211_update_sta_info()
1077 elems->vht_operation, in ieee80211_update_sta_info()
1078 elems->ht_operation, in ieee80211_update_sta_info()
1080 memcpy(&cap_ie, elems->vht_cap_elem, sizeof(cap_ie)); in ieee80211_update_sta_info()
1114 struct ieee802_11_elems *elems) in ieee80211_rx_bss_info() argument
1128 ieee80211_update_sta_info(sdata, mgmt, len, rx_status, elems, channel); in ieee80211_rx_bss_info()
1151 if (elems->ssid_len != sdata->u.ibss.ssid_len || in ieee80211_rx_bss_info()
1152 memcmp(elems->ssid, sdata->u.ibss.ssid, in ieee80211_rx_bss_info()
1158 ieee80211_ibss_process_chanswitch(sdata, elems, true)) in ieee80211_rx_bss_info()
1195 supp_rates = ieee80211_sta_get_rates(sdata, elems, band, NULL); in ieee80211_rx_bss_info()
1603 struct ieee802_11_elems elems; in ieee80211_rx_mgmt_probe_beacon() local
1617 false, &elems, mgmt->bssid, NULL); in ieee80211_rx_mgmt_probe_beacon()
1619 ieee80211_rx_bss_info(sdata, mgmt, len, rx_status, &elems); in ieee80211_rx_mgmt_probe_beacon()
1628 struct ieee802_11_elems elems; in ieee80211_ibss_rx_queued_mgmt() local
1667 ies_len, true, &elems, mgmt->bssid, NULL); in ieee80211_ibss_rx_queued_mgmt()
1669 if (elems.parse_error) in ieee80211_ibss_rx_queued_mgmt()
1673 rx_status, &elems); in ieee80211_ibss_rx_queued_mgmt()