Home
last modified time | relevance | path

Searched refs:sta (Results 1 – 25 of 465) sorted by relevance

12345678910>>...19

/linux-6.15/net/mac80211/
H A Dsta_info.c300 return &sta->sta; in ieee80211_find_sta_by_link_addrs()
312 return &sta->sta; in ieee80211_find_sta_by_link_addrs()
541 link_info->pub->sta = &sta->sta; in sta_info_add_link()
577 sta_info_add_link(sta, 0, &sta->deflink, &sta->sta.deflink); in __sta_info_alloc()
580 sta->sta.cur = &sta->sta.deflink.agg; in __sta_info_alloc()
1753 if (!sta->sta.txq[i] || !txq_has_queue(sta->sta.txq[i])) in ieee80211_sta_ps_deliver_wakeup()
1801 sta->sta.addr, sta->sta.aid, filtered, buffered); in ieee80211_sta_ps_deliver_wakeup()
2340 if (!sta->sta.valid_links || !sta->sta.mlo) { in __ieee80211_sta_recalc_aggregates()
2341 sta->sta.cur = &sta->sta.deflink.agg; in __ieee80211_sta_recalc_aggregates()
2358 sta->cur = sta->sta.deflink.agg; in __ieee80211_sta_recalc_aggregates()
[all …]
H A Dmesh_plink.c79 sta->mesh->llid = sta->mesh->plid = sta->mesh->reason = 0; in mesh_plink_fsm_restart()
186 sta->sta.addr); in mesh_set_ht_prot_mode()
415 sta->sta.addr, sta->mesh->llid, in mesh_plink_deactivate()
542 sta->sta.wme = true; in __mesh_sta_info_alloc()
543 sta->sta.aid = aid; in __mesh_sta_info_alloc()
687 sta->sta.addr, mplstates[sta->mesh->plink_state]); in mesh_plink_timer()
704 sta->sta.addr, mplstates[sta->mesh->plink_state]); in mesh_plink_timer()
716 sta->sta.addr, sta->mesh->plink_retries, in mesh_plink_timer()
809 sta->sta.addr); in mesh_plink_open()
815 sta->sta.addr, sta->mesh->llid, 0, 0); in mesh_plink_open()
[all …]
H A Dmesh_ps.c37 ieee80211_fill_mesh_addresses(nullfunc, &fc, sta->sta.addr, in mps_qos_null_get()
43 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in mps_qos_null_get()
63 sta->sta.addr); in mps_qos_null_tx()
165 pm, sta->sta.addr); in ieee80211_mps_set_sta_local_pm()
200 !sta)) in ieee80211_mps_set_frame_flags()
273 sta->sta.addr); in ieee80211_mps_sta_status_update()
308 sta->sta.addr, pm); in mps_set_sta_peer_pm()
329 sta->sta.addr, pm); in mps_set_sta_nonpeer_pm()
434 sta->sta.addr); in mpsp_qos_null_append()
498 skb_queue_len(&frames), sta->sta.addr); in mps_frame_deliver()
[all …]
H A Dagg-rx.c64 .sta = &sta->sta, in __ieee80211_stop_rx_ba_session()
85 sta->sta.addr, tid, in __ieee80211_stop_rx_ba_session()
92 sta->sta.addr, tid); in __ieee80211_stop_rx_ba_session()
96 ieee80211_send_delba(sta->sdata, sta->sta.addr, in __ieee80211_stop_rx_ba_session()
158 sta->sta.addr, tid); in sta_rx_agg_session_timer_expired()
215 (sta->sta.valid_links || sta->sta.deflink.eht_cap.has_eht)) { in ieee80211_retrieve_addba_ext_data()
263 if (sta->sta.valid_links || sta->sta.deflink.he_cap.has_he) in ieee80211_send_addba_resp()
278 .sta = &sta->sta, in __ieee80211_start_rx_ba_session()
315 if (sta->sta.valid_links || sta->sta.deflink.eht_cap.has_eht) in __ieee80211_start_rx_ba_session()
440 tid_agg_rx->sta = sta; in __ieee80211_start_rx_ba_session()
[all …]
H A Dagg-tx.c296 .sta = &sta->sta, in __ieee80211_stop_tx_ba_session()
363 sta->sta.addr, tid); in __ieee80211_stop_tx_ba_session()
433 sta->sta.addr, tid); in sta_addba_resp_timer_expired()
438 sta->sta.addr, tid); in sta_addba_resp_timer_expired()
460 sta->sta.addr, tid); in ieee80211_send_addba_with_timeout()
467 if (sta->sta.valid_links || in ieee80211_send_addba_with_timeout()
497 .sta = &sta->sta, in ieee80211_tx_ba_session_handle_start()
593 sta->sta.addr, tid); in sta_tx_agg_session_timer_expired()
720 tid_tx->sta = sta; in ieee80211_start_tx_ba_session()
754 .sta = &sta->sta, in ieee80211_agg_tx_operational()
[all …]
H A Dtdls.c1020 sta->sta.tdls_initiator = false; in ieee80211_tdls_prep_mgmt_packet()
1035 sta->sta.tdls_initiator = true; in ieee80211_tdls_prep_mgmt_packet()
1367 if (!sta->sta.tdls || sta->sdata != sdata || !sta->uploaded || in iee80211_tdls_have_ht_peers()
1394 tdls_ht = (sta && sta->sta.deflink.ht_cap.ht_supported) || in iee80211_tdls_recalc_ht_protection()
1560 int link_id = sta->sta.valid_links ? ffs(sta->sta.valid_links) - 1 : 0; in ieee80211_tdls_ch_sw_tmpl_get()
1707 int link_id = sta->sta.valid_links ? ffs(sta->sta.valid_links) - 1 : 0; in ieee80211_tdls_ch_sw_resp_tmpl_get()
1741 sta->sta.addr); in ieee80211_tdls_ch_sw_resp_tmpl_get()
1778 params.sta = &sta->sta; in ieee80211_process_tdls_channel_switch_resp()
1955 params.sta = &sta->sta; in ieee80211_process_tdls_channel_switch_req()
2040 if (!sta->sta.tdls || sta->sdata != sdata || !sta->uploaded || in ieee80211_teardown_tdls_peers()
[all …]
H A Dmesh_sync.c90 struct sta_info *sta; in mesh_sync_offset_rx_bcn_presp() local
112 sta = sta_info_get(sdata, mgmt->sa); in mesh_sync_offset_rx_bcn_presp()
113 if (!sta) in mesh_sync_offset_rx_bcn_presp()
124 sta->sta.addr); in mesh_sync_offset_rx_bcn_presp()
130 sta->mesh->t_offset = t_t - t_r; in mesh_sync_offset_rx_bcn_presp()
133 s64 t_clockdrift = sta->mesh->t_offset_setpoint - sta->mesh->t_offset; in mesh_sync_offset_rx_bcn_presp()
136 sta->sta.addr, (long long) sta->mesh->t_offset, in mesh_sync_offset_rx_bcn_presp()
144 sta->sta.addr, in mesh_sync_offset_rx_bcn_presp()
155 sta->mesh->t_offset_setpoint = sta->mesh->t_offset - TOFFSET_SET_MARGIN; in mesh_sync_offset_rx_bcn_presp()
159 sta->sta.addr, in mesh_sync_offset_rx_bcn_presp()
[all …]
H A Drate.c33 struct sta_info *sta = link_sta->sta; in rate_control_rate_init() local
36 struct ieee80211_sta *ista = &sta->sta; in rate_control_rate_init()
94 struct sta_info *sta = container_of(st->sta, struct sta_info, sta); in rate_control_tx_status() local
120 struct sta_info *sta = link_sta->sta; in rate_control_rate_update() local
121 struct ieee80211_sta *ista = &sta->sta; in rate_control_rate_update()
401 sta ? sta->addr : NULL, in __rate_control_send_low()
402 sta ? sta->deflink.supp_rates[sband->band] : -1, in __rate_control_send_low()
836 if (!rate_control_cap_mask(sta->sdata, sband, &sta->sta, &mask, in rate_control_apply_mask_ratetbl()
919 if (sta) in ieee80211_get_tx_rates()
940 if (rate_control_send_low(sta ? &sta->sta : NULL, txrc)) in rate_control_get_rate()
[all …]
H A Drate.h26 struct sta_info *sta,
33 void rate_control_rate_init_all_links(struct sta_info *sta);
40 struct sta_info *sta, gfp_t gfp) in rate_control_alloc_sta() argument
42 spin_lock_init(&sta->rate_ctrl_lock); in rate_control_alloc_sta()
43 return ref->ops->alloc_sta(ref->priv, &sta->sta, gfp); in rate_control_alloc_sta()
48 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_free_sta()
49 struct ieee80211_sta *ista = &sta->sta; in rate_control_free_sta()
50 void *priv_sta = sta->rate_ctrl_priv; in rate_control_free_sta()
58 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_add_sta_debugfs()
59 if (ref && sta->debugfs_dir && ref->ops->add_sta_debugfs) in rate_control_add_sta_debugfs()
[all …]
H A Dsta_info.h149 struct sta_info *sta, u8 ac,
189 struct sta_info *sta; member
244 struct sta_info *sta; member
531 struct sta_info *sta; member
734 struct ieee80211_sta sta; member
740 return sta->sta.valid_links ? __ffs(sta->sta.valid_links) : 0; in ieee80211_tdls_sta_link_id()
746 return sta->mesh->plink_state; in sta_plink_state()
757 set_bit(flag, &sta->_flags); in set_sta_flag()
766 clear_bit(flag, &sta->_flags); in clear_sta_flag()
772 return test_bit(flag, &sta->_flags); in test_sta_flag()
[all …]
H A Docb.c47 struct sta_info *sta; in ieee80211_ocb_rx_no_sta() local
71 if (!sta) in ieee80211_ocb_rx_no_sta()
76 sta->sta.deflink.supp_rates[band] = ieee80211_mandatory_rates(sband); in ieee80211_ocb_rx_no_sta()
90 memcpy(addr, sta->sta.addr, ETH_ALEN); in ieee80211_ocb_finish_sta()
102 if (sta_info_insert_rcu(sta)) in ieee80211_ocb_finish_sta()
104 return sta; in ieee80211_ocb_finish_sta()
122 struct sta_info *sta; in ieee80211_ocb_work() local
133 list_del(&sta->list); in ieee80211_ocb_work()
206 struct sta_info *sta; in ieee80211_ocb_leave() local
217 list_del(&sta->list); in ieee80211_ocb_leave()
[all …]
H A Dtx.c491 sta->sta.addr, sta->sta.aid, ac); in ieee80211_tx_h_unicast_ps_buf()
1154 tx->sta->sta.addr, tx->sta->sta.aid); in ieee80211_tx_prep_agg()
1186 (!sta->sta.valid_links && !sta->sta.deflink.ht_cap.ht_supported) || in ieee80211_aggr_check()
1231 tx->sta = sta; in ieee80211_tx_prepare()
1540 txqi->txq.sta = &sta->sta; in ieee80211_txq_init()
1734 control.sta = sta ? &sta->sta : NULL; in ieee80211_tx_frags()
1914 *sta = &tx.sta->sta; in ieee80211_tx_prepare_skb()
2681 (sta && sta->sta.mlo)) { in ieee80211_build_hdr()
3731 tx.sta = sta; in __ieee80211_xmit_fast()
5774 qos = sta && sta->sta.wme; in ieee80211_nullfunc_get()
[all …]
H A Dstatus.c842 if (sta->sta.tdls) { in ieee80211_lost_packet()
858 cfg80211_cqm_pktloss_notify(sta->sdata->dev, sta->sta.addr, in ieee80211_lost_packet()
969 if (status->sta) { in __ieee80211_tx_status()
970 sta = container_of(status->sta, struct sta_info, sta); in __ieee80211_tx_status()
1113 if (sta) in ieee80211_tx_status_skb()
1114 status.sta = &sta->sta; in ieee80211_tx_status_skb()
1134 sta = container_of(pubsta, struct sta_info, sta); in ieee80211_tx_status_ext()
1250 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); in ieee80211_tx_rate_update() local
1253 .sta = pubsta, in ieee80211_tx_rate_update()
1265 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); in ieee80211_report_low_ack() local
[all …]
H A Dht.c144 struct sta_info *sta = link_sta->sta; in ieee80211_ht_cap_ie_to_sta_ht_cap() local
248 ieee80211_sta_recalc_aggregates(&sta->sta); in ieee80211_ht_cap_ie_to_sta_ht_cap()
337 wiphy_work_cancel(sta->local->hw.wiphy, &sta->ampdu_mlme.work); in ieee80211_sta_tear_down_BA_sessions()
354 struct sta_info *sta = in ieee80211_ba_session_work() local
368 sta, tid, WLAN_BACK_RECIPIENT, in ieee80211_ba_session_work()
390 spin_lock_bh(&sta->lock); in ieee80211_ba_session_work()
394 struct txq_info *txqi = to_txq_info(sta->sta.txq[tid]); in ieee80211_ba_session_work()
410 spin_unlock_bh(&sta->lock); in ieee80211_ba_session_work()
434 spin_unlock_bh(&sta->lock); in ieee80211_ba_session_work()
439 spin_unlock_bh(&sta->lock); in ieee80211_ba_session_work()
[all …]
/linux-6.15/arch/sparc/mm/
H A Dswift.S34 sta %g0, [%o0] ASI_M_DATAC_TAG
36 sta %g0, [%o1] ASI_M_TXTC_TAG
48 sta %g0, [%o0] ASI_M_TXTC_TAG
50 sta %g0, [%o0] ASI_M_DATAC_TAG
67 sta %g2, [%g7] ASI_M_MMUREGS
72 sta %g0, [%o0] ASI_M_FLUSH_CTX
99 sta %g5, [%g7] ASI_M_MMUREGS
133 sta %g2, [%g7] ASI_M_MMUREGS
165 sta %g5, [%g7] ASI_M_MMUREGS
249 sta %o3, [%g1] ASI_M_MMUREGS
[all …]
H A Dhypersparc.S36 sta %g0, [%g5] ASI_M_FLUSH_CTX
130 sta %o0, [%g7] ASI_M_MMUREGS
158 sta %o3, [%g7] ASI_M_MMUREGS
181 sta %g2, [%o3] ASI_M_MMUREGS
212 sta %o2, [%g4] ASI_M_MMUREGS
282 sta %o1, [%g1] ASI_M_MMUREGS
286 sta %g5, [%g1] ASI_M_MMUREGS
298 sta %o3, [%g1] ASI_M_MMUREGS
309 sta %g5, [%g1] ASI_M_MMUREGS
321 sta %o3, [%g1] ASI_M_MMUREGS
[all …]
/linux-6.15/drivers/staging/rtl8723bs/include/
H A Dsta_info.h220 #define sta_rx_pkts(sta) \ argument
221 (sta->sta_stats.rx_mgnt_pkts \
226 (sta->sta_stats.rx_data_pkts)
245 sta->sta_stats.last_rx_mgnt_pkts = sta->sta_stats.rx_mgnt_pkts; \
246 sta->sta_stats.last_rx_beacon_pkts = sta->sta_stats.rx_beacon_pkts; \
247 sta->sta_stats.last_rx_probereq_pkts = sta->sta_stats.rx_probereq_pkts; \
248 sta->sta_stats.last_rx_probersp_pkts = sta->sta_stats.rx_probersp_pkts; \
249 sta->sta_stats.last_rx_probersp_bm_pkts = sta->sta_stats.rx_probersp_bm_pkts; \
250 sta->sta_stats.last_rx_probersp_uo_pkts = sta->sta_stats.rx_probersp_uo_pkts; \
251 sta->sta_stats.last_rx_ctrl_pkts = sta->sta_stats.rx_ctrl_pkts; \
[all …]
/linux-6.15/drivers/net/wireless/realtek/rtlwifi/
H A Drc.c16 struct ieee80211_sta *sta, in _rtl_rc_get_highest_rix() argument
49 if (sta) { in _rtl_rc_get_highest_rix()
112 struct ieee80211_sta *sta, in _rtl_rc_rate_set_series() argument
123 if (sta) { in _rtl_rc_rate_set_series()
138 if (sta && (sta->deflink.ht_cap.cap & in _rtl_rc_rate_set_series()
141 if (sta && sta->deflink.vht_cap.vht_supported) in _rtl_rc_rate_set_series()
152 if (sta && sta->deflink.ht_cap.ht_supported && in _rtl_rc_rate_set_series()
156 if (sta && sta->deflink.vht_cap.vht_supported && in _rtl_rc_rate_set_series()
229 if (sta) { in rtl_tx_status()
232 if (sta->deflink.ht_cap.ht_supported && in rtl_tx_status()
[all …]
/linux-6.15/net/mac80211/tests/
H A Dmfp.c45 .sta = true,
54 .sta = true,
63 .sta = true,
73 .sta = true,
100 .sta = true,
109 .sta = true,
118 .sta = true,
128 .sta = true,
139 .sta = true,
217 .sta = params->sta ? &sta : NULL, in accept_mfp()
[all …]
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/
H A Dkey.c12 struct ieee80211_sta *sta, in iwl_mld_get_key_flags() argument
42 sta = mld_vif->ap_sta; in iwl_mld_get_key_flags()
50 if ((sta && sta->mfp && pairwise) || igtk) in iwl_mld_get_key_flags()
97 sta = mld_vif->ap_sta; in iwl_mld_get_key_sta_mask()
100 if (WARN_ON(!sta)) in iwl_mld_get_key_sta_mask()
266 struct ieee80211_sta *sta; member
282 if (WARN_ON(sta)) in iwl_mld_remove_ap_keys_iter()
296 .sta = sta, in iwl_mld_remove_ap_keys()
308 struct ieee80211_sta *sta; member
333 if (sta != data->sta || key->link_id >= 0) in iwl_mld_update_sta_key_iter()
[all …]
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dsta.h464 return (void *)sta->drv_priv; in iwl_mvm_sta_from_mac80211()
497 struct ieee80211_sta *sta);
511 struct ieee80211_sta *sta,
515 struct ieee80211_sta *sta);
521 struct ieee80211_sta *sta,
526 struct ieee80211_sta *sta,
580 struct ieee80211_sta *sta);
626 struct ieee80211_sta *sta);
635 struct ieee80211_sta *sta,
656 struct ieee80211_sta *sta);
[all …]
H A Dmld-sta.c18 if (!sta) in iwl_mvm_sta_fw_id_mask()
25 if (!sta->valid_links) in iwl_mvm_sta_fw_id_mask()
63 struct iwl_mvm_int_sta *sta, in iwl_mvm_mld_add_int_sta_to_fw() argument
494 if (sta->wme) { in iwl_mvm_mld_cfg_sta()
496 cpu_to_le32(sta->max_sp ? sta->max_sp * 2 : 128); in iwl_mvm_mld_cfg_sta()
569 if (rcu_access_pointer(sta->link[link_id]) == &sta->deflink) { in iwl_mvm_mld_alloc_sta_link()
618 if (!sta->tdls) { in iwl_mvm_mld_set_ap_sta_id()
678 struct ieee80211_sta *sta) in iwl_mvm_mld_add_sta() argument
918 struct ieee80211_sta *sta; in iwl_mvm_mld_modify_all_sta_disable_tx() local
927 if (IS_ERR_OR_NULL(sta)) in iwl_mvm_mld_modify_all_sta_disable_tx()
[all …]
H A Dtdls.c18 struct ieee80211_sta *sta; in iwl_mvm_teardown_tdls_peers() local
27 if (IS_ERR_OR_NULL(sta) || !sta->tdls) in iwl_mvm_teardown_tdls_peers()
50 if (IS_ERR_OR_NULL(sta) || !sta->tdls) in iwl_mvm_tdls_sta_count()
94 if (IS_ERR_OR_NULL(sta) || !sta->tdls) in iwl_mvm_tdls_config()
226 if (IS_ERR_OR_NULL(sta) || WARN_ON(!sta->tdls)) in iwl_mvm_rx_tdls_notif()
366 if (!sta) { in iwl_mvm_tdls_config_channel_switch()
475 if (IS_ERR_OR_NULL(sta) || WARN_ON(!sta->tdls)) in iwl_mvm_tdls_ch_switch_work()
482 sta->addr, in iwl_mvm_tdls_ch_switch_work()
518 sta->addr); in iwl_mvm_tdls_channel_switch()
524 sta->addr, sta->tdls_initiator, in iwl_mvm_tdls_channel_switch()
[all …]
/linux-6.15/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dsta.c28 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate()
34 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate()
38 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate()
92 u8 sta_id __maybe_unused = sta->sta.sta_id; in iwl_send_add_sta()
139 if (!sta) in iwl_is_ht40_tx_allowed()
295 memcpy(station->sta.sta.addr, addr, ETH_ALEN); in iwl_prep_station()
297 station->sta.sta.sta_id = sta_id; in iwl_prep_station()
372 priv->stations[sta_id].sta.sta.addr); in iwl_add_station_common()
666 priv->stations[i].sta.sta.addr); in iwl_restore_stations()
693 priv->stations[i].sta.sta.addr); in iwl_restore_stations()
[all …]
/linux-6.15/arch/riscv/kvm/
H A Dvcpu_sbi_sta.c21 vcpu->arch.sta.shmem = INVALID_GPA; in kvm_riscv_vcpu_sbi_sta_reset()
22 vcpu->arch.sta.last_steal = 0; in kvm_riscv_vcpu_sbi_sta_reset()
27 gpa_t shmem = vcpu->arch.sta.shmem; in kvm_riscv_vcpu_record_steal_time()
28 u64 last_steal = vcpu->arch.sta.last_steal; in kvm_riscv_vcpu_record_steal_time()
50 vcpu->arch.sta.shmem = INVALID_GPA; in kvm_riscv_vcpu_record_steal_time()
98 vcpu->arch.sta.shmem = INVALID_GPA; in kvm_sbi_sta_steal_time_set_shmem()
122 vcpu->arch.sta.shmem = shmem; in kvm_sbi_sta_steal_time_set_shmem()
191 vcpu->arch.sta.shmem = reg_val; in kvm_riscv_vcpu_set_reg_sbi_sta()
192 vcpu->arch.sta.shmem |= hi << 32; in kvm_riscv_vcpu_set_reg_sbi_sta()
194 vcpu->arch.sta.shmem = reg_val; in kvm_riscv_vcpu_set_reg_sbi_sta()
[all …]

12345678910>>...19