Lines Matching defs:ar
571 struct ath11k_vif *ath11k_mac_get_arvif(struct ath11k *ar, u32 vdev_id) in ath11k_mac_get_arvif()
653 struct ath11k *ar; in ath11k_mac_get_vif_up() local
679 struct ath11k *ar = arvif->ar; in ath11k_mac_get_target_pdev_id_from_vif() local
700 u8 ath11k_mac_get_target_pdev_id(struct ath11k *ar) in ath11k_mac_get_target_pdev_id()
712 static void ath11k_pdev_caps_update(struct ath11k *ar) in ath11k_pdev_caps_update()
730 static int ath11k_mac_txpower_recalc(struct ath11k *ar) in ath11k_mac_txpower_recalc()
789 struct ath11k *ar = arvif->ar; in ath11k_recalc_rtscts_prot() local
828 struct ath11k *ar = arvif->ar; in ath11k_mac_set_kickout() local
871 void ath11k_mac_peer_cleanup_all(struct ath11k *ar) in ath11k_mac_peer_cleanup_all()
893 static inline int ath11k_mac_vdev_setup_sync(struct ath11k *ar) in ath11k_mac_vdev_setup_sync()
917 static int ath11k_mac_monitor_vdev_start(struct ath11k *ar, int vdev_id, in ath11k_mac_monitor_vdev_start()
995 static int ath11k_mac_monitor_vdev_stop(struct ath11k *ar) in ath11k_mac_monitor_vdev_stop()
1030 static int ath11k_mac_monitor_vdev_create(struct ath11k *ar) in ath11k_mac_monitor_vdev_create()
1106 static int ath11k_mac_monitor_vdev_delete(struct ath11k *ar) in ath11k_mac_monitor_vdev_delete()
1143 static int ath11k_mac_monitor_start(struct ath11k *ar) in ath11k_mac_monitor_start()
1181 static int ath11k_mac_monitor_stop(struct ath11k *ar) in ath11k_mac_monitor_stop()
1213 struct ath11k *ar = arvif->ar; in ath11k_mac_vif_setup_ps() local
1270 static int ath11k_mac_config_ps(struct ath11k *ar) in ath11k_mac_config_ps()
1290 struct ath11k *ar = hw->priv; in ath11k_mac_op_config() local
1352 struct ath11k *ar = arvif->ar; in ath11k_mac_setup_bcn_tmpl() local
1421 struct ath11k *ar = arvif->ar; in ath11k_control_beaconing() local
1479 void ath11k_mac_handle_beacon(struct ath11k *ar, struct sk_buff *skb) in ath11k_mac_handle_beacon()
1492 struct ath11k *ar = arvif->ar; in ath11k_mac_handle_beacon_miss_iter() local
1512 void ath11k_mac_handle_beacon_miss(struct ath11k *ar, u32 vdev_id) in ath11k_mac_handle_beacon_miss()
1532 static void ath11k_peer_assoc_h_basic(struct ath11k *ar, in ath11k_peer_assoc_h_basic()
1557 static void ath11k_peer_assoc_h_crypto(struct ath11k *ar, in ath11k_peer_assoc_h_crypto()
1618 static void ath11k_peer_assoc_h_rates(struct ath11k *ar, in ath11k_peer_assoc_h_rates()
1680 static void ath11k_peer_assoc_h_ht(struct ath11k *ar, in ath11k_peer_assoc_h_ht()
1849 static u8 ath11k_get_nss_160mhz(struct ath11k *ar, in ath11k_get_nss_160mhz()
1877 static void ath11k_peer_assoc_h_vht(struct ath11k *ar, in ath11k_peer_assoc_h_vht()
2075 static void ath11k_peer_assoc_h_he(struct ath11k *ar, in ath11k_peer_assoc_h_he()
2316 static void ath11k_peer_assoc_h_he_6ghz(struct ath11k *ar, in ath11k_peer_assoc_h_he_6ghz()
2398 static void ath11k_peer_assoc_h_qos(struct ath11k *ar, in ath11k_peer_assoc_h_qos()
2434 static int ath11k_peer_assoc_qos_ap(struct ath11k *ar, in ath11k_peer_assoc_qos_ap()
2507 static enum wmi_phy_mode ath11k_mac_get_phymode_vht(struct ath11k *ar, in ath11k_mac_get_phymode_vht()
2535 static enum wmi_phy_mode ath11k_mac_get_phymode_he(struct ath11k *ar, in ath11k_mac_get_phymode_he()
2561 static void ath11k_peer_assoc_h_phymode(struct ath11k *ar, in ath11k_peer_assoc_h_phymode()
2640 static void ath11k_peer_assoc_prepare(struct ath11k *ar, in ath11k_peer_assoc_prepare()
2673 static int ath11k_setup_peer_smps(struct ath11k *ar, struct ath11k_vif *arvif, in ath11k_setup_peer_smps()
2702 struct ath11k *ar = hw->priv; in ath11k_bss_assoc() local
2807 struct ath11k *ar = hw->priv; in ath11k_bss_disassoc() local
2853 static void ath11k_recalculate_mgmt_rate(struct ath11k *ar, in ath11k_recalculate_mgmt_rate()
2898 struct ath11k *ar = arvif->ar; in ath11k_mac_fils_discovery() local
2941 static int ath11k_mac_config_obss_pd(struct ath11k *ar, in ath11k_mac_config_obss_pd()
3098 struct ath11k *ar = hw->priv; in ath11k_mac_op_bss_info_changed() local
3432 void __ath11k_mac_scan_finish(struct ath11k *ar) in __ath11k_mac_scan_finish()
3465 void ath11k_mac_scan_finish(struct ath11k *ar) in ath11k_mac_scan_finish()
3472 static int ath11k_scan_stop(struct ath11k *ar) in ath11k_scan_stop()
3516 static void ath11k_scan_abort(struct ath11k *ar) in ath11k_scan_abort()
3552 struct ath11k *ar = container_of(work, struct ath11k, in ath11k_scan_timeout_work() local
3560 static int ath11k_start_scan(struct ath11k *ar, in ath11k_start_scan()
3609 struct ath11k *ar = hw->priv; in ath11k_mac_op_hw_scan() local
3714 struct ath11k *ar = hw->priv; in ath11k_mac_op_cancel_hw_scan() local
3729 struct ath11k *ar = arvif->ar; in ath11k_install_key() local
3794 struct ath11k *ar = arvif->ar; in ath11k_clear_peer_keys() local
3837 struct ath11k *ar = hw->priv; in ath11k_mac_op_set_key() local
3963 ath11k_mac_bitrate_mask_num_vht_rates(struct ath11k *ar, in ath11k_mac_bitrate_mask_num_vht_rates()
3977 ath11k_mac_bitrate_mask_num_he_rates(struct ath11k *ar, in ath11k_mac_bitrate_mask_num_he_rates()
3996 struct ath11k *ar = arvif->ar; in ath11k_mac_set_peer_vht_fixed_rate() local
4046 struct ath11k *ar = arvif->ar; in ath11k_mac_set_peer_he_fixed_rate() local
4091 static int ath11k_station_assoc(struct ath11k *ar, in ath11k_station_assoc()
4182 static int ath11k_station_disassoc(struct ath11k *ar, in ath11k_station_disassoc()
4209 struct ath11k *ar; in ath11k_sta_rc_update_wk() local
4360 struct ath11k *ar; in ath11k_sta_set_4addr_wk() local
4386 struct ath11k *ar = arvif->ar; in ath11k_mac_inc_num_stations() local
4404 struct ath11k *ar = arvif->ar; in ath11k_mac_dec_num_stations() local
4414 static int ath11k_mac_station_add(struct ath11k *ar, in ath11k_mac_station_add()
4514 struct ath11k *ar = hw->priv; in ath11k_mac_op_sta_state() local
4640 struct ath11k *ar = hw->priv; in ath11k_mac_op_sta_set_txpwr() local
4675 struct ath11k *ar = hw->priv; in ath11k_mac_op_sta_set_4addr() local
4689 struct ath11k *ar = hw->priv; in ath11k_mac_op_sta_rc_update() local
4775 static int ath11k_conf_tx_uapsd(struct ath11k *ar, struct ieee80211_vif *vif, in ath11k_conf_tx_uapsd()
4837 struct ath11k *ar = hw->priv; in ath11k_mac_op_conf_tx() local
4887 ath11k_create_ht_cap(struct ath11k *ar, u32 ar_ht_cap, u32 rate_cap_rx_chainmask) in ath11k_create_ht_cap()
4955 struct ath11k *ar = arvif->ar; in ath11k_mac_set_txbf_conf() local
5003 static void ath11k_set_vht_txbf_cap(struct ath11k *ar, u32 *vht_cap) in ath11k_set_vht_txbf_cap()
5059 ath11k_create_vht_cap(struct ath11k *ar, u32 rate_cap_tx_chainmask, in ath11k_create_vht_cap()
5098 static void ath11k_mac_setup_ht_vht_cap(struct ath11k *ar, in ath11k_mac_setup_ht_vht_cap()
5133 static int ath11k_check_chain_mask(struct ath11k *ar, u32 ant, bool is_tx_ant) in ath11k_check_chain_mask()
5271 static int ath11k_mac_copy_he_cap(struct ath11k *ar, in ath11k_mac_copy_he_cap()
5357 static void ath11k_mac_setup_he_cap(struct ath11k *ar, in ath11k_mac_setup_he_cap()
5392 static int __ath11k_set_antenna(struct ath11k *ar, u32 tx_ant, u32 rx_ant) in __ath11k_set_antenna()
5438 static void ath11k_mgmt_over_wmi_tx_drop(struct ath11k *ar, struct sk_buff *skb) in ath11k_mgmt_over_wmi_tx_drop()
5453 static void ath11k_mac_tx_mgmt_free(struct ath11k *ar, int buf_id) in ath11k_mac_tx_mgmt_free()
5476 struct ath11k *ar = ctx; in ath11k_mac_tx_mgmt_pending_free() local
5487 struct ath11k *ar = skb_cb->ar; in ath11k_mac_vif_txmgmt_idr_remove() local
5495 static int ath11k_mac_mgmt_tx_wmi(struct ath11k *ar, struct ath11k_vif *arvif, in ath11k_mac_mgmt_tx_wmi()
5556 static void ath11k_mgmt_over_wmi_tx_purge(struct ath11k *ar) in ath11k_mgmt_over_wmi_tx_purge()
5566 struct ath11k *ar = container_of(work, struct ath11k, wmi_mgmt_tx_work); in ath11k_mgmt_over_wmi_tx_work() local
5604 static int ath11k_mac_mgmt_tx(struct ath11k *ar, struct sk_buff *skb, in ath11k_mac_mgmt_tx()
5641 struct ath11k *ar = hw->priv; in ath11k_mac_op_tx() local
5683 void ath11k_mac_drain_tx(struct ath11k *ar) in ath11k_mac_drain_tx()
5692 static int ath11k_mac_config_mon_status_default(struct ath11k *ar, bool enable) in ath11k_mac_config_mon_status_default()
5744 struct ath11k *ar = hw->priv; in ath11k_mac_op_start() local
5871 struct ath11k *ar = hw->priv; in ath11k_mac_op_stop() local
5914 struct ath11k *ar = arvif->ar; in ath11k_mac_setup_vdev_create_params() local
5969 static int ath11k_set_he_mu_sounding_mode(struct ath11k *ar, in ath11k_set_he_mu_sounding_mode()
6003 struct ath11k *ar = hw->priv; in ath11k_mac_op_update_vif_offload() local
6050 struct ath11k *ar; in ath11k_mac_vif_ap_active_any() local
6066 void ath11k_mac_11d_scan_start(struct ath11k *ar, u32 vdev_id) in ath11k_mac_11d_scan_start()
6113 void ath11k_mac_11d_scan_stop(struct ath11k *ar) in ath11k_mac_11d_scan_stop()
6152 struct ath11k *ar; in ath11k_mac_11d_scan_stop_all() local
6169 struct ath11k *ar = hw->priv; in ath11k_mac_op_add_interface() local
6432 struct ath11k *ar = hw->priv; in ath11k_mac_op_remove_interface() local
6533 struct ath11k *ar = hw->priv; in ath11k_mac_op_configure_filter() local
6545 struct ath11k *ar = hw->priv; in ath11k_mac_op_get_antenna() local
6559 struct ath11k *ar = hw->priv; in ath11k_mac_op_set_antenna() local
6573 struct ath11k *ar = hw->priv; in ath11k_mac_op_ampdu_action() local
6605 struct ath11k *ar = hw->priv; in ath11k_mac_op_add_chanctx() local
6629 struct ath11k *ar = hw->priv; in ath11k_mac_op_remove_chanctx() local
6653 struct ath11k *ar = arvif->ar; in ath11k_mac_vdev_start_restart() local
6762 struct ath11k *ar = arvif->ar; in ath11k_mac_vdev_stop() local
6852 ath11k_mac_update_vif_chan(struct ath11k *ar, in ath11k_mac_update_vif_chan()
6940 ath11k_mac_update_active_vif_chan(struct ath11k *ar, in ath11k_mac_update_active_vif_chan()
6972 struct ath11k *ar = hw->priv; in ath11k_mac_op_change_chanctx() local
7000 struct ath11k *ar = hw->priv; in ath11k_start_vdev_delay() local
7049 struct ath11k *ar = hw->priv; in ath11k_mac_op_assign_vif_chanctx() local
7139 struct ath11k *ar = hw->priv; in ath11k_mac_op_unassign_vif_chanctx() local
7222 struct ath11k *ar = hw->priv; in ath11k_mac_op_switch_vif_chanctx() local
7237 ath11k_set_vdev_param_to_all_vifs(struct ath11k *ar, int param, u32 value) in ath11k_set_vdev_param_to_all_vifs()
7264 struct ath11k *ar = hw->priv; in ath11k_mac_op_set_rts_threshold() local
7285 static int ath11k_mac_flush_tx_complete(struct ath11k *ar) in ath11k_mac_flush_tx_complete()
7311 int ath11k_mac_wait_tx_complete(struct ath11k *ar) in ath11k_mac_wait_tx_complete()
7320 struct ath11k *ar = hw->priv; in ath11k_mac_op_flush() local
7329 ath11k_mac_bitrate_mask_num_ht_rates(struct ath11k *ar, in ath11k_mac_bitrate_mask_num_ht_rates()
7343 ath11k_mac_has_single_legacy_rate(struct ath11k *ar, in ath11k_mac_has_single_legacy_rate()
7378 ath11k_mac_bitrate_mask_get_single_nss(struct ath11k *ar, in ath11k_mac_bitrate_mask_get_single_nss()
7443 ath11k_mac_get_single_legacy_rate(struct ath11k *ar, in ath11k_mac_get_single_legacy_rate()
7478 struct ath11k *ar = arvif->ar; in ath11k_mac_set_fixed_rate_gi_ltf() local
7510 struct ath11k *ar = arvif->ar; in ath11k_mac_set_auto_rate_gi_ltf() local
7566 struct ath11k *ar = arvif->ar; in ath11k_mac_set_rate_params() local
7639 ath11k_mac_vht_mcs_range_present(struct ath11k *ar, in ath11k_mac_vht_mcs_range_present()
7664 ath11k_mac_he_mcs_range_present(struct ath11k *ar, in ath11k_mac_he_mcs_range_present()
7693 struct ath11k *ar = arvif->ar; in ath11k_mac_set_bitrate_mask_iter() local
7706 struct ath11k *ar = arvif->ar; in ath11k_mac_disable_peer_fixed_rate() local
7720 ath11k_mac_validate_vht_he_fixed_rate_settings(struct ath11k *ar, enum nl80211_band band, in ath11k_mac_validate_vht_he_fixed_rate_settings()
7779 struct ath11k *ar = arvif->ar; in ath11k_mac_op_set_bitrate_mask() local
7929 struct ath11k *ar = hw->priv; in ath11k_mac_op_reconfig_complete() local
7973 ath11k_mac_update_bss_chan_survey(struct ath11k *ar, in ath11k_mac_update_bss_chan_survey()
8007 struct ath11k *ar = hw->priv; in ath11k_mac_op_get_survey() local
8060 struct ath11k *ar = arsta->arvif->ar; in ath11k_mac_put_chain_rssi() local
8090 struct ath11k *ar = arsta->arvif->ar; in ath11k_mac_op_sta_statistics() local
8149 static void ath11k_generate_ns_mc_addr(struct ath11k *ar, in ath11k_generate_ns_mc_addr()
8174 struct ath11k *ar = hw->priv; in ath11k_mac_op_ipv6_changed() local
8249 struct ath11k *ar = hw->priv; in ath11k_mac_op_set_rekey_data() local
8281 struct ath11k *ar = hw->priv; in ath11k_mac_op_set_bios_sar_specs() local
8342 struct ath11k *ar = hw->priv; in ath11k_mac_op_cancel_remain_on_channel() local
8365 struct ath11k *ar = hw->priv; in ath11k_mac_op_remain_on_channel() local
8451 static int ath11k_fw_stats_request(struct ath11k *ar, in ath11k_fw_stats_request()
8487 struct ath11k *ar = hw->priv; in ath11k_mac_op_get_txpower() local
8597 static void ath11k_mac_update_ch_list(struct ath11k *ar, in ath11k_mac_update_ch_list()
8613 static u32 ath11k_get_phy_id(struct ath11k *ar, u32 band) in ath11k_get_phy_id()
8629 static int ath11k_mac_setup_channels_rates(struct ath11k *ar, in ath11k_mac_setup_channels_rates()
8729 static int ath11k_mac_setup_iface_combinations(struct ath11k *ar) in ath11k_mac_setup_iface_combinations()
8814 static void __ath11k_mac_unregister(struct ath11k *ar) in __ath11k_mac_unregister()
8835 struct ath11k *ar; in ath11k_mac_unregister() local
8851 static int __ath11k_mac_register(struct ath11k *ar) in __ath11k_mac_register()
9088 struct ath11k *ar; in ath11k_mac_register() local
9147 struct ath11k *ar; in ath11k_mac_allocate() local
9224 struct ath11k *ar; in ath11k_mac_destroy() local
9243 struct ath11k *ar = arvif->ar; in ath11k_mac_vif_set_keepalive() local