Lines Matching refs:mvmvif
1630 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_add_sta() local
1662 mvmvif->id, mvmvif->color); in iwl_mvm_add_sta()
1673 mvm_sta->mac_id_n_color = FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_add_sta()
1674 mvmvif->color); in iwl_mvm_add_sta()
1760 WARN_ON(mvmvif->ap_sta_id != IWL_MVM_INVALID_STA); in iwl_mvm_add_sta()
1761 mvmvif->ap_sta_id = sta_id; in iwl_mvm_add_sta()
1763 WARN_ON(mvmvif->ap_sta_id == IWL_MVM_INVALID_STA); in iwl_mvm_add_sta()
1898 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_rm_sta() local
1952 mvmvif->ap_sta_id == sta_id) { in iwl_mvm_rm_sta()
1958 mvmvif->ap_sta_id = IWL_MVM_INVALID_STA; in iwl_mvm_rm_sta()
2119 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_add_snif_sta() local
2123 return iwl_mvm_add_int_sta_with_queue(mvm, mvmvif->id, mvmvif->color, in iwl_mvm_add_snif_sta()
2179 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_send_add_bcast_sta() local
2180 struct iwl_mvm_int_sta *bsta = &mvmvif->bcast_sta; in iwl_mvm_send_add_bcast_sta()
2189 .sta_id = mvmvif->bcast_sta.sta_id, in iwl_mvm_send_add_bcast_sta()
2220 mvmvif->id, mvmvif->color); in iwl_mvm_send_add_bcast_sta()
2250 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_free_bcast_sta_queues() local
2255 iwl_mvm_flush_sta(mvm, &mvmvif->bcast_sta, true); in iwl_mvm_free_bcast_sta_queues()
2276 WARN_ON(!(mvmvif->bcast_sta.tfd_queue_msk & BIT(queue))); in iwl_mvm_free_bcast_sta_queues()
2277 mvmvif->bcast_sta.tfd_queue_msk &= ~BIT(queue); in iwl_mvm_free_bcast_sta_queues()
2284 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_send_rm_bcast_sta() local
2291 ret = iwl_mvm_rm_sta_common(mvm, mvmvif->bcast_sta.sta_id); in iwl_mvm_send_rm_bcast_sta()
2299 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_alloc_bcast_sta() local
2303 return iwl_mvm_allocate_int_sta(mvm, &mvmvif->bcast_sta, 0, in iwl_mvm_alloc_bcast_sta()
2317 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_add_p2p_bcast_sta() local
2318 struct iwl_mvm_int_sta *bsta = &mvmvif->bcast_sta; in iwl_mvm_add_p2p_bcast_sta()
2337 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_dealloc_bcast_sta() local
2339 iwl_mvm_dealloc_int_sta(mvm, &mvmvif->bcast_sta); in iwl_mvm_dealloc_bcast_sta()
2369 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_add_mcast_sta() local
2370 struct iwl_mvm_int_sta *msta = &mvmvif->mcast_sta; in iwl_mvm_add_mcast_sta()
2397 mvmvif->cab_queue = IWL_MVM_DQA_GCAST_QUEUE; in iwl_mvm_add_mcast_sta()
2405 iwl_mvm_enable_txq(mvm, NULL, mvmvif->cab_queue, 0, &cfg, in iwl_mvm_add_mcast_sta()
2407 msta->tfd_queue_msk |= BIT(mvmvif->cab_queue); in iwl_mvm_add_mcast_sta()
2410 mvmvif->id, mvmvif->color); in iwl_mvm_add_mcast_sta()
2429 mvmvif->cab_queue = queue; in iwl_mvm_add_mcast_sta()
2432 iwl_mvm_enable_txq(mvm, NULL, mvmvif->cab_queue, 0, &cfg, in iwl_mvm_add_mcast_sta()
2500 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_rm_mcast_sta() local
2505 iwl_mvm_flush_sta(mvm, &mvmvif->mcast_sta, true); in iwl_mvm_rm_mcast_sta()
2507 iwl_mvm_disable_txq(mvm, NULL, &mvmvif->cab_queue, 0); in iwl_mvm_rm_mcast_sta()
2509 ret = iwl_mvm_rm_sta_common(mvm, mvmvif->mcast_sta.sta_id); in iwl_mvm_rm_mcast_sta()
3324 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_get_key_sta() local
3335 mvmvif->ap_sta_id != IWL_MVM_INVALID_STA) { in iwl_mvm_get_key_sta()
3336 u8 sta_id = mvmvif->ap_sta_id; in iwl_mvm_get_key_sta()
3607 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_get_mac_addr() local
3613 mvmvif->ap_sta_id != IWL_MVM_INVALID_STA) { in iwl_mvm_get_mac_addr()
3614 u8 sta_id = mvmvif->ap_sta_id; in iwl_mvm_get_mac_addr()
3644 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in __iwl_mvm_set_sta_key() local
3646 sta_id = mvmvif->mcast_sta.sta_id; in __iwl_mvm_set_sta_key()
3709 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_set_sta_key() local
3711 sta_id = mvmvif->mcast_sta.sta_id; in iwl_mvm_set_sta_key()
4015 struct iwl_mvm_vif *mvmvif, in iwl_mvm_int_sta_modify_disable_tx() argument
4019 u32 id = FW_CMD_ID_AND_COLOR(mvmvif->id, mvmvif->color); in iwl_mvm_int_sta_modify_disable_tx()
4036 struct iwl_mvm_vif *mvmvif, in iwl_mvm_modify_all_sta_disable_tx() argument
4053 FW_CMD_ID_AND_COLOR(mvmvif->id, mvmvif->color)) in iwl_mvm_modify_all_sta_disable_tx()
4065 if (mvmvif->mcast_sta.sta_id != IWL_MVM_INVALID_STA) in iwl_mvm_modify_all_sta_disable_tx()
4066 iwl_mvm_int_sta_modify_disable_tx(mvm, mvmvif, in iwl_mvm_modify_all_sta_disable_tx()
4067 &mvmvif->mcast_sta, disable); in iwl_mvm_modify_all_sta_disable_tx()
4073 if (!disable && mvmvif->bcast_sta.sta_id != IWL_MVM_INVALID_STA) in iwl_mvm_modify_all_sta_disable_tx()
4074 iwl_mvm_int_sta_modify_disable_tx(mvm, mvmvif, in iwl_mvm_modify_all_sta_disable_tx()
4075 &mvmvif->bcast_sta, disable); in iwl_mvm_modify_all_sta_disable_tx()
4080 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_csa_client_absent() local
4085 mvmsta = iwl_mvm_sta_from_staid_rcu(mvm, mvmvif->ap_sta_id); in iwl_mvm_csa_client_absent()
4113 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_add_pasn_sta() local
4122 ret = iwl_mvm_add_int_sta_with_queue(mvm, mvmvif->id, mvmvif->color, in iwl_mvm_add_pasn_sta()