Home
last modified time | relevance | path

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

/linux-6.1.9/net/mac80211/
Dmlme.c106 if (!timer_pending(&sdata->u.mgd.timer) || in run_again()
107 time_before(timeout, sdata->u.mgd.timer.expires)) in run_again()
108 mod_timer(&sdata->u.mgd.timer, timeout); in run_again()
119 mod_timer(&sdata->u.mgd.bcn_mon_timer, in ieee80211_sta_reset_beacon_monitor()
120 round_jiffies_up(jiffies + sdata->u.mgd.beacon_timeout)); in ieee80211_sta_reset_beacon_monitor()
125 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_sta_reset_conn_monitor()
420 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_config_bw()
431 if (link->u.mgd.conn_flags & IEEE80211_CONN_DISABLE_HT || !ht_oper) in ieee80211_config_bw()
435 if (link->u.mgd.conn_flags & IEEE80211_CONN_DISABLE_VHT) in ieee80211_config_bw()
439 if (link->u.mgd.conn_flags & IEEE80211_CONN_DISABLE_HE || in ieee80211_config_bw()
[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->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_tdls_add_link_ie()
561 ap_sta = sta_info_get(sdata, sdata->deflink.u.mgd.bssid); in ieee80211_tdls_add_setup_cfm_ies()
836 memcpy(mgmt->bssid, sdata->deflink.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 …]
Ddebugfs_netdev.c235 IEEE80211_IF_FILE(bssid, deflink.u.mgd.bssid, MAC);
237 IEEE80211_IF_FILE(beacon_timeout, u.mgd.beacon_timeout, JIFFIES_TO_MS);
277 smps_modes[sdata->deflink.u.mgd.req_smps], in ieee80211_if_fmt_smps()
335 if (!sdata->u.mgd.associated) { in ieee80211_if_parse_tkip_mic_test()
340 memcpy(hdr->addr1, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_if_parse_tkip_mic_test()
381 const struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_if_fmt_uapsd_queues()
389 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_if_parse_uapsd_queues()
409 const struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_if_fmt_uapsd_max_sp_len()
417 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_if_parse_uapsd_max_sp_len()
437 const struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_if_fmt_tdls_wider_bw()
[all …]
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()
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()
487 memcpy(mgmt->bssid, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_send_delba()
607 if (link->u.mgd.driver_smps_mode == smps_mode) in ieee80211_request_smps()
610 link->u.mgd.driver_smps_mode = smps_mode; in ieee80211_request_smps()
611 ieee80211_queue_work(&sdata->local->hw, &link->u.mgd.request_smps_work); in ieee80211_request_smps()
Dpm.c108 if (sdata->u.mgd.associated && in __ieee80211_suspend()
109 sdata->u.mgd.powersave && in __ieee80211_suspend()
Dstatus.c580 spin_lock(&sdata->u.mgd.teardown_lock); in ieee80211_tdls_td_tx_handle()
581 teardown_skb = sdata->u.mgd.teardown_skb; in ieee80211_tdls_td_tx_handle()
582 orig_teardown_skb = sdata->u.mgd.orig_teardown_skb; in ieee80211_tdls_td_tx_handle()
584 sdata->u.mgd.teardown_skb = NULL; in ieee80211_tdls_td_tx_handle()
585 sdata->u.mgd.orig_teardown_skb = NULL; in ieee80211_tdls_td_tx_handle()
588 spin_unlock(&sdata->u.mgd.teardown_lock); in ieee80211_tdls_td_tx_handle()
1052 local->ps_sdata->u.mgd.flags |= in __ieee80211_tx_status()
1171 unlikely(sdata->u.mgd.probe_send_count > 0)) in ieee80211_tx_status_ext()
1172 sdata->u.mgd.probe_send_count = 0; in ieee80211_tx_status_ext()
Dwme.c87 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_downgrade_queue()
214 ra = sdata->deflink.u.mgd.bssid; in ieee80211_select_queue()
Dcfg.c225 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_change_iface()
234 sdata->u.mgd.use_4addr = params->use_4addr; in ieee80211_change_iface()
239 sta = sta_info_get(sdata, sdata->deflink.u.mgd.bssid); in ieee80211_change_iface()
536 if (sdata->u.mgd.mfp != IEEE80211_MFP_DISABLED) in ieee80211_add_key()
1848 !sdata->deflink.u.mgd.tdls_chan_switch_prohibited && in sta_apply_parameters()
1854 !sdata->u.mgd.tdls_wider_bw_prohibited && in sta_apply_parameters()
1941 !sdata->u.mgd.associated) in ieee80211_add_station()
3065 old_req = link->u.mgd.req_smps; in __ieee80211_request_smps_mgd()
3066 link->u.mgd.req_smps = smps_mode; in __ieee80211_request_smps_mgd()
3077 if (!sdata->u.mgd.associated || in __ieee80211_request_smps_mgd()
[all …]
Doffchannel.c28 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_offchannel_ps_enable()
127 sdata->u.mgd.associated) in ieee80211_offchannel_stop_vifs()
153 sdata->u.mgd.associated) in ieee80211_offchannel_return()
837 if (!sdata->u.mgd.associated || in ieee80211_mgmt_tx()
Dethtool.c108 sta = sta_info_get_bss(sdata, sdata->deflink.u.mgd.bssid); in ieee80211_get_stats()
Drx.c2522 !!sdata->u.mgd.use_4addr != !!ieee80211_has_a4(hdr->frame_control)) { in __ieee80211_data_to_8023()
2524 if (!sdata->u.mgd.use_4addr) in __ieee80211_data_to_8023()
2835 if (!rx->sdata->u.mgd.use_4addr) in ieee80211_rx_h_amsdu()
3173 if (!ether_addr_equal(mgmt->sa, sdata->deflink.u.mgd.bssid) || in ieee80211_process_sa_query_req()
3174 !ether_addr_equal(mgmt->bssid, sdata->deflink.u.mgd.bssid)) { in ieee80211_process_sa_query_req()
3192 memcpy(resp->bssid, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_process_sa_query_req()
3476 if (!ether_addr_equal(mgmt->bssid, sdata->deflink.u.mgd.bssid)) in ieee80211_rx_h_action()
3577 bssid = sdata->deflink.u.mgd.bssid; in ieee80211_rx_h_action()
4267 if (!bssid && !sdata->u.mgd.use_4addr) in ieee80211_accept_frame()
4438 if (sdata->u.mgd.use_4addr && !sta->sta.tdls) { in ieee80211_check_fast_rx()
[all …]
Diface.c537 sdata->deflink.u.mgd.csa_waiting_bcn = false; in ieee80211_do_stop()
921 sta = sta_info_get(sdata, sdata->deflink.u.mgd.bssid); in ieee80211_netdev_fill_forward_path()
1796 sdata->vif.bss_conf.bssid = sdata->deflink.u.mgd.bssid; in ieee80211_setup_sdata()
1954 sdata->u.mgd.use_4addr = false; in ieee80211_if_change_type()
2241 sdata->u.mgd.use_4addr = params->use_4addr; in ieee80211_if_add()
Dagg-rx.c245 memcpy(mgmt->bssid, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_send_addba_resp()
Dmain.c366 cancel_work_sync(&sdata->u.mgd.csa_connection_drop_work); in ieee80211_restart_work()
454 ifmgd = &sdata->u.mgd; in ieee80211_ifa_changed()
Dscan.c604 sdata->u.mgd.flags & IEEE80211_STA_CONNECTION_POLL) in ieee80211_can_scan()
892 if (sdata->u.mgd.associated) { in ieee80211_scan_state_decision()
Dtx.c242 ifmgd = &tx->sdata->u.mgd; in ieee80211_tx_h_dynamic_ps()
2783 memcpy(hdr.addr3, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_build_hdr()
2785 } else if (sdata->u.mgd.use_4addr && in ieee80211_build_hdr()
2790 memcpy(hdr.addr1, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_build_hdr()
3093 memcpy(hdr->addr3, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_check_fast_xmit()
3098 if (sdata->u.mgd.use_4addr) { in ieee80211_check_fast_xmit()
3103 memcpy(hdr->addr1, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_check_fast_xmit()
5478 memcpy(pspoll->bssid, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_pspoll_get()
Dutil.c1805 !(sdata->u.mgd.flags & IEEE80211_STA_MFP_ENABLED)) in ieee80211_send_deauth_disassoc()
2571 if (sdata->deflink.u.mgd.have_beacon) in ieee80211_reconfig()
2646 if (!sdata->u.mgd.associated) in ieee80211_reconfig()
3868 return -ewma_beacon_signal_read(&sdata->deflink.u.mgd.ave_beacon_signal); in ieee80211_ave_rssi()
4652 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_add_s1g_capab_ie()
Dchan.c914 if (!sdata->u.mgd.associated) in ieee80211_recalc_smps_chanctx()
1190 &link->u.mgd.chswitch_work); in ieee80211_link_chanctx_reservation_complete()
Dagg-tx.c85 memcpy(mgmt->bssid, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_send_addba_request()
Dieee80211_i.h992 struct ieee80211_link_data_managed mgd; member
1074 struct ieee80211_if_managed mgd; member
Dsta_info.c2492 sinfo->rx_beacon = sdata->deflink.u.mgd.count_beacon_signal; in sta_set_sinfo()
2504 sdata->deflink.u.mgd.beacon_loss_count; in sta_set_sinfo()
Dkey.c1388 if (sdata->u.mgd.mfp != IEEE80211_MFP_DISABLED) in ieee80211_gtk_rekey_add()