Lines Matching refs:ath11k
571 struct ath11k_vif *ath11k_mac_get_arvif(struct ath11k *ar, u32 vdev_id) in ath11k_mac_get_arvif()
612 struct ath11k *ath11k_mac_get_ar_by_vdev_id(struct ath11k_base *ab, u32 vdev_id) in ath11k_mac_get_ar_by_vdev_id()
628 struct ath11k *ath11k_mac_get_ar_by_pdev_id(struct ath11k_base *ab, u32 pdev_id) in ath11k_mac_get_ar_by_pdev_id()
653 struct ath11k *ar; in ath11k_mac_get_vif_up()
679 struct ath11k *ar = arvif->ar; in ath11k_mac_get_target_pdev_id_from_vif()
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()
828 struct ath11k *ar = arvif->ar; in ath11k_mac_set_kickout()
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()
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()
1352 struct ath11k *ar = arvif->ar; in ath11k_mac_setup_bcn_tmpl()
1421 struct ath11k *ar = arvif->ar; in ath11k_control_beaconing()
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()
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()
2807 struct ath11k *ar = hw->priv; in ath11k_bss_disassoc()
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()
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()
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()
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()
3714 struct ath11k *ar = hw->priv; in ath11k_mac_op_cancel_hw_scan()
3729 struct ath11k *ar = arvif->ar; in ath11k_install_key()
3794 struct ath11k *ar = arvif->ar; in ath11k_clear_peer_keys()
3837 struct ath11k *ar = hw->priv; in ath11k_mac_op_set_key()
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()
4046 struct ath11k *ar = arvif->ar; in ath11k_mac_set_peer_he_fixed_rate()
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()
4394 struct ath11k *ar; in ath11k_sta_set_4addr_wk()
4420 struct ath11k *ar = arvif->ar; in ath11k_mac_inc_num_stations()
4438 struct ath11k *ar = arvif->ar; in ath11k_mac_dec_num_stations()
4448 static int ath11k_mac_station_add(struct ath11k *ar, in ath11k_mac_station_add()
4542 static u32 ath11k_mac_ieee80211_sta_bw_to_wmi(struct ath11k *ar, in ath11k_mac_ieee80211_sta_bw_to_wmi()
4576 struct ath11k *ar = hw->priv; in ath11k_mac_op_sta_state()
4708 struct ath11k *ar = hw->priv; in ath11k_mac_op_sta_set_txpwr()
4743 struct ath11k *ar = hw->priv; in ath11k_mac_op_sta_set_4addr()
4757 struct ath11k *ar = hw->priv; in ath11k_mac_op_sta_rc_update()
4823 static int ath11k_conf_tx_uapsd(struct ath11k *ar, struct ieee80211_vif *vif, in ath11k_conf_tx_uapsd()
4885 struct ath11k *ar = hw->priv; in ath11k_mac_op_conf_tx()
4935 ath11k_create_ht_cap(struct ath11k *ar, u32 ar_ht_cap, u32 rate_cap_rx_chainmask) in ath11k_create_ht_cap()
5003 struct ath11k *ar = arvif->ar; in ath11k_mac_set_txbf_conf()
5051 static void ath11k_set_vht_txbf_cap(struct ath11k *ar, u32 *vht_cap) in ath11k_set_vht_txbf_cap()
5107 ath11k_create_vht_cap(struct ath11k *ar, u32 rate_cap_tx_chainmask, in ath11k_create_vht_cap()
5146 static void ath11k_mac_setup_ht_vht_cap(struct ath11k *ar, in ath11k_mac_setup_ht_vht_cap()
5181 static int ath11k_check_chain_mask(struct ath11k *ar, u32 ant, bool is_tx_ant) in ath11k_check_chain_mask()
5319 static int ath11k_mac_copy_he_cap(struct ath11k *ar, in ath11k_mac_copy_he_cap()
5405 static void ath11k_mac_setup_he_cap(struct ath11k *ar, in ath11k_mac_setup_he_cap()
5440 static int __ath11k_set_antenna(struct ath11k *ar, u32 tx_ant, u32 rx_ant) in __ath11k_set_antenna()
5486 static void ath11k_mgmt_over_wmi_tx_drop(struct ath11k *ar, struct sk_buff *skb) in ath11k_mgmt_over_wmi_tx_drop()
5501 static void ath11k_mac_tx_mgmt_free(struct ath11k *ar, int buf_id) in ath11k_mac_tx_mgmt_free()
5524 struct ath11k *ar = ctx; in ath11k_mac_tx_mgmt_pending_free()
5535 struct ath11k *ar = skb_cb->ar; in ath11k_mac_vif_txmgmt_idr_remove()
5543 static int ath11k_mac_mgmt_tx_wmi(struct ath11k *ar, struct ath11k_vif *arvif, in ath11k_mac_mgmt_tx_wmi()
5604 static void ath11k_mgmt_over_wmi_tx_purge(struct ath11k *ar) in ath11k_mgmt_over_wmi_tx_purge()
5614 struct ath11k *ar = container_of(work, struct ath11k, wmi_mgmt_tx_work); in ath11k_mgmt_over_wmi_tx_work()
5652 static int ath11k_mac_mgmt_tx(struct ath11k *ar, struct sk_buff *skb, in ath11k_mac_mgmt_tx()
5689 struct ath11k *ar = hw->priv; in ath11k_mac_op_tx()
5731 void ath11k_mac_drain_tx(struct ath11k *ar) in ath11k_mac_drain_tx()
5740 static int ath11k_mac_config_mon_status_default(struct ath11k *ar, bool enable) in ath11k_mac_config_mon_status_default()
5792 struct ath11k *ar = hw->priv; in ath11k_mac_op_start()
5919 struct ath11k *ar = hw->priv; in ath11k_mac_op_stop()
5962 struct ath11k *ar = arvif->ar; in ath11k_mac_setup_vdev_create_params()
6017 static int ath11k_set_he_mu_sounding_mode(struct ath11k *ar, in ath11k_set_he_mu_sounding_mode()
6051 struct ath11k *ar = hw->priv; in ath11k_mac_op_update_vif_offload()
6098 struct ath11k *ar; in ath11k_mac_vif_ap_active_any()
6114 void ath11k_mac_11d_scan_start(struct ath11k *ar, u32 vdev_id) in ath11k_mac_11d_scan_start()
6161 void ath11k_mac_11d_scan_stop(struct ath11k *ar) in ath11k_mac_11d_scan_stop()
6200 struct ath11k *ar; in ath11k_mac_11d_scan_stop_all()
6217 struct ath11k *ar = hw->priv; in ath11k_mac_op_add_interface()
6480 struct ath11k *ar = hw->priv; in ath11k_mac_op_remove_interface()
6581 struct ath11k *ar = hw->priv; in ath11k_mac_op_configure_filter()
6593 struct ath11k *ar = hw->priv; in ath11k_mac_op_get_antenna()
6607 struct ath11k *ar = hw->priv; in ath11k_mac_op_set_antenna()
6621 struct ath11k *ar = hw->priv; in ath11k_mac_op_ampdu_action()
6653 struct ath11k *ar = hw->priv; in ath11k_mac_op_add_chanctx()
6677 struct ath11k *ar = hw->priv; in ath11k_mac_op_remove_chanctx()
6701 struct ath11k *ar = arvif->ar; in ath11k_mac_vdev_start_restart()
6810 struct ath11k *ar = arvif->ar; in ath11k_mac_vdev_stop()
6900 ath11k_mac_update_vif_chan(struct ath11k *ar, in ath11k_mac_update_vif_chan()
6988 ath11k_mac_update_active_vif_chan(struct ath11k *ar, in ath11k_mac_update_active_vif_chan()
7020 struct ath11k *ar = hw->priv; in ath11k_mac_op_change_chanctx()
7048 struct ath11k *ar = hw->priv; in ath11k_start_vdev_delay()
7097 struct ath11k *ar = hw->priv; in ath11k_mac_op_assign_vif_chanctx()
7187 struct ath11k *ar = hw->priv; in ath11k_mac_op_unassign_vif_chanctx()
7270 struct ath11k *ar = hw->priv; in ath11k_mac_op_switch_vif_chanctx()
7285 ath11k_set_vdev_param_to_all_vifs(struct ath11k *ar, int param, u32 value) in ath11k_set_vdev_param_to_all_vifs()
7312 struct ath11k *ar = hw->priv; in ath11k_mac_op_set_rts_threshold()
7333 static int ath11k_mac_flush_tx_complete(struct ath11k *ar) in ath11k_mac_flush_tx_complete()
7359 int ath11k_mac_wait_tx_complete(struct ath11k *ar) in ath11k_mac_wait_tx_complete()
7368 struct ath11k *ar = hw->priv; in ath11k_mac_op_flush()
7377 ath11k_mac_bitrate_mask_num_ht_rates(struct ath11k *ar, in ath11k_mac_bitrate_mask_num_ht_rates()
7391 ath11k_mac_has_single_legacy_rate(struct ath11k *ar, in ath11k_mac_has_single_legacy_rate()
7426 ath11k_mac_bitrate_mask_get_single_nss(struct ath11k *ar, in ath11k_mac_bitrate_mask_get_single_nss()
7491 ath11k_mac_get_single_legacy_rate(struct ath11k *ar, in ath11k_mac_get_single_legacy_rate()
7526 struct ath11k *ar = arvif->ar; in ath11k_mac_set_fixed_rate_gi_ltf()
7558 struct ath11k *ar = arvif->ar; in ath11k_mac_set_auto_rate_gi_ltf()
7614 struct ath11k *ar = arvif->ar; in ath11k_mac_set_rate_params()
7687 ath11k_mac_vht_mcs_range_present(struct ath11k *ar, in ath11k_mac_vht_mcs_range_present()
7712 ath11k_mac_he_mcs_range_present(struct ath11k *ar, in ath11k_mac_he_mcs_range_present()
7741 struct ath11k *ar = arvif->ar; in ath11k_mac_set_bitrate_mask_iter()
7754 struct ath11k *ar = arvif->ar; in ath11k_mac_disable_peer_fixed_rate()
7768 ath11k_mac_validate_vht_he_fixed_rate_settings(struct ath11k *ar, enum nl80211_band band, in ath11k_mac_validate_vht_he_fixed_rate_settings()
7827 struct ath11k *ar = arvif->ar; in ath11k_mac_op_set_bitrate_mask()
7977 struct ath11k *ar = hw->priv; in ath11k_mac_op_reconfig_complete()
8021 ath11k_mac_update_bss_chan_survey(struct ath11k *ar, in ath11k_mac_update_bss_chan_survey()
8055 struct ath11k *ar = hw->priv; in ath11k_mac_op_get_survey()
8108 struct ath11k *ar = arsta->arvif->ar; in ath11k_mac_put_chain_rssi()
8138 struct ath11k *ar = arsta->arvif->ar; in ath11k_mac_op_sta_statistics()
8197 static void ath11k_generate_ns_mc_addr(struct ath11k *ar, in ath11k_generate_ns_mc_addr()
8222 struct ath11k *ar = hw->priv; in ath11k_mac_op_ipv6_changed()
8297 struct ath11k *ar = hw->priv; in ath11k_mac_op_set_rekey_data()
8329 struct ath11k *ar = hw->priv; in ath11k_mac_op_set_bios_sar_specs()
8390 struct ath11k *ar = hw->priv; in ath11k_mac_op_cancel_remain_on_channel()
8413 struct ath11k *ar = hw->priv; in ath11k_mac_op_remain_on_channel()
8499 static int ath11k_fw_stats_request(struct ath11k *ar, in ath11k_fw_stats_request()
8535 struct ath11k *ar = hw->priv; in ath11k_mac_op_get_txpower()
8645 static void ath11k_mac_update_ch_list(struct ath11k *ar, in ath11k_mac_update_ch_list()
8661 static u32 ath11k_get_phy_id(struct ath11k *ar, u32 band) in ath11k_get_phy_id()
8677 static int ath11k_mac_setup_channels_rates(struct ath11k *ar, in ath11k_mac_setup_channels_rates()
8777 static int ath11k_mac_setup_iface_combinations(struct ath11k *ar) in ath11k_mac_setup_iface_combinations()
8862 static void __ath11k_mac_unregister(struct ath11k *ar) in __ath11k_mac_unregister()
8883 struct ath11k *ar; in ath11k_mac_unregister()
8899 static int __ath11k_mac_register(struct ath11k *ar) in __ath11k_mac_register()
9136 struct ath11k *ar; in ath11k_mac_register()
9195 struct ath11k *ar; in ath11k_mac_allocate()
9205 hw = ieee80211_alloc_hw(sizeof(struct ath11k), &ath11k_ops); in ath11k_mac_allocate()
9272 struct ath11k *ar; in ath11k_mac_destroy()
9291 struct ath11k *ar = arvif->ar; in ath11k_mac_vif_set_keepalive()