Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/mac80211/
Dmlme.c105 if (!timer_pending(&sdata->u.mgd.timer) || in run_again()
106 time_before(timeout, sdata->u.mgd.timer.expires)) in run_again()
107 mod_timer(&sdata->u.mgd.timer, timeout); in run_again()
118 mod_timer(&sdata->u.mgd.bcn_mon_timer, in ieee80211_sta_reset_beacon_monitor()
119 round_jiffies_up(jiffies + sdata->u.mgd.beacon_timeout)); in ieee80211_sta_reset_beacon_monitor()
124 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_sta_reset_conn_monitor()
155 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_determine_chantype()
367 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_config_bw()
539 if (sdata->u.mgd.flags & IEEE80211_STA_DISABLE_40MHZ) { in ieee80211_add_ht_ie()
593 if (sdata->u.mgd.flags & IEEE80211_STA_DISABLE_80P80MHZ) { in ieee80211_add_vht_ie()
[all …]
Dtdls.c30 u.mgd.tdls_peer_del_work.work); in ieee80211_tdls_peer_del_work()
34 if (!is_zero_ether_addr(sdata->u.mgd.tdls_peer)) { in ieee80211_tdls_peer_del_work()
35 tdls_dbg(sdata, "TDLS del peer %pM\n", sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work()
36 sta_info_destroy_addr(sdata, sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work()
37 eth_zero_addr(sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work()
46 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_tdls_add_ext_capab()
221 memcpy(lnkid->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_tdls_add_link_ie()
548 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_tdls_add_setup_cfm_ies()
836 memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_prep_tdls_direct()
1036 spin_lock_bh(&sdata->u.mgd.teardown_lock); in ieee80211_tdls_prep_mgmt_packet()
[all …]
Dht.c57 ht_capa = &sdata->u.mgd.ht_capa; in ieee80211_apply_htcap_overrides()
58 ht_capa_mask = &sdata->u.mgd.ht_capa_mask; in ieee80211_apply_htcap_overrides()
436 memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_delba()
546 u.mgd.request_smps_work); in ieee80211_request_smps_mgd_work()
549 __ieee80211_request_smps_mgd(sdata, sdata->u.mgd.driver_smps_mode); in ieee80211_request_smps_mgd_work()
563 if (sdata->u.mgd.driver_smps_mode == smps_mode) in ieee80211_request_smps()
565 sdata->u.mgd.driver_smps_mode = smps_mode; in ieee80211_request_smps()
567 &sdata->u.mgd.request_smps_work); in ieee80211_request_smps()
Dvht.c23 if (sdata->u.mgd.vht_capa_mask.vht_cap_info & le_flag && in __check_vhtcap_disable()
24 !(sdata->u.mgd.vht_capa.vht_cap_info & le_flag)) in __check_vhtcap_disable()
58 if (sdata->u.mgd.vht_capa_mask.vht_cap_info & in ieee80211_apply_vhtcap_overrides()
62 n = le32_to_cpu(sdata->u.mgd.vht_capa.vht_cap_info) & in ieee80211_apply_vhtcap_overrides()
78 le16_to_cpu(sdata->u.mgd.vht_capa_mask.supp_mcs.rx_mcs_map); in ieee80211_apply_vhtcap_overrides()
79 rxmcs_n = le16_to_cpu(sdata->u.mgd.vht_capa.supp_mcs.rx_mcs_map); in ieee80211_apply_vhtcap_overrides()
84 le16_to_cpu(sdata->u.mgd.vht_capa_mask.supp_mcs.tx_mcs_map); in ieee80211_apply_vhtcap_overrides()
85 txmcs_n = le16_to_cpu(sdata->u.mgd.vht_capa.supp_mcs.tx_mcs_map); in ieee80211_apply_vhtcap_overrides()
Ddebugfs_netdev.c238 IEEE80211_IF_FILE(bssid, u.mgd.bssid, MAC);
240 IEEE80211_IF_FILE(beacon_timeout, u.mgd.beacon_timeout, JIFFIES_TO_MS);
280 smps_modes[sdata->u.mgd.req_smps], in ieee80211_if_fmt_smps()
338 if (!sdata->u.mgd.associated) { in ieee80211_if_parse_tkip_mic_test()
343 memcpy(hdr->addr1, sdata->u.mgd.associated->bssid, ETH_ALEN); in ieee80211_if_parse_tkip_mic_test()
384 const struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_if_fmt_uapsd_queues()
392 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_if_parse_uapsd_queues()
412 const struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_if_fmt_uapsd_max_sp_len()
420 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_if_parse_uapsd_max_sp_len()
440 const struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_if_fmt_tdls_wider_bw()
[all …]
Dpm.c101 if (sdata->u.mgd.associated && in __ieee80211_suspend()
102 sdata->u.mgd.powersave && in __ieee80211_suspend()
Dstatus.c567 spin_lock(&sdata->u.mgd.teardown_lock); in ieee80211_tdls_td_tx_handle()
568 teardown_skb = sdata->u.mgd.teardown_skb; in ieee80211_tdls_td_tx_handle()
569 orig_teardown_skb = sdata->u.mgd.orig_teardown_skb; in ieee80211_tdls_td_tx_handle()
571 sdata->u.mgd.teardown_skb = NULL; in ieee80211_tdls_td_tx_handle()
572 sdata->u.mgd.orig_teardown_skb = NULL; in ieee80211_tdls_td_tx_handle()
575 spin_unlock(&sdata->u.mgd.teardown_lock); in ieee80211_tdls_td_tx_handle()
1014 local->ps_sdata->u.mgd.flags |= in __ieee80211_tx_status()
1134 unlikely(sdata->u.mgd.probe_send_count > 0)) in ieee80211_tx_status_ext()
1135 sdata->u.mgd.probe_send_count = 0; in ieee80211_tx_status_ext()
Dwme.c86 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_downgrade_queue()
214 ra = sdata->u.mgd.bssid; in ieee80211_select_queue()
Doffchannel.c28 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_offchannel_ps_enable()
126 sdata->u.mgd.associated) in ieee80211_offchannel_stop_vifs()
152 sdata->u.mgd.associated) in ieee80211_offchannel_return()
819 if (!sdata->u.mgd.associated || in ieee80211_mgmt_tx()
822 memcmp(sdata->u.mgd.associated->bssid, in ieee80211_mgmt_tx()
Dcfg.c167 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_change_iface()
172 sdata->u.mgd.use_4addr = params->use_4addr; in ieee80211_change_iface()
476 if (sdata->u.mgd.mfp != IEEE80211_MFP_DISABLED) in ieee80211_add_key()
1545 !sdata->u.mgd.tdls_chan_switch_prohibited && in sta_apply_parameters()
1551 !sdata->u.mgd.tdls_wider_bw_prohibited && in sta_apply_parameters()
1694 !sdata->u.mgd.associated) in ieee80211_add_station()
2802 old_req = sdata->u.mgd.req_smps; in __ieee80211_request_smps_mgd()
2803 sdata->u.mgd.req_smps = smps_mode; in __ieee80211_request_smps_mgd()
2814 if (!sdata->u.mgd.associated || in __ieee80211_request_smps_mgd()
2818 ap = sdata->u.mgd.associated->bssid; in __ieee80211_request_smps_mgd()
[all …]
Dethtool.c104 sta = sta_info_get_bss(sdata, sdata->u.mgd.bssid); in ieee80211_get_stats()
Drx.c2518 !!sdata->u.mgd.use_4addr != !!ieee80211_has_a4(hdr->frame_control)) { in __ieee80211_data_to_8023()
2520 if (!sdata->u.mgd.use_4addr) in __ieee80211_data_to_8023()
2801 if (!rx->sdata->u.mgd.use_4addr) in ieee80211_rx_h_amsdu()
3140 if (!ether_addr_equal(mgmt->sa, sdata->u.mgd.bssid) || in ieee80211_process_sa_query_req()
3141 !ether_addr_equal(mgmt->bssid, sdata->u.mgd.bssid)) { in ieee80211_process_sa_query_req()
3159 memcpy(resp->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_process_sa_query_req()
3344 if (!ether_addr_equal(mgmt->bssid, sdata->u.mgd.bssid)) in ieee80211_rx_h_action()
3445 bssid = sdata->u.mgd.bssid; in ieee80211_rx_h_action()
4059 if (!bssid && !sdata->u.mgd.use_4addr) in ieee80211_accept_frame()
4228 if (sdata->u.mgd.use_4addr && !sta->sta.tdls) { in ieee80211_check_fast_rx()
[all …]
Dtx.c251 ifmgd = &tx->sdata->u.mgd; in ieee80211_tx_h_dynamic_ps()
2461 sta = sta_info_get(sdata, sdata->u.mgd.bssid); in ieee80211_lookup_ra_sta()
2710 memcpy(hdr.addr3, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_build_hdr()
2712 } else if (sdata->u.mgd.use_4addr && in ieee80211_build_hdr()
2717 memcpy(hdr.addr1, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_build_hdr()
2725 memcpy(hdr.addr1, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_build_hdr()
3002 memcpy(hdr->addr3, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_check_fast_xmit()
3007 if (sdata->u.mgd.use_4addr) { in ieee80211_check_fast_xmit()
3012 memcpy(hdr->addr1, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_check_fast_xmit()
3021 memcpy(hdr->addr1, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_check_fast_xmit()
[all …]
Diface.c458 sdata->u.mgd.csa_waiting_bcn = false; in ieee80211_do_stop()
1554 sdata->vif.bss_conf.bssid = sdata->u.mgd.bssid; in ieee80211_setup_sdata()
1706 sdata->u.mgd.use_4addr = false; in ieee80211_if_change_type()
1995 sdata->u.mgd.use_4addr = params->use_4addr; in ieee80211_if_add()
Dutil.c1752 !(sdata->u.mgd.flags & IEEE80211_STA_MFP_ENABLED)) in ieee80211_send_deauth_disassoc()
2479 if (sdata->u.mgd.have_beacon) in ieee80211_reconfig()
2553 if (!sdata->u.mgd.associated) in ieee80211_reconfig()
2788 sdata->u.mgd.rssi_min_thold = rssi_min_thold*16; in _ieee80211_enable_rssi_reports()
2789 sdata->u.mgd.rssi_max_thold = rssi_max_thold*16; in _ieee80211_enable_rssi_reports()
3633 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_ave_rssi()
4414 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_add_s1g_capab_ie()
Dmain.c282 cancel_work_sync(&sdata->u.mgd.csa_connection_drop_work); in ieee80211_restart_work()
358 ifmgd = &sdata->u.mgd; in ieee80211_ifa_changed()
Dscan.c585 sdata->u.mgd.flags & IEEE80211_STA_CONNECTION_POLL) in ieee80211_can_scan()
871 if (sdata->u.mgd.associated) { in ieee80211_scan_state_decision()
Dagg-rx.c242 memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_addba_resp()
Dchan.c739 if (!sdata->u.mgd.associated) in ieee80211_recalc_smps_chanctx()
990 &sdata->u.mgd.chswitch_work); in ieee80211_vif_chanctx_reservation_complete()
Dagg-tx.c85 memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_addba_request()
Dsta_info.c2269 sinfo->rx_beacon = sdata->u.mgd.count_beacon_signal; in sta_set_sinfo()
2280 sinfo->beacon_loss_count = sdata->u.mgd.beacon_loss_count; in sta_set_sinfo()
Dkey.c1300 if (sdata->u.mgd.mfp != IEEE80211_MFP_DISABLED) in ieee80211_gtk_rekey_add()
Dieee80211_i.h977 struct ieee80211_if_managed mgd; member