Lines Matching defs:ar
573 struct ath11k_vif *ath11k_mac_get_arvif(struct ath11k *ar, u32 vdev_id) in ath11k_mac_get_arvif()
658 struct ath11k *ar; in ath11k_mac_get_vif_up() local
684 struct ath11k *ar = arvif->ar; in ath11k_mac_get_target_pdev_id_from_vif() local
705 u8 ath11k_mac_get_target_pdev_id(struct ath11k *ar) in ath11k_mac_get_target_pdev_id()
717 static void ath11k_pdev_caps_update(struct ath11k *ar) in ath11k_pdev_caps_update()
735 static int ath11k_mac_txpower_recalc(struct ath11k *ar) in ath11k_mac_txpower_recalc()
794 struct ath11k *ar = arvif->ar; in ath11k_recalc_rtscts_prot() local
833 struct ath11k *ar = arvif->ar; in ath11k_mac_set_kickout() local
876 void ath11k_mac_peer_cleanup_all(struct ath11k *ar) in ath11k_mac_peer_cleanup_all()
898 static inline int ath11k_mac_vdev_setup_sync(struct ath11k *ar) in ath11k_mac_vdev_setup_sync()
922 static int ath11k_mac_monitor_vdev_start(struct ath11k *ar, int vdev_id, in ath11k_mac_monitor_vdev_start()
1000 static int ath11k_mac_monitor_vdev_stop(struct ath11k *ar) in ath11k_mac_monitor_vdev_stop()
1035 static int ath11k_mac_monitor_vdev_create(struct ath11k *ar) in ath11k_mac_monitor_vdev_create()
1111 static int ath11k_mac_monitor_vdev_delete(struct ath11k *ar) in ath11k_mac_monitor_vdev_delete()
1148 static int ath11k_mac_monitor_start(struct ath11k *ar) in ath11k_mac_monitor_start()
1186 static int ath11k_mac_monitor_stop(struct ath11k *ar) in ath11k_mac_monitor_stop()
1218 struct ath11k *ar = arvif->ar; in ath11k_mac_vif_setup_ps() local
1268 static int ath11k_mac_config_ps(struct ath11k *ar) in ath11k_mac_config_ps()
1288 struct ath11k *ar = hw->priv; in ath11k_mac_op_config() local
1429 struct ath11k *ar = arvif->ar; in ath11k_mac_setup_bcn_p2p_ie() local
1590 struct ath11k *ar = arvif->ar; in ath11k_mac_setup_bcn_tmpl_mbssid() local
1676 struct ath11k *ar = arvif->ar; in ath11k_control_beaconing() local
1741 void ath11k_mac_handle_beacon(struct ath11k *ar, struct sk_buff *skb) in ath11k_mac_handle_beacon()
1754 struct ath11k *ar = arvif->ar; in ath11k_mac_handle_beacon_miss_iter() local
1774 void ath11k_mac_handle_beacon_miss(struct ath11k *ar, u32 vdev_id) in ath11k_mac_handle_beacon_miss()
1794 static void ath11k_peer_assoc_h_basic(struct ath11k *ar, in ath11k_peer_assoc_h_basic()
1819 static void ath11k_peer_assoc_h_crypto(struct ath11k *ar, in ath11k_peer_assoc_h_crypto()
1880 static void ath11k_peer_assoc_h_rates(struct ath11k *ar, in ath11k_peer_assoc_h_rates()
1942 static void ath11k_peer_assoc_h_ht(struct ath11k *ar, in ath11k_peer_assoc_h_ht()
2111 static u8 ath11k_get_nss_160mhz(struct ath11k *ar, in ath11k_get_nss_160mhz()
2139 static void ath11k_peer_assoc_h_vht(struct ath11k *ar, in ath11k_peer_assoc_h_vht()
2337 static void ath11k_peer_assoc_h_he(struct ath11k *ar, in ath11k_peer_assoc_h_he()
2582 static void ath11k_peer_assoc_h_he_6ghz(struct ath11k *ar, in ath11k_peer_assoc_h_he_6ghz()
2664 static void ath11k_peer_assoc_h_qos(struct ath11k *ar, in ath11k_peer_assoc_h_qos()
2700 static int ath11k_peer_assoc_qos_ap(struct ath11k *ar, in ath11k_peer_assoc_qos_ap()
2773 static enum wmi_phy_mode ath11k_mac_get_phymode_vht(struct ath11k *ar, in ath11k_mac_get_phymode_vht()
2801 static enum wmi_phy_mode ath11k_mac_get_phymode_he(struct ath11k *ar, in ath11k_mac_get_phymode_he()
2827 static void ath11k_peer_assoc_h_phymode(struct ath11k *ar, in ath11k_peer_assoc_h_phymode()
2906 static void ath11k_peer_assoc_prepare(struct ath11k *ar, in ath11k_peer_assoc_prepare()
2939 static int ath11k_setup_peer_smps(struct ath11k *ar, struct ath11k_vif *arvif, in ath11k_setup_peer_smps()
2966 struct ath11k *ar = arvif->ar; in ath11k_mac_set_he_txbf_conf() local
3014 static bool ath11k_mac_vif_recalc_sta_he_txbf(struct ath11k *ar, in ath11k_mac_vif_recalc_sta_he_txbf()
3079 struct ath11k *ar = hw->priv; in ath11k_bss_assoc() local
3196 struct ath11k *ar = hw->priv; in ath11k_bss_disassoc() local
3242 static void ath11k_recalculate_mgmt_rate(struct ath11k *ar, in ath11k_recalculate_mgmt_rate()
3287 struct ath11k *ar = arvif->ar; in ath11k_mac_fils_discovery() local
3330 static int ath11k_mac_config_obss_pd(struct ath11k *ar, in ath11k_mac_config_obss_pd()
3482 static bool ath11k_mac_supports_station_tpc(struct ath11k *ar, in ath11k_mac_supports_station_tpc()
3499 struct ath11k *ar = hw->priv; in ath11k_mac_op_bss_info_changed() local
3848 void __ath11k_mac_scan_finish(struct ath11k *ar) in __ath11k_mac_scan_finish()
3881 void ath11k_mac_scan_finish(struct ath11k *ar) in ath11k_mac_scan_finish()
3888 static int ath11k_scan_stop(struct ath11k *ar) in ath11k_scan_stop()
3932 static void ath11k_scan_abort(struct ath11k *ar) in ath11k_scan_abort()
3968 struct ath11k *ar = container_of(work, struct ath11k, in ath11k_scan_timeout_work() local
3976 static int ath11k_start_scan(struct ath11k *ar, in ath11k_start_scan()
4025 struct ath11k *ar = hw->priv; in ath11k_mac_op_hw_scan() local
4192 struct ath11k *ar = hw->priv; in ath11k_mac_op_cancel_hw_scan() local
4207 struct ath11k *ar = arvif->ar; in ath11k_install_key() local
4271 struct ath11k *ar = arvif->ar; in ath11k_clear_peer_keys() local
4314 struct ath11k *ar = hw->priv; in ath11k_mac_op_set_key() local
4440 ath11k_mac_bitrate_mask_num_ht_rates(struct ath11k *ar, in ath11k_mac_bitrate_mask_num_ht_rates()
4454 ath11k_mac_bitrate_mask_num_vht_rates(struct ath11k *ar, in ath11k_mac_bitrate_mask_num_vht_rates()
4468 ath11k_mac_bitrate_mask_num_he_rates(struct ath11k *ar, in ath11k_mac_bitrate_mask_num_he_rates()
4487 struct ath11k *ar = arvif->ar; in ath11k_mac_set_peer_vht_fixed_rate() local
4537 struct ath11k *ar = arvif->ar; in ath11k_mac_set_peer_he_fixed_rate() local
4588 struct ath11k *ar = arvif->ar; in ath11k_mac_set_peer_ht_fixed_rate() local
4630 static int ath11k_station_assoc(struct ath11k *ar, in ath11k_station_assoc()
4727 static int ath11k_station_disassoc(struct ath11k *ar, in ath11k_station_disassoc()
4762 struct ath11k *ar; in ath11k_sta_rc_update_wk() local
4950 struct ath11k *ar; in ath11k_sta_set_4addr_wk() local
4976 struct ath11k *ar = arvif->ar; in ath11k_mac_inc_num_stations() local
4994 struct ath11k *ar = arvif->ar; in ath11k_mac_dec_num_stations() local
5004 static u32 ath11k_mac_ieee80211_sta_bw_to_wmi(struct ath11k *ar, in ath11k_mac_ieee80211_sta_bw_to_wmi()
5036 struct ath11k *ar = hw->priv; in ath11k_mac_op_sta_set_txpwr() local
5071 struct ath11k *ar = hw->priv; in ath11k_mac_op_sta_set_4addr() local
5085 struct ath11k *ar = hw->priv; in ath11k_mac_op_sta_rc_update() local
5151 static int ath11k_conf_tx_uapsd(struct ath11k *ar, struct ieee80211_vif *vif, in ath11k_conf_tx_uapsd()
5213 struct ath11k *ar = hw->priv; in ath11k_mac_op_conf_tx() local
5263 ath11k_create_ht_cap(struct ath11k *ar, u32 ar_ht_cap, u32 rate_cap_rx_chainmask) in ath11k_create_ht_cap()
5331 struct ath11k *ar = arvif->ar; in ath11k_mac_set_txbf_conf() local
5379 static void ath11k_set_vht_txbf_cap(struct ath11k *ar, u32 *vht_cap) in ath11k_set_vht_txbf_cap()
5435 ath11k_create_vht_cap(struct ath11k *ar, u32 rate_cap_tx_chainmask, in ath11k_create_vht_cap()
5474 static void ath11k_mac_setup_ht_vht_cap(struct ath11k *ar, in ath11k_mac_setup_ht_vht_cap()
5509 static int ath11k_check_chain_mask(struct ath11k *ar, u32 ant, bool is_tx_ant) in ath11k_check_chain_mask()
5647 static void ath11k_mac_set_hemcsmap(struct ath11k *ar, in ath11k_mac_set_hemcsmap()
5684 static int ath11k_mac_copy_he_cap(struct ath11k *ar, in ath11k_mac_copy_he_cap()
5759 static void ath11k_mac_setup_he_cap(struct ath11k *ar, in ath11k_mac_setup_he_cap()
5797 static int __ath11k_set_antenna(struct ath11k *ar, u32 tx_ant, u32 rx_ant) in __ath11k_set_antenna()
5843 static void ath11k_mgmt_over_wmi_tx_drop(struct ath11k *ar, struct sk_buff *skb) in ath11k_mgmt_over_wmi_tx_drop()
5858 static void ath11k_mac_tx_mgmt_free(struct ath11k *ar, int buf_id) in ath11k_mac_tx_mgmt_free()
5881 struct ath11k *ar = ctx; in ath11k_mac_tx_mgmt_pending_free() local
5892 struct ath11k *ar = skb_cb->ar; in ath11k_mac_vif_txmgmt_idr_remove() local
5900 static int ath11k_mac_mgmt_tx_wmi(struct ath11k *ar, struct ath11k_vif *arvif, in ath11k_mac_mgmt_tx_wmi()
5969 static void ath11k_mgmt_over_wmi_tx_purge(struct ath11k *ar) in ath11k_mgmt_over_wmi_tx_purge()
5979 struct ath11k *ar = container_of(work, struct ath11k, wmi_mgmt_tx_work); in ath11k_mgmt_over_wmi_tx_work() local
6017 static int ath11k_mac_mgmt_tx(struct ath11k *ar, struct sk_buff *skb, in ath11k_mac_mgmt_tx()
6054 struct ath11k *ar = hw->priv; in ath11k_mac_op_tx() local
6096 void ath11k_mac_drain_tx(struct ath11k *ar) in ath11k_mac_drain_tx()
6105 static int ath11k_mac_config_mon_status_default(struct ath11k *ar, bool enable) in ath11k_mac_config_mon_status_default()
6157 struct ath11k *ar = hw->priv; in ath11k_mac_op_start() local
6290 struct ath11k *ar = hw->priv; in ath11k_mac_op_stop() local
6332 struct ath11k *ar = arvif->ar; in ath11k_mac_setup_vdev_params_mbssid() local
6366 struct ath11k *ar = arvif->ar; in ath11k_mac_setup_vdev_create_params() local
6405 struct ath11k *ar = hw->priv; in ath11k_mac_op_update_vif_offload() local
6452 struct ath11k *ar; in ath11k_mac_vif_ap_active_any() local
6468 void ath11k_mac_11d_scan_start(struct ath11k *ar, u32 vdev_id) in ath11k_mac_11d_scan_start()
6515 void ath11k_mac_11d_scan_stop(struct ath11k *ar) in ath11k_mac_11d_scan_stop()
6554 struct ath11k *ar; in ath11k_mac_11d_scan_stop_all() local
6568 static int ath11k_mac_vdev_delete(struct ath11k *ar, struct ath11k_vif *arvif) in ath11k_mac_vdev_delete()
6615 struct ath11k *ar = hw->priv; in ath11k_mac_op_add_interface() local
6886 struct ath11k *ar = hw->priv; in ath11k_mac_op_remove_interface() local
6974 struct ath11k *ar = hw->priv; in ath11k_mac_op_configure_filter() local
6986 struct ath11k *ar = hw->priv; in ath11k_mac_op_get_antenna() local
7000 struct ath11k *ar = hw->priv; in ath11k_mac_op_set_antenna() local
7014 struct ath11k *ar = hw->priv; in ath11k_mac_op_ampdu_action() local
7046 struct ath11k *ar = hw->priv; in ath11k_mac_op_add_chanctx() local
7070 struct ath11k *ar = hw->priv; in ath11k_mac_op_remove_chanctx() local
7094 struct ath11k *ar = arvif->ar; in ath11k_mac_vdev_start_restart() local
7215 struct ath11k *ar = arvif->ar; in ath11k_mac_vdev_stop() local
7305 ath11k_mac_update_vif_chan(struct ath11k *ar, in ath11k_mac_update_vif_chan()
7401 ath11k_mac_update_active_vif_chan(struct ath11k *ar, in ath11k_mac_update_active_vif_chan()
7433 struct ath11k *ar = hw->priv; in ath11k_mac_op_change_chanctx() local
7461 struct ath11k *ar = hw->priv; in ath11k_mac_start_vdev_delay() local
7508 struct ath11k *ar = hw->priv; in ath11k_mac_stop_vdev_early() local
7618 static void ath11k_mac_get_psd_channel(struct ath11k *ar, in ath11k_mac_get_psd_channel()
7642 static void ath11k_mac_get_eirp_power(struct ath11k *ar, in ath11k_mac_get_eirp_power()
7673 void ath11k_mac_fill_reg_tpc_info(struct ath11k *ar, in ath11k_mac_fill_reg_tpc_info()
7848 static void ath11k_mac_parse_tx_pwr_env(struct ath11k *ar, in ath11k_mac_parse_tx_pwr_env()
7933 struct ath11k *ar = hw->priv; in ath11k_mac_op_assign_vif_chanctx() local
8016 struct ath11k *ar = hw->priv; in ath11k_mac_op_unassign_vif_chanctx() local
8086 struct ath11k *ar = hw->priv; in ath11k_mac_op_switch_vif_chanctx() local
8101 ath11k_set_vdev_param_to_all_vifs(struct ath11k *ar, int param, u32 value) in ath11k_set_vdev_param_to_all_vifs()
8128 struct ath11k *ar = hw->priv; in ath11k_mac_op_set_rts_threshold() local
8149 static int ath11k_mac_flush_tx_complete(struct ath11k *ar) in ath11k_mac_flush_tx_complete()
8175 int ath11k_mac_wait_tx_complete(struct ath11k *ar) in ath11k_mac_wait_tx_complete()
8184 struct ath11k *ar = hw->priv; in ath11k_mac_op_flush() local
8193 ath11k_mac_has_single_legacy_rate(struct ath11k *ar, in ath11k_mac_has_single_legacy_rate()
8228 ath11k_mac_bitrate_mask_get_single_nss(struct ath11k *ar, in ath11k_mac_bitrate_mask_get_single_nss()
8299 ath11k_mac_get_single_legacy_rate(struct ath11k *ar, in ath11k_mac_get_single_legacy_rate()
8334 struct ath11k *ar = arvif->ar; in ath11k_mac_set_fixed_rate_gi_ltf() local
8366 struct ath11k *ar = arvif->ar; in ath11k_mac_set_auto_rate_gi_ltf() local
8422 struct ath11k *ar = arvif->ar; in ath11k_mac_set_rate_params() local
8495 ath11k_mac_vht_mcs_range_present(struct ath11k *ar, in ath11k_mac_vht_mcs_range_present()
8520 ath11k_mac_he_mcs_range_present(struct ath11k *ar, in ath11k_mac_he_mcs_range_present()
8549 struct ath11k *ar = arvif->ar; in ath11k_mac_set_bitrate_mask_iter() local
8562 struct ath11k *ar = arvif->ar; in ath11k_mac_disable_peer_fixed_rate() local
8576 ath11k_mac_validate_vht_he_fixed_rate_settings(struct ath11k *ar, enum nl80211_band band, in ath11k_mac_validate_vht_he_fixed_rate_settings()
8635 struct ath11k *ar = arvif->ar; in ath11k_mac_op_set_bitrate_mask() local
8783 struct ath11k *ar = hw->priv; in ath11k_mac_op_reconfig_complete() local
8830 ath11k_mac_update_bss_chan_survey(struct ath11k *ar, in ath11k_mac_update_bss_chan_survey()
8864 struct ath11k *ar = hw->priv; in ath11k_mac_op_get_survey() local
8917 struct ath11k *ar = arsta->arvif->ar; in ath11k_mac_put_chain_rssi() local
8947 struct ath11k *ar = arsta->arvif->ar; in ath11k_mac_op_sta_statistics() local
9009 static void ath11k_generate_ns_mc_addr(struct ath11k *ar, in ath11k_generate_ns_mc_addr()
9034 struct ath11k *ar = hw->priv; in ath11k_mac_op_ipv6_changed() local
9114 struct ath11k *ar = hw->priv; in ath11k_mac_op_set_rekey_data() local
9146 struct ath11k *ar = hw->priv; in ath11k_mac_op_set_bios_sar_specs() local
9207 struct ath11k *ar = hw->priv; in ath11k_mac_op_cancel_remain_on_channel() local
9230 struct ath11k *ar = hw->priv; in ath11k_mac_op_remain_on_channel() local
9324 static int ath11k_fw_stats_request(struct ath11k *ar, in ath11k_fw_stats_request()
9360 struct ath11k *ar = hw->priv; in ath11k_mac_op_get_txpower() local
9421 static int ath11k_mac_station_add(struct ath11k *ar, in ath11k_mac_station_add()
9515 static int ath11k_mac_station_remove(struct ath11k *ar, in ath11k_mac_station_remove()
9561 struct ath11k *ar = hw->priv; in ath11k_mac_op_sta_state() local
9751 static void ath11k_mac_update_ch_list(struct ath11k *ar, in ath11k_mac_update_ch_list()
9767 static u32 ath11k_get_phy_id(struct ath11k *ar, u32 band) in ath11k_get_phy_id()
9783 static int ath11k_mac_setup_channels_rates(struct ath11k *ar, in ath11k_mac_setup_channels_rates()
9883 static void ath11k_mac_setup_mac_address_list(struct ath11k *ar) in ath11k_mac_setup_mac_address_list()
9910 static int ath11k_mac_setup_iface_combinations(struct ath11k *ar) in ath11k_mac_setup_iface_combinations()
10020 static void __ath11k_mac_unregister(struct ath11k *ar) in __ath11k_mac_unregister()
10043 struct ath11k *ar; in ath11k_mac_unregister() local
10059 static int __ath11k_mac_register(struct ath11k *ar) in __ath11k_mac_register()
10310 struct ath11k *ar; in ath11k_mac_register() local
10369 struct ath11k *ar; in ath11k_mac_allocate() local
10446 struct ath11k *ar; in ath11k_mac_destroy() local
10466 struct ath11k *ar = arvif->ar; in ath11k_mac_vif_set_keepalive() local