/openbmc/linux/net/mac80211/ |
H 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() 518 link_info->pub->sta = &sta->sta; in sta_info_add_link() 554 sta_info_add_link(sta, 0, &sta->deflink, &sta->sta.deflink); in __sta_info_alloc() 557 sta->sta.cur = &sta->sta.deflink.agg; in __sta_info_alloc() 1703 if (!sta->sta.txq[i] || !txq_has_queue(sta->sta.txq[i])) in ieee80211_sta_ps_deliver_wakeup() 1751 sta->sta.addr, sta->sta.aid, filtered, buffered); in ieee80211_sta_ps_deliver_wakeup() 2292 if (!sta->sta.valid_links || !sta->sta.mlo) { in __ieee80211_sta_recalc_aggregates() 2293 sta->sta.cur = &sta->sta.deflink.agg; in __ieee80211_sta_recalc_aggregates() 2310 sta->cur = sta->sta.deflink.agg; in __ieee80211_sta_recalc_aggregates() [all …]
|
H A D | mesh_ps.c | 35 ieee80211_fill_mesh_addresses(nullfunc, &fc, sta->sta.addr, in mps_qos_null_get() 41 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in mps_qos_null_get() 61 sta->sta.addr); in mps_qos_null_tx() 161 pm, sta->sta.addr); in ieee80211_mps_set_sta_local_pm() 196 !sta)) in ieee80211_mps_set_frame_flags() 269 sta->sta.addr); in ieee80211_mps_sta_status_update() 304 sta->sta.addr, pm); in mps_set_sta_peer_pm() 325 sta->sta.addr, pm); in mps_set_sta_nonpeer_pm() 430 sta->sta.addr); in mpsp_qos_null_append() 494 skb_queue_len(&frames), sta->sta.addr); in mps_frame_deliver() [all …]
|
H A D | mesh_plink.c | 79 sta->mesh->llid = sta->mesh->plid = sta->mesh->reason = 0; in mesh_plink_fsm_restart() 184 sta->sta.addr); in mesh_set_ht_prot_mode() 405 sta->sta.addr, sta->mesh->llid, in mesh_plink_deactivate() 532 sta->sta.wme = true; in __mesh_sta_info_alloc() 533 sta->sta.aid = aid; in __mesh_sta_info_alloc() 677 sta->sta.addr, mplstates[sta->mesh->plink_state]); in mesh_plink_timer() 694 sta->sta.addr, mplstates[sta->mesh->plink_state]); in mesh_plink_timer() 706 sta->sta.addr, sta->mesh->plink_retries, in mesh_plink_timer() 799 sta->sta.addr); in mesh_plink_open() 805 sta->sta.addr, sta->mesh->llid, 0, 0); in mesh_plink_open() [all …]
|
H 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() 469 sta->sta.addr, tid); in ieee80211_send_addba_with_timeout() 502 .sta = &sta->sta, in ieee80211_tx_ba_session_handle_start() 602 sta->sta.addr, tid); in sta_tx_agg_session_timer_expired() 726 tid_tx->sta = sta; in ieee80211_start_tx_ba_session() 760 .sta = &sta->sta, in ieee80211_agg_tx_operational() 774 sta->sta.addr, tid); in ieee80211_agg_tx_operational() [all …]
|
H 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 …]
|
H 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 …]
|
H 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 …]
|
H A D | tdls.c | 1047 sta->sta.tdls_initiator = false; in ieee80211_tdls_prep_mgmt_packet() 1062 sta->sta.tdls_initiator = true; in ieee80211_tdls_prep_mgmt_packet() 1397 if (!sta->sta.tdls || sta->sdata != sdata || !sta->uploaded || in iee80211_tdls_have_ht_peers() 1424 tdls_ht = (sta && sta->sta.deflink.ht_cap.ht_supported) || in iee80211_tdls_recalc_ht_protection() 1600 int link_id = sta->sta.valid_links ? ffs(sta->sta.valid_links) - 1 : 0; in ieee80211_tdls_ch_sw_tmpl_get() 1749 int link_id = sta->sta.valid_links ? ffs(sta->sta.valid_links) - 1 : 0; in ieee80211_tdls_ch_sw_resp_tmpl_get() 1783 sta->sta.addr); in ieee80211_tdls_ch_sw_resp_tmpl_get() 1819 params.sta = &sta->sta; in ieee80211_process_tdls_channel_switch_resp() 1996 params.sta = &sta->sta; in ieee80211_process_tdls_channel_switch_req() 2081 if (!sta->sta.tdls || sta->sdata != sdata || !sta->uploaded || in ieee80211_teardown_tdls_peers() [all …]
|
H 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 …]
|
H 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 …]
|
H 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() 940 if (status->sta) { in __ieee80211_tx_status() 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() 1249 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); in ieee80211_report_low_ack() local [all …]
|
H A D | tx.c | 498 sta->sta.addr, sta->sta.aid, ac); in ieee80211_tx_h_unicast_ps_buf() 1161 tx->sta->sta.addr, tx->sta->sta.aid); in ieee80211_tx_prep_agg() 1237 tx->sta = sta; in ieee80211_tx_prepare() 1546 txqi->txq.sta = &sta->sta; in ieee80211_txq_init() 1740 control.sta = sta ? &sta->sta : NULL; in ieee80211_tx_frags() 1919 *sta = &tx.sta->sta; in ieee80211_tx_prepare_skb() 2666 (sta && sta->sta.mlo)) { in ieee80211_build_hdr() 3162 if (sta->sta.wme) { in ieee80211_check_fast_xmit() 3714 tx.sta = sta; in __ieee80211_xmit_fast() 5734 qos = sta && sta->sta.wme; in ieee80211_nullfunc_get() [all …]
|
H 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() 320 mutex_lock(&sta->ampdu_mlme.mtx); in ieee80211_sta_tear_down_BA_sessions() 356 struct sta_info *sta = in ieee80211_ba_session_work() local 365 mutex_lock(&sta->ampdu_mlme.mtx); in ieee80211_ba_session_work() 391 spin_lock_bh(&sta->lock); in ieee80211_ba_session_work() 395 struct txq_info *txqi = to_txq_info(sta->sta.txq[tid]); in ieee80211_ba_session_work() 411 spin_unlock_bh(&sta->lock); in ieee80211_ba_session_work() 437 spin_unlock_bh(&sta->lock); in ieee80211_ba_session_work() 442 spin_unlock_bh(&sta->lock); in ieee80211_ba_session_work() [all …]
|
H 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 728 struct ieee80211_sta sta; member 734 return sta->mesh->plink_state; in sta_plink_state() 745 set_bit(flag, &sta->_flags); in set_sta_flag() 754 clear_bit(flag, &sta->_flags); in clear_sta_flag() 760 return test_bit(flag, &sta->_flags); in test_sta_flag() 803 lockdep_is_held(&sta->lock) || in rcu_dereference_protected_tid_tx() [all …]
|
H 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 …]
|
/openbmc/linux/drivers/net/wireless/intersil/hostap/ |
H 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 …]
|
/openbmc/linux/drivers/staging/rtl8723bs/include/ |
H 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 …]
|
/openbmc/linux/arch/sparc/mm/ |
H 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 …]
|
H 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 …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/ |
H 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 …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H 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 …]
|
H A D | sta.h | 449 return (void *)sta->drv_priv; in iwl_mvm_sta_from_mac80211() 482 struct ieee80211_sta *sta); 496 struct ieee80211_sta *sta, 500 struct ieee80211_sta *sta); 506 struct ieee80211_sta *sta, 511 struct ieee80211_sta *sta, 562 struct ieee80211_sta *sta); 610 struct ieee80211_sta *sta); 619 struct ieee80211_sta *sta, 640 struct ieee80211_sta *sta); [all …]
|
H 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() 674 struct ieee80211_sta *sta) in iwl_mvm_mld_add_sta() argument 914 struct ieee80211_sta *sta; in iwl_mvm_mld_modify_all_sta_disable_tx() local 923 if (IS_ERR_OR_NULL(sta)) in iwl_mvm_mld_modify_all_sta_disable_tx() [all …]
|
H A D | mld-key.c | 13 struct ieee80211_sta *sta, in iwl_mvm_get_sec_sta_mask() argument 39 sta = mvmvif->ap_sta; in iwl_mvm_get_sec_sta_mask() 61 struct ieee80211_sta *sta, in iwl_mvm_get_sec_flags() argument 99 sta = mvmvif->ap_sta; in iwl_mvm_get_sec_flags() 108 if ((!IS_ERR_OR_NULL(sta) && sta->mfp && pairwise) || igtk) in iwl_mvm_get_sec_flags() 115 struct ieee80211_sta *sta; member 141 if (sta != data->sta || key->link_id >= 0) in iwl_mvm_mld_update_sta_key() 152 struct ieee80211_sta *sta, in iwl_mvm_mld_update_sta_keys() argument 157 .sta = sta, in iwl_mvm_mld_update_sta_keys() 243 struct ieee80211_sta *sta, in iwl_mvm_sec_key_add() argument [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H 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 …]
|