Home
last modified time | relevance | path

Searched refs:arvif (Results 1 – 14 of 14) sorted by relevance

/drivers/net/wireless/ath/ath10k/
Dmac.c213 static int ath10k_send_key(struct ath10k_vif *arvif, in ath10k_send_key() argument
218 struct ath10k *ar = arvif->ar; in ath10k_send_key()
220 .vdev_id = arvif->vdev_id, in ath10k_send_key()
228 lockdep_assert_held(&arvif->ar->conf_mutex); in ath10k_send_key()
260 return ath10k_wmi_vdev_install_key(arvif->ar, &arg); in ath10k_send_key()
263 static int ath10k_install_key(struct ath10k_vif *arvif, in ath10k_install_key() argument
268 struct ath10k *ar = arvif->ar; in ath10k_install_key()
276 if (arvif->nohwcrypt) in ath10k_install_key()
279 ret = ath10k_send_key(arvif, key, cmd, macaddr, flags); in ath10k_install_key()
290 static int ath10k_install_peer_wep_keys(struct ath10k_vif *arvif, in ath10k_install_peer_wep_keys() argument
[all …]
Dwow.c34 static int ath10k_wow_vif_cleanup(struct ath10k_vif *arvif) in ath10k_wow_vif_cleanup() argument
36 struct ath10k *ar = arvif->ar; in ath10k_wow_vif_cleanup()
40 ret = ath10k_wmi_wow_add_wakeup_event(ar, arvif->vdev_id, i, 0); in ath10k_wow_vif_cleanup()
43 wow_wakeup_event(i), arvif->vdev_id, ret); in ath10k_wow_vif_cleanup()
49 ret = ath10k_wmi_wow_del_pattern(ar, arvif->vdev_id, i); in ath10k_wow_vif_cleanup()
52 i, arvif->vdev_id, ret); in ath10k_wow_vif_cleanup()
62 struct ath10k_vif *arvif; in ath10k_wow_cleanup() local
67 list_for_each_entry(arvif, &ar->arvifs, list) { in ath10k_wow_cleanup()
68 ret = ath10k_wow_vif_cleanup(arvif); in ath10k_wow_cleanup()
71 arvif->vdev_id, ret); in ath10k_wow_cleanup()
[all …]
Dp2p.c81 static void ath10k_p2p_noa_ie_assign(struct ath10k_vif *arvif, void *ie, in ath10k_p2p_noa_ie_assign() argument
84 struct ath10k *ar = arvif->ar; in ath10k_p2p_noa_ie_assign()
88 kfree(arvif->u.ap.noa_data); in ath10k_p2p_noa_ie_assign()
90 arvif->u.ap.noa_data = ie; in ath10k_p2p_noa_ie_assign()
91 arvif->u.ap.noa_len = len; in ath10k_p2p_noa_ie_assign()
94 static void __ath10k_p2p_noa_update(struct ath10k_vif *arvif, in __ath10k_p2p_noa_update() argument
97 struct ath10k *ar = arvif->ar; in __ath10k_p2p_noa_update()
103 ath10k_p2p_noa_ie_assign(arvif, NULL, 0); in __ath10k_p2p_noa_update()
114 ath10k_p2p_noa_ie_assign(arvif, ie, len); in __ath10k_p2p_noa_update()
117 void ath10k_p2p_noa_update(struct ath10k_vif *arvif, in ath10k_p2p_noa_update() argument
[all …]
Dspectral.c166 struct ath10k_vif *arvif; in ath10k_get_spectral_vdev() local
174 list_for_each_entry(arvif, &ar->arvifs, list) in ath10k_get_spectral_vdev()
175 if (arvif->spectral_enabled) in ath10k_get_spectral_vdev()
176 return arvif; in ath10k_get_spectral_vdev()
179 return list_first_entry(&ar->arvifs, typeof(*arvif), list); in ath10k_get_spectral_vdev()
184 struct ath10k_vif *arvif; in ath10k_spectral_scan_trigger() local
190 arvif = ath10k_get_spectral_vdev(ar); in ath10k_spectral_scan_trigger()
191 if (!arvif) in ath10k_spectral_scan_trigger()
193 vdev_id = arvif->vdev_id; in ath10k_spectral_scan_trigger()
217 struct ath10k_vif *arvif; in ath10k_spectral_scan_config() local
[all …]
Dmac.h55 void ath10k_mac_vif_beacon_free(struct ath10k_vif *arvif);
75 void ath10k_mac_vif_tx_lock(struct ath10k_vif *arvif, int reason);
76 void ath10k_mac_vif_tx_unlock(struct ath10k_vif *arvif, int reason);
96 struct ath10k_vif *arvif = ath10k_vif_to_arvif(vif); in ath10k_tx_h_seq_no() local
99 if (arvif->tx_seq_no == 0) in ath10k_tx_h_seq_no()
100 arvif->tx_seq_no = 0x1000; in ath10k_tx_h_seq_no()
103 arvif->tx_seq_no += 0x10; in ath10k_tx_h_seq_no()
105 hdr->seq_ctrl |= cpu_to_le16(arvif->tx_seq_no); in ath10k_tx_h_seq_no()
Ddebugfs_sta.c73 struct ath10k *ar = arsta->arvif->ar; in ath10k_sta_statistics()
88 struct ath10k *ar = arsta->arvif->ar; in ath10k_dbg_sta_read_aggr_mode()
107 struct ath10k *ar = arsta->arvif->ar; in ath10k_dbg_sta_write_aggr_mode()
124 ret = ath10k_wmi_addba_clear_resp(ar, arsta->arvif->vdev_id, sta->addr); in ath10k_dbg_sta_write_aggr_mode()
150 struct ath10k *ar = arsta->arvif->ar; in ath10k_dbg_sta_write_addba()
175 ret = ath10k_wmi_addba_send(ar, arsta->arvif->vdev_id, sta->addr, in ath10k_dbg_sta_write_addba()
179 arsta->arvif->vdev_id, sta->addr, tid, buf_size); in ath10k_dbg_sta_write_addba()
201 struct ath10k *ar = arsta->arvif->ar; in ath10k_dbg_sta_write_addba_resp()
226 ret = ath10k_wmi_addba_set_resp(ar, arsta->arvif->vdev_id, sta->addr, in ath10k_dbg_sta_write_addba_resp()
230 arsta->arvif->vdev_id, sta->addr, tid, status); in ath10k_dbg_sta_write_addba_resp()
[all …]
Dspectral.h54 int ath10k_spectral_vif_stop(struct ath10k_vif *arvif);
74 static inline int ath10k_spectral_vif_stop(struct ath10k_vif *arvif) in ath10k_spectral_vif_stop() argument
Dhtt_rx.c728 struct ath10k_vif *arvif; in ath10k_htt_rx_h_peer_channel() local
752 arvif = ath10k_get_arvif(ar, peer->vdev_id); in ath10k_htt_rx_h_peer_channel()
753 if (WARN_ON_ONCE(!arvif)) in ath10k_htt_rx_h_peer_channel()
756 if (ath10k_mac_vif_chan(arvif->vif, &def)) in ath10k_htt_rx_h_peer_channel()
765 struct ath10k_vif *arvif; in ath10k_htt_rx_h_vdev_channel() local
770 list_for_each_entry(arvif, &ar->arvifs, list) { in ath10k_htt_rx_h_vdev_channel()
771 if (arvif->vdev_id == vdev_id && in ath10k_htt_rx_h_vdev_channel()
772 ath10k_mac_vif_chan(arvif->vif, &def) == 0) in ath10k_htt_rx_h_vdev_channel()
1717 struct ath10k_vif *arvif; in ath10k_htt_rx_addba() local
1737 arvif = ath10k_get_arvif(ar, peer->vdev_id); in ath10k_htt_rx_addba()
[all …]
Dwmi.c1727 static void ath10k_wmi_tx_beacon_nowait(struct ath10k_vif *arvif) in ath10k_wmi_tx_beacon_nowait() argument
1729 struct ath10k *ar = arvif->ar; in ath10k_wmi_tx_beacon_nowait()
1738 bcn = arvif->beacon; in ath10k_wmi_tx_beacon_nowait()
1745 switch (arvif->beacon_state) { in ath10k_wmi_tx_beacon_nowait()
1750 arvif->beacon_state = ATH10K_BEACON_SENDING; in ath10k_wmi_tx_beacon_nowait()
1755 ret = ath10k_wmi_beacon_send_ref_nowait(arvif->ar, in ath10k_wmi_tx_beacon_nowait()
1756 arvif->vdev_id, in ath10k_wmi_tx_beacon_nowait()
1765 arvif->beacon_state = ATH10K_BEACON_SENT; in ath10k_wmi_tx_beacon_nowait()
1767 arvif->beacon_state = ATH10K_BEACON_SCHEDULED; in ath10k_wmi_tx_beacon_nowait()
1777 struct ath10k_vif *arvif = ath10k_vif_to_arvif(vif); in ath10k_wmi_tx_beacons_iter() local
[all …]
Dp2p.h23 void ath10k_p2p_noa_update(struct ath10k_vif *arvif,
Dhtt_tx.c53 struct ath10k_vif *arvif = (void *)txq->vif->drv_priv; in __ath10k_htt_tx_txq_recalc() local
74 peer_id = arvif->peer_id; in __ath10k_htt_tx_txq_recalc()
738 struct ath10k_vif *arvif; in ath10k_htt_tx_get_vdev_id() local
743 arvif = (void *)cb->vif->drv_priv; in ath10k_htt_tx_get_vdev_id()
744 return arvif->vdev_id; in ath10k_htt_tx_get_vdev_id()
Dcore.h333 struct ath10k_vif *arvif; member
419 struct ath10k_vif *arvif; member
Ddebug.c1949 struct ath10k_vif *arvif; in ath10k_write_simulate_radar() local
1955 arvif = list_first_entry(&ar->arvifs, typeof(*arvif), list); in ath10k_write_simulate_radar()
1956 if (!arvif->is_started) in ath10k_write_simulate_radar()
Dwmi-tlv.c183 struct ath10k_vif *arvif; in ath10k_wmi_tlv_event_bcn_tx_status() local
217 arvif = ath10k_get_arvif(ar, vdev_id); in ath10k_wmi_tlv_event_bcn_tx_status()
218 if (arvif && arvif->is_up && arvif->vif->csa_active) in ath10k_wmi_tlv_event_bcn_tx_status()
219 ieee80211_queue_work(ar->hw, &arvif->ap_csa_work); in ath10k_wmi_tlv_event_bcn_tx_status()