Lines Matching defs:ar

199 int ath10k_mac_ext_resource_config(struct ath10k *ar, u32 val)  in ath10k_mac_ext_resource_config()
228 struct ath10k *ar = arvif->ar; in ath10k_send_key() local
288 struct ath10k *ar = arvif->ar; in ath10k_install_key() local
313 struct ath10k *ar = arvif->ar; in ath10k_install_peer_wep_keys() local
401 struct ath10k *ar = arvif->ar; in ath10k_clear_peer_keys() local
439 bool ath10k_mac_is_peer_wep_key_set(struct ath10k *ar, const u8 *addr, in ath10k_mac_is_peer_wep_key_set()
467 struct ath10k *ar = arvif->ar; in ath10k_clear_vdev_key() local
515 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_update_wep_key() local
675 static int ath10k_mac_num_chanctxs(struct ath10k *ar) in ath10k_mac_num_chanctxs()
696 static void ath10k_wait_for_peer_delete_done(struct ath10k *ar, u32 vdev_id, in ath10k_wait_for_peer_delete_done()
716 static int ath10k_peer_create(struct ath10k *ar, in ath10k_peer_create()
776 struct ath10k *ar = arvif->ar; in ath10k_mac_set_kickout() local
821 struct ath10k *ar = arvif->ar; in ath10k_mac_set_rts() local
828 static int ath10k_peer_delete(struct ath10k *ar, u32 vdev_id, const u8 *addr) in ath10k_peer_delete()
859 static void ath10k_peer_cleanup(struct ath10k *ar, u32 vdev_id) in ath10k_peer_cleanup()
898 static void ath10k_peer_cleanup_all(struct ath10k *ar) in ath10k_peer_cleanup_all()
920 static int ath10k_mac_tdls_peer_update(struct ath10k *ar, u32 vdev_id, in ath10k_mac_tdls_peer_update()
958 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_beacon_free() local
981 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_beacon_cleanup() local
994 static inline int ath10k_vdev_setup_sync(struct ath10k *ar) in ath10k_vdev_setup_sync()
1011 static int ath10k_monitor_vdev_start(struct ath10k *ar, int vdev_id) in ath10k_monitor_vdev_start()
1084 static int ath10k_monitor_vdev_stop(struct ath10k *ar) in ath10k_monitor_vdev_stop()
1113 static int ath10k_monitor_vdev_create(struct ath10k *ar) in ath10k_monitor_vdev_create()
1144 static int ath10k_monitor_vdev_delete(struct ath10k *ar) in ath10k_monitor_vdev_delete()
1164 static int ath10k_monitor_start(struct ath10k *ar) in ath10k_monitor_start()
1189 static int ath10k_monitor_stop(struct ath10k *ar) in ath10k_monitor_stop()
1213 static bool ath10k_mac_monitor_vdev_is_needed(struct ath10k *ar) in ath10k_mac_monitor_vdev_is_needed()
1237 static bool ath10k_mac_monitor_vdev_is_allowed(struct ath10k *ar) in ath10k_mac_monitor_vdev_is_allowed()
1253 static int ath10k_monitor_recalc(struct ath10k *ar) in ath10k_monitor_recalc()
1293 struct ath10k *ar = arvif->ar; in ath10k_mac_can_set_cts_prot() local
1307 struct ath10k *ar = arvif->ar; in ath10k_mac_set_cts_prot() local
1323 struct ath10k *ar = arvif->ar; in ath10k_recalc_rtscts_prot() local
1346 static int ath10k_start_cac(struct ath10k *ar) in ath10k_start_cac()
1367 static int ath10k_stop_cac(struct ath10k *ar) in ath10k_stop_cac()
1393 static bool ath10k_mac_has_radar_enabled(struct ath10k *ar) in ath10k_mac_has_radar_enabled()
1404 static void ath10k_recalc_radar_detection(struct ath10k *ar) in ath10k_recalc_radar_detection()
1432 struct ath10k *ar = arvif->ar; in ath10k_vdev_stop() local
1468 struct ath10k *ar = arvif->ar; in ath10k_vdev_start_restart() local
1549 struct ath10k *ar = arvif->ar; in ath10k_mac_setup_bcn_p2p_ie() local
1607 struct ath10k *ar = arvif->ar; in ath10k_mac_setup_bcn_tmpl() local
1657 struct ath10k *ar = arvif->ar; in ath10k_mac_setup_prb_tmpl() local
1693 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_fix_hidden_ssid() local
1768 struct ath10k *ar = arvif->ar; in ath10k_control_beaconing() local
1817 struct ath10k *ar = arvif->ar; in ath10k_control_ibss() local
1842 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_recalc_ps_wake_threshold() local
1867 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_recalc_ps_poll_count() local
1891 static int ath10k_mac_num_vifs_started(struct ath10k *ar) in ath10k_mac_num_vifs_started()
1907 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_setup_ps() local
1975 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_disable_keepalive() local
2007 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_ap_csa_count_down() local
2046 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_ap_csa_work() local
2069 void ath10k_mac_handle_beacon(struct ath10k *ar, struct sk_buff *skb) in ath10k_mac_handle_beacon()
2082 struct ath10k *ar = arvif->ar; in ath10k_mac_handle_beacon_miss_iter() local
2102 void ath10k_mac_handle_beacon_miss(struct ath10k *ar, u32 vdev_id) in ath10k_mac_handle_beacon_miss()
2126 static u32 ath10k_peer_assoc_h_listen_intval(struct ath10k *ar, in ath10k_peer_assoc_h_listen_intval()
2143 static void ath10k_peer_assoc_h_basic(struct ath10k *ar, in ath10k_peer_assoc_h_basic()
2167 static void ath10k_peer_assoc_h_crypto(struct ath10k *ar, in ath10k_peer_assoc_h_crypto()
2219 static void ath10k_peer_assoc_h_rates(struct ath10k *ar, in ath10k_peer_assoc_h_rates()
2281 static void ath10k_peer_assoc_h_ht(struct ath10k *ar, in ath10k_peer_assoc_h_ht()
2387 static int ath10k_peer_assoc_qos_ap(struct ath10k *ar, in ath10k_peer_assoc_qos_ap()
2506 static void ath10k_peer_assoc_h_vht(struct ath10k *ar, in ath10k_peer_assoc_h_vht()
2597 static void ath10k_peer_assoc_h_qos(struct ath10k *ar, in ath10k_peer_assoc_h_qos()
2637 static enum wmi_phy_mode ath10k_mac_get_phymode_vht(struct ath10k *ar, in ath10k_mac_get_phymode_vht()
2664 static void ath10k_peer_assoc_h_phymode(struct ath10k *ar, in ath10k_peer_assoc_h_phymode()
2733 static int ath10k_peer_assoc_prepare(struct ath10k *ar, in ath10k_peer_assoc_prepare()
2760 static int ath10k_setup_peer_smps(struct ath10k *ar, struct ath10k_vif *arvif, in ath10k_setup_peer_smps()
2780 static int ath10k_mac_vif_recalc_txbf(struct ath10k *ar, in ath10k_mac_vif_recalc_txbf()
2850 struct ath10k *ar = hw->priv; in ath10k_bss_assoc() local
2944 struct ath10k *ar = hw->priv; in ath10k_bss_disassoc() local
2973 static int ath10k_station_assoc(struct ath10k *ar, in ath10k_station_assoc()
3041 static int ath10k_station_disassoc(struct ath10k *ar, in ath10k_station_disassoc()
3074 static int ath10k_update_channel_list(struct ath10k *ar) in ath10k_update_channel_list()
3195 static void ath10k_regd_update(struct ath10k *ar) in ath10k_regd_update()
3231 static void ath10k_mac_update_channel_list(struct ath10k *ar, in ath10k_mac_update_channel_list()
3250 struct ath10k *ar = hw->priv; in ath10k_reg_notifier() local
3275 static void ath10k_stop_radar_confirmation(struct ath10k *ar) in ath10k_stop_radar_confirmation()
3295 void ath10k_mac_tx_lock(struct ath10k *ar, int reason) in ath10k_mac_tx_lock()
3307 struct ath10k *ar = data; in ath10k_mac_tx_unlock_iter() local
3316 void ath10k_mac_tx_unlock(struct ath10k *ar, int reason) in ath10k_mac_tx_unlock()
3336 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_tx_lock() local
3347 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_tx_unlock() local
3367 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_handle_tx_pause() local
3404 void ath10k_mac_handle_tx_pause_vdev(struct ath10k *ar, u32 vdev_id, in ath10k_mac_handle_tx_pause_vdev()
3423 ath10k_mac_tx_h_get_txmode(struct ath10k *ar, in ath10k_mac_tx_h_get_txmode()
3553 static void ath10k_tx_h_add_p2p_noa_ie(struct ath10k *ar, in ath10k_tx_h_add_p2p_noa_ie()
3575 static void ath10k_mac_tx_h_fill_cb(struct ath10k *ar, in ath10k_mac_tx_h_fill_cb()
3611 bool ath10k_mac_tx_frm_has_freq(struct ath10k *ar) in ath10k_mac_tx_frm_has_freq()
3624 static int ath10k_mac_tx_wmi_mgmt(struct ath10k *ar, struct sk_buff *skb) in ath10k_mac_tx_wmi_mgmt()
3647 ath10k_mac_tx_h_get_txpath(struct ath10k *ar, in ath10k_mac_tx_h_get_txpath()
3671 static int ath10k_mac_tx_submit(struct ath10k *ar, in ath10k_mac_tx_submit()
3707 static int ath10k_mac_tx(struct ath10k *ar, in ath10k_mac_tx()
3761 void ath10k_offchan_tx_purge(struct ath10k *ar) in ath10k_offchan_tx_purge()
3776 struct ath10k *ar = container_of(work, struct ath10k, offchan_tx_work); in ath10k_offchan_tx_work() local
3877 void ath10k_mgmt_over_wmi_tx_purge(struct ath10k *ar) in ath10k_mgmt_over_wmi_tx_purge()
3892 struct ath10k *ar = container_of(work, struct ath10k, wmi_mgmt_tx_work); in ath10k_mgmt_over_wmi_tx_work() local
3938 static void ath10k_mac_txq_unref(struct ath10k *ar, struct ieee80211_txq *txq) in ath10k_mac_txq_unref()
3956 struct ieee80211_txq *ath10k_mac_txq_lookup(struct ath10k *ar, in ath10k_mac_txq_lookup()
3982 struct ath10k *ar = hw->priv; in ath10k_mac_tx_can_push() local
4006 static u16 ath10k_mac_update_airtime(struct ath10k *ar, in ath10k_mac_update_airtime()
4047 struct ath10k *ar = hw->priv; in ath10k_mac_tx_push_txq() local
4142 void ath10k_mac_tx_push_pending(struct ath10k *ar) in ath10k_mac_tx_push_pending()
4166 void __ath10k_scan_finish(struct ath10k *ar) in __ath10k_scan_finish()
4197 void ath10k_scan_finish(struct ath10k *ar) in ath10k_scan_finish()
4204 static int ath10k_scan_stop(struct ath10k *ar) in ath10k_scan_stop()
4245 static void ath10k_scan_abort(struct ath10k *ar) in ath10k_scan_abort()
4282 struct ath10k *ar = container_of(work, struct ath10k, in ath10k_scan_timeout_work() local
4290 static int ath10k_start_scan(struct ath10k *ar, in ath10k_start_scan()
4332 struct ath10k *ar = hw->priv; in ath10k_mac_op_tx() local
4398 struct ath10k *ar = hw->priv; in ath10k_mac_op_wake_tx_queue() local
4424 void ath10k_drain_tx(struct ath10k *ar) in ath10k_drain_tx()
4436 void ath10k_halt(struct ath10k *ar) in ath10k_halt()
4467 struct ath10k *ar = hw->priv; in ath10k_get_antenna() local
4479 static void ath10k_check_chain_mask(struct ath10k *ar, u32 cm, const char *dbg) in ath10k_check_chain_mask()
4492 static int ath10k_mac_get_vht_cap_bf_sts(struct ath10k *ar) in ath10k_mac_get_vht_cap_bf_sts()
4509 static int ath10k_mac_get_vht_cap_bf_sound_dim(struct ath10k *ar) in ath10k_mac_get_vht_cap_bf_sound_dim()
4525 static struct ieee80211_sta_vht_cap ath10k_create_vht_cap(struct ath10k *ar) in ath10k_create_vht_cap()
4589 static struct ieee80211_sta_ht_cap ath10k_get_ht_cap(struct ath10k *ar) in ath10k_get_ht_cap()
4656 static void ath10k_mac_setup_ht_vht_cap(struct ath10k *ar) in ath10k_mac_setup_ht_vht_cap()
4676 static int __ath10k_set_antenna(struct ath10k *ar, u32 tx_ant, u32 rx_ant) in __ath10k_set_antenna()
4716 struct ath10k *ar = hw->priv; in ath10k_set_antenna() local
4725 static int __ath10k_fetch_bb_timing_dt(struct ath10k *ar, in __ath10k_fetch_bb_timing_dt()
4759 struct ath10k *ar = hw->priv; in ath10k_start() local
4957 struct ath10k *ar = hw->priv; in ath10k_stop() local
4973 static int ath10k_config_ps(struct ath10k *ar) in ath10k_config_ps()
4991 static int ath10k_mac_txpower_setup(struct ath10k *ar, int txpower) in ath10k_mac_txpower_setup()
5019 static int ath10k_mac_txpower_recalc(struct ath10k *ar) in ath10k_mac_txpower_recalc()
5051 struct ath10k *ar = hw->priv; in ath10k_config() local
5085 struct ath10k *ar = arvif->ar; in ath10k_mac_set_txbf_conf() local
5133 struct ath10k *ar = hw->priv; in ath10k_add_interface() local
5494 struct ath10k *ar = hw->priv; in ath10k_remove_interface() local
5622 struct ath10k *ar = hw->priv; in ath10k_configure_filter() local
5643 struct ath10k *ar = hw->priv; in ath10k_bss_info_changed() local
5904 struct ath10k *ar = hw->priv; in ath10k_mac_op_set_coverage_class() local
5949 struct ath10k *ar = hw->priv; in ath10k_hw_scan() local
6052 struct ath10k *ar = hw->priv; in ath10k_cancel_hw_scan() local
6061 static void ath10k_set_key_h_def_keyidx(struct ath10k *ar, in ath10k_set_key_h_def_keyidx()
6107 struct ath10k *ar = hw->priv; in ath10k_set_key() local
6253 struct ath10k *ar = hw->priv; in ath10k_set_default_unicast_key() local
6285 struct ath10k *ar; in ath10k_sta_rc_update_wk() local
6386 struct ath10k *ar = arvif->ar; in ath10k_mac_inc_num_stations() local
6404 struct ath10k *ar = arvif->ar; in ath10k_mac_dec_num_stations() local
6418 struct ath10k *ar = hw->priv; in ath10k_sta_set_txpwr() local
6455 struct ath10k *ar = hw->priv; in ath10k_sta_state() local
6708 static int ath10k_conf_tx_uapsd(struct ath10k *ar, struct ieee80211_vif *vif, in ath10k_conf_tx_uapsd()
6818 struct ath10k *ar = hw->priv; in ath10k_conf_tx() local
6892 struct ath10k *ar = hw->priv; in ath10k_remain_on_channel() local
6977 struct ath10k *ar = hw->priv; in ath10k_cancel_remain_on_channel() local
7001 struct ath10k *ar = hw->priv; in ath10k_set_rts_threshold() local
7037 void ath10k_mac_wait_tx_complete(struct ath10k *ar) in ath10k_mac_wait_tx_complete()
7071 struct ath10k *ar = hw->priv; in ath10k_flush() local
7104 struct ath10k *ar = hw->priv; in ath10k_reconfig_complete() local
7124 ath10k_mac_update_bss_chan_survey(struct ath10k *ar, in ath10k_mac_update_bss_chan_survey()
7159 struct ath10k *ar = hw->priv; in ath10k_get_survey() local
7197 ath10k_mac_bitrate_mask_has_single_rate(struct ath10k *ar, in ath10k_mac_bitrate_mask_has_single_rate()
7221 ath10k_mac_bitrate_mask_get_single_nss(struct ath10k *ar, in ath10k_mac_bitrate_mask_get_single_nss()
7270 ath10k_mac_bitrate_mask_get_single_rate(struct ath10k *ar, in ath10k_mac_bitrate_mask_get_single_rate()
7335 struct ath10k *ar = arvif->ar; in ath10k_mac_set_fixed_rate_params() local
7377 ath10k_mac_can_set_bitrate_mask(struct ath10k *ar, in ath10k_mac_can_set_bitrate_mask()
7408 static bool ath10k_mac_set_vht_bitrate_mask_fixup(struct ath10k *ar, in ath10k_mac_set_vht_bitrate_mask_fixup()
7433 struct ath10k *ar = arvif->ar; in ath10k_mac_set_bitrate_mask_iter() local
7453 struct ath10k *ar = arvif->ar; in ath10k_mac_clr_bitrate_mask_iter() local
7474 struct ath10k *ar = arvif->ar; in ath10k_mac_op_set_bitrate_mask() local
7583 struct ath10k *ar = hw->priv; in ath10k_sta_rc_update() local
7667 struct ath10k *ar = hw->priv; in ath10k_offset_tsf() local
7692 struct ath10k *ar = hw->priv; in ath10k_ampdu_action() local
7723 ath10k_mac_update_rx_channel(struct ath10k *ar, in ath10k_mac_update_rx_channel()
7774 ath10k_mac_update_vif_chan(struct ath10k *ar, in ath10k_mac_update_vif_chan()
7865 struct ath10k *ar = hw->priv; in ath10k_mac_op_add_chanctx() local
7889 struct ath10k *ar = hw->priv; in ath10k_mac_op_remove_chanctx() local
7951 struct ath10k *ar = hw->priv; in ath10k_mac_op_change_chanctx() local
8008 struct ath10k *ar = hw->priv; in ath10k_mac_op_assign_vif_chanctx() local
8087 struct ath10k *ar = hw->priv; in ath10k_mac_op_unassign_vif_chanctx() local
8126 struct ath10k *ar = hw->priv; in ath10k_mac_op_switch_vif_chanctx() local
8143 struct ath10k *ar; in ath10k_mac_op_sta_pre_rcu_remove() local
8159 struct ath10k *ar = arsta->arvif->ar; in ath10k_sta_statistics() local
8308 struct ath10k *ar; in ath10k_mac_create() local
8327 void ath10k_mac_destroy(struct ath10k *ar) in ath10k_mac_destroy()
8551 struct ath10k_vif *ath10k_get_arvif(struct ath10k *ar, u32 vdev_id) in ath10k_get_arvif()
8575 static u32 ath10k_mac_wrdd_get_mcc(struct ath10k *ar, union acpi_object *wrdd) in ath10k_mac_wrdd_get_mcc()
8611 static int ath10k_mac_get_wrdd_regulatory(struct ath10k *ar, u16 *rd) in ath10k_mac_get_wrdd_regulatory()
8658 static int ath10k_mac_init_rd(struct ath10k *ar) in ath10k_mac_init_rd()
8674 int ath10k_mac_register(struct ath10k *ar) in ath10k_mac_register()
9035 void ath10k_mac_unregister(struct ath10k *ar) in ath10k_mac_unregister()