/linux-6.3-rc2/net/mac80211/ |
A D | sta_info.c | 293 return &sta->sta; in ieee80211_find_sta_by_link_addrs() 305 return &sta->sta; in ieee80211_find_sta_by_link_addrs() 514 link_info->pub->sta = &sta->sta; in sta_info_add_link() 550 sta_info_add_link(sta, 0, &sta->deflink, &sta->sta.deflink); in __sta_info_alloc() 553 sta->sta.cur = &sta->sta.deflink.agg; in __sta_info_alloc() 1565 if (!sta->sta.txq[i] || !txq_has_queue(sta->sta.txq[i])) in ieee80211_sta_ps_deliver_wakeup() 1613 sta->sta.addr, sta->sta.aid, filtered, buffered); in ieee80211_sta_ps_deliver_wakeup() 2154 if (!sta->sta.valid_links || !sta->sta.mlo) { in __ieee80211_sta_recalc_aggregates() 2155 sta->sta.cur = &sta->sta.deflink.agg; in __ieee80211_sta_recalc_aggregates() 2172 sta->cur = sta->sta.deflink.agg; in __ieee80211_sta_recalc_aggregates() [all …]
|
A D | mesh_plink.c | 79 sta->mesh->llid = sta->mesh->plid = sta->mesh->reason = 0; in mesh_plink_fsm_restart() 183 sta->sta.addr); in mesh_set_ht_prot_mode() 397 sta->sta.addr, sta->mesh->llid, in mesh_plink_deactivate() 519 sta->sta.wme = true; in __mesh_sta_info_alloc() 520 sta->sta.aid = aid; in __mesh_sta_info_alloc() 664 sta->sta.addr, mplstates[sta->mesh->plink_state]); in mesh_plink_timer() 681 sta->sta.addr, mplstates[sta->mesh->plink_state]); in mesh_plink_timer() 693 sta->sta.addr, sta->mesh->plink_retries, in mesh_plink_timer() 786 sta->sta.addr); in mesh_plink_open() 792 sta->sta.addr, sta->mesh->llid, 0, 0); in mesh_plink_open() [all …]
|
A D | mesh_ps.c | 34 ieee80211_fill_mesh_addresses(nullfunc, &fc, sta->sta.addr, in mps_qos_null_get() 40 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in mps_qos_null_get() 60 sta->sta.addr); in mps_qos_null_tx() 160 pm, sta->sta.addr); in ieee80211_mps_set_sta_local_pm() 195 !sta)) in ieee80211_mps_set_frame_flags() 268 sta->sta.addr); in ieee80211_mps_sta_status_update() 303 sta->sta.addr, pm); in mps_set_sta_peer_pm() 324 sta->sta.addr, pm); in mps_set_sta_nonpeer_pm() 429 sta->sta.addr); in mpsp_qos_null_append() 493 skb_queue_len(&frames), sta->sta.addr); in mps_frame_deliver() [all …]
|
A D | agg-tx.c | 305 .sta = &sta->sta, in ___ieee80211_stop_tx_ba_session() 372 sta->sta.addr, tid); in ___ieee80211_stop_tx_ba_session() 442 sta->sta.addr, tid); in sta_addba_resp_timer_expired() 447 sta->sta.addr, tid); in sta_addba_resp_timer_expired() 463 sta->sta.addr, tid); in ieee80211_send_addba_with_timeout() 496 .sta = &sta->sta, in ieee80211_tx_ba_session_handle_start() 579 sta->sta.addr, tid); in sta_tx_agg_session_timer_expired() 703 tid_tx->sta = sta; in ieee80211_start_tx_ba_session() 737 .sta = &sta->sta, in ieee80211_agg_tx_operational() 751 sta->sta.addr, tid); in ieee80211_agg_tx_operational() [all …]
|
A D | agg-rx.c | 64 .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() 166 sta->sta.addr, tid); in sta_rx_agg_session_timer_expired() 262 .sta = &sta->sta, in ___ieee80211_start_rx_ba_session() 276 sta->sta.addr, tid); in ___ieee80211_start_rx_ba_session() 337 sta->sta.addr, tid); in ___ieee80211_start_rx_ba_session() 355 sta->sta.addr, tid); in ___ieee80211_start_rx_ba_session() 423 tid_agg_rx->sta = sta; in ___ieee80211_start_rx_ba_session() [all …]
|
A D | rate.h | 26 struct sta_info *sta, 32 void rate_control_rate_init(struct sta_info *sta); 35 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() [all …]
|
A D | tdls.c | 953 sta->sta.tdls_initiator = false; in ieee80211_tdls_prep_mgmt_packet() 968 sta->sta.tdls_initiator = true; in ieee80211_tdls_prep_mgmt_packet() 1274 sta->sta.deflink.bandwidth = bw; in iee80211_tdls_recalc_chanctx() 1297 if (!sta->sta.tdls || sta->sdata != sdata || !sta->uploaded || in iee80211_tdls_have_ht_peers() 1324 tdls_ht = (sta && sta->sta.deflink.ht_cap.ht_supported) || in iee80211_tdls_recalc_ht_protection() 1653 0, 0, !sta->sta.tdls_initiator, in ieee80211_tdls_ch_sw_resp_tmpl_get() 1679 sta->sta.addr); in ieee80211_tdls_ch_sw_resp_tmpl_get() 1715 params.sta = &sta->sta; in ieee80211_process_tdls_channel_switch_resp() 1892 params.sta = &sta->sta; in ieee80211_process_tdls_channel_switch_req() 1977 if (!sta->sta.tdls || sta->sdata != sdata || !sta->uploaded || in ieee80211_teardown_tdls_peers() [all …]
|
A D | mesh_sync.c | 88 struct sta_info *sta; in mesh_sync_offset_rx_bcn_presp() local 110 sta = sta_info_get(sdata, mgmt->sa); in mesh_sync_offset_rx_bcn_presp() 111 if (!sta) in mesh_sync_offset_rx_bcn_presp() 122 sta->sta.addr); in mesh_sync_offset_rx_bcn_presp() 128 sta->mesh->t_offset = t_t - t_r; in mesh_sync_offset_rx_bcn_presp() 131 s64 t_clockdrift = sta->mesh->t_offset_setpoint - sta->mesh->t_offset; in mesh_sync_offset_rx_bcn_presp() 134 sta->sta.addr, (long long) sta->mesh->t_offset, in mesh_sync_offset_rx_bcn_presp() 142 sta->sta.addr, in mesh_sync_offset_rx_bcn_presp() 153 sta->mesh->t_offset_setpoint = sta->mesh->t_offset - TOFFSET_SET_MARGIN; in mesh_sync_offset_rx_bcn_presp() 157 sta->sta.addr, in mesh_sync_offset_rx_bcn_presp() [all …]
|
A D | status.c | 809 if (sta->sta.tdls) { in ieee80211_lost_packet() 825 cfg80211_cqm_pktloss_notify(sta->sdata->dev, sta->sta.addr, in ieee80211_lost_packet() 941 sta = container_of(status->sta, struct sta_info, sta); in __ieee80211_tx_status() 1097 if (sta) in ieee80211_tx_status() 1098 status.sta = &sta->sta; in ieee80211_tx_status() 1118 sta = container_of(pubsta, struct sta_info, sta); in ieee80211_tx_status_ext() 1234 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); in ieee80211_tx_rate_update() local 1237 .sta = pubsta, in ieee80211_tx_rate_update() 1262 if (!ieee80211_lookup_ra_sta(sdata, skb, &sta) && !IS_ERR(sta)) in ieee80211_tx_status_8023() 1263 status.sta = &sta->sta; in ieee80211_tx_status_8023() [all …]
|
A D | rate.c | 35 struct ieee80211_sta *ista = &sta->sta; in rate_control_rate_init() 74 struct sta_info *sta = container_of(st->sta, struct sta_info, sta); in rate_control_tx_status() local 100 struct ieee80211_sta *ista = &sta->sta; in rate_control_rate_update() 122 drv_sta_rc_update(local, sta->sdata, &sta->sta, changed); in rate_control_rate_update() 381 sta ? sta->addr : NULL, in __rate_control_send_low() 382 sta ? sta->deflink.supp_rates[sband->band] : -1, in __rate_control_send_low() 415 sta = container_of(pubsta, struct sta_info, sta); in rate_control_send_low() 816 if (!rate_control_cap_mask(sta->sdata, sband, &sta->sta, &mask, in rate_control_apply_mask_ratetbl() 895 if (sta) in ieee80211_get_tx_rates() 916 if (rate_control_send_low(sta ? &sta->sta : NULL, txrc)) in rate_control_get_rate() [all …]
|
A D | ocb.c | 48 struct sta_info *sta; in ieee80211_ocb_rx_no_sta() local 73 if (!sta) in ieee80211_ocb_rx_no_sta() 78 sta->sta.deflink.supp_rates[band] = in ieee80211_ocb_rx_no_sta() 93 memcpy(addr, sta->sta.addr, ETH_ALEN); in ieee80211_ocb_finish_sta() 102 rate_control_rate_init(sta); in ieee80211_ocb_finish_sta() 107 return sta; in ieee80211_ocb_finish_sta() 125 struct sta_info *sta; in ieee80211_ocb_work() local 136 list_del(&sta->list); in ieee80211_ocb_work() 210 struct sta_info *sta; in ieee80211_ocb_leave() local 219 list_del(&sta->list); in ieee80211_ocb_leave() [all …]
|
A D | tx.c | 497 sta->sta.addr, sta->sta.aid, ac); in ieee80211_tx_h_unicast_ps_buf() 1170 tx->sta->sta.addr, tx->sta->sta.aid); in ieee80211_tx_prep_agg() 1248 tx->sta = sta; in ieee80211_tx_prepare() 1557 txqi->txq.sta = &sta->sta; in ieee80211_txq_init() 1751 control.sta = sta ? &sta->sta : NULL; in ieee80211_tx_frags() 1930 *sta = &tx.sta->sta; in ieee80211_tx_prepare_skb() 2677 (sta && sta->sta.mlo)) { in ieee80211_build_hdr() 3151 if (sta->sta.wme) { in ieee80211_check_fast_xmit() 3698 tx.sta = sta; in __ieee80211_xmit_fast() 5575 qos = sta && sta->sta.wme; in ieee80211_nullfunc_get() [all …]
|
A D | ht.c | 144 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() 319 mutex_lock(&sta->ampdu_mlme.mtx); in ieee80211_sta_tear_down_BA_sessions() 355 struct sta_info *sta = in ieee80211_ba_session_work() local 364 mutex_lock(&sta->ampdu_mlme.mtx); 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() 436 spin_unlock_bh(&sta->lock); in ieee80211_ba_session_work() 441 spin_unlock_bh(&sta->lock); in ieee80211_ba_session_work() [all …]
|
A D | sta_info.h | 149 struct sta_info *sta, u8 ac, 189 struct sta_info *sta; member 244 struct sta_info *sta; member 526 struct sta_info *sta; member 723 struct ieee80211_sta sta; member 729 return sta->mesh->plink_state; in sta_plink_state() 740 set_bit(flag, &sta->_flags); in set_sta_flag() 749 clear_bit(flag, &sta->_flags); in clear_sta_flag() 755 return test_bit(flag, &sta->_flags); in test_sta_flag() 798 lockdep_is_held(&sta->lock) || in rcu_dereference_protected_tid_tx() [all …]
|
A D | debugfs_sta.c | 165 for (i = 0; i < ARRAY_SIZE(sta->sta.txq); i++) { in sta_aqm_read() 166 if (!sta->sta.txq[i]) in sta_aqm_read() 168 txqi = to_txq_info(sta->sta.txq[i]); in sta_aqm_read() 243 sta->airtime[ac].deficit = sta->airtime_weight; in sta_airtime_write() 425 ret = ieee80211_start_tx_ba_session(&sta->sta, tid, in sta_agg_status_write() 428 ret = ieee80211_stop_tx_ba_session(&sta->sta, tid); in sta_agg_status_write() 1040 sta->debugfs_dir, sta, &sta_ ##name## _ops) 1043 debugfs_create_ulong(#name, 0400, sta->debugfs_dir, &sta->field); 1055 snprintf(mac, sizeof(mac), "%pM", sta->sta.addr); in ieee80211_sta_debugfs_add() 1086 drv_sta_add_debugfs(local, sdata, &sta->sta, sta->debugfs_dir); in ieee80211_sta_debugfs_add() [all …]
|
A D | key.c | 156 sta = key->sta; in ieee80211_key_enable_hw_accel() 185 sta ? &sta->sta : NULL, &key->conf); in ieee80211_key_enable_hw_accel() 208 sta ? sta->sta.addr : bcast_addr, ret); in ieee80211_key_enable_hw_accel() 250 sta = key->sta; in ieee80211_key_disable_hw_accel() 264 sta ? &sta->sta : NULL, &key->conf); in ieee80211_key_disable_hw_accel() 270 sta ? sta->sta.addr : bcast_addr, ret); in ieee80211_key_disable_hw_accel() 346 sta->sta.addr); in ieee80211_pairwise_rekey() 910 key->sta = sta; in ieee80211_key_link() 999 key->sta ? &key->sta->sta : NULL, in ieee80211_iter_keys() 1006 key->sta ? &key->sta->sta : NULL, in ieee80211_iter_keys() [all …]
|
A D | s1g.c | 11 void ieee80211_s1g_sta_rate_init(struct sta_info *sta) in ieee80211_s1g_sta_rate_init() argument 15 sta->deflink.rx_stats.last_rate = in ieee80211_s1g_sta_rate_init() 118 drv_add_twt_setup(sdata->local, sdata, &sta->sta, twt); in ieee80211_s1g_rx_twt_setup() 129 drv_twt_teardown_request(sdata->local, sdata, &sta->sta, in ieee80211_s1g_rx_twt_teardown() 143 drv_twt_teardown_request(sdata->local, sdata, &sta->sta, flowid); in ieee80211_s1g_tx_twt_setup_fail() 154 struct sta_info *sta; in ieee80211_s1g_rx_twt_action() local 158 sta = sta_info_get_bss(sdata, mgmt->sa); in ieee80211_s1g_rx_twt_action() 159 if (!sta) in ieee80211_s1g_rx_twt_action() 182 struct sta_info *sta; in ieee80211_s1g_status_twt_action() local 186 sta = sta_info_get_bss(sdata, mgmt->da); in ieee80211_s1g_status_twt_action() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/intersil/hostap/ |
A D | hostap_ap.c | 114 if (sta->ap && sta->local) in ap_free_sta() 137 kfree(sta->u.sta.challenge); in ap_free_sta() 1007 sta->addr, atomic_read(&sta->users), sta->aid, in prism2_sta_proc_show() 1034 sta->rx_packets, sta->tx_packets, sta->rx_bytes, in prism2_sta_proc_show() 1039 sta->tx_rate, sta->tx_count[0], sta->tx_count[1], in prism2_sta_proc_show() 1040 sta->tx_count[2], sta->tx_count[3], sta->rx_count[0], in prism2_sta_proc_show() 1041 sta->rx_count[1], sta->rx_count[2], sta->rx_count[3]); in prism2_sta_proc_show() 1174 sta->tx_max_rate = sta->tx_rate = sta->tx_rate_idx = 0; in prism2_check_tx_rates() 1315 if (sta && sta->crypt) in handle_authen() 1366 if (sta && sta->ap) { in handle_authen() [all …]
|
/linux-6.3-rc2/drivers/staging/rtl8723bs/include/ |
A D | sta_info.h | 220 #define sta_rx_pkts(sta) \ argument 274 sta->sta_stats.last_rx_mgnt_pkts = sta->sta_stats.rx_mgnt_pkts; \ 275 sta->sta_stats.last_rx_beacon_pkts = sta->sta_stats.rx_beacon_pkts; \ 276 sta->sta_stats.last_rx_probereq_pkts = sta->sta_stats.rx_probereq_pkts; \ 277 sta->sta_stats.last_rx_probersp_pkts = sta->sta_stats.rx_probersp_pkts; \ 278 sta->sta_stats.last_rx_probersp_bm_pkts = sta->sta_stats.rx_probersp_bm_pkts; \ 280 sta->sta_stats.last_rx_ctrl_pkts = sta->sta_stats.rx_ctrl_pkts; \ 281 sta->sta_stats.last_rx_data_pkts = sta->sta_stats.rx_data_pkts; \ 295 sta->sta_stats.rx_mgnt_pkts - sta->sta_stats.last_rx_mgnt_pkts \ 296 , sta->sta_stats.rx_ctrl_pkts - sta->sta_stats.last_rx_ctrl_pkts \ [all …]
|
/linux-6.3-rc2/arch/sparc/mm/ |
A D | swift.S | 34 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 …]
|
A D | hypersparc.S | 36 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.3-rc2/drivers/net/wireless/realtek/rtlwifi/ |
A D | rc.c | 16 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.3-rc2/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | tdls.c | 18 struct ieee80211_sta *sta; in iwl_mvm_teardown_tdls_peers() local 27 if (!sta || IS_ERR(sta) || !sta->tdls) in iwl_mvm_teardown_tdls_peers() 50 if (!sta || IS_ERR(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 (!sta || IS_ERR(sta) || WARN_ON(!sta->tdls)) in iwl_mvm_tdls_ch_switch_work() 482 sta->addr, in iwl_mvm_tdls_ch_switch_work() 520 sta->addr); in iwl_mvm_tdls_channel_switch() 527 sta->addr, sta->tdls_initiator, in iwl_mvm_tdls_channel_switch() [all …]
|
A D | rs-fw.c | 14 switch (sta->deflink.bandwidth) { in rs_fw_bw_from_sta_bw() 64 struct ieee80211_sta *sta, in rs_fw_get_config_flags() argument 141 u8 max_nss = sta->deflink.rx_nss; in rs_fw_vht_set_enabled_rates() 207 u8 nss = sta->deflink.rx_nss; in rs_fw_he_set_enabled_rates() 291 &sta->deflink.eht_cap.eht_mcs_nss_supp; in rs_fw_eht_set_enabled_rates() 354 sta->deflink.rx_nss < 2) in rs_fw_eht_set_enabled_rates() 379 if (sta->deflink.eht_cap.has_eht) { in rs_fw_set_supp_rates() 408 struct ieee80211_sta *sta; in iwl_mvm_tlc_update_notif() local 417 if (IS_ERR_OR_NULL(sta)) { in iwl_mvm_tlc_update_notif() 427 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tlc_update_notif() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/dvm/ |
A D | sta.c | 28 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 …]
|