Lines Matching refs:vif
262 struct ieee80211_vif *vif, in iwl_mvm_add_sta() argument
265 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_add_sta()
273 ieee80211_vif_type_p2p(vif)); in iwl_mvm_add_sta()
280 if (vif->type == NL80211_IFTYPE_AP) { in iwl_mvm_add_sta()
282 iwl_mvm_mac_ctxt_changed(mvm, vif, false, NULL); in iwl_mvm_add_sta()
290 mvm_sta->vif = vif; in iwl_mvm_add_sta()
307 if (vif->hw_queue[i] != IEEE80211_INVAL_HW_QUEUE) in iwl_mvm_add_sta()
308 mvm_sta->tfd_queue_msk |= BIT(vif->hw_queue[i]); in iwl_mvm_add_sta()
323 if (vif->type == NL80211_IFTYPE_STATION) { in iwl_mvm_add_sta()
342 struct ieee80211_vif *vif, in iwl_mvm_update_sta() argument
490 struct ieee80211_vif *vif, in iwl_mvm_rm_sta() argument
493 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_rm_sta()
499 if (vif->type == NL80211_IFTYPE_STATION && in iwl_mvm_rm_sta()
515 if (vif->bss_conf.assoc) in iwl_mvm_rm_sta()
572 struct ieee80211_vif *vif, in iwl_mvm_rm_sta_id() argument
689 int iwl_mvm_send_add_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_send_add_bcast_sta() argument
691 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_send_add_bcast_sta()
698 if (vif->type == NL80211_IFTYPE_ADHOC) in iwl_mvm_send_add_bcast_sta()
699 baddr = vif->bss_conf.bssid; in iwl_mvm_send_add_bcast_sta()
710 int iwl_mvm_send_rm_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_send_rm_bcast_sta() argument
712 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_send_rm_bcast_sta()
723 int iwl_mvm_alloc_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_alloc_bcast_sta() argument
725 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_alloc_bcast_sta()
730 qmask = iwl_mvm_mac_get_queues_mask(vif); in iwl_mvm_alloc_bcast_sta()
737 if (vif->type == NL80211_IFTYPE_AP) in iwl_mvm_alloc_bcast_sta()
738 qmask &= ~BIT(vif->cab_queue); in iwl_mvm_alloc_bcast_sta()
741 ieee80211_vif_type_p2p(vif)); in iwl_mvm_alloc_bcast_sta()
751 int iwl_mvm_add_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_add_bcast_sta() argument
753 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_add_bcast_sta()
759 ret = iwl_mvm_alloc_bcast_sta(mvm, vif); in iwl_mvm_add_bcast_sta()
763 ret = iwl_mvm_send_add_bcast_sta(mvm, vif); in iwl_mvm_add_bcast_sta()
771 void iwl_mvm_dealloc_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_dealloc_bcast_sta() argument
773 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_dealloc_bcast_sta()
782 int iwl_mvm_rm_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_rm_bcast_sta() argument
788 ret = iwl_mvm_send_rm_bcast_sta(mvm, vif); in iwl_mvm_rm_bcast_sta()
790 iwl_mvm_dealloc_bcast_sta(mvm, vif); in iwl_mvm_rm_bcast_sta()
923 int iwl_mvm_sta_tx_agg_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_sta_tx_agg_start() argument
976 ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); in iwl_mvm_sta_tx_agg_start()
989 int iwl_mvm_sta_tx_agg_oper(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_sta_tx_agg_oper() argument
995 iwl_mvm_get_wd_timeout(mvm, vif, sta->tdls, false); in iwl_mvm_sta_tx_agg_oper()
1015 vif->hw_queue[tid_to_mac80211_ac[tid]], fifo, in iwl_mvm_sta_tx_agg_oper()
1044 int iwl_mvm_sta_tx_agg_stop(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_sta_tx_agg_stop() argument
1058 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); in iwl_mvm_sta_tx_agg_stop()
1095 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); in iwl_mvm_sta_tx_agg_stop()
1100 vif->hw_queue[tid_to_mac80211_ac[tid]], tid, in iwl_mvm_sta_tx_agg_stop()
1113 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); in iwl_mvm_sta_tx_agg_stop()
1131 int iwl_mvm_sta_tx_agg_flush(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_sta_tx_agg_flush() argument
1168 vif->hw_queue[tid_to_mac80211_ac[tid]], tid, in iwl_mvm_sta_tx_agg_flush()
1205 struct ieee80211_vif *vif, in iwl_mvm_get_key_sta_id() argument
1208 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_get_key_sta_id()
1221 if (vif->type == NL80211_IFTYPE_STATION && in iwl_mvm_get_key_sta_id()
1354 struct ieee80211_vif *vif, in iwl_mvm_get_mac_addr() argument
1357 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_get_mac_addr()
1362 if (vif->type == NL80211_IFTYPE_STATION && in iwl_mvm_get_mac_addr()
1375 struct ieee80211_vif *vif, in __iwl_mvm_set_sta_key() argument
1389 addr = iwl_mvm_get_mac_addr(mvm, vif, sta); in __iwl_mvm_set_sta_key()
1449 struct ieee80211_vif *vif, in iwl_mvm_set_sta_key() argument
1462 sta_id = iwl_mvm_get_key_sta_id(mvm, vif, sta); in iwl_mvm_set_sta_key()
1486 if (WARN_ON_ONCE(iwl_mvm_sta_from_mac80211(sta)->vif != vif)) in iwl_mvm_set_sta_key()
1507 ret = __iwl_mvm_set_sta_key(mvm, vif, sta, keyconf, key_offset, mcast); in iwl_mvm_set_sta_key()
1521 ret = __iwl_mvm_set_sta_key(mvm, vif, sta, keyconf, in iwl_mvm_set_sta_key()
1537 struct ieee80211_vif *vif, in iwl_mvm_remove_sta_key() argument
1548 sta_id = iwl_mvm_get_key_sta_id(mvm, vif, sta); in iwl_mvm_remove_sta_key()
1587 struct ieee80211_vif *vif, in iwl_mvm_update_tkip_key() argument
1598 sta_id = iwl_mvm_get_key_sta_id(mvm, vif, sta); in iwl_mvm_update_tkip_key()
1806 void iwl_mvm_csa_client_absent(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_csa_client_absent() argument
1808 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_csa_client_absent()