Lines Matching defs:ar

193 int ath10k_mac_ext_resource_config(struct ath10k *ar, u32 val)  in ath10k_mac_ext_resource_config()
222 struct ath10k *ar = arvif->ar; in ath10k_send_key() local
282 struct ath10k *ar = arvif->ar; in ath10k_install_key() local
307 struct ath10k *ar = arvif->ar; in ath10k_install_peer_wep_keys() local
395 struct ath10k *ar = arvif->ar; in ath10k_clear_peer_keys() local
433 bool ath10k_mac_is_peer_wep_key_set(struct ath10k *ar, const u8 *addr, in ath10k_mac_is_peer_wep_key_set()
461 struct ath10k *ar = arvif->ar; in ath10k_clear_vdev_key() local
509 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_update_wep_key() local
669 static int ath10k_mac_num_chanctxs(struct ath10k *ar) in ath10k_mac_num_chanctxs()
690 static int ath10k_peer_create(struct ath10k *ar, in ath10k_peer_create()
750 struct ath10k *ar = arvif->ar; in ath10k_mac_set_kickout() local
795 struct ath10k *ar = arvif->ar; in ath10k_mac_set_rts() local
802 static int ath10k_peer_delete(struct ath10k *ar, u32 vdev_id, const u8 *addr) in ath10k_peer_delete()
821 static void ath10k_peer_cleanup(struct ath10k *ar, u32 vdev_id) in ath10k_peer_cleanup()
860 static void ath10k_peer_cleanup_all(struct ath10k *ar) in ath10k_peer_cleanup_all()
882 static int ath10k_mac_tdls_peer_update(struct ath10k *ar, u32 vdev_id, in ath10k_mac_tdls_peer_update()
920 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_beacon_free() local
943 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_beacon_cleanup() local
956 static inline int ath10k_vdev_setup_sync(struct ath10k *ar) in ath10k_vdev_setup_sync()
973 static int ath10k_monitor_vdev_start(struct ath10k *ar, int vdev_id) in ath10k_monitor_vdev_start()
1045 static int ath10k_monitor_vdev_stop(struct ath10k *ar) in ath10k_monitor_vdev_stop()
1073 static int ath10k_monitor_vdev_create(struct ath10k *ar) in ath10k_monitor_vdev_create()
1104 static int ath10k_monitor_vdev_delete(struct ath10k *ar) in ath10k_monitor_vdev_delete()
1124 static int ath10k_monitor_start(struct ath10k *ar) in ath10k_monitor_start()
1149 static int ath10k_monitor_stop(struct ath10k *ar) in ath10k_monitor_stop()
1173 static bool ath10k_mac_monitor_vdev_is_needed(struct ath10k *ar) in ath10k_mac_monitor_vdev_is_needed()
1197 static bool ath10k_mac_monitor_vdev_is_allowed(struct ath10k *ar) in ath10k_mac_monitor_vdev_is_allowed()
1213 static int ath10k_monitor_recalc(struct ath10k *ar) in ath10k_monitor_recalc()
1253 struct ath10k *ar = arvif->ar; in ath10k_mac_can_set_cts_prot() local
1267 struct ath10k *ar = arvif->ar; in ath10k_mac_set_cts_prot() local
1283 struct ath10k *ar = arvif->ar; in ath10k_recalc_rtscts_prot() local
1306 static int ath10k_start_cac(struct ath10k *ar) in ath10k_start_cac()
1327 static int ath10k_stop_cac(struct ath10k *ar) in ath10k_stop_cac()
1353 static bool ath10k_mac_has_radar_enabled(struct ath10k *ar) in ath10k_mac_has_radar_enabled()
1364 static void ath10k_recalc_radar_detection(struct ath10k *ar) in ath10k_recalc_radar_detection()
1392 struct ath10k *ar = arvif->ar; in ath10k_vdev_stop() local
1427 struct ath10k *ar = arvif->ar; in ath10k_vdev_start_restart() local
1507 struct ath10k *ar = arvif->ar; in ath10k_mac_setup_bcn_p2p_ie() local
1565 struct ath10k *ar = arvif->ar; in ath10k_mac_setup_bcn_tmpl() local
1615 struct ath10k *ar = arvif->ar; in ath10k_mac_setup_prb_tmpl() local
1647 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_fix_hidden_ssid() local
1722 struct ath10k *ar = arvif->ar; in ath10k_control_beaconing() local
1771 struct ath10k *ar = arvif->ar; in ath10k_control_ibss() local
1796 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_recalc_ps_wake_threshold() local
1821 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_recalc_ps_poll_count() local
1845 static int ath10k_mac_num_vifs_started(struct ath10k *ar) in ath10k_mac_num_vifs_started()
1861 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_setup_ps() local
1929 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_disable_keepalive() local
1961 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_ap_csa_count_down() local
2000 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_ap_csa_work() local
2023 void ath10k_mac_handle_beacon(struct ath10k *ar, struct sk_buff *skb) in ath10k_mac_handle_beacon()
2036 struct ath10k *ar = arvif->ar; in ath10k_mac_handle_beacon_miss_iter() local
2056 void ath10k_mac_handle_beacon_miss(struct ath10k *ar, u32 vdev_id) in ath10k_mac_handle_beacon_miss()
2080 static u32 ath10k_peer_assoc_h_listen_intval(struct ath10k *ar, in ath10k_peer_assoc_h_listen_intval()
2097 static void ath10k_peer_assoc_h_basic(struct ath10k *ar, in ath10k_peer_assoc_h_basic()
2121 static void ath10k_peer_assoc_h_crypto(struct ath10k *ar, in ath10k_peer_assoc_h_crypto()
2173 static void ath10k_peer_assoc_h_rates(struct ath10k *ar, in ath10k_peer_assoc_h_rates()
2235 static void ath10k_peer_assoc_h_ht(struct ath10k *ar, in ath10k_peer_assoc_h_ht()
2341 static int ath10k_peer_assoc_qos_ap(struct ath10k *ar, in ath10k_peer_assoc_qos_ap()
2460 static void ath10k_peer_assoc_h_vht(struct ath10k *ar, in ath10k_peer_assoc_h_vht()
2551 static void ath10k_peer_assoc_h_qos(struct ath10k *ar, in ath10k_peer_assoc_h_qos()
2591 static enum wmi_phy_mode ath10k_mac_get_phymode_vht(struct ath10k *ar, in ath10k_mac_get_phymode_vht()
2618 static void ath10k_peer_assoc_h_phymode(struct ath10k *ar, in ath10k_peer_assoc_h_phymode()
2687 static int ath10k_peer_assoc_prepare(struct ath10k *ar, in ath10k_peer_assoc_prepare()
2714 static int ath10k_setup_peer_smps(struct ath10k *ar, struct ath10k_vif *arvif, in ath10k_setup_peer_smps()
2734 static int ath10k_mac_vif_recalc_txbf(struct ath10k *ar, in ath10k_mac_vif_recalc_txbf()
2804 struct ath10k *ar = hw->priv; in ath10k_bss_assoc() local
2898 struct ath10k *ar = hw->priv; in ath10k_bss_disassoc() local
2927 static int ath10k_station_assoc(struct ath10k *ar, in ath10k_station_assoc()
2995 static int ath10k_station_disassoc(struct ath10k *ar, in ath10k_station_disassoc()
3028 static int ath10k_update_channel_list(struct ath10k *ar) in ath10k_update_channel_list()
3149 static void ath10k_regd_update(struct ath10k *ar) in ath10k_regd_update()
3185 static void ath10k_mac_update_channel_list(struct ath10k *ar, in ath10k_mac_update_channel_list()
3204 struct ath10k *ar = hw->priv; in ath10k_reg_notifier() local
3229 static void ath10k_stop_radar_confirmation(struct ath10k *ar) in ath10k_stop_radar_confirmation()
3249 void ath10k_mac_tx_lock(struct ath10k *ar, int reason) in ath10k_mac_tx_lock()
3261 struct ath10k *ar = data; in ath10k_mac_tx_unlock_iter() local
3270 void ath10k_mac_tx_unlock(struct ath10k *ar, int reason) in ath10k_mac_tx_unlock()
3290 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_tx_lock() local
3301 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_tx_unlock() local
3321 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_handle_tx_pause() local
3358 void ath10k_mac_handle_tx_pause_vdev(struct ath10k *ar, u32 vdev_id, in ath10k_mac_handle_tx_pause_vdev()
3377 ath10k_mac_tx_h_get_txmode(struct ath10k *ar, in ath10k_mac_tx_h_get_txmode()
3505 static void ath10k_tx_h_add_p2p_noa_ie(struct ath10k *ar, in ath10k_tx_h_add_p2p_noa_ie()
3527 static void ath10k_mac_tx_h_fill_cb(struct ath10k *ar, in ath10k_mac_tx_h_fill_cb()
3549 bool ath10k_mac_tx_frm_has_freq(struct ath10k *ar) in ath10k_mac_tx_frm_has_freq()
3562 static int ath10k_mac_tx_wmi_mgmt(struct ath10k *ar, struct sk_buff *skb) in ath10k_mac_tx_wmi_mgmt()
3585 ath10k_mac_tx_h_get_txpath(struct ath10k *ar, in ath10k_mac_tx_h_get_txpath()
3609 static int ath10k_mac_tx_submit(struct ath10k *ar, in ath10k_mac_tx_submit()
3645 static int ath10k_mac_tx(struct ath10k *ar, in ath10k_mac_tx()
3697 void ath10k_offchan_tx_purge(struct ath10k *ar) in ath10k_offchan_tx_purge()
3712 struct ath10k *ar = container_of(work, struct ath10k, offchan_tx_work); in ath10k_offchan_tx_work() local
3813 void ath10k_mgmt_over_wmi_tx_purge(struct ath10k *ar) in ath10k_mgmt_over_wmi_tx_purge()
3828 struct ath10k *ar = container_of(work, struct ath10k, wmi_mgmt_tx_work); in ath10k_mgmt_over_wmi_tx_work() local
3874 static void ath10k_mac_txq_unref(struct ath10k *ar, struct ieee80211_txq *txq) in ath10k_mac_txq_unref()
3899 struct ieee80211_txq *ath10k_mac_txq_lookup(struct ath10k *ar, in ath10k_mac_txq_lookup()
3925 struct ath10k *ar = hw->priv; in ath10k_mac_tx_can_push() local
3945 struct ath10k *ar = hw->priv; in ath10k_mac_tx_push_txq() local
4016 void ath10k_mac_tx_push_pending(struct ath10k *ar) in ath10k_mac_tx_push_pending()
4065 void __ath10k_scan_finish(struct ath10k *ar) in __ath10k_scan_finish()
4096 void ath10k_scan_finish(struct ath10k *ar) in ath10k_scan_finish()
4103 static int ath10k_scan_stop(struct ath10k *ar) in ath10k_scan_stop()
4144 static void ath10k_scan_abort(struct ath10k *ar) in ath10k_scan_abort()
4181 struct ath10k *ar = container_of(work, struct ath10k, in ath10k_scan_timeout_work() local
4189 static int ath10k_start_scan(struct ath10k *ar, in ath10k_start_scan()
4231 struct ath10k *ar = hw->priv; in ath10k_mac_op_tx() local
4295 struct ath10k *ar = hw->priv; in ath10k_mac_op_wake_tx_queue() local
4324 void ath10k_drain_tx(struct ath10k *ar) in ath10k_drain_tx()
4336 void ath10k_halt(struct ath10k *ar) in ath10k_halt()
4367 struct ath10k *ar = hw->priv; in ath10k_get_antenna() local
4379 static void ath10k_check_chain_mask(struct ath10k *ar, u32 cm, const char *dbg) in ath10k_check_chain_mask()
4392 static int ath10k_mac_get_vht_cap_bf_sts(struct ath10k *ar) in ath10k_mac_get_vht_cap_bf_sts()
4409 static int ath10k_mac_get_vht_cap_bf_sound_dim(struct ath10k *ar) in ath10k_mac_get_vht_cap_bf_sound_dim()
4425 static struct ieee80211_sta_vht_cap ath10k_create_vht_cap(struct ath10k *ar) in ath10k_create_vht_cap()
4489 static struct ieee80211_sta_ht_cap ath10k_get_ht_cap(struct ath10k *ar) in ath10k_get_ht_cap()
4555 static void ath10k_mac_setup_ht_vht_cap(struct ath10k *ar) in ath10k_mac_setup_ht_vht_cap()
4575 static int __ath10k_set_antenna(struct ath10k *ar, u32 tx_ant, u32 rx_ant) in __ath10k_set_antenna()
4615 struct ath10k *ar = hw->priv; in ath10k_set_antenna() local
4626 struct ath10k *ar = hw->priv; in ath10k_start() local
4802 struct ath10k *ar = hw->priv; in ath10k_stop() local
4818 static int ath10k_config_ps(struct ath10k *ar) in ath10k_config_ps()
4836 static int ath10k_mac_txpower_setup(struct ath10k *ar, int txpower) in ath10k_mac_txpower_setup()
4864 static int ath10k_mac_txpower_recalc(struct ath10k *ar) in ath10k_mac_txpower_recalc()
4896 struct ath10k *ar = hw->priv; in ath10k_config() local
4930 struct ath10k *ar = arvif->ar; in ath10k_mac_set_txbf_conf() local
4978 struct ath10k *ar = hw->priv; in ath10k_add_interface() local
5314 struct ath10k *ar = hw->priv; in ath10k_remove_interface() local
5428 struct ath10k *ar = hw->priv; in ath10k_configure_filter() local
5449 struct ath10k *ar = hw->priv; in ath10k_bss_info_changed() local
5667 struct ath10k *ar = hw->priv; in ath10k_mac_op_set_coverage_class() local
5736 struct ath10k *ar = hw->priv; in ath10k_hw_scan() local
5839 struct ath10k *ar = hw->priv; in ath10k_cancel_hw_scan() local
5848 static void ath10k_set_key_h_def_keyidx(struct ath10k *ar, in ath10k_set_key_h_def_keyidx()
5894 struct ath10k *ar = hw->priv; in ath10k_set_key() local
6040 struct ath10k *ar = hw->priv; in ath10k_set_default_unicast_key() local
6072 struct ath10k *ar; in ath10k_sta_rc_update_wk() local
6173 struct ath10k *ar = arvif->ar; in ath10k_mac_inc_num_stations() local
6191 struct ath10k *ar = arvif->ar; in ath10k_mac_dec_num_stations() local
6207 struct ath10k *ar = hw->priv; in ath10k_sta_state() local
6443 static int ath10k_conf_tx_uapsd(struct ath10k *ar, struct ieee80211_vif *vif, in ath10k_conf_tx_uapsd()
6553 struct ath10k *ar = hw->priv; in ath10k_conf_tx() local
6627 struct ath10k *ar = hw->priv; in ath10k_remain_on_channel() local
6711 struct ath10k *ar = hw->priv; in ath10k_cancel_remain_on_channel() local
6735 struct ath10k *ar = hw->priv; in ath10k_set_rts_threshold() local
6774 struct ath10k *ar = hw->priv; in ath10k_flush() local
6823 struct ath10k *ar = hw->priv; in ath10k_reconfig_complete() local
6843 ath10k_mac_update_bss_chan_survey(struct ath10k *ar, in ath10k_mac_update_bss_chan_survey()
6878 struct ath10k *ar = hw->priv; in ath10k_get_survey() local
6916 ath10k_mac_bitrate_mask_has_single_rate(struct ath10k *ar, in ath10k_mac_bitrate_mask_has_single_rate()
6935 ath10k_mac_bitrate_mask_get_single_nss(struct ath10k *ar, in ath10k_mac_bitrate_mask_get_single_nss()
6984 ath10k_mac_bitrate_mask_get_single_rate(struct ath10k *ar, in ath10k_mac_bitrate_mask_get_single_rate()
7045 struct ath10k *ar = arvif->ar; in ath10k_mac_set_fixed_rate_params() local
7087 ath10k_mac_can_set_bitrate_mask(struct ath10k *ar, in ath10k_mac_can_set_bitrate_mask()
7121 struct ath10k *ar = arvif->ar; in ath10k_mac_set_bitrate_mask_iter() local
7139 struct ath10k *ar = arvif->ar; in ath10k_mac_op_set_bitrate_mask() local
7213 struct ath10k *ar = hw->priv; in ath10k_sta_rc_update() local
7297 struct ath10k *ar = hw->priv; in ath10k_offset_tsf() local
7322 struct ath10k *ar = hw->priv; in ath10k_ampdu_action() local
7353 ath10k_mac_update_rx_channel(struct ath10k *ar, in ath10k_mac_update_rx_channel()
7404 ath10k_mac_update_vif_chan(struct ath10k *ar, in ath10k_mac_update_vif_chan()
7495 struct ath10k *ar = hw->priv; in ath10k_mac_op_add_chanctx() local
7519 struct ath10k *ar = hw->priv; in ath10k_mac_op_remove_chanctx() local
7581 struct ath10k *ar = hw->priv; in ath10k_mac_op_change_chanctx() local
7638 struct ath10k *ar = hw->priv; in ath10k_mac_op_assign_vif_chanctx() local
7716 struct ath10k *ar = hw->priv; in ath10k_mac_op_unassign_vif_chanctx() local
7755 struct ath10k *ar = hw->priv; in ath10k_mac_op_switch_vif_chanctx() local
7772 struct ath10k *ar; in ath10k_mac_op_sta_pre_rcu_remove() local
7788 struct ath10k *ar = arsta->arvif->ar; in ath10k_sta_statistics() local
7936 struct ath10k *ar; in ath10k_mac_create() local
7955 void ath10k_mac_destroy(struct ath10k *ar) in ath10k_mac_destroy()
8161 struct ath10k_vif *ath10k_get_arvif(struct ath10k *ar, u32 vdev_id) in ath10k_get_arvif()
8185 static u32 ath10k_mac_wrdd_get_mcc(struct ath10k *ar, union acpi_object *wrdd) in ath10k_mac_wrdd_get_mcc()
8221 static int ath10k_mac_get_wrdd_regulatory(struct ath10k *ar, u16 *rd) in ath10k_mac_get_wrdd_regulatory()
8269 static int ath10k_mac_init_rd(struct ath10k *ar) in ath10k_mac_init_rd()
8285 int ath10k_mac_register(struct ath10k *ar) in ath10k_mac_register()
8604 void ath10k_mac_unregister(struct ath10k *ar) in ath10k_mac_unregister()