Lines Matching refs:ath12k
532 struct ath12k_vif *ath12k_mac_get_arvif(struct ath12k *ar, u32 vdev_id) in ath12k_mac_get_arvif()
571 struct ath12k *ath12k_mac_get_ar_by_vdev_id(struct ath12k_base *ab, u32 vdev_id) in ath12k_mac_get_ar_by_vdev_id()
587 struct ath12k *ath12k_mac_get_ar_by_pdev_id(struct ath12k_base *ab, u32 pdev_id) in ath12k_mac_get_ar_by_pdev_id()
610 static void ath12k_pdev_caps_update(struct ath12k *ar) in ath12k_pdev_caps_update()
628 static int ath12k_mac_txpower_recalc(struct ath12k *ar) in ath12k_mac_txpower_recalc()
687 struct ath12k *ar = arvif->ar; in ath12k_recalc_rtscts_prot()
726 struct ath12k *ar = arvif->ar; in ath12k_mac_set_kickout()
769 void ath12k_mac_peer_cleanup_all(struct ath12k *ar) in ath12k_mac_peer_cleanup_all()
788 static int ath12k_mac_vdev_setup_sync(struct ath12k *ar) in ath12k_mac_vdev_setup_sync()
805 static int ath12k_monitor_vdev_up(struct ath12k *ar, int vdev_id) in ath12k_monitor_vdev_up()
821 static int ath12k_mac_monitor_vdev_start(struct ath12k *ar, int vdev_id, in ath12k_mac_monitor_vdev_start()
885 static int ath12k_mac_monitor_vdev_stop(struct ath12k *ar) in ath12k_mac_monitor_vdev_stop()
913 static int ath12k_mac_monitor_vdev_create(struct ath12k *ar) in ath12k_mac_monitor_vdev_create()
982 static int ath12k_mac_monitor_vdev_delete(struct ath12k *ar) in ath12k_mac_monitor_vdev_delete()
1028 static int ath12k_mac_monitor_start(struct ath12k *ar) in ath12k_mac_monitor_start()
1059 static int ath12k_mac_monitor_stop(struct ath12k *ar) in ath12k_mac_monitor_stop()
1083 struct ath12k *ar = hw->priv; in ath12k_mac_op_config()
1122 struct ath12k *ar = arvif->ar; in ath12k_mac_setup_bcn_tmpl()
1166 struct ath12k *ar = arvif->ar; in ath12k_control_beaconing()
1206 static void ath12k_peer_assoc_h_basic(struct ath12k *ar, in ath12k_peer_assoc_h_basic()
1231 static void ath12k_peer_assoc_h_crypto(struct ath12k *ar, in ath12k_peer_assoc_h_crypto()
1292 static void ath12k_peer_assoc_h_rates(struct ath12k *ar, in ath12k_peer_assoc_h_rates()
1354 static void ath12k_peer_assoc_h_ht(struct ath12k *ar, in ath12k_peer_assoc_h_ht()
1515 static void ath12k_peer_assoc_h_vht(struct ath12k *ar, in ath12k_peer_assoc_h_vht()
1610 static void ath12k_peer_assoc_h_he(struct ath12k *ar, in ath12k_peer_assoc_h_he()
1792 static void ath12k_peer_assoc_h_qos(struct ath12k *ar, in ath12k_peer_assoc_h_qos()
1828 static int ath12k_peer_assoc_qos_ap(struct ath12k *ar, in ath12k_peer_assoc_qos_ap()
1901 static enum wmi_phy_mode ath12k_mac_get_phymode_vht(struct ath12k *ar, in ath12k_mac_get_phymode_vht()
1929 static enum wmi_phy_mode ath12k_mac_get_phymode_he(struct ath12k *ar, in ath12k_mac_get_phymode_he()
1955 static enum wmi_phy_mode ath12k_mac_get_phymode_eht(struct ath12k *ar, in ath12k_mac_get_phymode_eht()
1990 static void ath12k_peer_assoc_h_phymode(struct ath12k *ar, in ath12k_peer_assoc_h_phymode()
2135 static void ath12k_peer_assoc_h_eht(struct ath12k *ar, in ath12k_peer_assoc_h_eht()
2218 static void ath12k_peer_assoc_prepare(struct ath12k *ar, in ath12k_peer_assoc_prepare()
2245 static int ath12k_setup_peer_smps(struct ath12k *ar, struct ath12k_vif *arvif, in ath12k_setup_peer_smps()
2269 struct ath12k *ar = hw->priv; in ath12k_bss_assoc()
2363 struct ath12k *ar = hw->priv; in ath12k_bss_disassoc()
2407 static void ath12k_recalculate_mgmt_rate(struct ath12k *ar, in ath12k_recalculate_mgmt_rate()
2447 struct ath12k *ar = arvif->ar; in ath12k_mac_fils_discovery()
2495 struct ath12k *ar = hw->priv; in ath12k_mac_op_bss_info_changed()
2775 void __ath12k_mac_scan_finish(struct ath12k *ar) in __ath12k_mac_scan_finish()
2805 void ath12k_mac_scan_finish(struct ath12k *ar) in ath12k_mac_scan_finish()
2812 static int ath12k_scan_stop(struct ath12k *ar) in ath12k_scan_stop()
2856 static void ath12k_scan_abort(struct ath12k *ar) in ath12k_scan_abort()
2892 struct ath12k *ar = container_of(work, struct ath12k, in ath12k_scan_timeout_work()
2900 static int ath12k_start_scan(struct ath12k *ar, in ath12k_start_scan()
2938 struct ath12k *ar = hw->priv; in ath12k_mac_op_hw_scan()
3029 struct ath12k *ar = hw->priv; in ath12k_mac_op_cancel_hw_scan()
3044 struct ath12k *ar = arvif->ar; in ath12k_install_key()
3114 struct ath12k *ar = arvif->ar; in ath12k_clear_peer_keys()
3157 struct ath12k *ar = hw->priv; in ath12k_mac_op_set_key()
3277 ath12k_mac_bitrate_mask_num_vht_rates(struct ath12k *ar, in ath12k_mac_bitrate_mask_num_vht_rates()
3296 struct ath12k *ar = arvif->ar; in ath12k_mac_set_peer_vht_fixed_rate()
3336 static int ath12k_station_assoc(struct ath12k *ar, in ath12k_station_assoc()
3424 static int ath12k_station_disassoc(struct ath12k *ar, in ath12k_station_disassoc()
3451 struct ath12k *ar; in ath12k_sta_rc_update_wk()
3611 struct ath12k *ar = arvif->ar; in ath12k_mac_inc_num_stations()
3629 struct ath12k *ar = arvif->ar; in ath12k_mac_dec_num_stations()
3639 static int ath12k_mac_station_add(struct ath12k *ar, in ath12k_mac_station_add()
3716 static u32 ath12k_mac_ieee80211_sta_bw_to_wmi(struct ath12k *ar, in ath12k_mac_ieee80211_sta_bw_to_wmi()
3750 struct ath12k *ar = hw->priv; in ath12k_mac_op_sta_state()
3863 struct ath12k *ar = hw->priv; in ath12k_mac_op_sta_set_txpwr()
3899 struct ath12k *ar = hw->priv; in ath12k_mac_op_sta_rc_update()
3964 static int ath12k_conf_tx_uapsd(struct ath12k *ar, struct ieee80211_vif *vif, in ath12k_conf_tx_uapsd()
4026 struct ath12k *ar = hw->priv; in ath12k_mac_op_conf_tx()
4076 ath12k_create_ht_cap(struct ath12k *ar, u32 ar_ht_cap, u32 rate_cap_rx_chainmask) in ath12k_create_ht_cap()
4144 struct ath12k *ar = arvif->ar; in ath12k_mac_set_txbf_conf()
4188 static void ath12k_set_vht_txbf_cap(struct ath12k *ar, u32 *vht_cap) in ath12k_set_vht_txbf_cap()
4231 ath12k_create_vht_cap(struct ath12k *ar, u32 rate_cap_tx_chainmask, in ath12k_create_vht_cap()
4271 static void ath12k_mac_setup_ht_vht_cap(struct ath12k *ar, in ath12k_mac_setup_ht_vht_cap()
4306 static int ath12k_check_chain_mask(struct ath12k *ar, u32 ant, bool is_tx_ant) in ath12k_check_chain_mask()
4607 static int ath12k_mac_copy_sband_iftype_data(struct ath12k *ar, in ath12k_mac_copy_sband_iftype_data()
4643 static void ath12k_mac_setup_sband_iftype_data(struct ath12k *ar, in ath12k_mac_setup_sband_iftype_data()
4682 static int __ath12k_set_antenna(struct ath12k *ar, u32 tx_ant, u32 rx_ant) in __ath12k_set_antenna()
4728 static void ath12k_mgmt_over_wmi_tx_drop(struct ath12k *ar, struct sk_buff *skb) in ath12k_mgmt_over_wmi_tx_drop()
4747 struct ath12k *ar = ctx; in ath12k_mac_tx_mgmt_pending_free()
4769 struct ath12k *ar = skb_cb->ar; in ath12k_mac_vif_txmgmt_idr_remove()
4783 static int ath12k_mac_mgmt_tx_wmi(struct ath12k *ar, struct ath12k_vif *arvif, in ath12k_mac_mgmt_tx_wmi()
4839 static void ath12k_mgmt_over_wmi_tx_purge(struct ath12k *ar) in ath12k_mgmt_over_wmi_tx_purge()
4849 struct ath12k *ar = container_of(work, struct ath12k, wmi_mgmt_tx_work); in ath12k_mgmt_over_wmi_tx_work()
4882 static int ath12k_mac_mgmt_tx(struct ath12k *ar, struct sk_buff *skb, in ath12k_mac_mgmt_tx()
4919 struct ath12k *ar = hw->priv; in ath12k_mac_op_tx()
4957 void ath12k_mac_drain_tx(struct ath12k *ar) in ath12k_mac_drain_tx()
4966 static int ath12k_mac_config_mon_status_default(struct ath12k *ar, bool enable) in ath12k_mac_config_mon_status_default()
4996 struct ath12k *ar = hw->priv; in ath12k_mac_op_start()
5119 struct ath12k *ar = hw->priv; in ath12k_mac_op_stop()
5178 struct ath12k *ar = arvif->ar; in ath12k_mac_setup_vdev_create_arg()
5237 static int ath12k_set_he_mu_sounding_mode(struct ath12k *ar, in ath12k_set_he_mu_sounding_mode()
5271 struct ath12k *ar = hw->priv; in ath12k_mac_op_update_vif_offload()
5318 struct ath12k *ar = hw->priv; in ath12k_mac_op_add_interface()
5577 struct ath12k *ar = hw->priv; in ath12k_mac_op_remove_interface()
5663 struct ath12k *ar = hw->priv; in ath12k_mac_op_configure_filter()
5694 struct ath12k *ar = hw->priv; in ath12k_mac_op_get_antenna()
5708 struct ath12k *ar = hw->priv; in ath12k_mac_op_set_antenna()
5722 struct ath12k *ar = hw->priv; in ath12k_mac_op_ampdu_action()
5754 struct ath12k *ar = hw->priv; in ath12k_mac_op_add_chanctx()
5778 struct ath12k *ar = hw->priv; in ath12k_mac_op_remove_chanctx()
5802 struct ath12k *ar = arvif->ar; in ath12k_mac_vdev_start_restart()
5906 struct ath12k *ar = arvif->ar; in ath12k_mac_vdev_stop()
5996 ath12k_mac_update_vif_chan(struct ath12k *ar, in ath12k_mac_update_vif_chan()
6095 ath12k_mac_update_active_vif_chan(struct ath12k *ar, in ath12k_mac_update_active_vif_chan()
6127 struct ath12k *ar = hw->priv; in ath12k_mac_op_change_chanctx()
6154 struct ath12k *ar = hw->priv; in ath12k_start_vdev_delay()
6190 struct ath12k *ar = hw->priv; in ath12k_mac_op_assign_vif_chanctx()
6269 struct ath12k *ar = hw->priv; in ath12k_mac_op_unassign_vif_chanctx()
6321 struct ath12k *ar = hw->priv; in ath12k_mac_op_switch_vif_chanctx()
6336 ath12k_set_vdev_param_to_all_vifs(struct ath12k *ar, int param, u32 value) in ath12k_set_vdev_param_to_all_vifs()
6363 struct ath12k *ar = hw->priv; in ath12k_mac_op_set_rts_threshold()
6387 struct ath12k *ar = hw->priv; in ath12k_mac_op_flush()
6408 ath12k_mac_bitrate_mask_num_ht_rates(struct ath12k *ar, in ath12k_mac_bitrate_mask_num_ht_rates()
6422 ath12k_mac_has_single_legacy_rate(struct ath12k *ar, in ath12k_mac_has_single_legacy_rate()
6440 ath12k_mac_bitrate_mask_get_single_nss(struct ath12k *ar, in ath12k_mac_bitrate_mask_get_single_nss()
6490 ath12k_mac_get_single_legacy_rate(struct ath12k *ar, in ath12k_mac_get_single_legacy_rate()
6525 struct ath12k *ar = arvif->ar; in ath12k_mac_set_fixed_rate_params()
6574 ath12k_mac_vht_mcs_range_present(struct ath12k *ar, in ath12k_mac_vht_mcs_range_present()
6603 struct ath12k *ar = arvif->ar; in ath12k_mac_set_bitrate_mask_iter()
6616 struct ath12k *ar = arvif->ar; in ath12k_mac_disable_peer_fixed_rate()
6636 struct ath12k *ar = arvif->ar; in ath12k_mac_op_set_bitrate_mask()
6753 struct ath12k *ar = hw->priv; in ath12k_mac_op_reconfig_complete()
6810 ath12k_mac_update_bss_chan_survey(struct ath12k *ar, in ath12k_mac_update_bss_chan_survey()
6844 struct ath12k *ar = hw->priv; in ath12k_mac_op_get_survey()
6956 static void ath12k_mac_update_ch_list(struct ath12k *ar, in ath12k_mac_update_ch_list()
6972 static u32 ath12k_get_phy_id(struct ath12k *ar, u32 band) in ath12k_get_phy_id()
6988 static int ath12k_mac_setup_channels_rates(struct ath12k *ar, in ath12k_mac_setup_channels_rates()
7081 static int ath12k_mac_setup_iface_combinations(struct ath12k *ar) in ath12k_mac_setup_iface_combinations()
7177 static void __ath12k_mac_unregister(struct ath12k *ar) in __ath12k_mac_unregister()
7198 struct ath12k *ar; in ath12k_mac_unregister()
7212 static int __ath12k_mac_register(struct ath12k *ar) in __ath12k_mac_register()
7383 struct ath12k *ar; in ath12k_mac_register()
7429 struct ath12k *ar; in ath12k_mac_allocate()
7439 hw = ieee80211_alloc_hw(sizeof(struct ath12k), &ath12k_ops); in ath12k_mac_allocate()
7496 struct ath12k *ar; in ath12k_mac_destroy()