Lines Matching defs:ar

213 int ath10k_mac_ext_resource_config(struct ath10k *ar, u32 val)  in ath10k_mac_ext_resource_config()
242 struct ath10k *ar = arvif->ar; in ath10k_send_key() local
303 struct ath10k *ar = arvif->ar; in ath10k_install_key() local
328 struct ath10k *ar = arvif->ar; in ath10k_install_peer_wep_keys() local
416 struct ath10k *ar = arvif->ar; in ath10k_clear_peer_keys() local
454 bool ath10k_mac_is_peer_wep_key_set(struct ath10k *ar, const u8 *addr, in ath10k_mac_is_peer_wep_key_set()
482 struct ath10k *ar = arvif->ar; in ath10k_clear_vdev_key() local
530 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_update_wep_key() local
685 static int ath10k_mac_num_chanctxs(struct ath10k *ar) in ath10k_mac_num_chanctxs()
706 static void ath10k_wait_for_peer_delete_done(struct ath10k *ar, u32 vdev_id, in ath10k_wait_for_peer_delete_done()
726 static int ath10k_peer_create(struct ath10k *ar, in ath10k_peer_create()
779 struct ath10k *ar = arvif->ar; in ath10k_mac_set_kickout() local
824 struct ath10k *ar = arvif->ar; in ath10k_mac_set_rts() local
831 static int ath10k_peer_delete(struct ath10k *ar, u32 vdev_id, const u8 *addr) in ath10k_peer_delete()
862 static void ath10k_peer_map_cleanup(struct ath10k *ar, struct ath10k_peer *peer) in ath10k_peer_map_cleanup()
889 static void ath10k_peer_cleanup(struct ath10k *ar, u32 vdev_id) in ath10k_peer_cleanup()
908 static void ath10k_peer_cleanup_all(struct ath10k *ar) in ath10k_peer_cleanup_all()
930 static int ath10k_mac_tdls_peer_update(struct ath10k *ar, u32 vdev_id, in ath10k_mac_tdls_peer_update()
968 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_beacon_free() local
991 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_beacon_cleanup() local
1008 static inline int ath10k_vdev_setup_sync(struct ath10k *ar) in ath10k_vdev_setup_sync()
1025 static int ath10k_monitor_vdev_start(struct ath10k *ar, int vdev_id) in ath10k_monitor_vdev_start()
1098 static int ath10k_monitor_vdev_stop(struct ath10k *ar) in ath10k_monitor_vdev_stop()
1127 static int ath10k_monitor_vdev_create(struct ath10k *ar) in ath10k_monitor_vdev_create()
1158 static int ath10k_monitor_vdev_delete(struct ath10k *ar) in ath10k_monitor_vdev_delete()
1178 static int ath10k_monitor_start(struct ath10k *ar) in ath10k_monitor_start()
1203 static int ath10k_monitor_stop(struct ath10k *ar) in ath10k_monitor_stop()
1227 static bool ath10k_mac_monitor_vdev_is_needed(struct ath10k *ar) in ath10k_mac_monitor_vdev_is_needed()
1251 static bool ath10k_mac_monitor_vdev_is_allowed(struct ath10k *ar) in ath10k_mac_monitor_vdev_is_allowed()
1267 static int ath10k_monitor_recalc(struct ath10k *ar) in ath10k_monitor_recalc()
1307 struct ath10k *ar = arvif->ar; in ath10k_mac_can_set_cts_prot() local
1321 struct ath10k *ar = arvif->ar; in ath10k_mac_set_cts_prot() local
1337 struct ath10k *ar = arvif->ar; in ath10k_recalc_rtscts_prot() local
1360 static int ath10k_start_cac(struct ath10k *ar) in ath10k_start_cac()
1381 static int ath10k_stop_cac(struct ath10k *ar) in ath10k_stop_cac()
1407 static bool ath10k_mac_has_radar_enabled(struct ath10k *ar) in ath10k_mac_has_radar_enabled()
1418 static void ath10k_recalc_radar_detection(struct ath10k *ar) in ath10k_recalc_radar_detection()
1446 struct ath10k *ar = arvif->ar; in ath10k_vdev_stop() local
1482 struct ath10k *ar = arvif->ar; in ath10k_vdev_start_restart() local
1563 struct ath10k *ar = arvif->ar; in ath10k_mac_setup_bcn_p2p_ie() local
1621 struct ath10k *ar = arvif->ar; in ath10k_mac_setup_bcn_tmpl() local
1671 struct ath10k *ar = arvif->ar; in ath10k_mac_setup_prb_tmpl() local
1707 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_fix_hidden_ssid() local
1782 struct ath10k *ar = arvif->ar; in ath10k_control_beaconing() local
1830 struct ath10k *ar = arvif->ar; in ath10k_control_ibss() local
1855 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_recalc_ps_wake_threshold() local
1880 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_recalc_ps_poll_count() local
1904 static int ath10k_mac_num_vifs_started(struct ath10k *ar) in ath10k_mac_num_vifs_started()
1920 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_setup_ps() local
1988 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_disable_keepalive() local
2020 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_ap_csa_count_down() local
2059 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_ap_csa_work() local
2082 void ath10k_mac_handle_beacon(struct ath10k *ar, struct sk_buff *skb) in ath10k_mac_handle_beacon()
2095 struct ath10k *ar = arvif->ar; in ath10k_mac_handle_beacon_miss_iter() local
2115 void ath10k_mac_handle_beacon_miss(struct ath10k *ar, u32 vdev_id) in ath10k_mac_handle_beacon_miss()
2139 static u32 ath10k_peer_assoc_h_listen_intval(struct ath10k *ar, in ath10k_peer_assoc_h_listen_intval()
2156 static void ath10k_peer_assoc_h_basic(struct ath10k *ar, in ath10k_peer_assoc_h_basic()
2180 static void ath10k_peer_assoc_h_crypto(struct ath10k *ar, in ath10k_peer_assoc_h_crypto()
2234 static void ath10k_peer_assoc_h_rates(struct ath10k *ar, in ath10k_peer_assoc_h_rates()
2296 static void ath10k_peer_assoc_h_ht(struct ath10k *ar, in ath10k_peer_assoc_h_ht()
2403 static int ath10k_peer_assoc_qos_ap(struct ath10k *ar, in ath10k_peer_assoc_qos_ap()
2546 static void ath10k_peer_assoc_h_vht(struct ath10k *ar, in ath10k_peer_assoc_h_vht()
2654 static void ath10k_peer_assoc_h_qos(struct ath10k *ar, in ath10k_peer_assoc_h_qos()
2694 static enum wmi_phy_mode ath10k_mac_get_phymode_vht(struct ath10k *ar, in ath10k_mac_get_phymode_vht()
2723 static void ath10k_peer_assoc_h_phymode(struct ath10k *ar, in ath10k_peer_assoc_h_phymode()
2792 static int ath10k_peer_assoc_prepare(struct ath10k *ar, in ath10k_peer_assoc_prepare()
2819 static int ath10k_setup_peer_smps(struct ath10k *ar, struct ath10k_vif *arvif, in ath10k_setup_peer_smps()
2839 static int ath10k_mac_vif_recalc_txbf(struct ath10k *ar, in ath10k_mac_vif_recalc_txbf()
2904 static bool ath10k_mac_is_connected(struct ath10k *ar) in ath10k_mac_is_connected()
2916 static int ath10k_mac_txpower_setup(struct ath10k *ar, int txpower) in ath10k_mac_txpower_setup()
2961 static int ath10k_mac_txpower_recalc(struct ath10k *ar) in ath10k_mac_txpower_recalc()
2992 static int ath10k_mac_set_sar_power(struct ath10k *ar) in ath10k_mac_set_sar_power()
3008 struct ath10k *ar = hw->priv; in ath10k_mac_set_sar_specs() local
3061 struct ath10k *ar = hw->priv; in ath10k_bss_assoc() local
3162 struct ath10k *ar = hw->priv; in ath10k_bss_disassoc() local
3193 static int ath10k_new_peer_tid_config(struct ath10k *ar, in ath10k_new_peer_tid_config()
3256 static int ath10k_station_assoc(struct ath10k *ar, in ath10k_station_assoc()
3327 static int ath10k_station_disassoc(struct ath10k *ar, in ath10k_station_disassoc()
3360 static int ath10k_update_channel_list(struct ath10k *ar) in ath10k_update_channel_list()
3481 static void ath10k_regd_update(struct ath10k *ar) in ath10k_regd_update()
3517 static void ath10k_mac_update_channel_list(struct ath10k *ar, in ath10k_mac_update_channel_list()
3536 struct ath10k *ar = hw->priv; in ath10k_reg_notifier() local
3561 static void ath10k_stop_radar_confirmation(struct ath10k *ar) in ath10k_stop_radar_confirmation()
3581 void ath10k_mac_tx_lock(struct ath10k *ar, int reason) in ath10k_mac_tx_lock()
3593 struct ath10k *ar = data; in ath10k_mac_tx_unlock_iter() local
3602 void ath10k_mac_tx_unlock(struct ath10k *ar, int reason) in ath10k_mac_tx_unlock()
3622 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_tx_lock() local
3633 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_tx_unlock() local
3653 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_handle_tx_pause() local
3690 void ath10k_mac_handle_tx_pause_vdev(struct ath10k *ar, u32 vdev_id, in ath10k_mac_handle_tx_pause_vdev()
3709 ath10k_mac_tx_h_get_txmode(struct ath10k *ar, in ath10k_mac_tx_h_get_txmode()
3842 static void ath10k_tx_h_add_p2p_noa_ie(struct ath10k *ar, in ath10k_tx_h_add_p2p_noa_ie()
3864 static void ath10k_mac_tx_h_fill_cb(struct ath10k *ar, in ath10k_mac_tx_h_fill_cb()
3937 bool ath10k_mac_tx_frm_has_freq(struct ath10k *ar) in ath10k_mac_tx_frm_has_freq()
3950 static int ath10k_mac_tx_wmi_mgmt(struct ath10k *ar, struct sk_buff *skb) in ath10k_mac_tx_wmi_mgmt()
3966 ath10k_mac_tx_h_get_txpath(struct ath10k *ar, in ath10k_mac_tx_h_get_txpath()
3990 static int ath10k_mac_tx_submit(struct ath10k *ar, in ath10k_mac_tx_submit()
4026 static int ath10k_mac_tx(struct ath10k *ar, in ath10k_mac_tx()
4084 void ath10k_offchan_tx_purge(struct ath10k *ar) in ath10k_offchan_tx_purge()
4099 struct ath10k *ar = container_of(work, struct ath10k, offchan_tx_work); in ath10k_offchan_tx_work() local
4198 void ath10k_mgmt_over_wmi_tx_purge(struct ath10k *ar) in ath10k_mgmt_over_wmi_tx_purge()
4213 struct ath10k *ar = container_of(work, struct ath10k, wmi_mgmt_tx_work); in ath10k_mgmt_over_wmi_tx_work() local
4264 static void ath10k_mac_txq_unref(struct ath10k *ar, struct ieee80211_txq *txq) in ath10k_mac_txq_unref()
4282 struct ieee80211_txq *ath10k_mac_txq_lookup(struct ath10k *ar, in ath10k_mac_txq_lookup()
4308 struct ath10k *ar = hw->priv; in ath10k_mac_tx_can_push() local
4332 static u16 ath10k_mac_update_airtime(struct ath10k *ar, in ath10k_mac_update_airtime()
4373 struct ath10k *ar = hw->priv; in ath10k_mac_tx_push_txq() local
4468 void ath10k_mac_tx_push_pending(struct ath10k *ar) in ath10k_mac_tx_push_pending()
4492 void __ath10k_scan_finish(struct ath10k *ar) in __ath10k_scan_finish()
4526 void ath10k_scan_finish(struct ath10k *ar) in ath10k_scan_finish()
4533 static int ath10k_scan_stop(struct ath10k *ar) in ath10k_scan_stop()
4574 static void ath10k_scan_abort(struct ath10k *ar) in ath10k_scan_abort()
4611 struct ath10k *ar = container_of(work, struct ath10k, in ath10k_scan_timeout_work() local
4619 static int ath10k_start_scan(struct ath10k *ar, in ath10k_start_scan()
4661 struct ath10k *ar = hw->priv; in ath10k_mac_op_tx() local
4731 struct ath10k *ar = hw->priv; in ath10k_mac_op_wake_tx_queue() local
4759 void ath10k_drain_tx(struct ath10k *ar) in ath10k_drain_tx()
4773 void ath10k_halt(struct ath10k *ar) in ath10k_halt()
4804 struct ath10k *ar = hw->priv; in ath10k_get_antenna() local
4816 static bool ath10k_check_chain_mask(struct ath10k *ar, u32 cm, const char *dbg) in ath10k_check_chain_mask()
4830 static int ath10k_mac_get_vht_cap_bf_sts(struct ath10k *ar) in ath10k_mac_get_vht_cap_bf_sts()
4847 static int ath10k_mac_get_vht_cap_bf_sound_dim(struct ath10k *ar) in ath10k_mac_get_vht_cap_bf_sound_dim()
4863 static struct ieee80211_sta_vht_cap ath10k_create_vht_cap(struct ath10k *ar) in ath10k_create_vht_cap()
4920 static struct ieee80211_sta_ht_cap ath10k_get_ht_cap(struct ath10k *ar) in ath10k_get_ht_cap()
4987 static void ath10k_mac_setup_ht_vht_cap(struct ath10k *ar) in ath10k_mac_setup_ht_vht_cap()
5007 static int __ath10k_set_antenna(struct ath10k *ar, u32 tx_ant, u32 rx_ant) in __ath10k_set_antenna()
5051 struct ath10k *ar = hw->priv; in ath10k_set_antenna() local
5060 static int __ath10k_fetch_bb_timing_dt(struct ath10k *ar, in __ath10k_fetch_bb_timing_dt()
5092 static int ath10k_mac_rfkill_config(struct ath10k *ar) in ath10k_mac_rfkill_config()
5126 int ath10k_mac_rfkill_enable_radio(struct ath10k *ar, bool enable) in ath10k_mac_rfkill_enable_radio()
5151 struct ath10k *ar = hw->priv; in ath10k_start() local
5368 struct ath10k *ar = hw->priv; in ath10k_stop() local
5401 static int ath10k_config_ps(struct ath10k *ar) in ath10k_config_ps()
5421 struct ath10k *ar = hw->priv; in ath10k_config() local
5455 struct ath10k *ar = arvif->ar; in ath10k_mac_set_txbf_conf() local
5497 struct ath10k *ar = hw->priv; in ath10k_update_vif_offload() local
5527 struct ath10k *ar = hw->priv; in ath10k_add_interface() local
5900 struct ath10k *ar = hw->priv; in ath10k_remove_interface() local
6028 struct ath10k *ar = hw->priv; in ath10k_configure_filter() local
6048 static void ath10k_recalculate_mgmt_rate(struct ath10k *ar, in ath10k_recalculate_mgmt_rate()
6084 struct ath10k *ar = hw->priv; in ath10k_bss_info_changed() local
6324 struct ath10k *ar = hw->priv; in ath10k_mac_op_set_coverage_class() local
6369 struct ath10k *ar = hw->priv; in ath10k_hw_scan() local
6473 struct ath10k *ar = hw->priv; in ath10k_cancel_hw_scan() local
6482 static void ath10k_set_key_h_def_keyidx(struct ath10k *ar, in ath10k_set_key_h_def_keyidx()
6528 struct ath10k *ar = hw->priv; in ath10k_set_key() local
6683 struct ath10k *ar = hw->priv; in ath10k_set_default_unicast_key() local
6715 struct ath10k *ar; in ath10k_sta_rc_update_wk() local
6816 struct ath10k *ar = arvif->ar; in ath10k_mac_inc_num_stations() local
6834 struct ath10k *ar = arvif->ar; in ath10k_mac_dec_num_stations() local
6848 struct ath10k *ar = hw->priv; in ath10k_sta_set_txpwr() local
6881 struct ath10k *ar; member
6886 ath10k_mac_bitrate_mask_has_single_rate(struct ath10k *ar, in ath10k_mac_bitrate_mask_has_single_rate()
6910 ath10k_mac_bitrate_mask_get_single_rate(struct ath10k *ar, in ath10k_mac_bitrate_mask_get_single_rate()
6972 static int ath10k_mac_validate_rate_mask(struct ath10k *ar, in ath10k_mac_validate_rate_mask()
7006 ath10k_mac_tid_bitrate_config(struct ath10k *ar, in ath10k_mac_tid_bitrate_config()
7059 static int ath10k_mac_set_tid_config(struct ath10k *ar, struct ieee80211_sta *sta, in ath10k_mac_set_tid_config()
7193 ath10k_mac_parse_tid_config(struct ath10k *ar, in ath10k_mac_parse_tid_config()
7271 static int ath10k_mac_reset_tid_config(struct ath10k *ar, in ath10k_mac_reset_tid_config()
7329 struct ath10k *ar; in ath10k_sta_tid_cfg_wk() local
7463 struct ath10k *ar = hw->priv; in ath10k_sta_state() local
7717 static int ath10k_conf_tx_uapsd(struct ath10k *ar, struct ieee80211_vif *vif, in ath10k_conf_tx_uapsd()
7828 struct ath10k *ar = hw->priv; in ath10k_conf_tx() local
7900 struct ath10k *ar = hw->priv; in ath10k_remain_on_channel() local
7985 struct ath10k *ar = hw->priv; in ath10k_cancel_remain_on_channel() local
8009 struct ath10k *ar = hw->priv; in ath10k_set_rts_threshold() local
8045 void ath10k_mac_wait_tx_complete(struct ath10k *ar) in ath10k_mac_wait_tx_complete()
8079 struct ath10k *ar = hw->priv; in ath10k_flush() local
8113 struct ath10k *ar = hw->priv; in ath10k_reconfig_complete() local
8141 ath10k_mac_update_bss_chan_survey(struct ath10k *ar, in ath10k_mac_update_bss_chan_survey()
8176 struct ath10k *ar = hw->priv; in ath10k_get_survey() local
8214 ath10k_mac_bitrate_mask_get_single_nss(struct ath10k *ar, in ath10k_mac_bitrate_mask_get_single_nss()
8265 struct ath10k *ar = arvif->ar; in ath10k_mac_set_fixed_rate_params() local
8307 ath10k_mac_can_set_bitrate_mask(struct ath10k *ar, in ath10k_mac_can_set_bitrate_mask()
8338 static bool ath10k_mac_set_vht_bitrate_mask_fixup(struct ath10k *ar, in ath10k_mac_set_vht_bitrate_mask_fixup()
8363 struct ath10k *ar = arvif->ar; in ath10k_mac_set_bitrate_mask_iter() local
8383 struct ath10k *ar = arvif->ar; in ath10k_mac_clr_bitrate_mask_iter() local
8404 struct ath10k *ar = arvif->ar; in ath10k_mac_op_set_bitrate_mask() local
8513 struct ath10k *ar = hw->priv; in ath10k_sta_rc_update() local
8598 struct ath10k *ar = hw->priv; in ath10k_offset_tsf() local
8623 struct ath10k *ar = hw->priv; in ath10k_ampdu_action() local
8654 ath10k_mac_update_rx_channel(struct ath10k *ar, in ath10k_mac_update_rx_channel()
8705 ath10k_mac_update_vif_chan(struct ath10k *ar, in ath10k_mac_update_vif_chan()
8796 struct ath10k *ar = hw->priv; in ath10k_mac_op_add_chanctx() local
8820 struct ath10k *ar = hw->priv; in ath10k_mac_op_remove_chanctx() local
8882 struct ath10k *ar = hw->priv; in ath10k_mac_op_change_chanctx() local
8940 struct ath10k *ar = hw->priv; in ath10k_mac_op_assign_vif_chanctx() local
9020 struct ath10k *ar = hw->priv; in ath10k_mac_op_unassign_vif_chanctx() local
9059 struct ath10k *ar = hw->priv; in ath10k_mac_op_switch_vif_chanctx() local
9076 struct ath10k *ar; in ath10k_mac_op_sta_pre_rcu_remove() local
9142 static void ath10k_mac_get_rate_flags_ht(struct ath10k *ar, u32 rate, u8 nss, u8 mcs, in ath10k_mac_get_rate_flags_ht()
9180 static void ath10k_mac_get_rate_flags_vht(struct ath10k *ar, u32 rate, u8 nss, u8 mcs, in ath10k_mac_get_rate_flags_vht()
9210 static void ath10k_mac_get_rate_flags(struct ath10k *ar, u32 rate, in ath10k_mac_get_rate_flags()
9223 static void ath10k_mac_parse_bitrate(struct ath10k *ar, u32 rate_code, in ath10k_mac_parse_bitrate()
9253 static void ath10k_mac_sta_get_peer_stats_info(struct ath10k *ar, in ath10k_mac_sta_get_peer_stats_info()
9317 struct ath10k *ar = arsta->arvif->ar; in ath10k_sta_statistics() local
9357 struct ath10k *ar = hw->priv; in ath10k_mac_op_set_tid_config() local
9401 struct ath10k *ar = hw->priv; in ath10k_mac_op_reset_tid_config() local
9554 struct ath10k *ar; in ath10k_mac_create() local
9573 void ath10k_mac_destroy(struct ath10k *ar) in ath10k_mac_destroy()
9801 struct ath10k_vif *ath10k_get_arvif(struct ath10k *ar, u32 vdev_id) in ath10k_get_arvif()
9823 static u32 ath10k_mac_wrdd_get_mcc(struct ath10k *ar, union acpi_object *wrdd) in ath10k_mac_wrdd_get_mcc()
9859 static int ath10k_mac_get_wrdd_regulatory(struct ath10k *ar, u16 *rd) in ath10k_mac_get_wrdd_regulatory()
9906 static int ath10k_mac_init_rd(struct ath10k *ar) in ath10k_mac_init_rd()
9922 int ath10k_mac_register(struct ath10k *ar) in ath10k_mac_register()
10320 void ath10k_mac_unregister(struct ath10k *ar) in ath10k_mac_unregister()