Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/ath/ath10k/
H A Dmac.c239 static int ath10k_send_key(struct ath10k_vif *arvif, in ath10k_send_key() argument
244 struct ath10k *ar = arvif->ar; in ath10k_send_key()
246 .vdev_id = arvif->vdev_id, in ath10k_send_key()
254 lockdep_assert_held(&arvif->ar->conf_mutex); in ath10k_send_key()
304 return ath10k_wmi_vdev_install_key(arvif->ar, &arg); in ath10k_send_key()
307 static int ath10k_install_key(struct ath10k_vif *arvif, in ath10k_install_key() argument
312 struct ath10k *ar = arvif->ar; in ath10k_install_key()
320 if (arvif->nohwcrypt) in ath10k_install_key()
323 ret = ath10k_send_key(arvif, key, cmd, macaddr, flags); in ath10k_install_key()
334 static int ath10k_install_peer_wep_keys(struct ath10k_vif *arvif, in ath10k_install_peer_wep_keys() argument
[all …]
H A Dp2p.c70 static void ath10k_p2p_noa_ie_assign(struct ath10k_vif *arvif, void *ie, in ath10k_p2p_noa_ie_assign() argument
73 struct ath10k *ar = arvif->ar; in ath10k_p2p_noa_ie_assign()
77 kfree(arvif->u.ap.noa_data); in ath10k_p2p_noa_ie_assign()
79 arvif->u.ap.noa_data = ie; in ath10k_p2p_noa_ie_assign()
80 arvif->u.ap.noa_len = len; in ath10k_p2p_noa_ie_assign()
83 static void __ath10k_p2p_noa_update(struct ath10k_vif *arvif, in __ath10k_p2p_noa_update() argument
86 struct ath10k *ar = arvif->ar; in __ath10k_p2p_noa_update()
92 ath10k_p2p_noa_ie_assign(arvif, NULL, 0); in __ath10k_p2p_noa_update()
103 ath10k_p2p_noa_ie_assign(arvif, ie, len); in __ath10k_p2p_noa_update()
106 void ath10k_p2p_noa_update(struct ath10k_vif *arvif, in ath10k_p2p_noa_update() argument
[all …]
H A Dwow.c25 static int ath10k_wow_vif_cleanup(struct ath10k_vif *arvif) in ath10k_wow_vif_cleanup() argument
27 struct ath10k *ar = arvif->ar; in ath10k_wow_vif_cleanup()
31 ret = ath10k_wmi_wow_add_wakeup_event(ar, arvif->vdev_id, i, 0); in ath10k_wow_vif_cleanup()
34 wow_wakeup_event(i), arvif->vdev_id, ret); in ath10k_wow_vif_cleanup()
40 ret = ath10k_wmi_wow_del_pattern(ar, arvif->vdev_id, i); in ath10k_wow_vif_cleanup()
43 i, arvif->vdev_id, ret); in ath10k_wow_vif_cleanup()
53 struct ath10k_vif *arvif; in ath10k_wow_cleanup() local
58 list_for_each_entry(arvif, &ar->arvifs, list) { in ath10k_wow_cleanup()
59 ret = ath10k_wow_vif_cleanup(arvif); in ath10k_wow_cleanup()
62 arvif in ath10k_wow_cleanup()
266 ath10k_vif_wow_set_wakeups(struct ath10k_vif * arvif,struct cfg80211_wowlan * wowlan) ath10k_vif_wow_set_wakeups() argument
389 struct ath10k_vif *arvif; ath10k_wow_set_wakeups() local
406 ath10k_vif_wow_clean_nlo(struct ath10k_vif * arvif) ath10k_vif_wow_clean_nlo() argument
434 struct ath10k_vif *arvif; ath10k_wow_nlo_cleanup() local
[all...]
H A Dspectral.c163 struct ath10k_vif *arvif; in ath10k_get_spectral_vdev() local
171 list_for_each_entry(arvif, &ar->arvifs, list) in ath10k_get_spectral_vdev()
172 if (arvif->spectral_enabled) in ath10k_get_spectral_vdev()
173 return arvif; in ath10k_get_spectral_vdev()
176 return list_first_entry(&ar->arvifs, typeof(*arvif), list); in ath10k_get_spectral_vdev()
181 struct ath10k_vif *arvif; in ath10k_spectral_scan_trigger() local
187 arvif = ath10k_get_spectral_vdev(ar); in ath10k_spectral_scan_trigger()
188 if (!arvif) in ath10k_spectral_scan_trigger()
190 vdev_id = arvif->vdev_id; in ath10k_spectral_scan_trigger()
214 struct ath10k_vif *arvif; in ath10k_spectral_scan_config() local
[all …]
H A Dmac.h44 void ath10k_mac_vif_beacon_free(struct ath10k_vif *arvif);
64 void ath10k_mac_vif_tx_lock(struct ath10k_vif *arvif, int reason);
65 void ath10k_mac_vif_tx_unlock(struct ath10k_vif *arvif, int reason);
82 struct ath10k_vif *arvif = (void *)vif->drv_priv; in ath10k_tx_h_seq_no() local
85 if (arvif->tx_seq_no == 0) in ath10k_tx_h_seq_no()
86 arvif->tx_seq_no = 0x1000; in ath10k_tx_h_seq_no()
89 arvif->tx_seq_no += 0x10; in ath10k_tx_h_seq_no()
91 hdr->seq_ctrl |= cpu_to_le16(arvif->tx_seq_no); in ath10k_tx_h_seq_no()
H A Ddebugfs_sta.c182 struct ath10k *ar = arsta->arvif->ar; in ath10k_dbg_sta_read_aggr_mode()
201 struct ath10k *ar = arsta->arvif->ar; in ath10k_dbg_sta_write_aggr_mode()
218 ret = ath10k_wmi_addba_clear_resp(ar, arsta->arvif->vdev_id, sta->addr); in ath10k_dbg_sta_write_aggr_mode()
244 struct ath10k *ar = arsta->arvif->ar; in ath10k_dbg_sta_write_addba()
269 ret = ath10k_wmi_addba_send(ar, arsta->arvif->vdev_id, sta->addr, in ath10k_dbg_sta_write_addba()
273 arsta->arvif->vdev_id, sta->addr, tid, buf_size); in ath10k_dbg_sta_write_addba()
295 struct ath10k *ar = arsta->arvif->ar; in ath10k_dbg_sta_write_addba_resp()
320 ret = ath10k_wmi_addba_set_resp(ar, arsta->arvif->vdev_id, sta->addr, in ath10k_dbg_sta_write_addba_resp()
324 arsta->arvif->vdev_id, sta->addr, tid, status); in ath10k_dbg_sta_write_addba_resp()
345 struct ath10k *ar = arsta->arvif in ath10k_dbg_sta_write_delba()
[all...]
H A Dspectral.h43 int ath10k_spectral_vif_stop(struct ath10k_vif *arvif);
63 static inline int ath10k_spectral_vif_stop(struct ath10k_vif *arvif) in ath10k_spectral_vif_stop() argument
H A Dp2p.h12 void ath10k_p2p_noa_update(struct ath10k_vif *arvif,
H A Dwmi.c1860 static void ath10k_wmi_tx_beacon_nowait(struct ath10k_vif *arvif) in ath10k_wmi_tx_beacon_nowait() argument
1862 struct ath10k *ar = arvif->ar; in ath10k_wmi_tx_beacon_nowait()
1871 bcn = arvif->beacon; in ath10k_wmi_tx_beacon_nowait()
1878 switch (arvif->beacon_state) { in ath10k_wmi_tx_beacon_nowait()
1883 arvif->beacon_state = ATH10K_BEACON_SENDING; in ath10k_wmi_tx_beacon_nowait()
1888 ret = ath10k_wmi_beacon_send_ref_nowait(arvif->ar, in ath10k_wmi_tx_beacon_nowait()
1889 arvif->vdev_id, in ath10k_wmi_tx_beacon_nowait()
1898 arvif->beacon_state = ATH10K_BEACON_SENT; in ath10k_wmi_tx_beacon_nowait()
1900 arvif->beacon_state = ATH10K_BEACON_SCHEDULED; in ath10k_wmi_tx_beacon_nowait()
1910 struct ath10k_vif *arvif = (void *)vif->drv_priv; in ath10k_wmi_tx_beacons_iter() local
[all …]
/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.c264 struct ath12k_link_vif *arvif);
266 static int ath12k_mac_vdev_create(struct ath12k *ar, struct ath12k_link_vif *arvif); in ath12k_mac_phymode_str()
267 static int ath12k_mac_vdev_delete(struct ath12k *ar, struct ath12k_link_vif *arvif); in ath12k_mac_phymode_str()
633 ath12k_mac_get_tx_arvif(struct ath12k_link_vif *arvif, in ath12k_mac_get_tx_arvif()
637 struct ath12k *ar = arvif->ar; in ath12k_mac_get_tx_arvif()
653 static const u8 *ath12k_mac_get_tx_bssid(struct ath12k_link_vif *arvif) in ath12k_mac_get_tx_bssid()
657 struct ath12k *ar = arvif->ar; in ath12k_mac_get_tx_bssid()
661 link_conf = ath12k_mac_get_link_bss_conf(arvif); in ath12k_mac_get_tx_bssid()
665 arvif->link_id); in ath12k_mac_get_tx_bssid()
672 tx_arvif = ath12k_mac_get_tx_arvif(arvif, link_con in ath12k_mac_get_tx_bssid()
629 ath12k_mac_get_tx_arvif(struct ath12k_link_vif * arvif,struct ieee80211_bss_conf * link_conf) ath12k_mac_get_tx_arvif() argument
649 ath12k_mac_get_tx_bssid(struct ath12k_link_vif * arvif) ath12k_mac_get_tx_bssid() argument
677 ath12k_mac_get_link_bss_conf(struct ath12k_link_vif * arvif) ath12k_mac_get_link_bss_conf() argument
764 struct ath12k_link_vif *arvif; ath12k_get_arvif_iter() local
813 struct ath12k_link_vif *arvif; ath12k_mac_get_arvif_by_vdev_id() local
870 ath12k_mac_is_ml_arvif(struct ath12k_link_vif * arvif) ath12k_mac_is_ml_arvif() argument
917 struct ath12k_link_vif *arvif; ath12k_get_ar_by_vif() local
950 struct ath12k_link_vif *arvif; ath12k_mac_get_vif_up() local
981 ath12k_mac_get_target_pdev_id_from_vif(struct ath12k_link_vif * arvif) ath12k_mac_get_target_pdev_id_from_vif() argument
1006 struct ath12k_link_vif *arvif; ath12k_mac_get_target_pdev_id() local
1046 struct ath12k_link_vif *arvif; ath12k_mac_txpower_recalc() local
1100 ath12k_recalc_rtscts_prot(struct ath12k_link_vif * arvif) ath12k_recalc_rtscts_prot() argument
1139 ath12k_mac_set_kickout(struct ath12k_link_vif * arvif) ath12k_mac_set_kickout() argument
1191 struct ath12k_link_vif *arvif; ath12k_mac_link_sta_rhash_cleanup() local
1218 struct ath12k_link_vif *arvif, *tmp_vif; ath12k_mac_peer_cleanup_all() local
1527 ath12k_mac_vdev_stop(struct ath12k_link_vif * arvif) ath12k_mac_vdev_stop() argument
1574 ath12k_mac_setup_bcn_p2p_ie(struct ath12k_link_vif * arvif,struct sk_buff * bcn) ath12k_mac_setup_bcn_p2p_ie() argument
1631 ath12k_mac_set_arvif_ies(struct ath12k_link_vif * arvif,struct ath12k_link_vif * tx_arvif,struct sk_buff * bcn,u8 bssid_index,bool * nontx_profile_found) ath12k_mac_set_arvif_ies() argument
1743 ath12k_mac_setup_bcn_tmpl_ema(struct ath12k_link_vif * arvif,struct ath12k_link_vif * tx_arvif,u8 bssid_index) ath12k_mac_setup_bcn_tmpl_ema() argument
1792 ath12k_mac_setup_bcn_tmpl(struct ath12k_link_vif * arvif) ath12k_mac_setup_bcn_tmpl() argument
1880 ath12k_control_beaconing(struct ath12k_link_vif * arvif,struct ieee80211_bss_conf * info) ath12k_control_beaconing() argument
1938 struct ath12k_link_vif *arvif = &ahvif->deflink; ath12k_mac_handle_beacon_iter() local
1958 ath12k_mac_handle_beacon_miss(struct ath12k * ar,struct ath12k_link_vif * arvif) ath12k_mac_handle_beacon_miss() argument
1979 struct ath12k_link_vif *arvif = container_of(work, struct ath12k_link_vif, ath12k_mac_vif_sta_connection_loss_work() local
1990 ath12k_peer_assoc_h_basic(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta,struct ath12k_wmi_peer_assoc_arg * arg) ath12k_peer_assoc_h_basic() argument
2026 ath12k_peer_assoc_h_crypto(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta,struct ath12k_wmi_peer_assoc_arg * arg) ath12k_peer_assoc_h_crypto() argument
2096 ath12k_peer_assoc_h_rates(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta,struct ath12k_wmi_peer_assoc_arg * arg) ath12k_peer_assoc_h_rates() argument
2168 ath12k_peer_assoc_h_ht(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta,struct ath12k_wmi_peer_assoc_arg * arg) ath12k_peer_assoc_h_ht() argument
2373 ath12k_peer_assoc_h_vht(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta,struct ath12k_wmi_peer_assoc_arg * arg) ath12k_peer_assoc_h_vht() argument
2580 ath12k_peer_assoc_h_he(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta,struct ath12k_wmi_peer_assoc_arg * arg) ath12k_peer_assoc_h_he() argument
2826 ath12k_peer_assoc_h_he_6ghz(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta,struct ath12k_wmi_peer_assoc_arg * arg) ath12k_peer_assoc_h_he_6ghz() argument
2912 struct ath12k_link_vif *arvif = arsta->arvif; ath12k_peer_assoc_h_smps() local
2950 ath12k_peer_assoc_h_qos(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta,struct ath12k_wmi_peer_assoc_arg * arg) ath12k_peer_assoc_h_qos() argument
2986 ath12k_peer_assoc_qos_ap(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta) ath12k_peer_assoc_qos_ap() argument
3152 ath12k_peer_assoc_h_phymode(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta,struct ath12k_wmi_peer_assoc_arg * arg) ath12k_peer_assoc_h_phymode() argument
3329 ath12k_peer_assoc_h_eht(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta,struct ath12k_wmi_peer_assoc_arg * arg) ath12k_peer_assoc_h_eht() argument
3525 struct ath12k_link_vif *arvif; ath12k_peer_assoc_h_mlo() local
3581 ath12k_peer_assoc_prepare(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta,struct ath12k_wmi_peer_assoc_arg * arg,bool reassoc) ath12k_peer_assoc_prepare() argument
3610 ath12k_setup_peer_smps(struct ath12k * ar,struct ath12k_link_vif * arvif,const u8 * addr,const struct ieee80211_sta_ht_cap * ht_cap,const struct ieee80211_he_6ghz_capa * he_6ghz_capa) ath12k_setup_peer_smps() argument
3629 ath12k_mac_set_he_txbf_conf(struct ath12k_link_vif * arvif) ath12k_mac_set_he_txbf_conf() argument
3688 ath12k_mac_vif_recalc_sta_he_txbf(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ieee80211_sta_he_cap * he_cap,int * hemode) ath12k_mac_vif_recalc_sta_he_txbf() argument
3748 ath12k_mac_set_eht_txbf_conf(struct ath12k_link_vif * arvif) ath12k_mac_set_eht_txbf_conf() argument
3832 ath12k_bss_assoc(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ieee80211_bss_conf * bss_conf) ath12k_bss_assoc() argument
3991 ath12k_bss_disassoc(struct ath12k * ar,struct ath12k_link_vif * arvif) ath12k_bss_disassoc() argument
4038 ath12k_recalculate_mgmt_rate(struct ath12k * ar,struct ath12k_link_vif * arvif,struct cfg80211_chan_def * def) ath12k_recalculate_mgmt_rate() argument
4086 ath12k_mac_bcn_tx_event(struct ath12k_link_vif * arvif) ath12k_mac_bcn_tx_event() argument
4111 struct ath12k_link_vif *arvif = container_of(work, struct ath12k_link_vif, ath12k_mac_bcn_tx_work() local
4119 ath12k_mac_init_arvif(struct ath12k_vif * ahvif,struct ath12k_link_vif * arvif,int link_id) ath12k_mac_init_arvif() argument
4177 ath12k_mac_remove_link_interface(struct ieee80211_hw * hw,struct ath12k_link_vif * arvif) ath12k_mac_remove_link_interface() argument
4214 struct ath12k_link_vif *arvif; ath12k_mac_assign_link_vif() local
4241 ath12k_mac_unassign_link_vif(struct ath12k_link_vif * arvif) ath12k_mac_unassign_link_vif() argument
4268 struct ath12k_link_vif *arvif; ath12k_mac_op_change_vif_links() local
4311 ath12k_mac_fils_discovery(struct ath12k_link_vif * arvif,struct ieee80211_bss_conf * info) ath12k_mac_fils_discovery() argument
4367 struct ath12k_link_vif *arvif; ath12k_mac_op_vif_cfg_changed() local
4432 ath12k_mac_vif_setup_ps(struct ath12k_link_vif * arvif) ath12k_mac_vif_setup_ps() argument
4500 ath12k_wmi_vdev_params_up(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ath12k_link_vif * tx_arvif,struct ieee80211_bss_conf * info,u16 aid) ath12k_wmi_vdev_params_up() argument
4523 ath12k_mac_config_obss_pd(struct ath12k_link_vif * arvif,const struct ieee80211_he_obss_pd * he_obss_pd) ath12k_mac_config_obss_pd() argument
4684 ath12k_mac_bss_info_changed(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ieee80211_bss_conf * info,u64 changed) ath12k_mac_bss_info_changed() argument
5078 struct ath12k_link_vif *arvif; ath12k_mac_op_link_info_changed() local
5281 struct ath12k_link_vif *arvif; ath12k_scan_vdev_clean_work() local
5414 struct ath12k_link_vif *arvif; ath12k_mac_op_get_txpower() local
5487 struct ath12k_link_vif *arvif; ath12k_mac_find_link_id_by_ar() local
5530 struct ath12k_link_vif *arvif; ath12k_mac_initiate_hw_scan() local
5702 struct ath12k_link_vif *arvif; ath12k_mac_op_hw_scan() local
5781 struct ath12k_link_vif *arvif; ath12k_mac_op_cancel_hw_scan() local
5801 ath12k_install_key(struct ath12k_link_vif * arvif,struct ieee80211_key_conf * key,enum set_key_cmd cmd,const u8 * macaddr,u32 flags) ath12k_install_key() argument
5945 ath12k_clear_peer_keys(struct ath12k_link_vif * arvif,const u8 * addr) ath12k_clear_peer_keys() argument
5997 ath12k_mac_set_key(struct ath12k * ar,enum set_key_cmd cmd,struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta,struct ieee80211_key_conf * key) ath12k_mac_set_key() argument
6158 struct ath12k_link_vif *arvif; ath12k_mac_op_set_key() local
6287 ath12k_mac_set_peer_vht_fixed_rate(struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta,const struct cfg80211_bitrate_mask * mask,enum nl80211_band band) ath12k_mac_set_peer_vht_fixed_rate() argument
6333 ath12k_mac_set_peer_he_fixed_rate(struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta,const struct cfg80211_bitrate_mask * mask,enum nl80211_band band) ath12k_mac_set_peer_he_fixed_rate() argument
6387 ath12k_mac_set_peer_eht_fixed_rate(struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta,const struct cfg80211_bitrate_mask * mask,enum nl80211_band band) ath12k_mac_set_peer_eht_fixed_rate() argument
6446 ath12k_mac_station_assoc(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta,bool reassoc) ath12k_mac_station_assoc() argument
6564 ath12k_mac_station_disassoc(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta) ath12k_mac_station_disassoc() argument
6583 struct ath12k_link_vif *arvif; ath12k_sta_rc_update_wk() local
6815 ath12k_mac_inc_num_stations(struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta) ath12k_mac_inc_num_stations() argument
6839 ath12k_mac_dec_num_stations(struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta) ath12k_mac_dec_num_stations() argument
6865 ath12k_mac_station_post_remove(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta) ath12k_mac_station_post_remove() argument
6894 ath12k_mac_station_unauthorize(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta) ath12k_mac_station_unauthorize() argument
6929 ath12k_mac_station_authorize(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta) ath12k_mac_station_authorize() argument
6964 ath12k_mac_station_remove(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta) ath12k_mac_station_remove() argument
7016 ath12k_mac_station_add(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta) ath12k_mac_station_add() argument
7119 struct ath12k_link_vif *arvif; ath12k_mac_assign_link_sta() local
7168 struct ath12k_link_vif *arvif; ath12k_mac_ml_station_remove() local
7204 ath12k_mac_handle_link_sta_state(struct ieee80211_hw * hw,struct ath12k_link_vif * arvif,struct ath12k_link_sta * arsta,enum ieee80211_sta_state old_state,enum ieee80211_sta_state new_state) ath12k_mac_handle_link_sta_state() argument
7464 struct ath12k_link_vif *arvif; ath12k_mac_mlo_sta_update_link_active() local
7633 struct ath12k_link_vif *arvif; ath12k_mac_op_sta_state() local
7829 struct ath12k_link_vif *arvif; ath12k_mac_op_sta_set_txpwr() local
7884 struct ath12k_link_vif *arvif; ath12k_mac_op_link_sta_rc_update() local
8023 struct ath12k_link_vif *arvif; ath12k_mac_op_change_sta_links() local
8091 ath12k_conf_tx_uapsd(struct ath12k_link_vif * arvif,u16 ac,bool enable) ath12k_conf_tx_uapsd() argument
8149 ath12k_mac_conf_tx(struct ath12k_link_vif * arvif,u16 ac,const struct ieee80211_tx_queue_params * params) ath12k_mac_conf_tx() argument
8207 struct ath12k_link_vif *arvif; ath12k_mac_op_conf_tx() local
8301 ath12k_mac_set_txbf_conf(struct ath12k_link_vif * arvif) ath12k_mac_set_txbf_conf() argument
9054 ath12k_mac_mgmt_tx_wmi(struct ath12k * ar,struct ath12k_link_vif * arvif,struct sk_buff * skb) ath12k_mac_mgmt_tx_wmi() argument
9126 ath12k_mac_mgmt_action_frame_fill_elem_data(struct ath12k_link_vif * arvif,struct sk_buff * skb) ath12k_mac_mgmt_action_frame_fill_elem_data() argument
9283 ath12k_mac_mgmt_frame_fill_elem_data(struct ath12k_link_vif * arvif,struct sk_buff * skb) ath12k_mac_mgmt_frame_fill_elem_data() argument
9300 struct ath12k_link_vif *arvif; ath12k_mgmt_over_wmi_tx_work() local
9884 ath12k_mac_get_vdev_stats_id(struct ath12k_link_vif * arvif) ath12k_mac_get_vdev_stats_id() argument
9906 ath12k_mac_setup_vdev_params_mbssid(struct ath12k_link_vif * arvif,u32 * flags,u32 * tx_vdev_id) ath12k_mac_setup_vdev_params_mbssid() argument
9944 ath12k_mac_setup_vdev_create_arg(struct ath12k_link_vif * arvif,struct ath12k_wmi_vdev_create_arg * arg) ath12k_mac_setup_vdev_create_arg() argument
9999 ath12k_mac_update_vif_offload(struct ath12k_link_vif * arvif) ath12k_mac_update_vif_offload() argument
10050 struct ath12k_link_vif *arvif; ath12k_mac_op_update_vif_offload() local
10077 struct ath12k_link_vif *arvif; ath12k_mac_vif_ap_active_any() local
10222 ath12k_mac_vdev_create(struct ath12k * ar,struct ath12k_link_vif * arvif) ath12k_mac_vdev_create() argument
10480 ath12k_mac_vif_flush_key_cache(struct ath12k_link_vif * arvif) ath12k_mac_vif_flush_key_cache() argument
10514 ath12k_mac_vif_cache_flush(struct ath12k * ar,struct ath12k_link_vif * arvif) ath12k_mac_vif_cache_flush() argument
10556 ath12k_mac_assign_vif_to_vdev(struct ieee80211_hw * hw,struct ath12k_link_vif * arvif,struct ieee80211_chanctx_conf * ctx) ath12k_mac_assign_vif_to_vdev() argument
10658 struct ath12k_link_vif *arvif; ath12k_mac_op_add_interface() local
10727 ath12k_mac_vdev_delete(struct ath12k * ar,struct ath12k_link_vif * arvif) ath12k_mac_vdev_delete() argument
10796 struct ath12k_link_vif *arvif; ath12k_mac_op_remove_interface() local
11098 ath12k_mac_mlo_get_vdev_args(struct ath12k_link_vif * arvif,struct wmi_ml_arg * ml_arg) ath12k_mac_mlo_get_vdev_args() argument
11156 ath12k_mac_vdev_start_restart(struct ath12k_link_vif * arvif,struct ieee80211_chanctx_conf * ctx,bool restart) ath12k_mac_vdev_start_restart() argument
11293 ath12k_mac_vdev_start(struct ath12k_link_vif * arvif,struct ieee80211_chanctx_conf * ctx) ath12k_mac_vdev_start() argument
11299 ath12k_mac_vdev_restart(struct ath12k_link_vif * arvif,struct ieee80211_chanctx_conf * ctx) ath12k_mac_vdev_restart() argument
11320 struct ath12k_link_vif *arvif; ath12k_mac_change_chanctx_cnt_iter() local
11355 struct ath12k_link_vif *arvif; ath12k_mac_change_chanctx_fill_iter() local
11416 ath12k_mac_update_peer_puncturing_width(struct ath12k * ar,struct ath12k_link_vif * arvif,struct cfg80211_chan_def def) ath12k_mac_update_peer_puncturing_width() argument
11449 struct ath12k_link_vif *arvif; ath12k_mac_update_vif_chan() local
11626 ath12k_start_vdev_delay(struct ath12k * ar,struct ath12k_link_vif * arvif) ath12k_start_vdev_delay() argument
11816 ath12k_mac_fill_reg_tpc_info(struct ath12k * ar,struct ath12k_link_vif * arvif,struct ieee80211_chanctx_conf * ctx) ath12k_mac_fill_reg_tpc_info() argument
11996 ath12k_mac_parse_tx_pwr_env(struct ath12k * ar,struct ath12k_link_vif * arvif) ath12k_mac_parse_tx_pwr_env() argument
12076 struct ath12k_link_vif *arvif; ath12k_mac_op_assign_vif_chanctx() local
12161 struct ath12k_link_vif *arvif; ath12k_mac_op_unassign_vif_chanctx() local
12251 struct ath12k_link_vif *arvif; ath12k_set_vdev_param_to_all_vifs() local
12397 struct ath12k_link_vif *arvif; ath12k_mac_op_flush() local
12641 ath12k_mac_set_fixed_rate_gi_ltf(struct ath12k_link_vif * arvif,u8 gi,u8 ltf,u32 param) ath12k_mac_set_fixed_rate_gi_ltf() argument
12682 ath12k_mac_set_auto_rate_gi_ltf(struct ath12k_link_vif * arvif,u16 gi,u8 ltf) ath12k_mac_set_auto_rate_gi_ltf() argument
12749 ath12k_mac_set_rate_params(struct ath12k_link_vif * arvif,u32 rate,u8 nss,u8 sgi,u8 ldpc,u8 he_gi,u8 he_ltf,bool he_fixed_rate,u8 eht_gi,u8 eht_ltf,bool eht_fixed_rate) ath12k_mac_set_rate_params() argument
12939 struct ath12k_link_vif *arvif = data; ath12k_mac_set_bitrate_mask_iter() local
12961 struct ath12k_link_vif *arvif = data; ath12k_mac_disable_peer_fixed_rate() local
13058 struct ath12k_link_vif *arvif; ath12k_mac_op_set_bitrate_mask() local
13241 struct ath12k_link_vif *arvif; ath12k_mac_op_reconfig_complete() local
13657 struct ath12k_link_vif *arvif; ath12k_mac_op_remain_on_channel() local
13798 struct ath12k_link_vif *arvif; ath12k_mac_op_set_rekey_data() local
15216 ath12k_mac_vif_set_keepalive(struct ath12k_link_vif * arvif,enum wmi_sta_keepalive_method method,u32 interval) ath12k_mac_vif_set_keepalive() argument
[all...]
H A Dwow.c104 static int ath12k_wow_vif_cleanup(struct ath12k_link_vif *arvif) in ath12k_wow_vif_cleanup() argument
106 struct ath12k *ar = arvif->ar; in ath12k_wow_vif_cleanup()
110 ret = ath12k_wmi_wow_add_wakeup_event(ar, arvif->vdev_id, i, 0); in ath12k_wow_vif_cleanup()
113 wow_wakeup_event(i), arvif->vdev_id, ret); in ath12k_wow_vif_cleanup()
119 ret = ath12k_wmi_wow_del_pattern(ar, arvif->vdev_id, i); in ath12k_wow_vif_cleanup()
122 i, arvif->vdev_id, ret); in ath12k_wow_vif_cleanup()
132 struct ath12k_link_vif *arvif; in ath12k_wow_cleanup() local
137 list_for_each_entry(arvif, &ar->arvifs, list) { in ath12k_wow_cleanup()
138 if (arvif != &arvif->ahvif->deflink) in ath12k_wow_cleanup()
141 ret = ath12k_wow_vif_cleanup(arvif); in ath12k_wow_cleanup()
[all …]
H A Dp2p.c72 static void ath12k_p2p_noa_ie_assign(struct ath12k_link_vif *arvif, void *ie,
75 struct ath12k *ar = arvif->ar; in ath12k_p2p_noa_ie_assign()
79 kfree(arvif->ahvif->u.ap.noa_data); in ath12k_p2p_noa_ie_assign()
81 arvif->ahvif->u.ap.noa_data = ie; in ath12k_p2p_noa_ie_assign()
82 arvif->ahvif->u.ap.noa_len = len; in ath12k_p2p_noa_ie_assign()
85 static void __ath12k_p2p_noa_update(struct ath12k_link_vif *arvif,
88 struct ath12k *ar = arvif->ar; in __ath12k_p2p_noa_update()
94 ath12k_p2p_noa_ie_assign(arvif, NULL, 0); in __ath12k_p2p_noa_update()
105 ath12k_p2p_noa_ie_assign(arvif, ie, len); in __ath12k_p2p_noa_update()
108 void ath12k_p2p_noa_update(struct ath12k_link_vif *arvif,
73 ath12k_p2p_noa_ie_assign(struct ath12k_link_vif * arvif,void * ie,size_t len) ath12k_p2p_noa_ie_assign() argument
86 __ath12k_p2p_noa_update(struct ath12k_link_vif * arvif,const struct ath12k_wmi_p2p_noa_info * noa) __ath12k_p2p_noa_update() argument
109 ath12k_p2p_noa_update(struct ath12k_link_vif * arvif,const struct ath12k_wmi_p2p_noa_info * noa) ath12k_p2p_noa_update() argument
124 struct ath12k_link_vif *arvif; ath12k_p2p_noa_update_vdev_iter() local
[all...]
H A Dpeer.c135 int ath12k_peer_create(struct ath12k *ar, struct ath12k_link_vif *arvif, in ath12k_peer_create() argument
139 struct ieee80211_vif *vif = ath12k_ahvif_to_vif(arvif->ahvif); in ath12k_peer_create()
140 struct ath12k_vif *ahvif = arvif->ahvif; in ath12k_peer_create()
143 u8 link_id = arvif->link_id; in ath12k_peer_create()
250 if (arvif->link_id < IEEE80211_MLD_MAX_NUM_LINKS) { in ath12k_peer_create()
253 arvif->vdev_id, sta, in ath12k_peer_create()
288 struct ath12k_link_vif *arvif; in ath12k_peer_mlo_link_peers_delete()
305 arvif = wiphy_dereference(ah->hw->wiphy, ahvif->link[link_id]); in ath12k_peer_mlo_link_peers_delete()
307 if (!arvif || !arsta) in ath12k_peer_mlo_link_peers_delete()
310 ar = arvif in ath12k_peer_mlo_link_peers_delete()
279 struct ath12k_link_vif *arvif; ath12k_peer_mlo_link_peers_delete() local
[all...]
H A Dwmi.c771 int ath12k_wmi_mgmt_send(struct ath12k_link_vif *arvif, u32 buf_id, in ath12k_wmi_mgmt_send()
774 struct ath12k *ar = arvif->ar; in ath12k_wmi_mgmt_send()
779 struct ieee80211_vif *vif = ath12k_ahvif_to_vif(arvif->ahvif); in ath12k_wmi_mgmt_send()
787 u32 vdev_id = arvif->vdev_id; in ath12k_wmi_mgmt_send()
803 ab->hw_params->hw_ops->is_frame_link_agnostic(arvif, mgmt)) { in ath12k_wmi_mgmt_send()
1989 int ath12k_wmi_bcn_tmpl(struct ath12k_link_vif *arvif, in ath12k_wmi_bcn_tmpl()
1994 struct ath12k *ar = arvif->ar; in ath12k_wmi_bcn_tmpl()
1999 struct ath12k_vif *ahvif = arvif->ahvif; in ath12k_wmi_bcn_tmpl()
2001 u32 vdev_id = arvif->vdev_id; in ath12k_wmi_bcn_tmpl()
2009 conf = ath12k_mac_get_link_bss_conf(arvif); in ath12k_wmi_bcn_tmpl()
713 ath12k_wmi_mgmt_send(struct ath12k_link_vif * arvif,u32 buf_id,struct sk_buff * frame) ath12k_wmi_mgmt_send() argument
1931 ath12k_wmi_bcn_tmpl(struct ath12k_link_vif * arvif,struct ieee80211_mutable_offsets * offs,struct sk_buff * bcn,struct ath12k_wmi_bcn_tmpl_ema_arg * ema_args) ath12k_wmi_bcn_tmpl() argument
3912 struct ath12k_link_vif *arvif; ath12k_wmi_obss_color_collision_event() local
7096 struct ath12k_link_vif *arvif; ath12k_bcn_tx_status_event() local
7404 struct ath12k_link_vif *arvif; ath12k_peer_sta_kickout_event() local
7460 struct ath12k_link_vif *arvif; ath12k_roam_event() local
7794 struct ath12k_link_vif *arvif; ath12k_wmi_fw_vdev_stats_dump() local
7873 struct ath12k_link_vif *arvif; ath12k_wmi_fw_bcn_stats_dump() local
8218 struct ath12k_link_vif *arvif; ath12k_wmi_tlv_fw_stats_data_parse() local
8335 struct ath12k_link_vif *arvif; ath12k_wmi_tlv_rssi_chain_parse() local
8596 struct ath12k_link_vif *arvif; ath12k_wmi_process_csa_switch_count_event() local
9096 struct ath12k_link_vif *arvif; ath12k_wmi_gtk_offload_status_event() local
10074 struct ath12k_link_vif *arvif; ath12k_wmi_simulate_radar() local
10757 ath12k_wmi_arp_ns_offload(struct ath12k * ar,struct ath12k_link_vif * arvif,struct wmi_arp_ns_offload_arg * offload,bool enable) ath12k_wmi_arp_ns_offload() argument
10813 ath12k_wmi_gtk_rekey_offload(struct ath12k * ar,struct ath12k_link_vif * arvif,bool enable) ath12k_wmi_gtk_rekey_offload() argument
10856 ath12k_wmi_gtk_rekey_getinfo(struct ath12k * ar,struct ath12k_link_vif * arvif) ath12k_wmi_gtk_rekey_getinfo() argument
[all...]
/linux/drivers/net/wireless/ath/ath11k/
H A Dwow.c96 static int ath11k_wow_vif_cleanup(struct ath11k_vif *arvif) in ath11k_wow_vif_cleanup() argument
98 struct ath11k *ar = arvif->ar; in ath11k_wow_vif_cleanup()
102 ret = ath11k_wmi_wow_add_wakeup_event(ar, arvif->vdev_id, i, 0); in ath11k_wow_vif_cleanup()
105 wow_wakeup_event(i), arvif->vdev_id, ret); in ath11k_wow_vif_cleanup()
111 ret = ath11k_wmi_wow_del_pattern(ar, arvif->vdev_id, i); in ath11k_wow_vif_cleanup()
114 i, arvif->vdev_id, ret); in ath11k_wow_vif_cleanup()
124 struct ath11k_vif *arvif; in ath11k_wow_cleanup() local
129 list_for_each_entry(arvif, &ar->arvifs, list) { in ath11k_wow_cleanup()
130 ret = ath11k_wow_vif_cleanup(arvif); in ath11k_wow_cleanup()
133 arvif in ath11k_wow_cleanup()
346 ath11k_vif_wow_set_wakeups(struct ath11k_vif * arvif,struct cfg80211_wowlan * wowlan) ath11k_vif_wow_set_wakeups() argument
471 struct ath11k_vif *arvif; ath11k_wow_set_wakeups() local
488 ath11k_vif_wow_clean_nlo(struct ath11k_vif * arvif) ath11k_vif_wow_clean_nlo() argument
516 struct ath11k_vif *arvif; ath11k_wow_nlo_cleanup() local
535 struct ath11k_vif *arvif; ath11k_wow_set_hw_filter() local
559 struct ath11k_vif *arvif; ath11k_wow_clear_hw_filter() local
579 struct ath11k_vif *arvif; ath11k_wow_arp_ns_offload() local
602 struct ath11k_vif *arvif; ath11k_gtk_rekey_offload() local
660 struct ath11k_vif *arvif; ath11k_wow_set_keepalive() local
[all...]
H A Dp2p.c80 static void ath11k_p2p_noa_ie_assign(struct ath11k_vif *arvif, void *ie, in ath11k_p2p_noa_ie_assign() argument
83 struct ath11k *ar = arvif->ar; in ath11k_p2p_noa_ie_assign()
87 kfree(arvif->u.ap.noa_data); in ath11k_p2p_noa_ie_assign()
89 arvif->u.ap.noa_data = ie; in ath11k_p2p_noa_ie_assign()
90 arvif->u.ap.noa_len = len; in ath11k_p2p_noa_ie_assign()
93 static void __ath11k_p2p_noa_update(struct ath11k_vif *arvif, in __ath11k_p2p_noa_update() argument
96 struct ath11k *ar = arvif->ar; in __ath11k_p2p_noa_update()
102 ath11k_p2p_noa_ie_assign(arvif, NULL, 0); in __ath11k_p2p_noa_update()
113 ath11k_p2p_noa_ie_assign(arvif, ie, len); } in __ath11k_p2p_noa_update()
115 void ath11k_p2p_noa_update(struct ath11k_vif *arvif, in ath11k_p2p_noa_update() argument
128 struct ath11k_vif *arvif = ath11k_vif_to_arvif(vif); ath11k_p2p_noa_update_vdev_iter() local
[all...]
H A Ddebugfs.c270 struct ath11k_vif *arvif; in ath11k_open_bcn_stats()
292 list_for_each_entry(arvif, &ar->arvifs, list) { in ath11k_open_bcn_stats()
293 if (!arvif->is_up) in ath11k_open_bcn_stats()
296 req_param.vdev_id = arvif->vdev_id; in ath11k_open_bcn_stats()
1555 struct ath11k_vif *arvif = file->private_data; in ath11k_write_twt_add_dialog()
1558 struct ath11k *ar = arvif->ar; in ath11k_write_twt_add_dialog()
1600 if (arvif->vif->type == NL80211_IFTYPE_STATION) { in ath11k_write_twt_add_dialog()
1609 params.vdev_id = arvif->vdev_id; in ath11k_write_twt_add_dialog()
1611 ret = ath11k_wmi_send_twt_add_dialog_cmd(arvif->ar, &params); in ath11k_write_twt_add_dialog()
1618 if (arvif in ath11k_write_twt_add_dialog()
271 struct ath11k_vif *arvif; ath11k_open_bcn_stats() local
1556 struct ath11k_vif *arvif = file->private_data; ath11k_write_twt_add_dialog() local
1632 struct ath11k_vif *arvif = file->private_data; ath11k_write_twt_del_dialog() local
1679 struct ath11k_vif *arvif = file->private_data; ath11k_write_twt_pause_dialog() local
1718 struct ath11k_vif *arvif = file->private_data; ath11k_write_twt_resume_dialog() local
1778 struct ath11k_vif *arvif = ath11k_vif_to_arvif(vif); ath11k_debugfs_op_vif_add() local
[all...]
H A Dspectral.c158 struct ath11k_vif *arvif; in ath11k_spectral_get_vdev()
166 list_for_each_entry(arvif, &ar->arvifs, list) in ath11k_spectral_get_vdev()
167 if (arvif->spectral_enabled) in ath11k_spectral_get_vdev()
168 return arvif; in ath11k_spectral_get_vdev()
171 return list_first_entry(&ar->arvifs, typeof(*arvif), list); in ath11k_spectral_get_vdev()
176 struct ath11k_vif *arvif; in ath11k_spectral_scan_trigger()
181 arvif = ath11k_spectral_get_vdev(ar); in ath11k_spectral_scan_trigger()
182 if (!arvif) in ath11k_spectral_scan_trigger()
190 ret = ath11k_wmi_vdev_spectral_enable(ar, arvif->vdev_id, in ath11k_spectral_scan_trigger()
196 ret = ath11k_wmi_vdev_spectral_enable(ar, arvif in ath11k_spectral_scan_trigger()
159 struct ath11k_vif *arvif; ath11k_spectral_get_vdev() local
177 struct ath11k_vif *arvif; ath11k_spectral_scan_trigger() local
210 struct ath11k_vif *arvif; ath11k_spectral_scan_config() local
884 ath11k_spectral_vif_stop(struct ath11k_vif * arvif) ath11k_spectral_vif_stop() argument
[all...]
H A Dspectral.h46 int ath11k_spectral_vif_stop(struct ath11k_vif *arvif);
62 static inline int ath11k_spectral_vif_stop(struct ath11k_vif *arvif) in ath11k_spectral_vif_stop() argument
H A Dmac.h157 u8 ath11k_mac_get_target_pdev_id_from_vif(struct ath11k_vif *arvif);
174 void ath11k_mac_bcn_tx_event(struct ath11k_vif *arvif);
176 int ath11k_mac_vif_set_keepalive(struct ath11k_vif *arvif,
H A Ddp_tx.c16 ath11k_dp_tx_get_encap_type(struct ath11k_vif *arvif, struct sk_buff *skb)
19 struct ath11k_base *ab = arvif->ar->ab; in ath11k_dp_tx_get_encap_type()
82 int ath11k_dp_tx(struct ath11k *ar, struct ath11k_vif *arvif,
143 ti.encap_type = ath11k_dp_tx_get_encap_type(arvif, skb); in ath11k_dp_tx()
151 ti.meta_data_flags = arvif->tcl_metadata; in ath11k_dp_tx()
166 ti.addr_search_flags = arvif->hal_addr_search_flags; in ath11k_dp_tx()
167 ti.search_type = arvif->search_type; in ath11k_dp_tx()
171 ti.bss_ast_hash = arvif->ast_hash; in ath11k_dp_tx()
172 ti.bss_ast_idx = arvif->ast_idx; in ath11k_dp_tx()
184 if (ieee80211_vif_is_mesh(arvif in ath11k_dp_tx()
17 ath11k_dp_tx_get_encap_type(struct ath11k_vif * arvif,struct sk_buff * skb) ath11k_dp_tx_get_encap_type() argument
83 ath11k_dp_tx(struct ath11k * ar,struct ath11k_vif * arvif,struct ath11k_sta * arsta,struct sk_buff * skb) ath11k_dp_tx() argument
[all...]
H A Dp2p.h18 void ath11k_p2p_noa_update(struct ath11k_vif *arvif,
H A Dwmi.c1031 struct ath11k_vif *arvif; in ath11k_wmi_vdev_up() local
1035 arvif = ath11k_mac_get_arvif(ar, vdev_id); in ath11k_wmi_vdev_up()
1055 if (arvif && arvif->vif->type == NL80211_IFTYPE_STATION) { in ath11k_wmi_vdev_up()
1056 bss_conf = &arvif->vif->bss_conf; in ath11k_wmi_vdev_up()
1776 struct ath11k_vif *arvif = ath11k_mac_get_arvif(ar, vdev_id); in ath11k_wmi_bcn_tmpl() local
1778 if (!arvif) { in ath11k_wmi_bcn_tmpl()
1783 vif = arvif->vif; in ath11k_wmi_bcn_tmpl()
4098 struct ath11k_vif *arvif; in ath11k_wmi_obss_color_collision_event() local
4118 arvif = ath11k_mac_get_arvif_by_vdev_id(ab, ev->vdev_id); in ath11k_wmi_obss_color_collision_event()
4119 if (!arvif) { in ath11k_wmi_obss_color_collision_event()
[all …]
H A Dpeer.c370 int ath11k_peer_create(struct ath11k *ar, struct ath11k_vif *arvif, in ath11k_peer_create() argument
440 if (arvif->vif->type == NL80211_IFTYPE_STATION) { in ath11k_peer_create()
441 arvif->ast_hash = peer->ast_hash; in ath11k_peer_create()
442 arvif->ast_idx = peer->hw_peer_id; in ath11k_peer_create()
H A Ddp_tx.h22 int ath11k_dp_tx(struct ath11k *ar, struct ath11k_vif *arvif,

12