/net/mac80211/ |
D | mlme.c | 104 if (!timer_pending(&sdata->u.mgd.timer) || in run_again() 105 time_before(timeout, sdata->u.mgd.timer.expires)) in run_again() 106 mod_timer(&sdata->u.mgd.timer, timeout); in run_again() 117 mod_timer(&sdata->u.mgd.bcn_mon_timer, in ieee80211_sta_reset_beacon_monitor() 118 round_jiffies_up(jiffies + sdata->u.mgd.beacon_timeout)); in ieee80211_sta_reset_beacon_monitor() 123 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_sta_reset_conn_monitor() 152 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_determine_chantype() 311 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_config_bw() 472 if (sdata->u.mgd.flags & IEEE80211_STA_DISABLE_40MHZ) { in ieee80211_add_ht_ie() 525 if (sdata->u.mgd.flags & IEEE80211_STA_DISABLE_80P80MHZ) { in ieee80211_add_vht_ie() [all …]
|
D | tdls.c | 29 u.mgd.tdls_peer_del_work.work); in ieee80211_tdls_peer_del_work() 33 if (!is_zero_ether_addr(sdata->u.mgd.tdls_peer)) { in ieee80211_tdls_peer_del_work() 34 tdls_dbg(sdata, "TDLS del peer %pM\n", sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work() 35 sta_info_destroy_addr(sdata, sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work() 36 eth_zero_addr(sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work() 45 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_tdls_add_ext_capab() 217 memcpy(lnkid->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_tdls_add_link_ie() 225 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_tdls_add_aid() 549 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_tdls_add_setup_cfm_ies() 845 memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_prep_tdls_direct() [all …]
|
D | vht.c | 25 if (sdata->u.mgd.vht_capa_mask.vht_cap_info & le_flag && in __check_vhtcap_disable() 26 !(sdata->u.mgd.vht_capa.vht_cap_info & le_flag)) in __check_vhtcap_disable() 60 if (sdata->u.mgd.vht_capa_mask.vht_cap_info & in ieee80211_apply_vhtcap_overrides() 64 n = le32_to_cpu(sdata->u.mgd.vht_capa.vht_cap_info) & in ieee80211_apply_vhtcap_overrides() 80 le16_to_cpu(sdata->u.mgd.vht_capa_mask.supp_mcs.rx_mcs_map); in ieee80211_apply_vhtcap_overrides() 81 rxmcs_n = le16_to_cpu(sdata->u.mgd.vht_capa.supp_mcs.rx_mcs_map); in ieee80211_apply_vhtcap_overrides() 86 le16_to_cpu(sdata->u.mgd.vht_capa_mask.supp_mcs.tx_mcs_map); in ieee80211_apply_vhtcap_overrides() 87 txmcs_n = le16_to_cpu(sdata->u.mgd.vht_capa.supp_mcs.tx_mcs_map); in ieee80211_apply_vhtcap_overrides()
|
D | ht.c | 58 ht_capa = &sdata->u.mgd.ht_capa; in ieee80211_apply_htcap_overrides() 59 ht_capa_mask = &sdata->u.mgd.ht_capa_mask; in ieee80211_apply_htcap_overrides() 386 memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_delba() 480 u.mgd.request_smps_work); in ieee80211_request_smps_mgd_work() 483 __ieee80211_request_smps_mgd(sdata, sdata->u.mgd.driver_smps_mode); in ieee80211_request_smps_mgd_work() 510 if (sdata->u.mgd.driver_smps_mode == smps_mode) in ieee80211_request_smps() 512 sdata->u.mgd.driver_smps_mode = smps_mode; in ieee80211_request_smps() 514 &sdata->u.mgd.request_smps_work); in ieee80211_request_smps()
|
D | debugfs_netdev.c | 240 IEEE80211_IF_FILE(bssid, u.mgd.bssid, MAC); 241 IEEE80211_IF_FILE(aid, u.mgd.aid, DEC); 242 IEEE80211_IF_FILE(beacon_timeout, u.mgd.beacon_timeout, JIFFIES_TO_MS); 286 smps_modes[sdata->u.mgd.req_smps], in ieee80211_if_fmt_smps() 349 if (!sdata->u.mgd.associated) { in ieee80211_if_parse_tkip_mic_test() 354 memcpy(hdr->addr1, sdata->u.mgd.associated->bssid, ETH_ALEN); in ieee80211_if_parse_tkip_mic_test() 395 const struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_if_fmt_uapsd_queues() 403 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_if_parse_uapsd_queues() 423 const struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_if_fmt_uapsd_max_sp_len() 431 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_if_parse_uapsd_max_sp_len() [all …]
|
D | pm.c | 100 if (sdata->u.mgd.associated && in __ieee80211_suspend() 101 sdata->u.mgd.powersave && in __ieee80211_suspend()
|
D | status.c | 413 spin_lock(&sdata->u.mgd.teardown_lock); in ieee80211_tdls_td_tx_handle() 414 teardown_skb = sdata->u.mgd.teardown_skb; in ieee80211_tdls_td_tx_handle() 415 orig_teardown_skb = sdata->u.mgd.orig_teardown_skb; in ieee80211_tdls_td_tx_handle() 417 sdata->u.mgd.teardown_skb = NULL; in ieee80211_tdls_td_tx_handle() 418 sdata->u.mgd.orig_teardown_skb = NULL; in ieee80211_tdls_td_tx_handle() 421 spin_unlock(&sdata->u.mgd.teardown_lock); in ieee80211_tdls_td_tx_handle() 923 local->ps_sdata->u.mgd.flags |= in ieee80211_tx_status()
|
D | wme.c | 89 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_downgrade_queue() 185 ra = sdata->u.mgd.bssid; in ieee80211_select_queue()
|
D | offchannel.c | 30 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_offchannel_ps_enable() 148 sdata->u.mgd.associated) in ieee80211_offchannel_stop_vifs() 174 sdata->u.mgd.associated) in ieee80211_offchannel_return() 833 if (!sdata->u.mgd.associated || in ieee80211_mgmt_tx() 836 memcmp(sdata->u.mgd.associated->bssid, in ieee80211_mgmt_tx()
|
D | cfg.c | 74 sdata->u.mgd.use_4addr = params->use_4addr; in ieee80211_change_iface() 383 if (sdata->u.mgd.mfp != IEEE80211_MFP_DISABLED) in ieee80211_add_key() 1292 !sdata->u.mgd.tdls_chan_switch_prohibited && in sta_apply_parameters() 1298 !sdata->u.mgd.tdls_wider_bw_prohibited && in sta_apply_parameters() 2584 old_req = sdata->u.mgd.req_smps; in __ieee80211_request_smps_mgd() 2585 sdata->u.mgd.req_smps = smps_mode; in __ieee80211_request_smps_mgd() 2596 if (!sdata->u.mgd.associated || in __ieee80211_request_smps_mgd() 2600 ap = sdata->u.mgd.associated->bssid; in __ieee80211_request_smps_mgd() 2614 if (tdls_peer_found || !sdata->u.mgd.powersave) in __ieee80211_request_smps_mgd() 2624 sdata->u.mgd.req_smps = old_req; in __ieee80211_request_smps_mgd() [all …]
|
D | rx.c | 2181 !!sdata->u.mgd.use_4addr != !!ieee80211_has_a4(hdr->frame_control)) { in __ieee80211_data_to_8023() 2183 if (!sdata->u.mgd.use_4addr) in __ieee80211_data_to_8023() 2365 if (!rx->sdata->u.mgd.use_4addr) in ieee80211_rx_h_amsdu() 2723 if (!ether_addr_equal(mgmt->sa, sdata->u.mgd.bssid) || in ieee80211_process_sa_query_req() 2724 !ether_addr_equal(mgmt->bssid, sdata->u.mgd.bssid)) { in ieee80211_process_sa_query_req() 2743 memcpy(resp->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_process_sa_query_req() 2903 if (!ether_addr_equal(mgmt->bssid, sdata->u.mgd.bssid)) in ieee80211_rx_h_action() 3004 bssid = sdata->u.mgd.bssid; in ieee80211_rx_h_action() 3565 if (!bssid && !sdata->u.mgd.use_4addr) in ieee80211_accept_frame() 3721 if (sdata->u.mgd.use_4addr) in ieee80211_check_fast_rx() [all …]
|
D | tx.c | 243 ifmgd = &tx->sdata->u.mgd; in ieee80211_tx_h_dynamic_ps() 2317 sta = sta_info_get(sdata, sdata->u.mgd.bssid); in ieee80211_lookup_ra_sta() 2513 memcpy(hdr.addr3, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_build_hdr() 2515 } else if (sdata->u.mgd.use_4addr && in ieee80211_build_hdr() 2520 memcpy(hdr.addr1, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_build_hdr() 2528 memcpy(hdr.addr1, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_build_hdr() 2820 memcpy(hdr->addr3, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_check_fast_xmit() 2825 if (sdata->u.mgd.use_4addr) { in ieee80211_check_fast_xmit() 2830 memcpy(hdr->addr1, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_check_fast_xmit() 2839 memcpy(hdr->addr1, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_check_fast_xmit() [all …]
|
D | ethtool.c | 104 sta = sta_info_get_bss(sdata, sdata->u.mgd.bssid); in ieee80211_get_stats()
|
D | iface.c | 882 sdata->u.mgd.csa_waiting_bcn = false; in ieee80211_do_stop() 1488 sdata->vif.bss_conf.bssid = sdata->u.mgd.bssid; in ieee80211_setup_sdata() 1632 sdata->u.mgd.use_4addr = false; in ieee80211_if_change_type() 1915 sdata->u.mgd.use_4addr = params->use_4addr; in ieee80211_if_add()
|
D | util.c | 1295 !(sdata->u.mgd.flags & IEEE80211_STA_MFP_ENABLED)) in ieee80211_send_deauth_disassoc() 1983 if (sdata->u.mgd.have_beacon) in ieee80211_reconfig() 2049 if (!sdata->u.mgd.associated) in ieee80211_reconfig() 2282 sdata->u.mgd.rssi_min_thold = rssi_min_thold*16; in _ieee80211_enable_rssi_reports() 2283 sdata->u.mgd.rssi_max_thold = rssi_max_thold*16; in _ieee80211_enable_rssi_reports() 2666 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_ave_rssi()
|
D | scan.c | 487 sdata->u.mgd.flags & IEEE80211_STA_CONNECTION_POLL) in ieee80211_can_scan() 720 if (sdata->u.mgd.associated) { in ieee80211_scan_state_decision()
|
D | agg-rx.c | 225 memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_addba_resp()
|
D | chan.c | 725 if (!sdata->u.mgd.associated) in ieee80211_recalc_smps_chanctx() 976 &sdata->u.mgd.chswitch_work); in ieee80211_vif_chanctx_reservation_complete()
|
D | agg-tx.c | 88 memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_addba_request()
|
D | sta_info.c | 2077 sinfo->rx_beacon = sdata->u.mgd.count_beacon_signal; in sta_set_sinfo() 2088 sinfo->beacon_loss_count = sdata->u.mgd.beacon_loss_count; in sta_set_sinfo()
|
D | main.c | 328 ifmgd = &sdata->u.mgd; in ieee80211_ifa_changed()
|
D | key.c | 1136 if (sdata->u.mgd.mfp != IEEE80211_MFP_DISABLED) in ieee80211_gtk_rekey_add()
|
D | ieee80211_i.h | 944 struct ieee80211_if_managed mgd; member
|