Lines Matching refs:mvmvif
1747 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
1754 mvm_sta->mac_id_n_color = FW_CMD_ID_AND_COLOR(mvmvif->id,
1755 mvmvif->color);
1857 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
1887 mvmvif->id, mvmvif->color);
1909 WARN_ON(mvmvif->deflink.ap_sta_id != IWL_MVM_INVALID_STA);
1910 mvmvif->deflink.ap_sta_id = sta_id;
1912 WARN_ON(mvmvif->deflink.ap_sta_id == IWL_MVM_INVALID_STA);
2060 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
2062 mvmvif->link[link_sta->link_id];
2301 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
2305 return iwl_mvm_add_int_sta_with_queue(mvm, mvmvif->id, mvmvif->color,
2363 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
2364 struct iwl_mvm_int_sta *bsta = &mvmvif->deflink.bcast_sta;
2373 .sta_id = mvmvif->deflink.bcast_sta.sta_id,
2404 mvmvif->id, mvmvif->color);
2426 mvmvif->deflink.mgmt_queue = queue;
2433 mvmvif->deflink.mgmt_queue = mvm->probe_queue;
2442 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
2447 iwl_mvm_flush_sta(mvm, mvmvif->deflink.bcast_sta.sta_id,
2448 mvmvif->deflink.bcast_sta.tfd_queue_msk);
2465 iwl_mvm_disable_txq(mvm, NULL, mvmvif->deflink.bcast_sta.sta_id,
2469 mvmvif->deflink.mgmt_queue = mvm->probe_queue;
2474 WARN_ON(!(mvmvif->deflink.bcast_sta.tfd_queue_msk & BIT(queue)));
2475 mvmvif->deflink.bcast_sta.tfd_queue_msk &= ~BIT(queue);
2482 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
2489 ret = iwl_mvm_rm_sta_common(mvm, mvmvif->deflink.bcast_sta.sta_id);
2497 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
2501 return iwl_mvm_allocate_int_sta(mvm, &mvmvif->deflink.bcast_sta, 0,
2515 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
2516 struct iwl_mvm_int_sta *bsta = &mvmvif->deflink.bcast_sta;
2535 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
2537 iwl_mvm_dealloc_int_sta(mvm, &mvmvif->deflink.bcast_sta);
2567 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
2568 struct iwl_mvm_int_sta *msta = &mvmvif->deflink.mcast_sta;
2595 mvmvif->deflink.cab_queue = IWL_MVM_DQA_GCAST_QUEUE;
2603 iwl_mvm_enable_txq(mvm, NULL, mvmvif->deflink.cab_queue, 0,
2606 msta->tfd_queue_msk |= BIT(mvmvif->deflink.cab_queue);
2609 mvmvif->id, mvmvif->color);
2627 mvmvif->deflink.cab_queue = queue;
2630 iwl_mvm_enable_txq(mvm, NULL, mvmvif->deflink.cab_queue, 0,
2699 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
2704 iwl_mvm_flush_sta(mvm, mvmvif->deflink.mcast_sta.sta_id,
2705 mvmvif->deflink.mcast_sta.tfd_queue_msk);
2707 iwl_mvm_disable_txq(mvm, NULL, mvmvif->deflink.mcast_sta.sta_id,
2708 &mvmvif->deflink.cab_queue, 0);
2710 ret = iwl_mvm_rm_sta_common(mvm, mvmvif->deflink.mcast_sta.sta_id);
3514 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
3525 mvmvif->deflink.ap_sta_id != IWL_MVM_INVALID_STA) {
3526 u8 sta_id = mvmvif->deflink.ap_sta_id;
3800 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
3806 mvmvif->deflink.ap_sta_id != IWL_MVM_INVALID_STA) {
3807 u8 sta_id = mvmvif->deflink.ap_sta_id;
3840 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
3842 sta_id = mvmvif->deflink.mcast_sta.sta_id;
3910 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
3912 sta_id = mvmvif->deflink.mcast_sta.sta_id;
4227 struct iwl_mvm_vif *mvmvif,
4231 u32 id = FW_CMD_ID_AND_COLOR(mvmvif->id, mvmvif->color);
4248 struct iwl_mvm_vif *mvmvif,
4257 iwl_mvm_mld_modify_all_sta_disable_tx(mvm, mvmvif,
4264 /* Block/unblock all the stations of the given mvmvif */
4272 FW_CMD_ID_AND_COLOR(mvmvif->id, mvmvif->color))
4284 if (mvmvif->deflink.mcast_sta.sta_id != IWL_MVM_INVALID_STA)
4285 iwl_mvm_int_sta_modify_disable_tx(mvm, mvmvif,
4286 &mvmvif->deflink.mcast_sta,
4293 if (!disable && mvmvif->deflink.bcast_sta.sta_id != IWL_MVM_INVALID_STA)
4294 iwl_mvm_int_sta_modify_disable_tx(mvm, mvmvif,
4295 &mvmvif->deflink.bcast_sta,
4301 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
4306 mvmsta = iwl_mvm_sta_from_staid_rcu(mvm, mvmvif->deflink.ap_sta_id);
4336 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
4349 mvmvif->deflink.fw_link_id,
4354 ret = iwl_mvm_add_int_sta_with_queue(mvm, mvmvif->id,
4355 mvmvif->color, addr, sta,
4406 static int iwl_mvm_fw_sta_id_to_fw_link_id(struct iwl_mvm_vif *mvmvif,
4410 rcu_dereference(mvmvif->mvm->fw_id_to_link_sta[fw_sta_id]);
4416 link = mvmvif->link[link_sta->link_id];
4429 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvm_sta->vif);
4430 struct iwl_mvm *mvm = mvmvif->mvm;
4441 fw_link_id = iwl_mvm_fw_sta_id_to_fw_link_id(mvmvif, fw_sta_id);
4459 if (mvmvif->esr_active)
4476 wiphy_work_queue(mvmvif->mvm->hw->wiphy,
4477 &mvmvif->unblock_esr_tpt_wk);