Lines Matching defs:ar

211 int ath10k_mac_ext_resource_config(struct ath10k *ar, u32 val)  in ath10k_mac_ext_resource_config()
240 struct ath10k *ar = arvif->ar; in ath10k_send_key() local
301 struct ath10k *ar = arvif->ar; in ath10k_install_key() local
326 struct ath10k *ar = arvif->ar; in ath10k_install_peer_wep_keys() local
414 struct ath10k *ar = arvif->ar; in ath10k_clear_peer_keys() local
452 bool ath10k_mac_is_peer_wep_key_set(struct ath10k *ar, const u8 *addr, in ath10k_mac_is_peer_wep_key_set()
480 struct ath10k *ar = arvif->ar; in ath10k_clear_vdev_key() local
528 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_update_wep_key() local
683 static int ath10k_mac_num_chanctxs(struct ath10k *ar) in ath10k_mac_num_chanctxs()
704 static void ath10k_wait_for_peer_delete_done(struct ath10k *ar, u32 vdev_id, in ath10k_wait_for_peer_delete_done()
724 static int ath10k_peer_create(struct ath10k *ar, in ath10k_peer_create()
784 struct ath10k *ar = arvif->ar; in ath10k_mac_set_kickout() local
829 struct ath10k *ar = arvif->ar; in ath10k_mac_set_rts() local
836 static int ath10k_peer_delete(struct ath10k *ar, u32 vdev_id, const u8 *addr) in ath10k_peer_delete()
867 static void ath10k_peer_cleanup(struct ath10k *ar, u32 vdev_id) in ath10k_peer_cleanup()
906 static void ath10k_peer_cleanup_all(struct ath10k *ar) in ath10k_peer_cleanup_all()
928 static int ath10k_mac_tdls_peer_update(struct ath10k *ar, u32 vdev_id, in ath10k_mac_tdls_peer_update()
966 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_beacon_free() local
989 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_beacon_cleanup() local
1002 static inline int ath10k_vdev_setup_sync(struct ath10k *ar) in ath10k_vdev_setup_sync()
1019 static int ath10k_monitor_vdev_start(struct ath10k *ar, int vdev_id) in ath10k_monitor_vdev_start()
1092 static int ath10k_monitor_vdev_stop(struct ath10k *ar) in ath10k_monitor_vdev_stop()
1121 static int ath10k_monitor_vdev_create(struct ath10k *ar) in ath10k_monitor_vdev_create()
1152 static int ath10k_monitor_vdev_delete(struct ath10k *ar) in ath10k_monitor_vdev_delete()
1172 static int ath10k_monitor_start(struct ath10k *ar) in ath10k_monitor_start()
1197 static int ath10k_monitor_stop(struct ath10k *ar) in ath10k_monitor_stop()
1221 static bool ath10k_mac_monitor_vdev_is_needed(struct ath10k *ar) in ath10k_mac_monitor_vdev_is_needed()
1245 static bool ath10k_mac_monitor_vdev_is_allowed(struct ath10k *ar) in ath10k_mac_monitor_vdev_is_allowed()
1261 static int ath10k_monitor_recalc(struct ath10k *ar) in ath10k_monitor_recalc()
1301 struct ath10k *ar = arvif->ar; in ath10k_mac_can_set_cts_prot() local
1315 struct ath10k *ar = arvif->ar; in ath10k_mac_set_cts_prot() local
1331 struct ath10k *ar = arvif->ar; in ath10k_recalc_rtscts_prot() local
1354 static int ath10k_start_cac(struct ath10k *ar) in ath10k_start_cac()
1375 static int ath10k_stop_cac(struct ath10k *ar) in ath10k_stop_cac()
1401 static bool ath10k_mac_has_radar_enabled(struct ath10k *ar) in ath10k_mac_has_radar_enabled()
1412 static void ath10k_recalc_radar_detection(struct ath10k *ar) in ath10k_recalc_radar_detection()
1440 struct ath10k *ar = arvif->ar; in ath10k_vdev_stop() local
1476 struct ath10k *ar = arvif->ar; in ath10k_vdev_start_restart() local
1557 struct ath10k *ar = arvif->ar; in ath10k_mac_setup_bcn_p2p_ie() local
1615 struct ath10k *ar = arvif->ar; in ath10k_mac_setup_bcn_tmpl() local
1665 struct ath10k *ar = arvif->ar; in ath10k_mac_setup_prb_tmpl() local
1701 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_fix_hidden_ssid() local
1776 struct ath10k *ar = arvif->ar; in ath10k_control_beaconing() local
1825 struct ath10k *ar = arvif->ar; in ath10k_control_ibss() local
1850 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_recalc_ps_wake_threshold() local
1875 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_recalc_ps_poll_count() local
1899 static int ath10k_mac_num_vifs_started(struct ath10k *ar) in ath10k_mac_num_vifs_started()
1915 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_setup_ps() local
1983 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_disable_keepalive() local
2015 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_ap_csa_count_down() local
2054 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_ap_csa_work() local
2077 void ath10k_mac_handle_beacon(struct ath10k *ar, struct sk_buff *skb) in ath10k_mac_handle_beacon()
2090 struct ath10k *ar = arvif->ar; in ath10k_mac_handle_beacon_miss_iter() local
2110 void ath10k_mac_handle_beacon_miss(struct ath10k *ar, u32 vdev_id) in ath10k_mac_handle_beacon_miss()
2134 static u32 ath10k_peer_assoc_h_listen_intval(struct ath10k *ar, in ath10k_peer_assoc_h_listen_intval()
2151 static void ath10k_peer_assoc_h_basic(struct ath10k *ar, in ath10k_peer_assoc_h_basic()
2175 static void ath10k_peer_assoc_h_crypto(struct ath10k *ar, in ath10k_peer_assoc_h_crypto()
2228 static void ath10k_peer_assoc_h_rates(struct ath10k *ar, in ath10k_peer_assoc_h_rates()
2290 static void ath10k_peer_assoc_h_ht(struct ath10k *ar, in ath10k_peer_assoc_h_ht()
2396 static int ath10k_peer_assoc_qos_ap(struct ath10k *ar, in ath10k_peer_assoc_qos_ap()
2539 static void ath10k_peer_assoc_h_vht(struct ath10k *ar, in ath10k_peer_assoc_h_vht()
2647 static void ath10k_peer_assoc_h_qos(struct ath10k *ar, in ath10k_peer_assoc_h_qos()
2687 static enum wmi_phy_mode ath10k_mac_get_phymode_vht(struct ath10k *ar, in ath10k_mac_get_phymode_vht()
2714 static void ath10k_peer_assoc_h_phymode(struct ath10k *ar, in ath10k_peer_assoc_h_phymode()
2783 static int ath10k_peer_assoc_prepare(struct ath10k *ar, in ath10k_peer_assoc_prepare()
2810 static int ath10k_setup_peer_smps(struct ath10k *ar, struct ath10k_vif *arvif, in ath10k_setup_peer_smps()
2830 static int ath10k_mac_vif_recalc_txbf(struct ath10k *ar, in ath10k_mac_vif_recalc_txbf()
2895 static bool ath10k_mac_is_connected(struct ath10k *ar) in ath10k_mac_is_connected()
2907 static int ath10k_mac_txpower_setup(struct ath10k *ar, int txpower) in ath10k_mac_txpower_setup()
2952 static int ath10k_mac_txpower_recalc(struct ath10k *ar) in ath10k_mac_txpower_recalc()
2983 static int ath10k_mac_set_sar_power(struct ath10k *ar) in ath10k_mac_set_sar_power()
2999 struct ath10k *ar = hw->priv; in ath10k_mac_set_sar_specs() local
3052 struct ath10k *ar = hw->priv; in ath10k_bss_assoc() local
3153 struct ath10k *ar = hw->priv; in ath10k_bss_disassoc() local
3184 static int ath10k_new_peer_tid_config(struct ath10k *ar, in ath10k_new_peer_tid_config()
3247 static int ath10k_station_assoc(struct ath10k *ar, in ath10k_station_assoc()
3318 static int ath10k_station_disassoc(struct ath10k *ar, in ath10k_station_disassoc()
3351 static int ath10k_update_channel_list(struct ath10k *ar) in ath10k_update_channel_list()
3472 static void ath10k_regd_update(struct ath10k *ar) in ath10k_regd_update()
3508 static void ath10k_mac_update_channel_list(struct ath10k *ar, in ath10k_mac_update_channel_list()
3527 struct ath10k *ar = hw->priv; in ath10k_reg_notifier() local
3552 static void ath10k_stop_radar_confirmation(struct ath10k *ar) in ath10k_stop_radar_confirmation()
3572 void ath10k_mac_tx_lock(struct ath10k *ar, int reason) in ath10k_mac_tx_lock()
3584 struct ath10k *ar = data; in ath10k_mac_tx_unlock_iter() local
3593 void ath10k_mac_tx_unlock(struct ath10k *ar, int reason) in ath10k_mac_tx_unlock()
3613 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_tx_lock() local
3624 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_tx_unlock() local
3644 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_handle_tx_pause() local
3681 void ath10k_mac_handle_tx_pause_vdev(struct ath10k *ar, u32 vdev_id, in ath10k_mac_handle_tx_pause_vdev()
3700 ath10k_mac_tx_h_get_txmode(struct ath10k *ar, in ath10k_mac_tx_h_get_txmode()
3830 static void ath10k_tx_h_add_p2p_noa_ie(struct ath10k *ar, in ath10k_tx_h_add_p2p_noa_ie()
3852 static void ath10k_mac_tx_h_fill_cb(struct ath10k *ar, in ath10k_mac_tx_h_fill_cb()
3918 bool ath10k_mac_tx_frm_has_freq(struct ath10k *ar) in ath10k_mac_tx_frm_has_freq()
3931 static int ath10k_mac_tx_wmi_mgmt(struct ath10k *ar, struct sk_buff *skb) in ath10k_mac_tx_wmi_mgmt()
3947 ath10k_mac_tx_h_get_txpath(struct ath10k *ar, in ath10k_mac_tx_h_get_txpath()
3971 static int ath10k_mac_tx_submit(struct ath10k *ar, in ath10k_mac_tx_submit()
4007 static int ath10k_mac_tx(struct ath10k *ar, in ath10k_mac_tx()
4061 void ath10k_offchan_tx_purge(struct ath10k *ar) in ath10k_offchan_tx_purge()
4076 struct ath10k *ar = container_of(work, struct ath10k, offchan_tx_work); in ath10k_offchan_tx_work() local
4176 void ath10k_mgmt_over_wmi_tx_purge(struct ath10k *ar) in ath10k_mgmt_over_wmi_tx_purge()
4191 struct ath10k *ar = container_of(work, struct ath10k, wmi_mgmt_tx_work); in ath10k_mgmt_over_wmi_tx_work() local
4242 static void ath10k_mac_txq_unref(struct ath10k *ar, struct ieee80211_txq *txq) in ath10k_mac_txq_unref()
4260 struct ieee80211_txq *ath10k_mac_txq_lookup(struct ath10k *ar, in ath10k_mac_txq_lookup()
4286 struct ath10k *ar = hw->priv; in ath10k_mac_tx_can_push() local
4310 static u16 ath10k_mac_update_airtime(struct ath10k *ar, in ath10k_mac_update_airtime()
4351 struct ath10k *ar = hw->priv; in ath10k_mac_tx_push_txq() local
4446 void ath10k_mac_tx_push_pending(struct ath10k *ar) in ath10k_mac_tx_push_pending()
4470 void __ath10k_scan_finish(struct ath10k *ar) in __ath10k_scan_finish()
4501 void ath10k_scan_finish(struct ath10k *ar) in ath10k_scan_finish()
4508 static int ath10k_scan_stop(struct ath10k *ar) in ath10k_scan_stop()
4549 static void ath10k_scan_abort(struct ath10k *ar) in ath10k_scan_abort()
4586 struct ath10k *ar = container_of(work, struct ath10k, in ath10k_scan_timeout_work() local
4594 static int ath10k_start_scan(struct ath10k *ar, in ath10k_start_scan()
4636 struct ath10k *ar = hw->priv; in ath10k_mac_op_tx() local
4702 struct ath10k *ar = hw->priv; in ath10k_mac_op_wake_tx_queue() local
4728 void ath10k_drain_tx(struct ath10k *ar) in ath10k_drain_tx()
4742 void ath10k_halt(struct ath10k *ar) in ath10k_halt()
4773 struct ath10k *ar = hw->priv; in ath10k_get_antenna() local
4785 static bool ath10k_check_chain_mask(struct ath10k *ar, u32 cm, const char *dbg) in ath10k_check_chain_mask()
4799 static int ath10k_mac_get_vht_cap_bf_sts(struct ath10k *ar) in ath10k_mac_get_vht_cap_bf_sts()
4816 static int ath10k_mac_get_vht_cap_bf_sound_dim(struct ath10k *ar) in ath10k_mac_get_vht_cap_bf_sound_dim()
4832 static struct ieee80211_sta_vht_cap ath10k_create_vht_cap(struct ath10k *ar) in ath10k_create_vht_cap()
4889 static struct ieee80211_sta_ht_cap ath10k_get_ht_cap(struct ath10k *ar) in ath10k_get_ht_cap()
4956 static void ath10k_mac_setup_ht_vht_cap(struct ath10k *ar) in ath10k_mac_setup_ht_vht_cap()
4976 static int __ath10k_set_antenna(struct ath10k *ar, u32 tx_ant, u32 rx_ant) in __ath10k_set_antenna()
5020 struct ath10k *ar = hw->priv; in ath10k_set_antenna() local
5029 static int __ath10k_fetch_bb_timing_dt(struct ath10k *ar, in __ath10k_fetch_bb_timing_dt()
5061 static int ath10k_mac_rfkill_config(struct ath10k *ar) in ath10k_mac_rfkill_config()
5095 int ath10k_mac_rfkill_enable_radio(struct ath10k *ar, bool enable) in ath10k_mac_rfkill_enable_radio()
5120 struct ath10k *ar = hw->priv; in ath10k_start() local
5337 struct ath10k *ar = hw->priv; in ath10k_stop() local
5354 static int ath10k_config_ps(struct ath10k *ar) in ath10k_config_ps()
5374 struct ath10k *ar = hw->priv; in ath10k_config() local
5408 struct ath10k *ar = arvif->ar; in ath10k_mac_set_txbf_conf() local
5456 struct ath10k *ar = hw->priv; in ath10k_add_interface() local
5818 struct ath10k *ar = hw->priv; in ath10k_remove_interface() local
5946 struct ath10k *ar = hw->priv; in ath10k_configure_filter() local
5962 static void ath10k_recalculate_mgmt_rate(struct ath10k *ar, in ath10k_recalculate_mgmt_rate()
5998 struct ath10k *ar = hw->priv; in ath10k_bss_info_changed() local
6238 struct ath10k *ar = hw->priv; in ath10k_mac_op_set_coverage_class() local
6283 struct ath10k *ar = hw->priv; in ath10k_hw_scan() local
6386 struct ath10k *ar = hw->priv; in ath10k_cancel_hw_scan() local
6395 static void ath10k_set_key_h_def_keyidx(struct ath10k *ar, in ath10k_set_key_h_def_keyidx()
6441 struct ath10k *ar = hw->priv; in ath10k_set_key() local
6596 struct ath10k *ar = hw->priv; in ath10k_set_default_unicast_key() local
6628 struct ath10k *ar; in ath10k_sta_rc_update_wk() local
6729 struct ath10k *ar = arvif->ar; in ath10k_mac_inc_num_stations() local
6747 struct ath10k *ar = arvif->ar; in ath10k_mac_dec_num_stations() local
6761 struct ath10k *ar = hw->priv; in ath10k_sta_set_txpwr() local
6794 struct ath10k *ar; member
6799 ath10k_mac_bitrate_mask_has_single_rate(struct ath10k *ar, in ath10k_mac_bitrate_mask_has_single_rate()
6823 ath10k_mac_bitrate_mask_get_single_rate(struct ath10k *ar, in ath10k_mac_bitrate_mask_get_single_rate()
6885 static int ath10k_mac_validate_rate_mask(struct ath10k *ar, in ath10k_mac_validate_rate_mask()
6916 ath10k_mac_tid_bitrate_config(struct ath10k *ar, in ath10k_mac_tid_bitrate_config()
6969 static int ath10k_mac_set_tid_config(struct ath10k *ar, struct ieee80211_sta *sta, in ath10k_mac_set_tid_config()
7103 ath10k_mac_parse_tid_config(struct ath10k *ar, in ath10k_mac_parse_tid_config()
7181 static int ath10k_mac_reset_tid_config(struct ath10k *ar, in ath10k_mac_reset_tid_config()
7239 struct ath10k *ar; in ath10k_sta_tid_cfg_wk() local
7373 struct ath10k *ar = hw->priv; in ath10k_sta_state() local
7630 static int ath10k_conf_tx_uapsd(struct ath10k *ar, struct ieee80211_vif *vif, in ath10k_conf_tx_uapsd()
7740 struct ath10k *ar = hw->priv; in ath10k_conf_tx() local
7812 struct ath10k *ar = hw->priv; in ath10k_remain_on_channel() local
7897 struct ath10k *ar = hw->priv; in ath10k_cancel_remain_on_channel() local
7921 struct ath10k *ar = hw->priv; in ath10k_set_rts_threshold() local
7957 void ath10k_mac_wait_tx_complete(struct ath10k *ar) in ath10k_mac_wait_tx_complete()
7991 struct ath10k *ar = hw->priv; in ath10k_flush() local
8025 struct ath10k *ar = hw->priv; in ath10k_reconfig_complete() local
8046 ath10k_mac_update_bss_chan_survey(struct ath10k *ar, in ath10k_mac_update_bss_chan_survey()
8081 struct ath10k *ar = hw->priv; in ath10k_get_survey() local
8119 ath10k_mac_bitrate_mask_get_single_nss(struct ath10k *ar, in ath10k_mac_bitrate_mask_get_single_nss()
8170 struct ath10k *ar = arvif->ar; in ath10k_mac_set_fixed_rate_params() local
8212 ath10k_mac_can_set_bitrate_mask(struct ath10k *ar, in ath10k_mac_can_set_bitrate_mask()
8243 static bool ath10k_mac_set_vht_bitrate_mask_fixup(struct ath10k *ar, in ath10k_mac_set_vht_bitrate_mask_fixup()
8268 struct ath10k *ar = arvif->ar; in ath10k_mac_set_bitrate_mask_iter() local
8288 struct ath10k *ar = arvif->ar; in ath10k_mac_clr_bitrate_mask_iter() local
8309 struct ath10k *ar = arvif->ar; in ath10k_mac_op_set_bitrate_mask() local
8418 struct ath10k *ar = hw->priv; in ath10k_sta_rc_update() local
8502 struct ath10k *ar = hw->priv; in ath10k_offset_tsf() local
8527 struct ath10k *ar = hw->priv; in ath10k_ampdu_action() local
8558 ath10k_mac_update_rx_channel(struct ath10k *ar, in ath10k_mac_update_rx_channel()
8609 ath10k_mac_update_vif_chan(struct ath10k *ar, in ath10k_mac_update_vif_chan()
8700 struct ath10k *ar = hw->priv; in ath10k_mac_op_add_chanctx() local
8724 struct ath10k *ar = hw->priv; in ath10k_mac_op_remove_chanctx() local
8786 struct ath10k *ar = hw->priv; in ath10k_mac_op_change_chanctx() local
8843 struct ath10k *ar = hw->priv; in ath10k_mac_op_assign_vif_chanctx() local
8922 struct ath10k *ar = hw->priv; in ath10k_mac_op_unassign_vif_chanctx() local
8961 struct ath10k *ar = hw->priv; in ath10k_mac_op_switch_vif_chanctx() local
8978 struct ath10k *ar; in ath10k_mac_op_sta_pre_rcu_remove() local
9044 static void ath10k_mac_get_rate_flags_ht(struct ath10k *ar, u32 rate, u8 nss, u8 mcs, in ath10k_mac_get_rate_flags_ht()
9082 static void ath10k_mac_get_rate_flags_vht(struct ath10k *ar, u32 rate, u8 nss, u8 mcs, in ath10k_mac_get_rate_flags_vht()
9112 static void ath10k_mac_get_rate_flags(struct ath10k *ar, u32 rate, in ath10k_mac_get_rate_flags()
9125 static void ath10k_mac_parse_bitrate(struct ath10k *ar, u32 rate_code, in ath10k_mac_parse_bitrate()
9155 static void ath10k_mac_sta_get_peer_stats_info(struct ath10k *ar, in ath10k_mac_sta_get_peer_stats_info()
9219 struct ath10k *ar = arsta->arvif->ar; in ath10k_sta_statistics() local
9259 struct ath10k *ar = hw->priv; in ath10k_mac_op_set_tid_config() local
9303 struct ath10k *ar = hw->priv; in ath10k_mac_op_reset_tid_config() local
9455 struct ath10k *ar; in ath10k_mac_create() local
9474 void ath10k_mac_destroy(struct ath10k *ar) in ath10k_mac_destroy()
9702 struct ath10k_vif *ath10k_get_arvif(struct ath10k *ar, u32 vdev_id) in ath10k_get_arvif()
9724 static u32 ath10k_mac_wrdd_get_mcc(struct ath10k *ar, union acpi_object *wrdd) in ath10k_mac_wrdd_get_mcc()
9760 static int ath10k_mac_get_wrdd_regulatory(struct ath10k *ar, u16 *rd) in ath10k_mac_get_wrdd_regulatory()
9807 static int ath10k_mac_init_rd(struct ath10k *ar) in ath10k_mac_init_rd()
9823 int ath10k_mac_register(struct ath10k *ar) in ath10k_mac_register()
10210 void ath10k_mac_unregister(struct ath10k *ar) in ath10k_mac_unregister()