Home
last modified time | relevance | path

Searched refs:mgd (Results 1 – 23 of 23) sorted by relevance

/net/mac80211/
Dmlme.c104 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 …]
Dtdls.c29 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 …]
Dvht.c25 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()
Dht.c58 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()
Ddebugfs_netdev.c240 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 …]
Dpm.c100 if (sdata->u.mgd.associated && in __ieee80211_suspend()
101 sdata->u.mgd.powersave && in __ieee80211_suspend()
Dstatus.c413 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()
Dwme.c89 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_downgrade_queue()
185 ra = sdata->u.mgd.bssid; in ieee80211_select_queue()
Doffchannel.c30 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()
Dcfg.c74 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 …]
Drx.c2181 !!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 …]
Dtx.c243 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 …]
Dethtool.c104 sta = sta_info_get_bss(sdata, sdata->u.mgd.bssid); in ieee80211_get_stats()
Diface.c882 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()
Dutil.c1295 !(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()
Dscan.c487 sdata->u.mgd.flags & IEEE80211_STA_CONNECTION_POLL) in ieee80211_can_scan()
720 if (sdata->u.mgd.associated) { in ieee80211_scan_state_decision()
Dagg-rx.c225 memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_addba_resp()
Dchan.c725 if (!sdata->u.mgd.associated) in ieee80211_recalc_smps_chanctx()
976 &sdata->u.mgd.chswitch_work); in ieee80211_vif_chanctx_reservation_complete()
Dagg-tx.c88 memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_addba_request()
Dsta_info.c2077 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()
Dmain.c328 ifmgd = &sdata->u.mgd; in ieee80211_ifa_changed()
Dkey.c1136 if (sdata->u.mgd.mfp != IEEE80211_MFP_DISABLED) in ieee80211_gtk_rekey_add()
Dieee80211_i.h944 struct ieee80211_if_managed mgd; member