| /linux/net/mac80211/ |
| A D | sta_info.c | 300 return &sta->sta; in ieee80211_find_sta_by_link_addrs() 312 return &sta->sta; in ieee80211_find_sta_by_link_addrs() 523 link_info->pub->sta = &sta->sta; in sta_info_add_link() 559 sta_info_add_link(sta, 0, &sta->deflink, &sta->sta.deflink); in __sta_info_alloc() 562 sta->sta.cur = &sta->sta.deflink.agg; in __sta_info_alloc() 1718 if (!sta->sta.txq[i] || !txq_has_queue(sta->sta.txq[i])) in ieee80211_sta_ps_deliver_wakeup() 1766 sta->sta.addr, sta->sta.aid, filtered, buffered); in ieee80211_sta_ps_deliver_wakeup() 2305 if (!sta->sta.valid_links || !sta->sta.mlo) { in __ieee80211_sta_recalc_aggregates() 2306 sta->sta.cur = &sta->sta.deflink.agg; in __ieee80211_sta_recalc_aggregates() 2323 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() 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 …]
|
| A D | mesh_ps.c | 37 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 …]
|
| A D | agg-tx.c | 292 .sta = &sta->sta, in __ieee80211_stop_tx_ba_session() 359 sta->sta.addr, tid); in __ieee80211_stop_tx_ba_session() 429 sta->sta.addr, tid); in sta_addba_resp_timer_expired() 434 sta->sta.addr, tid); in sta_addba_resp_timer_expired() 456 sta->sta.addr, tid); in ieee80211_send_addba_with_timeout() 489 .sta = &sta->sta, in ieee80211_tx_ba_session_handle_start() 585 sta->sta.addr, tid); in sta_tx_agg_session_timer_expired() 711 tid_tx->sta = sta; in ieee80211_start_tx_ba_session() 745 .sta = &sta->sta, in ieee80211_agg_tx_operational() 759 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() 158 sta->sta.addr, tid); in sta_rx_agg_session_timer_expired() 241 .sta = &sta->sta, in __ieee80211_start_rx_ba_session() 257 sta->sta.addr, tid); in __ieee80211_start_rx_ba_session() 315 sta->sta.addr, tid); in __ieee80211_start_rx_ba_session() 333 sta->sta.addr, tid); in __ieee80211_start_rx_ba_session() 401 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 | 1020 sta->sta.tdls_initiator = false; in ieee80211_tdls_prep_mgmt_packet() 1035 sta->sta.tdls_initiator = true; in ieee80211_tdls_prep_mgmt_packet() 1366 if (!sta->sta.tdls || sta->sdata != sdata || !sta->uploaded || in iee80211_tdls_have_ht_peers() 1393 tdls_ht = (sta && sta->sta.deflink.ht_cap.ht_supported) || in iee80211_tdls_recalc_ht_protection() 1559 int link_id = sta->sta.valid_links ? ffs(sta->sta.valid_links) - 1 : 0; in ieee80211_tdls_ch_sw_tmpl_get() 1706 int link_id = sta->sta.valid_links ? ffs(sta->sta.valid_links) - 1 : 0; in ieee80211_tdls_ch_sw_resp_tmpl_get() 1740 sta->sta.addr); in ieee80211_tdls_ch_sw_resp_tmpl_get() 1777 params.sta = &sta->sta; in ieee80211_process_tdls_channel_switch_resp() 1954 params.sta = &sta->sta; in ieee80211_process_tdls_channel_switch_req() 2039 if (!sta->sta.tdls || sta->sdata != sdata || !sta->uploaded || in ieee80211_teardown_tdls_peers() [all …]
|
| A D | mesh_sync.c | 90 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 …]
|
| 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() 123 drv_sta_rc_update(local, sta->sdata, &sta->sta, changed); in rate_control_rate_update() 382 sta ? sta->addr : NULL, in __rate_control_send_low() 383 sta ? sta->deflink.supp_rates[sband->band] : -1, in __rate_control_send_low() 416 sta = container_of(pubsta, struct sta_info, sta); in rate_control_send_low() 817 if (!rate_control_cap_mask(sta->sdata, sband, &sta->sta, &mask, in rate_control_apply_mask_ratetbl() 900 if (sta) in ieee80211_get_tx_rates() 921 if (rate_control_send_low(sta ? &sta->sta : NULL, txrc)) in rate_control_get_rate() [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 527 struct sta_info *sta; member 727 struct ieee80211_sta sta; member 733 return sta->sta.valid_links ? __ffs(sta->sta.valid_links) : 0; in ieee80211_tdls_sta_link_id() 739 return sta->mesh->plink_state; in sta_plink_state() 750 set_bit(flag, &sta->_flags); in set_sta_flag() 759 clear_bit(flag, &sta->_flags); in clear_sta_flag() 765 return test_bit(flag, &sta->_flags); in test_sta_flag() [all …]
|
| A D | ocb.c | 47 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() 99 rate_control_rate_init(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 …]
|
| A D | tx.c | 491 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() 1230 tx->sta = sta; in ieee80211_tx_prepare() 1539 txqi->txq.sta = &sta->sta; in ieee80211_txq_init() 1733 control.sta = sta ? &sta->sta : NULL; in ieee80211_tx_frags() 1912 *sta = &tx.sta->sta; in ieee80211_tx_prepare_skb() 2679 (sta && sta->sta.mlo)) { in ieee80211_build_hdr() 3177 if (sta->sta.wme) { in ieee80211_check_fast_xmit() 3729 tx.sta = sta; in __ieee80211_xmit_fast() 5771 qos = sta && sta->sta.wme; in ieee80211_nullfunc_get() [all …]
|
| A D | status.c | 842 if (sta->sta.tdls) { in ieee80211_lost_packet() 858 cfg80211_cqm_pktloss_notify(sta->sdata->dev, sta->sta.addr, in ieee80211_lost_packet() 972 if (status->sta) { in __ieee80211_tx_status() 973 sta = container_of(status->sta, struct sta_info, sta); in __ieee80211_tx_status() 1128 if (sta) in ieee80211_tx_status_skb() 1129 status.sta = &sta->sta; in ieee80211_tx_status_skb() 1149 sta = container_of(pubsta, struct sta_info, sta); in ieee80211_tx_status_ext() 1265 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); in ieee80211_tx_rate_update() local 1268 .sta = pubsta, in ieee80211_tx_rate_update() 1280 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); in ieee80211_report_low_ack() local [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() 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 …]
|
| A D | s1g.c | 12 void ieee80211_s1g_sta_rate_init(struct sta_info *sta) in ieee80211_s1g_sta_rate_init() argument 16 sta->deflink.rx_stats.last_rate = in ieee80211_s1g_sta_rate_init() 119 drv_add_twt_setup(sdata->local, sdata, &sta->sta, twt); in ieee80211_s1g_rx_twt_setup() 130 drv_twt_teardown_request(sdata->local, sdata, &sta->sta, in ieee80211_s1g_rx_twt_teardown() 144 drv_twt_teardown_request(sdata->local, sdata, &sta->sta, flowid); in ieee80211_s1g_tx_twt_setup_fail() 155 struct sta_info *sta; in ieee80211_s1g_rx_twt_action() local 159 sta = sta_info_get_bss(sdata, mgmt->sa); in ieee80211_s1g_rx_twt_action() 160 if (!sta) in ieee80211_s1g_rx_twt_action() 180 struct sta_info *sta; in ieee80211_s1g_status_twt_action() local 184 sta = sta_info_get_bss(sdata, mgmt->da); in ieee80211_s1g_status_twt_action() [all …]
|
| /linux/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/drivers/staging/rtl8723bs/include/ |
| A D | sta_info.h | 220 #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/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/net/mac80211/tests/ |
| A D | mfp.c | 45 .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/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() 518 sta->addr); in iwl_mvm_tdls_channel_switch() 524 sta->addr, sta->tdls_initiator, in iwl_mvm_tdls_channel_switch() [all …]
|
| A D | mld-sta.c | 18 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() 565 if (rcu_access_pointer(sta->link[link_id]) == &sta->deflink) { in iwl_mvm_mld_alloc_sta_link() 614 if (!sta->tdls) { in iwl_mvm_mld_set_ap_sta_id() 671 struct ieee80211_sta *sta) in iwl_mvm_mld_add_sta() argument 917 struct ieee80211_sta *sta; in iwl_mvm_mld_modify_all_sta_disable_tx() local 926 if (IS_ERR_OR_NULL(sta)) in iwl_mvm_mld_modify_all_sta_disable_tx() [all …]
|
| A D | sta.h | 464 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); 630 struct ieee80211_sta *sta); 639 struct ieee80211_sta *sta, 660 struct ieee80211_sta *sta); [all …]
|
| /linux/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 …]
|
| /linux/arch/riscv/kvm/ |
| A D | vcpu_sbi_sta.c | 21 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 …]
|