Lines Matching refs:mvmvif

1628 	struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);  in iwl_mvm_add_sta()  local
1660 mvmvif->id, mvmvif->color); in iwl_mvm_add_sta()
1671 mvm_sta->mac_id_n_color = FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_add_sta()
1672 mvmvif->color); in iwl_mvm_add_sta()
1758 WARN_ON(mvmvif->ap_sta_id != IWL_MVM_INVALID_STA); in iwl_mvm_add_sta()
1759 mvmvif->ap_sta_id = sta_id; in iwl_mvm_add_sta()
1761 WARN_ON(mvmvif->ap_sta_id == IWL_MVM_INVALID_STA); in iwl_mvm_add_sta()
1896 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_rm_sta() local
1950 mvmvif->ap_sta_id == sta_id) { in iwl_mvm_rm_sta()
1956 mvmvif->ap_sta_id = IWL_MVM_INVALID_STA; in iwl_mvm_rm_sta()
2117 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_add_snif_sta() local
2121 return iwl_mvm_add_int_sta_with_queue(mvm, mvmvif->id, mvmvif->color, in iwl_mvm_add_snif_sta()
2177 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_send_add_bcast_sta() local
2178 struct iwl_mvm_int_sta *bsta = &mvmvif->bcast_sta; in iwl_mvm_send_add_bcast_sta()
2187 .sta_id = mvmvif->bcast_sta.sta_id, in iwl_mvm_send_add_bcast_sta()
2218 mvmvif->id, mvmvif->color); in iwl_mvm_send_add_bcast_sta()
2248 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_free_bcast_sta_queues() local
2253 iwl_mvm_flush_sta(mvm, &mvmvif->bcast_sta, true); in iwl_mvm_free_bcast_sta_queues()
2274 WARN_ON(!(mvmvif->bcast_sta.tfd_queue_msk & BIT(queue))); in iwl_mvm_free_bcast_sta_queues()
2275 mvmvif->bcast_sta.tfd_queue_msk &= ~BIT(queue); in iwl_mvm_free_bcast_sta_queues()
2282 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_send_rm_bcast_sta() local
2289 ret = iwl_mvm_rm_sta_common(mvm, mvmvif->bcast_sta.sta_id); in iwl_mvm_send_rm_bcast_sta()
2297 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_alloc_bcast_sta() local
2301 return iwl_mvm_allocate_int_sta(mvm, &mvmvif->bcast_sta, 0, in iwl_mvm_alloc_bcast_sta()
2315 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_add_p2p_bcast_sta() local
2316 struct iwl_mvm_int_sta *bsta = &mvmvif->bcast_sta; in iwl_mvm_add_p2p_bcast_sta()
2335 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_dealloc_bcast_sta() local
2337 iwl_mvm_dealloc_int_sta(mvm, &mvmvif->bcast_sta); in iwl_mvm_dealloc_bcast_sta()
2367 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_add_mcast_sta() local
2368 struct iwl_mvm_int_sta *msta = &mvmvif->mcast_sta; in iwl_mvm_add_mcast_sta()
2395 mvmvif->cab_queue = IWL_MVM_DQA_GCAST_QUEUE; in iwl_mvm_add_mcast_sta()
2403 iwl_mvm_enable_txq(mvm, NULL, mvmvif->cab_queue, 0, &cfg, in iwl_mvm_add_mcast_sta()
2405 msta->tfd_queue_msk |= BIT(mvmvif->cab_queue); in iwl_mvm_add_mcast_sta()
2408 mvmvif->id, mvmvif->color); in iwl_mvm_add_mcast_sta()
2427 mvmvif->cab_queue = queue; in iwl_mvm_add_mcast_sta()
2430 iwl_mvm_enable_txq(mvm, NULL, mvmvif->cab_queue, 0, &cfg, in iwl_mvm_add_mcast_sta()
2498 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_rm_mcast_sta() local
2503 iwl_mvm_flush_sta(mvm, &mvmvif->mcast_sta, true); in iwl_mvm_rm_mcast_sta()
2505 iwl_mvm_disable_txq(mvm, NULL, &mvmvif->cab_queue, 0); in iwl_mvm_rm_mcast_sta()
2507 ret = iwl_mvm_rm_sta_common(mvm, mvmvif->mcast_sta.sta_id); in iwl_mvm_rm_mcast_sta()
3322 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_get_key_sta() local
3333 mvmvif->ap_sta_id != IWL_MVM_INVALID_STA) { in iwl_mvm_get_key_sta()
3334 u8 sta_id = mvmvif->ap_sta_id; in iwl_mvm_get_key_sta()
3605 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_get_mac_addr() local
3611 mvmvif->ap_sta_id != IWL_MVM_INVALID_STA) { in iwl_mvm_get_mac_addr()
3612 u8 sta_id = mvmvif->ap_sta_id; in iwl_mvm_get_mac_addr()
3642 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in __iwl_mvm_set_sta_key() local
3644 sta_id = mvmvif->mcast_sta.sta_id; in __iwl_mvm_set_sta_key()
3707 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_set_sta_key() local
3709 sta_id = mvmvif->mcast_sta.sta_id; in iwl_mvm_set_sta_key()
4013 struct iwl_mvm_vif *mvmvif, in iwl_mvm_int_sta_modify_disable_tx() argument
4017 u32 id = FW_CMD_ID_AND_COLOR(mvmvif->id, mvmvif->color); in iwl_mvm_int_sta_modify_disable_tx()
4034 struct iwl_mvm_vif *mvmvif, in iwl_mvm_modify_all_sta_disable_tx() argument
4051 FW_CMD_ID_AND_COLOR(mvmvif->id, mvmvif->color)) in iwl_mvm_modify_all_sta_disable_tx()
4063 if (mvmvif->mcast_sta.sta_id != IWL_MVM_INVALID_STA) in iwl_mvm_modify_all_sta_disable_tx()
4064 iwl_mvm_int_sta_modify_disable_tx(mvm, mvmvif, in iwl_mvm_modify_all_sta_disable_tx()
4065 &mvmvif->mcast_sta, disable); in iwl_mvm_modify_all_sta_disable_tx()
4071 if (!disable && mvmvif->bcast_sta.sta_id != IWL_MVM_INVALID_STA) in iwl_mvm_modify_all_sta_disable_tx()
4072 iwl_mvm_int_sta_modify_disable_tx(mvm, mvmvif, in iwl_mvm_modify_all_sta_disable_tx()
4073 &mvmvif->bcast_sta, disable); in iwl_mvm_modify_all_sta_disable_tx()
4078 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_csa_client_absent() local
4083 mvmsta = iwl_mvm_sta_from_staid_rcu(mvm, mvmvif->ap_sta_id); in iwl_mvm_csa_client_absent()
4111 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_add_pasn_sta() local
4120 ret = iwl_mvm_add_int_sta_with_queue(mvm, mvmvif->id, mvmvif->color, in iwl_mvm_add_pasn_sta()