Lines Matching refs:sta
111 u8 iwl_mvm_get_sta_uapsd_acs(struct ieee80211_sta *sta) in iwl_mvm_get_sta_uapsd_acs() argument
115 if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_BK) in iwl_mvm_get_sta_uapsd_acs()
117 if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_BE) in iwl_mvm_get_sta_uapsd_acs()
119 if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_VI) in iwl_mvm_get_sta_uapsd_acs()
121 if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_VO) in iwl_mvm_get_sta_uapsd_acs()
128 int iwl_mvm_sta_send_to_fw(struct iwl_mvm *mvm, struct ieee80211_sta *sta, in iwl_mvm_sta_send_to_fw() argument
131 struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_send_to_fw()
149 memcpy(&add_sta_cmd.addr, sta->addr, ETH_ALEN); in iwl_mvm_sta_send_to_fw()
162 switch (sta->deflink.bandwidth) { in iwl_mvm_sta_send_to_fw()
174 if (sta->deflink.ht_cap.ht_supported) in iwl_mvm_sta_send_to_fw()
180 switch (sta->deflink.rx_nss) { in iwl_mvm_sta_send_to_fw()
192 switch (sta->deflink.smps_mode) { in iwl_mvm_sta_send_to_fw()
210 if (sta->deflink.ht_cap.ht_supported || in iwl_mvm_sta_send_to_fw()
216 mpdu_dens = iwl_mvm_get_sta_ampdu_dens(&sta->deflink, in iwl_mvm_sta_send_to_fw()
225 add_sta_cmd.assoc_id = cpu_to_le16(sta->aid); in iwl_mvm_sta_send_to_fw()
227 if (sta->wme) { in iwl_mvm_sta_send_to_fw()
229 add_sta_cmd.uapsd_acs = iwl_mvm_get_sta_uapsd_acs(sta); in iwl_mvm_sta_send_to_fw()
230 add_sta_cmd.sp_length = sta->max_sp ? sta->max_sp * 2 : 128; in iwl_mvm_sta_send_to_fw()
259 struct ieee80211_sta *sta; in iwl_mvm_rx_agg_session_expired() local
282 sta = rcu_dereference(ba_data->mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_rx_agg_session_expired()
292 if (IS_ERR_OR_NULL(sta)) in iwl_mvm_rx_agg_session_expired()
295 mvm_sta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_agg_session_expired()
297 sta->addr, ba_data->tid); in iwl_mvm_rx_agg_session_expired()
308 struct ieee80211_sta *sta; in iwl_mvm_invalidate_sta_queue() local
320 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_invalidate_sta_queue()
322 if (WARN_ON_ONCE(IS_ERR_OR_NULL(sta))) { in iwl_mvm_invalidate_sta_queue()
327 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_invalidate_sta_queue()
351 static int iwl_mvm_disable_txq(struct iwl_mvm *mvm, struct ieee80211_sta *sta, in iwl_mvm_disable_txq() argument
420 if (sta) { in iwl_mvm_disable_txq()
422 iwl_mvm_txq_from_tid(sta, tid); in iwl_mvm_disable_txq()
446 struct ieee80211_sta *sta; in iwl_mvm_get_queue_agg_tids() local
461 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id], in iwl_mvm_get_queue_agg_tids()
464 if (WARN_ON_ONCE(IS_ERR_OR_NULL(sta))) in iwl_mvm_get_queue_agg_tids()
467 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_get_queue_agg_tids()
486 struct ieee80211_sta *sta; in iwl_mvm_remove_sta_queue_marking() local
503 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_remove_sta_queue_marking()
505 if (WARN_ON_ONCE(IS_ERR_OR_NULL(sta))) { in iwl_mvm_remove_sta_queue_marking()
510 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_remove_sta_queue_marking()
516 iwl_mvm_txq_from_tid(sta, tid); in iwl_mvm_remove_sta_queue_marking()
812 static int iwl_mvm_get_queue_size(struct ieee80211_sta *sta) in iwl_mvm_get_queue_size() argument
818 if (!sta) in iwl_mvm_get_queue_size()
823 for (link_id = 0; link_id < ARRAY_SIZE(sta->link); link_id++) { in iwl_mvm_get_queue_size()
825 rcu_dereference(sta->link[link_id]); in iwl_mvm_get_queue_size()
846 struct ieee80211_sta *sta, in iwl_mvm_tvqm_enable_txq() argument
857 size = iwl_mvm_get_queue_size(sta); in iwl_mvm_tvqm_enable_txq()
860 if (sta) { in iwl_mvm_tvqm_enable_txq()
861 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tvqm_enable_txq()
866 for_each_sta_active_link(mvmsta->vif, sta, link_sta, link_id) { in iwl_mvm_tvqm_enable_txq()
896 struct ieee80211_sta *sta, u8 ac, in iwl_mvm_sta_alloc_queue_tvqm() argument
899 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_alloc_queue_tvqm()
901 iwl_mvm_txq_from_tid(sta, tid); in iwl_mvm_sta_alloc_queue_tvqm()
911 queue = iwl_mvm_tvqm_enable_txq(mvm, sta, mvmsta->deflink.sta_id, in iwl_mvm_sta_alloc_queue_tvqm()
930 struct ieee80211_sta *sta, in iwl_mvm_update_txq_mapping() argument
959 if (sta) { in iwl_mvm_update_txq_mapping()
961 iwl_mvm_txq_from_tid(sta, tid); in iwl_mvm_update_txq_mapping()
973 static bool iwl_mvm_enable_txq(struct iwl_mvm *mvm, struct ieee80211_sta *sta, in iwl_mvm_enable_txq() argument
994 if (!iwl_mvm_update_txq_mapping(mvm, sta, queue, cfg->sta_id, cfg->tid)) in iwl_mvm_enable_txq()
1047 struct ieee80211_sta *sta; in iwl_mvm_unshare_queue() local
1076 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id], in iwl_mvm_unshare_queue()
1079 if (WARN_ON_ONCE(IS_ERR_OR_NULL(sta))) in iwl_mvm_unshare_queue()
1082 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_unshare_queue()
1090 iwl_mvm_txq_from_tid(sta, tid)); in iwl_mvm_unshare_queue()
1242 struct ieee80211_sta *sta; in iwl_mvm_inactivity_check() local
1278 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_inactivity_check()
1285 if (IS_ERR_OR_NULL(sta)) in iwl_mvm_inactivity_check()
1288 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_inactivity_check()
1296 queue_owner = sta; in iwl_mvm_inactivity_check()
1323 struct ieee80211_sta *sta, u8 ac, int tid) in iwl_mvm_sta_alloc_queue() argument
1325 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_alloc_queue()
1346 return iwl_mvm_sta_alloc_queue_tvqm(mvm, sta, ac, tid); in iwl_mvm_sta_alloc_queue()
1432 inc_ssn = iwl_mvm_enable_txq(mvm, sta, queue, ssn, &cfg, wdg_timeout); in iwl_mvm_sta_alloc_queue()
1462 ret = iwl_mvm_sta_send_to_fw(mvm, sta, true, STA_MODIFY_QUEUES); in iwl_mvm_sta_alloc_queue()
1468 ret = iwl_mvm_sta_tx_agg(mvm, sta, tid, queue, true); in iwl_mvm_sta_alloc_queue()
1476 iwl_mvm_txq_from_tid(sta, tid)); in iwl_mvm_sta_alloc_queue()
1485 iwl_mvm_disable_txq(mvm, sta, mvmsta->deflink.sta_id, &queue_tmp, tid); in iwl_mvm_sta_alloc_queue()
1499 !txq->sta) { in iwl_mvm_sta_ensure_queue()
1503 if (!iwl_mvm_sta_alloc_queue(mvm, txq->sta, txq->ac, txq->tid)) { in iwl_mvm_sta_ensure_queue()
1552 if (iwl_mvm_sta_alloc_queue(mvm, txq->sta, txq->ac, tid)) { in iwl_mvm_add_new_dqa_stream_wk()
1575 struct ieee80211_sta *sta, in iwl_mvm_reserve_sta_stream() argument
1578 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_reserve_sta_stream()
1589 if (vif_type == NL80211_IFTYPE_STATION && !sta->tdls && in iwl_mvm_reserve_sta_stream()
1624 struct ieee80211_sta *sta) in iwl_mvm_realloc_queues_after_restart() argument
1626 struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_realloc_queues_after_restart()
1654 txq_id = iwl_mvm_tvqm_enable_txq(mvm, sta, in iwl_mvm_realloc_queues_after_restart()
1687 iwl_mvm_enable_txq(mvm, sta, txq_id, seq, &cfg, wdg); in iwl_mvm_realloc_queues_after_restart()
1694 struct iwl_mvm_int_sta *sta, in iwl_mvm_add_int_sta_common() argument
1705 cmd.sta_id = sta->sta_id; in iwl_mvm_add_int_sta_common()
1708 sta->type == IWL_STA_AUX_ACTIVITY) in iwl_mvm_add_int_sta_common()
1715 cmd.station_type = sta->type; in iwl_mvm_add_int_sta_common()
1718 cmd.tfd_queue_msk = cpu_to_le32(sta->tfd_queue_msk); in iwl_mvm_add_int_sta_common()
1745 struct ieee80211_sta *sta, int sta_id, u8 sta_type) in iwl_mvm_sta_init() argument
1748 struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_init()
1789 for (i = 0; i < ARRAY_SIZE(sta->txq); i++) { in iwl_mvm_sta_init()
1791 iwl_mvm_txq_from_mac80211(sta->txq[i]); in iwl_mvm_sta_init()
1821 ret = iwl_mvm_reserve_sta_stream(mvm, sta, in iwl_mvm_sta_init()
1840 !sta->tdls && ieee80211_vif_is_mld(vif)) { in iwl_mvm_sta_init()
1855 struct ieee80211_sta *sta) in iwl_mvm_add_sta() argument
1858 struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_add_sta()
1886 ret = iwl_mvm_add_int_sta_common(mvm, &tmp_sta, sta->addr, in iwl_mvm_add_sta()
1891 iwl_mvm_realloc_queues_after_restart(mvm, sta); in iwl_mvm_add_sta()
1897 ret = iwl_mvm_sta_init(mvm, vif, sta, sta_id, in iwl_mvm_add_sta()
1898 sta->tdls ? IWL_STA_TDLS_LINK : IWL_STA_LINK); in iwl_mvm_add_sta()
1903 ret = iwl_mvm_sta_send_to_fw(mvm, sta, sta_update, sta_flags); in iwl_mvm_add_sta()
1908 if (!sta->tdls) { in iwl_mvm_add_sta()
1916 rcu_assign_pointer(mvm->fw_id_to_mac_id[sta_id], sta); in iwl_mvm_add_sta()
1968 struct ieee80211_sta *sta; in iwl_mvm_rm_sta_common() local
1974 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id], in iwl_mvm_rm_sta_common()
1978 if (!sta) { in iwl_mvm_rm_sta_common()
1995 struct ieee80211_sta *sta) in iwl_mvm_disable_sta_queues() argument
1997 struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_disable_sta_queues()
2006 iwl_mvm_disable_txq(mvm, sta, mvm_sta->deflink.sta_id, in iwl_mvm_disable_sta_queues()
2011 for (i = 0; i < ARRAY_SIZE(sta->txq); i++) { in iwl_mvm_disable_sta_queues()
2013 iwl_mvm_txq_from_mac80211(sta->txq[i]); in iwl_mvm_disable_sta_queues()
2052 struct ieee80211_sta *sta, in iwl_mvm_sta_del() argument
2058 struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_del()
2090 struct ieee80211_sta *sta) in iwl_mvm_rm_sta() argument
2092 struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rm_sta()
2119 iwl_mvm_disable_sta_queues(mvm, vif, sta); in iwl_mvm_rm_sta()
2141 iwl_mvm_sta_del(mvm, vif, sta, &sta->deflink); in iwl_mvm_rm_sta()
2162 struct iwl_mvm_int_sta *sta, in iwl_mvm_allocate_int_sta() argument
2167 sta->sta_id == IWL_INVALID_STA) { in iwl_mvm_allocate_int_sta()
2168 sta->sta_id = iwl_mvm_find_free_sta_id(mvm, iftype); in iwl_mvm_allocate_int_sta()
2169 if (WARN_ON_ONCE(sta->sta_id == IWL_INVALID_STA)) in iwl_mvm_allocate_int_sta()
2173 sta->tfd_queue_msk = qmask; in iwl_mvm_allocate_int_sta()
2174 sta->type = type; in iwl_mvm_allocate_int_sta()
2177 RCU_INIT_POINTER(mvm->fw_id_to_mac_id[sta->sta_id], ERR_PTR(-EINVAL)); in iwl_mvm_allocate_int_sta()
2181 void iwl_mvm_dealloc_int_sta(struct iwl_mvm *mvm, struct iwl_mvm_int_sta *sta) in iwl_mvm_dealloc_int_sta() argument
2183 RCU_INIT_POINTER(mvm->fw_id_to_mac_id[sta->sta_id], NULL); in iwl_mvm_dealloc_int_sta()
2184 memset(sta, 0, sizeof(struct iwl_mvm_int_sta)); in iwl_mvm_dealloc_int_sta()
2185 sta->sta_id = IWL_INVALID_STA; in iwl_mvm_dealloc_int_sta()
2219 struct iwl_mvm_int_sta *sta, in iwl_mvm_add_int_sta_with_queue() argument
2226 iwl_mvm_enable_aux_snif_queue(mvm, *queue, sta->sta_id, fifo); in iwl_mvm_add_int_sta_with_queue()
2228 ret = iwl_mvm_add_int_sta_common(mvm, sta, addr, macidx, maccolor); in iwl_mvm_add_int_sta_with_queue()
2231 iwl_mvm_disable_txq(mvm, NULL, sta->sta_id, queue, in iwl_mvm_add_int_sta_with_queue()
2243 txq = iwl_mvm_enable_aux_snif_queue_tvqm(mvm, sta->sta_id); in iwl_mvm_add_int_sta_with_queue()
2245 iwl_mvm_rm_sta_common(mvm, sta->sta_id); in iwl_mvm_add_int_sta_with_queue()
2771 struct ieee80211_sta *sta, in iwl_mvm_fw_baid_op_sta() argument
2775 struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_fw_baid_op_sta()
2820 struct ieee80211_sta *sta, in iwl_mvm_fw_baid_op_cmd() argument
2840 cpu_to_le32(iwl_mvm_sta_fw_id_mask(mvm, sta, -1)); in iwl_mvm_fw_baid_op_cmd()
2850 cpu_to_le32(iwl_mvm_sta_fw_id_mask(mvm, sta, -1)); in iwl_mvm_fw_baid_op_cmd()
2872 static int iwl_mvm_fw_baid_op(struct iwl_mvm *mvm, struct ieee80211_sta *sta, in iwl_mvm_fw_baid_op() argument
2878 return iwl_mvm_fw_baid_op_cmd(mvm, sta, start, in iwl_mvm_fw_baid_op()
2881 return iwl_mvm_fw_baid_op_sta(mvm, sta, start, in iwl_mvm_fw_baid_op()
2885 int iwl_mvm_sta_rx_agg(struct iwl_mvm *mvm, struct ieee80211_sta *sta, in iwl_mvm_sta_rx_agg() argument
2888 struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_rx_agg()
2951 baid = iwl_mvm_fw_baid_op(mvm, sta, start, tid, ssn, buf_size, in iwl_mvm_sta_rx_agg()
2973 baid_data->sta_mask = iwl_mvm_sta_fw_id_mask(mvm, sta, -1); in iwl_mvm_sta_rx_agg()
3022 int iwl_mvm_sta_tx_agg(struct iwl_mvm *mvm, struct ieee80211_sta *sta, in iwl_mvm_sta_tx_agg() argument
3025 struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_tx_agg()
3093 struct ieee80211_sta *sta, u16 tid, u16 *ssn) in iwl_mvm_sta_tx_agg_start() argument
3095 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_tx_agg_start()
3118 ret = iwl_mvm_sta_alloc_queue_tvqm(mvm, sta, ac, tid); in iwl_mvm_sta_tx_agg_start()
3198 struct ieee80211_sta *sta, u16 tid, u16 buf_size, in iwl_mvm_sta_tx_agg_oper() argument
3201 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_tx_agg_oper()
3251 ret = iwl_mvm_sta_tx_agg(mvm, sta, tid, queue, true); in iwl_mvm_sta_tx_agg_oper()
3293 iwl_mvm_enable_txq(mvm, sta, queue, ssn, in iwl_mvm_sta_tx_agg_oper()
3298 ret = iwl_mvm_sta_tx_agg(mvm, sta, tid, queue, true); in iwl_mvm_sta_tx_agg_oper()
3321 sta->addr, tid); in iwl_mvm_sta_tx_agg_oper()
3351 struct ieee80211_sta *sta, u16 tid) in iwl_mvm_sta_tx_agg_stop() argument
3353 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_tx_agg_stop()
3363 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); in iwl_mvm_sta_tx_agg_stop()
3391 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); in iwl_mvm_sta_tx_agg_stop()
3393 iwl_mvm_sta_tx_agg(mvm, sta, tid, txq_id, false); in iwl_mvm_sta_tx_agg_stop()
3405 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); in iwl_mvm_sta_tx_agg_stop()
3424 struct ieee80211_sta *sta, u16 tid) in iwl_mvm_sta_tx_agg_flush() argument
3426 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_tx_agg_flush()
3463 iwl_mvm_sta_tx_agg(mvm, sta, tid, txq_id, false); in iwl_mvm_sta_tx_agg_flush()
3498 struct ieee80211_sta *sta) in iwl_mvm_get_key_sta() argument
3502 if (sta) in iwl_mvm_get_key_sta()
3503 return iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_get_key_sta()
3514 sta = rcu_dereference_check(mvm->fw_id_to_mac_id[sta_id], in iwl_mvm_get_key_sta()
3522 if (IS_ERR_OR_NULL(sta)) in iwl_mvm_get_key_sta()
3525 return iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_get_key_sta()
3784 struct ieee80211_sta *sta) in iwl_mvm_get_mac_addr() argument
3788 if (sta) in iwl_mvm_get_mac_addr()
3789 return sta->addr; in iwl_mvm_get_mac_addr()
3794 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id], in iwl_mvm_get_mac_addr()
3796 if (WARN_ON_ONCE(IS_ERR_OR_NULL(sta))) in iwl_mvm_get_mac_addr()
3799 return sta->addr; in iwl_mvm_get_mac_addr()
3808 struct ieee80211_sta *sta, in __iwl_mvm_set_sta_key() argument
3819 if (sta) { in __iwl_mvm_set_sta_key()
3820 struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta); in __iwl_mvm_set_sta_key()
3823 mfp = sta->mfp; in __iwl_mvm_set_sta_key()
3835 addr = iwl_mvm_get_mac_addr(mvm, vif, sta); in __iwl_mvm_set_sta_key()
3856 struct ieee80211_sta *sta, in iwl_mvm_set_sta_key() argument
3871 mvm_sta = iwl_mvm_get_key_sta(mvm, vif, sta); in iwl_mvm_set_sta_key()
3883 if (!sta) { in iwl_mvm_set_sta_key()
3884 sta = rcu_dereference_protected( in iwl_mvm_set_sta_key()
3887 if (IS_ERR_OR_NULL(sta)) { in iwl_mvm_set_sta_key()
3893 if (WARN_ON_ONCE(iwl_mvm_sta_from_mac80211(sta)->vif != vif)) in iwl_mvm_set_sta_key()
3926 ret = __iwl_mvm_set_sta_key(mvm, vif, sta, keyconf, key_offset, mcast); in iwl_mvm_set_sta_key()
3938 sta) { in iwl_mvm_set_sta_key()
3939 ret = __iwl_mvm_set_sta_key(mvm, vif, sta, keyconf, in iwl_mvm_set_sta_key()
3952 sta ? sta->addr : zero_addr, ret); in iwl_mvm_set_sta_key()
3958 struct ieee80211_sta *sta, in iwl_mvm_remove_sta_key() argument
3969 mvm_sta = iwl_mvm_get_key_sta(mvm, vif, sta); in iwl_mvm_remove_sta_key()
3972 else if (!sta && vif->type == NL80211_IFTYPE_AP && mcast) in iwl_mvm_remove_sta_key()
3997 if (sta && !mvm_sta) { in iwl_mvm_remove_sta_key()
4017 struct ieee80211_sta *sta, u32 iv32, in iwl_mvm_update_tkip_key() argument
4022 bool mfp = sta ? sta->mfp : false; in iwl_mvm_update_tkip_key()
4026 mvm_sta = iwl_mvm_get_key_sta(mvm, vif, sta); in iwl_mvm_update_tkip_key()
4038 struct ieee80211_sta *sta) in iwl_mvm_sta_modify_ps_wake() argument
4040 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_modify_ps_wake()
4056 struct ieee80211_sta *sta, in iwl_mvm_sta_modify_sleep_tx_count() argument
4061 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_modify_sleep_tx_count()
4112 ieee80211_sta_eosp(sta); in iwl_mvm_sta_modify_sleep_tx_count()
4141 struct ieee80211_sta *sta; in iwl_mvm_rx_eosp_notif() local
4148 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_rx_eosp_notif()
4149 if (!IS_ERR_OR_NULL(sta)) in iwl_mvm_rx_eosp_notif()
4150 ieee80211_sta_eosp(sta); in iwl_mvm_rx_eosp_notif()
4180 struct ieee80211_sta *sta, in iwl_mvm_sta_modify_disable_tx_ap() argument
4183 struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_modify_disable_tx_ap()
4187 iwl_mvm_mld_sta_modify_disable_tx_ap(mvm, sta, disable); in iwl_mvm_sta_modify_disable_tx_ap()
4205 ieee80211_sta_block_awake(mvm->hw, sta, disable); in iwl_mvm_sta_modify_disable_tx_ap()
4214 struct iwl_mvm_int_sta *sta, in iwl_mvm_int_sta_modify_disable_tx() argument
4220 .sta_id = sta->sta_id, in iwl_mvm_int_sta_modify_disable_tx()
4237 struct ieee80211_sta *sta; in iwl_mvm_modify_all_sta_disable_tx() local
4252 sta = rcu_dereference(mvm->fw_id_to_mac_id[i]); in iwl_mvm_modify_all_sta_disable_tx()
4253 if (IS_ERR_OR_NULL(sta)) in iwl_mvm_modify_all_sta_disable_tx()
4256 mvm_sta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_modify_all_sta_disable_tx()
4261 iwl_mvm_sta_modify_disable_tx_ap(mvm, sta, disable); in iwl_mvm_modify_all_sta_disable_tx()