Lines Matching refs:vif
260 struct ieee80211_vif *vif, in iwl_mvm_add_sta() argument
263 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_add_sta()
271 ieee80211_vif_type_p2p(vif)); in iwl_mvm_add_sta()
283 mvm_sta->vif = vif; in iwl_mvm_add_sta()
300 if (vif->hw_queue[i] != IEEE80211_INVAL_HW_QUEUE) in iwl_mvm_add_sta()
301 mvm_sta->tfd_queue_msk |= BIT(vif->hw_queue[i]); in iwl_mvm_add_sta()
316 if (vif->type == NL80211_IFTYPE_STATION) { in iwl_mvm_add_sta()
335 struct ieee80211_vif *vif, in iwl_mvm_update_sta() argument
482 struct ieee80211_vif *vif, in iwl_mvm_rm_sta() argument
485 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_rm_sta()
491 if (vif->type == NL80211_IFTYPE_STATION && in iwl_mvm_rm_sta()
507 if (vif->bss_conf.assoc) in iwl_mvm_rm_sta()
564 struct ieee80211_vif *vif, in iwl_mvm_rm_sta_id() argument
681 int iwl_mvm_send_add_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_send_add_bcast_sta() argument
683 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_send_add_bcast_sta()
690 if (vif->type == NL80211_IFTYPE_ADHOC) in iwl_mvm_send_add_bcast_sta()
691 baddr = vif->bss_conf.bssid; in iwl_mvm_send_add_bcast_sta()
702 int iwl_mvm_send_rm_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_send_rm_bcast_sta() argument
704 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_send_rm_bcast_sta()
715 int iwl_mvm_alloc_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_alloc_bcast_sta() argument
717 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_alloc_bcast_sta()
722 qmask = iwl_mvm_mac_get_queues_mask(vif); in iwl_mvm_alloc_bcast_sta()
729 if (vif->type == NL80211_IFTYPE_AP) in iwl_mvm_alloc_bcast_sta()
730 qmask &= ~BIT(vif->cab_queue); in iwl_mvm_alloc_bcast_sta()
733 ieee80211_vif_type_p2p(vif)); in iwl_mvm_alloc_bcast_sta()
743 int iwl_mvm_add_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_add_bcast_sta() argument
745 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_add_bcast_sta()
751 ret = iwl_mvm_alloc_bcast_sta(mvm, vif); in iwl_mvm_add_bcast_sta()
755 ret = iwl_mvm_send_add_bcast_sta(mvm, vif); in iwl_mvm_add_bcast_sta()
763 void iwl_mvm_dealloc_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_dealloc_bcast_sta() argument
765 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_dealloc_bcast_sta()
774 int iwl_mvm_rm_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_rm_bcast_sta() argument
780 ret = iwl_mvm_send_rm_bcast_sta(mvm, vif); in iwl_mvm_rm_bcast_sta()
782 iwl_mvm_dealloc_bcast_sta(mvm, vif); in iwl_mvm_rm_bcast_sta()
915 int iwl_mvm_sta_tx_agg_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_sta_tx_agg_start() argument
954 mvm->queue_to_mac80211[txq_id] = vif->hw_queue[tid_to_mac80211_ac[tid]]; in iwl_mvm_sta_tx_agg_start()
968 ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); in iwl_mvm_sta_tx_agg_start()
978 int iwl_mvm_sta_tx_agg_oper(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_sta_tx_agg_oper() argument
984 iwl_mvm_get_wd_timeout(mvm, vif, sta->tdls, false); in iwl_mvm_sta_tx_agg_oper()
1027 int iwl_mvm_sta_tx_agg_stop(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_sta_tx_agg_stop() argument
1041 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); in iwl_mvm_sta_tx_agg_stop()
1074 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); in iwl_mvm_sta_tx_agg_stop()
1091 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); in iwl_mvm_sta_tx_agg_stop()
1109 int iwl_mvm_sta_tx_agg_flush(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_sta_tx_agg_flush() argument
1165 static u8 iwl_mvm_get_key_sta_id(struct ieee80211_vif *vif, in iwl_mvm_get_key_sta_id() argument
1168 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_get_key_sta_id()
1181 if (vif->type == NL80211_IFTYPE_STATION && in iwl_mvm_get_key_sta_id()
1302 struct ieee80211_vif *vif, in iwl_mvm_get_mac_addr() argument
1305 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_get_mac_addr()
1310 if (vif->type == NL80211_IFTYPE_STATION && in iwl_mvm_get_mac_addr()
1323 struct ieee80211_vif *vif, in __iwl_mvm_set_sta_key() argument
1336 addr = iwl_mvm_get_mac_addr(mvm, vif, sta); in __iwl_mvm_set_sta_key()
1396 struct ieee80211_vif *vif, in iwl_mvm_set_sta_key() argument
1408 sta_id = iwl_mvm_get_key_sta_id(vif, sta); in iwl_mvm_set_sta_key()
1432 if (WARN_ON_ONCE(iwl_mvm_sta_from_mac80211(sta)->vif != vif)) in iwl_mvm_set_sta_key()
1446 ret = __iwl_mvm_set_sta_key(mvm, vif, sta, keyconf, mcast); in iwl_mvm_set_sta_key()
1460 ret = __iwl_mvm_set_sta_key(mvm, vif, sta, keyconf, !mcast); in iwl_mvm_set_sta_key()
1475 struct ieee80211_vif *vif, in iwl_mvm_remove_sta_key() argument
1486 sta_id = iwl_mvm_get_key_sta_id(vif, sta); in iwl_mvm_remove_sta_key()
1520 if (WARN_ON_ONCE(iwl_mvm_sta_from_mac80211(sta)->vif != vif)) in iwl_mvm_remove_sta_key()
1536 struct ieee80211_vif *vif, in iwl_mvm_update_tkip_key() argument
1542 u8 sta_id = iwl_mvm_get_key_sta_id(vif, sta); in iwl_mvm_update_tkip_key()
1755 void iwl_mvm_csa_client_absent(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_csa_client_absent() argument
1757 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_csa_client_absent()