Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/ath10k/
Dmac.c161 static int ath10k_send_key(struct ath10k_vif *arvif, in ath10k_send_key() argument
166 struct ath10k *ar = arvif->ar; in ath10k_send_key()
168 .vdev_id = arvif->vdev_id, in ath10k_send_key()
176 lockdep_assert_held(&arvif->ar->conf_mutex); in ath10k_send_key()
208 return ath10k_wmi_vdev_install_key(arvif->ar, &arg); in ath10k_send_key()
211 static int ath10k_install_key(struct ath10k_vif *arvif, in ath10k_install_key() argument
216 struct ath10k *ar = arvif->ar; in ath10k_install_key()
224 if (arvif->nohwcrypt) in ath10k_install_key()
227 ret = ath10k_send_key(arvif, key, cmd, macaddr, flags); in ath10k_install_key()
238 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);
88 struct ath10k_vif *arvif = ath10k_vif_to_arvif(vif); in ath10k_tx_h_seq_no() local
91 if (arvif->tx_seq_no == 0) in ath10k_tx_h_seq_no()
92 arvif->tx_seq_no = 0x1000; in ath10k_tx_h_seq_no()
95 arvif->tx_seq_no += 0x10; in ath10k_tx_h_seq_no()
97 hdr->seq_ctrl |= cpu_to_le16(arvif->tx_seq_no); in ath10k_tx_h_seq_no()
Ddebugfs_sta.c27 struct ath10k *ar = arsta->arvif->ar; in ath10k_dbg_sta_read_aggr_mode()
46 struct ath10k *ar = arsta->arvif->ar; in ath10k_dbg_sta_write_aggr_mode()
63 ret = ath10k_wmi_addba_clear_resp(ar, arsta->arvif->vdev_id, sta->addr); in ath10k_dbg_sta_write_aggr_mode()
89 struct ath10k *ar = arsta->arvif->ar; in ath10k_dbg_sta_write_addba()
114 ret = ath10k_wmi_addba_send(ar, arsta->arvif->vdev_id, sta->addr, in ath10k_dbg_sta_write_addba()
118 arsta->arvif->vdev_id, sta->addr, tid, buf_size); in ath10k_dbg_sta_write_addba()
140 struct ath10k *ar = arsta->arvif->ar; in ath10k_dbg_sta_write_addba_resp()
165 ret = ath10k_wmi_addba_set_resp(ar, arsta->arvif->vdev_id, sta->addr, in ath10k_dbg_sta_write_addba_resp()
169 arsta->arvif->vdev_id, sta->addr, tid, status); in ath10k_dbg_sta_write_addba_resp()
190 struct ath10k *ar = arsta->arvif->ar; in ath10k_dbg_sta_write_delba()
[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.c790 struct ath10k_vif *arvif; in ath10k_htt_rx_h_peer_channel() local
814 arvif = ath10k_get_arvif(ar, peer->vdev_id); in ath10k_htt_rx_h_peer_channel()
815 if (WARN_ON_ONCE(!arvif)) in ath10k_htt_rx_h_peer_channel()
818 if (WARN_ON(ath10k_mac_vif_chan(arvif->vif, &def))) in ath10k_htt_rx_h_peer_channel()
827 struct ath10k_vif *arvif; in ath10k_htt_rx_h_vdev_channel() local
832 list_for_each_entry(arvif, &ar->arvifs, list) { in ath10k_htt_rx_h_vdev_channel()
833 if (arvif->vdev_id == vdev_id && in ath10k_htt_rx_h_vdev_channel()
834 ath10k_mac_vif_chan(arvif->vif, &def) == 0) in ath10k_htt_rx_h_vdev_channel()
1792 struct ath10k_vif *arvif; in ath10k_htt_rx_addba() local
1812 arvif = ath10k_get_arvif(ar, peer->vdev_id); in ath10k_htt_rx_addba()
[all …]
Dwmi.c1658 static void ath10k_wmi_tx_beacon_nowait(struct ath10k_vif *arvif) in ath10k_wmi_tx_beacon_nowait() argument
1660 struct ath10k *ar = arvif->ar; in ath10k_wmi_tx_beacon_nowait()
1667 bcn = arvif->beacon; in ath10k_wmi_tx_beacon_nowait()
1674 switch (arvif->beacon_state) { in ath10k_wmi_tx_beacon_nowait()
1679 arvif->beacon_state = ATH10K_BEACON_SENDING; in ath10k_wmi_tx_beacon_nowait()
1682 ret = ath10k_wmi_beacon_send_ref_nowait(arvif->ar, in ath10k_wmi_tx_beacon_nowait()
1683 arvif->vdev_id, in ath10k_wmi_tx_beacon_nowait()
1692 arvif->beacon_state = ATH10K_BEACON_SENT; in ath10k_wmi_tx_beacon_nowait()
1694 arvif->beacon_state = ATH10K_BEACON_SCHEDULED; in ath10k_wmi_tx_beacon_nowait()
1704 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,
Dcore.h310 struct ath10k_vif *arvif; member
393 struct ath10k_vif *arvif; member
Ddebug.c1895 struct ath10k_vif *arvif; in ath10k_write_simulate_radar() local
1901 arvif = list_first_entry(&ar->arvifs, typeof(*arvif), list); in ath10k_write_simulate_radar()
1902 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()