Lines Matching refs:mvmvif

1631 	struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);  in iwl_mvm_add_sta()  local
1663 mvmvif->id, mvmvif->color); in iwl_mvm_add_sta()
1674 mvm_sta->mac_id_n_color = FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_add_sta()
1675 mvmvif->color); in iwl_mvm_add_sta()
1761 WARN_ON(mvmvif->ap_sta_id != IWL_MVM_INVALID_STA); in iwl_mvm_add_sta()
1762 mvmvif->ap_sta_id = sta_id; in iwl_mvm_add_sta()
1764 WARN_ON(mvmvif->ap_sta_id == IWL_MVM_INVALID_STA); in iwl_mvm_add_sta()
1900 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_rm_sta() local
1954 mvmvif->ap_sta_id == sta_id) { in iwl_mvm_rm_sta()
1963 mvmvif->ap_sta_id = IWL_MVM_INVALID_STA; in iwl_mvm_rm_sta()
2124 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_add_snif_sta() local
2128 return iwl_mvm_add_int_sta_with_queue(mvm, mvmvif->id, mvmvif->color, in iwl_mvm_add_snif_sta()
2186 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_send_add_bcast_sta() local
2187 struct iwl_mvm_int_sta *bsta = &mvmvif->bcast_sta; in iwl_mvm_send_add_bcast_sta()
2196 .sta_id = mvmvif->bcast_sta.sta_id, in iwl_mvm_send_add_bcast_sta()
2227 mvmvif->id, mvmvif->color); in iwl_mvm_send_add_bcast_sta()
2257 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_free_bcast_sta_queues() local
2262 iwl_mvm_flush_sta(mvm, &mvmvif->bcast_sta, true); in iwl_mvm_free_bcast_sta_queues()
2279 iwl_mvm_disable_txq(mvm, NULL, mvmvif->bcast_sta.sta_id, in iwl_mvm_free_bcast_sta_queues()
2284 WARN_ON(!(mvmvif->bcast_sta.tfd_queue_msk & BIT(queue))); in iwl_mvm_free_bcast_sta_queues()
2285 mvmvif->bcast_sta.tfd_queue_msk &= ~BIT(queue); in iwl_mvm_free_bcast_sta_queues()
2292 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_send_rm_bcast_sta() local
2299 ret = iwl_mvm_rm_sta_common(mvm, mvmvif->bcast_sta.sta_id); in iwl_mvm_send_rm_bcast_sta()
2307 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_alloc_bcast_sta() local
2311 return iwl_mvm_allocate_int_sta(mvm, &mvmvif->bcast_sta, 0, in iwl_mvm_alloc_bcast_sta()
2325 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_add_p2p_bcast_sta() local
2326 struct iwl_mvm_int_sta *bsta = &mvmvif->bcast_sta; in iwl_mvm_add_p2p_bcast_sta()
2345 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_dealloc_bcast_sta() local
2347 iwl_mvm_dealloc_int_sta(mvm, &mvmvif->bcast_sta); in iwl_mvm_dealloc_bcast_sta()
2377 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_add_mcast_sta() local
2378 struct iwl_mvm_int_sta *msta = &mvmvif->mcast_sta; in iwl_mvm_add_mcast_sta()
2405 mvmvif->cab_queue = IWL_MVM_DQA_GCAST_QUEUE; in iwl_mvm_add_mcast_sta()
2413 iwl_mvm_enable_txq(mvm, NULL, mvmvif->cab_queue, 0, &cfg, in iwl_mvm_add_mcast_sta()
2415 msta->tfd_queue_msk |= BIT(mvmvif->cab_queue); in iwl_mvm_add_mcast_sta()
2418 mvmvif->id, mvmvif->color); in iwl_mvm_add_mcast_sta()
2437 mvmvif->cab_queue = queue; in iwl_mvm_add_mcast_sta()
2440 iwl_mvm_enable_txq(mvm, NULL, mvmvif->cab_queue, 0, &cfg, in iwl_mvm_add_mcast_sta()
2508 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_rm_mcast_sta() local
2513 iwl_mvm_flush_sta(mvm, &mvmvif->mcast_sta, true); in iwl_mvm_rm_mcast_sta()
2515 iwl_mvm_disable_txq(mvm, NULL, mvmvif->mcast_sta.sta_id, in iwl_mvm_rm_mcast_sta()
2516 &mvmvif->cab_queue, 0); in iwl_mvm_rm_mcast_sta()
2518 ret = iwl_mvm_rm_sta_common(mvm, mvmvif->mcast_sta.sta_id); in iwl_mvm_rm_mcast_sta()
3333 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_get_key_sta() local
3344 mvmvif->ap_sta_id != IWL_MVM_INVALID_STA) { in iwl_mvm_get_key_sta()
3345 u8 sta_id = mvmvif->ap_sta_id; in iwl_mvm_get_key_sta()
3616 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_get_mac_addr() local
3622 mvmvif->ap_sta_id != IWL_MVM_INVALID_STA) { in iwl_mvm_get_mac_addr()
3623 u8 sta_id = mvmvif->ap_sta_id; in iwl_mvm_get_mac_addr()
3653 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in __iwl_mvm_set_sta_key() local
3655 sta_id = mvmvif->mcast_sta.sta_id; in __iwl_mvm_set_sta_key()
3718 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_set_sta_key() local
3720 sta_id = mvmvif->mcast_sta.sta_id; in iwl_mvm_set_sta_key()
4024 struct iwl_mvm_vif *mvmvif, in iwl_mvm_int_sta_modify_disable_tx() argument
4028 u32 id = FW_CMD_ID_AND_COLOR(mvmvif->id, mvmvif->color); in iwl_mvm_int_sta_modify_disable_tx()
4045 struct iwl_mvm_vif *mvmvif, in iwl_mvm_modify_all_sta_disable_tx() argument
4062 FW_CMD_ID_AND_COLOR(mvmvif->id, mvmvif->color)) in iwl_mvm_modify_all_sta_disable_tx()
4074 if (mvmvif->mcast_sta.sta_id != IWL_MVM_INVALID_STA) in iwl_mvm_modify_all_sta_disable_tx()
4075 iwl_mvm_int_sta_modify_disable_tx(mvm, mvmvif, in iwl_mvm_modify_all_sta_disable_tx()
4076 &mvmvif->mcast_sta, disable); in iwl_mvm_modify_all_sta_disable_tx()
4082 if (!disable && mvmvif->bcast_sta.sta_id != IWL_MVM_INVALID_STA) in iwl_mvm_modify_all_sta_disable_tx()
4083 iwl_mvm_int_sta_modify_disable_tx(mvm, mvmvif, in iwl_mvm_modify_all_sta_disable_tx()
4084 &mvmvif->bcast_sta, disable); in iwl_mvm_modify_all_sta_disable_tx()
4089 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_csa_client_absent() local
4094 mvmsta = iwl_mvm_sta_from_staid_rcu(mvm, mvmvif->ap_sta_id); in iwl_mvm_csa_client_absent()
4122 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_add_pasn_sta() local
4131 ret = iwl_mvm_add_int_sta_with_queue(mvm, mvmvif->id, mvmvif->color, in iwl_mvm_add_pasn_sta()