Lines Matching refs:elems

1792 	struct ieee802_11_elems *elems = NULL;  in ieee80211_process_tdls_channel_switch_resp()  local
1826 elems = ieee802_11_parse_elems(tf->u.chan_switch_resp.variable, in ieee80211_process_tdls_channel_switch_resp()
1828 if (!elems) { in ieee80211_process_tdls_channel_switch_resp()
1833 if (elems->parse_error) { in ieee80211_process_tdls_channel_switch_resp()
1839 if (!elems->ch_sw_timing || !elems->lnk_id) { in ieee80211_process_tdls_channel_switch_resp()
1847 !memcmp(elems->lnk_id->init_sta, sdata->vif.addr, ETH_ALEN); in ieee80211_process_tdls_channel_switch_resp()
1854 params.switch_time = le16_to_cpu(elems->ch_sw_timing->switch_time); in ieee80211_process_tdls_channel_switch_resp()
1855 params.switch_timeout = le16_to_cpu(elems->ch_sw_timing->switch_timeout); in ieee80211_process_tdls_channel_switch_resp()
1875 kfree(elems); in ieee80211_process_tdls_channel_switch_resp()
1884 struct ieee802_11_elems *elems; in ieee80211_process_tdls_channel_switch_req() local
1944 elems = ieee802_11_parse_elems(tf->u.chan_switch_req.variable, in ieee80211_process_tdls_channel_switch_req()
1946 if (!elems) in ieee80211_process_tdls_channel_switch_req()
1949 if (elems->parse_error) { in ieee80211_process_tdls_channel_switch_req()
1955 if (!elems->ch_sw_timing || !elems->lnk_id) { in ieee80211_process_tdls_channel_switch_req()
1961 if (!elems->sec_chan_offs) { in ieee80211_process_tdls_channel_switch_req()
1964 switch (elems->sec_chan_offs->sec_chan_offs) { in ieee80211_process_tdls_channel_switch_req()
2000 !memcmp(elems->lnk_id->init_sta, sdata->vif.addr, ETH_ALEN); in ieee80211_process_tdls_channel_switch_req()
2008 if (!sta->sta.deflink.ht_cap.ht_supported && elems->sec_chan_offs && in ieee80211_process_tdls_channel_switch_req()
2009 elems->sec_chan_offs->sec_chan_offs) { in ieee80211_process_tdls_channel_switch_req()
2016 params.switch_time = le16_to_cpu(elems->ch_sw_timing->switch_time); in ieee80211_process_tdls_channel_switch_req()
2017 params.switch_timeout = le16_to_cpu(elems->ch_sw_timing->switch_timeout); in ieee80211_process_tdls_channel_switch_req()
2037 kfree(elems); in ieee80211_process_tdls_channel_switch_req()