Lines Matching defs:rtwdev

237 rtw89_get_6ghz_span(struct rtw89_dev *rtwdev, u32 center_freq)  in rtw89_get_6ghz_span()
255 bool rtw89_ra_report_to_bitrate(struct rtw89_dev *rtwdev, u8 rpt_rate, u16 *bitrate) in rtw89_ra_report_to_bitrate()
302 static void rtw89_traffic_stats_accu(struct rtw89_dev *rtwdev, in rtw89_traffic_stats_accu()
393 static void __rtw89_core_set_chip_txpwr(struct rtw89_dev *rtwdev, in __rtw89_core_set_chip_txpwr()
407 void rtw89_core_set_chip_txpwr(struct rtw89_dev *rtwdev) in rtw89_core_set_chip_txpwr()
421 static void __rtw89_set_channel(struct rtw89_dev *rtwdev, in __rtw89_set_channel()
451 int rtw89_set_channel(struct rtw89_dev *rtwdev) in rtw89_set_channel()
475 rtw89_core_get_tx_type(struct rtw89_dev *rtwdev, in rtw89_core_get_tx_type()
488 rtw89_core_tx_update_ampdu_info(struct rtw89_dev *rtwdev, in rtw89_core_tx_update_ampdu_info()
531 rtw89_core_tx_update_sec_key(struct rtw89_dev *rtwdev, in rtw89_core_tx_update_sec_key()
599 static u16 rtw89_core_get_mgmt_rate(struct rtw89_dev *rtwdev, in rtw89_core_get_mgmt_rate()
639 static u8 rtw89_core_tx_get_mac_id(struct rtw89_dev *rtwdev, in rtw89_core_tx_get_mac_id()
651 static void rtw89_core_tx_update_llc_hdr(struct rtw89_dev *rtwdev, in rtw89_core_tx_update_llc_hdr()
663 rtw89_core_tx_update_mgmt_info(struct rtw89_dev *rtwdev, in rtw89_core_tx_update_mgmt_info()
702 rtw89_core_tx_update_h2c_info(struct rtw89_dev *rtwdev, in rtw89_core_tx_update_h2c_info()
712 static void rtw89_core_get_no_ul_ofdma_htc(struct rtw89_dev *rtwdev, __le32 *htc, in rtw89_core_get_no_ul_ofdma_htc()
745 __rtw89_core_tx_check_he_qos_htc(struct rtw89_dev *rtwdev, in __rtw89_core_tx_check_he_qos_htc()
785 __rtw89_core_tx_adjust_he_qos_htc(struct rtw89_dev *rtwdev, in __rtw89_core_tx_adjust_he_qos_htc()
813 rtw89_core_tx_update_he_qos_htc(struct rtw89_dev *rtwdev, in rtw89_core_tx_update_he_qos_htc()
836 static u16 rtw89_core_get_data_rate(struct rtw89_dev *rtwdev, in rtw89_core_get_data_rate()
879 rtw89_core_tx_update_data_info(struct rtw89_dev *rtwdev, in rtw89_core_tx_update_data_info()
913 rtw89_core_tx_btc_spec_pkt_notify(struct rtw89_dev *rtwdev, in rtw89_core_tx_btc_spec_pkt_notify()
951 rtw89_core_tx_wake(struct rtw89_dev *rtwdev, in rtw89_core_tx_wake()
970 rtw89_core_tx_update_desc_info(struct rtw89_dev *rtwdev, in rtw89_core_tx_update_desc_info()
1026 void rtw89_core_tx_kick_off(struct rtw89_dev *rtwdev, u8 qsel) in rtw89_core_tx_kick_off()
1035 int rtw89_core_tx_kick_off_and_wait(struct rtw89_dev *rtwdev, struct sk_buff *skb, in rtw89_core_tx_kick_off_and_wait()
1066 int rtw89_h2c_tx(struct rtw89_dev *rtwdev, in rtw89_h2c_tx()
1107 int rtw89_core_tx_write(struct rtw89_dev *rtwdev, struct ieee80211_vif *vif, in rtw89_core_tx_write()
1300 void rtw89_core_fill_txdesc(struct rtw89_dev *rtwdev, in rtw89_core_fill_txdesc()
1323 void rtw89_core_fill_txdesc_v1(struct rtw89_dev *rtwdev, in rtw89_core_fill_txdesc_v1()
1463 void rtw89_core_fill_txdesc_v2(struct rtw89_dev *rtwdev, in rtw89_core_fill_txdesc_v2()
1502 void rtw89_core_fill_txdesc_fwcmd_v1(struct rtw89_dev *rtwdev, in rtw89_core_fill_txdesc_fwcmd_v1()
1522 void rtw89_core_fill_txdesc_fwcmd_v2(struct rtw89_dev *rtwdev, in rtw89_core_fill_txdesc_fwcmd_v2()
1532 static int rtw89_core_rx_process_mac_ppdu(struct rtw89_dev *rtwdev, in rtw89_core_rx_process_mac_ppdu()
1605 static u8 rtw89_get_data_rate_nss(struct rtw89_dev *rtwdev, u16 data_rate) in rtw89_get_data_rate_nss()
1630 struct rtw89_dev *rtwdev = rtwsta->rtwdev; in rtw89_core_rx_process_phy_ppdu_iter() local
1677 static u16 rtw89_core_get_phy_status_ie_len(struct rtw89_dev *rtwdev, in rtw89_core_get_phy_status_ie_len()
1707 static void rtw89_core_parse_phy_status_ie01_v2(struct rtw89_dev *rtwdev, in rtw89_core_parse_phy_status_ie01_v2()
1723 static void rtw89_core_parse_phy_status_ie01(struct rtw89_dev *rtwdev, in rtw89_core_parse_phy_status_ie01()
1769 static void rtw89_core_parse_phy_status_ie00(struct rtw89_dev *rtwdev, in rtw89_core_parse_phy_status_ie00()
1780 static void rtw89_core_parse_phy_status_ie00_v2(struct rtw89_dev *rtwdev, in rtw89_core_parse_phy_status_ie00_v2()
1799 static int rtw89_core_process_phy_status_ie(struct rtw89_dev *rtwdev, in rtw89_core_process_phy_status_ie()
1847 static int rtw89_core_rx_process_phy_ppdu(struct rtw89_dev *rtwdev, in rtw89_core_rx_process_phy_ppdu()
1872 static int rtw89_core_rx_parse_phy_sts(struct rtw89_dev *rtwdev, in rtw89_core_rx_parse_phy_sts()
1903 static void rtw89_core_rx_process_phy_sts(struct rtw89_dev *rtwdev, in rtw89_core_rx_process_phy_sts()
1919 static u8 rtw89_rxdesc_to_nl_he_gi(struct rtw89_dev *rtwdev, in rtw89_rxdesc_to_nl_he_gi()
1941 static u8 rtw89_rxdesc_to_nl_eht_gi(struct rtw89_dev *rtwdev, in rtw89_rxdesc_to_nl_eht_gi()
1963 static u8 rtw89_rxdesc_to_nl_he_eht_gi(struct rtw89_dev *rtwdev, in rtw89_rxdesc_to_nl_he_eht_gi()
1981 static bool rtw89_core_rx_ppdu_match(struct rtw89_dev *rtwdev, in rtw89_core_rx_ppdu_match()
2018 struct rtw89_dev *rtwdev; member
2025 static void rtw89_stats_trigger_frame(struct rtw89_dev *rtwdev, in rtw89_stats_trigger_frame()
2077 struct rtw89_dev *rtwdev = container_of(work, struct rtw89_dev, in rtw89_cancel_6ghz_probe_work() local
2100 static void rtw89_core_cancel_6ghz_probe_tx(struct rtw89_dev *rtwdev, in rtw89_core_cancel_6ghz_probe_tx()
2150 struct rtw89_dev *rtwdev = iter_data->rtwdev; in rtw89_vif_rx_stats_iter() local
2216 static void rtw89_core_rx_stats(struct rtw89_dev *rtwdev, in rtw89_core_rx_stats()
2233 static void rtw89_correct_cck_chan(struct rtw89_dev *rtwdev, in rtw89_correct_cck_chan()
2268 void rtw89_core_update_rx_status_by_ppdu(struct rtw89_dev *rtwdev, in rtw89_core_update_rx_status_by_ppdu()
2296 static void rtw89_core_update_radiotap_eht(struct rtw89_dev *rtwdev, in rtw89_core_update_radiotap_eht()
2354 static void rtw89_core_update_radiotap(struct rtw89_dev *rtwdev, in rtw89_core_update_radiotap()
2385 static void rtw89_core_update_rx_freq_from_ie(struct rtw89_dev *rtwdev, in rtw89_core_update_rx_freq_from_ie()
2428 static void rtw89_core_rx_to_mac80211(struct rtw89_dev *rtwdev, in rtw89_core_rx_to_mac80211()
2454 static void rtw89_core_rx_pending_skb(struct rtw89_dev *rtwdev, in rtw89_core_rx_pending_skb()
2477 static void rtw89_core_rx_process_ppdu_sts(struct rtw89_dev *rtwdev, in rtw89_core_rx_process_ppdu_sts()
2505 static void rtw89_core_rx_process_report(struct rtw89_dev *rtwdev, in rtw89_core_rx_process_report()
2524 void rtw89_core_query_rxdesc(struct rtw89_dev *rtwdev, in rtw89_core_query_rxdesc()
2578 void rtw89_core_query_rxdesc_v2(struct rtw89_dev *rtwdev, in rtw89_core_query_rxdesc_v2()
2651 struct rtw89_dev *rtwdev; member
2682 static void rtw89_core_stats_sta_rx_status(struct rtw89_dev *rtwdev, in rtw89_core_stats_sta_rx_status()
2703 static void rtw89_core_update_rx_status(struct rtw89_dev *rtwdev, in rtw89_core_update_rx_status()
2782 static enum rtw89_ps_mode rtw89_update_ps_mode(struct rtw89_dev *rtwdev) in rtw89_update_ps_mode()
2803 static void rtw89_core_flush_ppdu_rx_queue(struct rtw89_dev *rtwdev, in rtw89_core_flush_ppdu_rx_queue()
2819 void rtw89_core_rx_pkt_hdl(struct rtw89_dev *rtwdev, const struct sk_buff *skb, in rtw89_core_rx_pkt_hdl()
2853 void rtw89_core_rx(struct rtw89_dev *rtwdev, in rtw89_core_rx()
2884 void rtw89_core_napi_start(struct rtw89_dev *rtwdev) in rtw89_core_napi_start()
2893 void rtw89_core_napi_stop(struct rtw89_dev *rtwdev) in rtw89_core_napi_stop()
2903 int rtw89_core_napi_init(struct rtw89_dev *rtwdev) in rtw89_core_napi_init()
2915 void rtw89_core_napi_deinit(struct rtw89_dev *rtwdev) in rtw89_core_napi_deinit()
2925 struct rtw89_dev *rtwdev = in rtw89_core_ba_work() local
2962 void rtw89_core_free_sta_pending_ba(struct rtw89_dev *rtwdev, in rtw89_core_free_sta_pending_ba()
2977 void rtw89_core_free_sta_pending_forbid_ba(struct rtw89_dev *rtwdev, in rtw89_core_free_sta_pending_forbid_ba()
2994 void rtw89_core_free_sta_pending_roc_tx(struct rtw89_dev *rtwdev, in rtw89_core_free_sta_pending_roc_tx()
3006 static void rtw89_core_stop_tx_ba_session(struct rtw89_dev *rtwdev, in rtw89_core_stop_tx_ba_session()
3031 static void rtw89_core_txq_check_agg(struct rtw89_dev *rtwdev, in rtw89_core_txq_check_agg()
3067 static void rtw89_core_txq_push(struct rtw89_dev *rtwdev, in rtw89_core_txq_push()
3098 static u32 rtw89_check_and_reclaim_tx_resource(struct rtw89_dev *rtwdev, u8 tid) in rtw89_check_and_reclaim_tx_resource()
3108 static bool rtw89_core_txq_agg_wait(struct rtw89_dev *rtwdev, in rtw89_core_txq_agg_wait()
3150 static void rtw89_core_txq_schedule(struct rtw89_dev *rtwdev, u8 ac, bool *reinvoke) in rtw89_core_txq_schedule()
3193 struct rtw89_dev *rtwdev = container_of(work, struct rtw89_dev, in rtw89_ips_work() local
3203 struct rtw89_dev *rtwdev = container_of(w, struct rtw89_dev, txq_work); in rtw89_core_txq_work() local
3218 struct rtw89_dev *rtwdev = container_of(w, struct rtw89_dev, in rtw89_core_txq_reinvoke_work() local
3226 struct rtw89_dev *rtwdev = container_of(w, struct rtw89_dev, in rtw89_forbid_ba_work() local
3242 struct rtw89_dev *rtwdev = rtwsta->rtwdev; in rtw89_core_sta_pending_tx_iter() local
3274 static void rtw89_core_handle_sta_pending_tx(struct rtw89_dev *rtwdev, in rtw89_core_handle_sta_pending_tx()
3282 static int rtw89_core_send_nullfunc(struct rtw89_dev *rtwdev, in rtw89_core_send_nullfunc()
3329 void rtw89_roc_start(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif) in rtw89_roc_start()
3384 void rtw89_roc_end(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif) in rtw89_roc_end()
3434 struct rtw89_dev *rtwdev = rtwvif->rtwdev; in rtw89_roc_work() local
3452 static enum rtw89_tfc_lv rtw89_get_traffic_level(struct rtw89_dev *rtwdev, in rtw89_get_traffic_level()
3466 static bool rtw89_traffic_stats_calc(struct rtw89_dev *rtwdev, in rtw89_traffic_stats_calc()
3502 static bool rtw89_traffic_stats_track(struct rtw89_dev *rtwdev) in rtw89_traffic_stats_track()
3521 static void rtw89_enter_lps_track(struct rtw89_dev *rtwdev) in rtw89_enter_lps_track()
3546 static void rtw89_core_rfk_track(struct rtw89_dev *rtwdev) in rtw89_core_rfk_track()
3557 void rtw89_core_update_p2p_ps(struct rtw89_dev *rtwdev, in rtw89_core_update_p2p_ps()
3569 void rtw89_traffic_stats_init(struct rtw89_dev *rtwdev, in rtw89_traffic_stats_init()
3582 struct rtw89_dev *rtwdev = container_of(work, struct rtw89_dev, in rtw89_track_work() local
3647 int rtw89_core_acquire_sta_ba_entry(struct rtw89_dev *rtwdev, in rtw89_core_acquire_sta_ba_entry()
3693 int rtw89_core_release_sta_ba_entry(struct rtw89_dev *rtwdev, in rtw89_core_release_sta_ba_entry()
3781 int rtw89_core_sta_link_add(struct rtw89_dev *rtwdev, in rtw89_core_sta_link_add()
3838 int rtw89_core_sta_link_disassoc(struct rtw89_dev *rtwdev, in rtw89_core_sta_link_disassoc()
3852 int rtw89_core_sta_link_disconnect(struct rtw89_dev *rtwdev, in rtw89_core_sta_link_disconnect()
3895 static bool rtw89_sta_link_can_er(struct rtw89_dev *rtwdev, in rtw89_sta_link_can_er()
3911 int rtw89_core_sta_link_assoc(struct rtw89_dev *rtwdev, in rtw89_core_sta_link_assoc()
3999 int rtw89_core_sta_link_remove(struct rtw89_dev *rtwdev, in rtw89_core_sta_link_remove()
4023 static void _rtw89_core_set_tid_config(struct rtw89_dev *rtwdev, in _rtw89_core_set_tid_config()
4066 void rtw89_core_set_tid_config(struct rtw89_dev *rtwdev, in rtw89_core_set_tid_config()
4077 static void rtw89_init_ht_cap(struct rtw89_dev *rtwdev, in rtw89_init_ht_cap()
4106 static void rtw89_init_vht_cap(struct rtw89_dev *rtwdev, in rtw89_init_vht_cap()
4159 static void rtw89_init_he_cap(struct rtw89_dev *rtwdev, in rtw89_init_he_cap()
4269 static void rtw89_init_eht_cap(struct rtw89_dev *rtwdev, in rtw89_init_eht_cap()
4364 static void rtw89_init_he_eht_cap(struct rtw89_dev *rtwdev, in rtw89_init_he_eht_cap()
4401 static int rtw89_core_set_supported_band(struct rtw89_dev *rtwdev) in rtw89_core_set_supported_band()
4454 static void rtw89_core_clr_supported_band(struct rtw89_dev *rtwdev) in rtw89_core_clr_supported_band()
4472 static void rtw89_core_ppdu_sts_init(struct rtw89_dev *rtwdev) in rtw89_core_ppdu_sts_init()
4484 struct rtw89_dev *rtwdev; in rtw89_core_update_beacon_work() local
4533 void rtw89_core_ntfy_btc_event(struct rtw89_dev *rtwdev, enum rtw89_btc_hmsg event) in rtw89_core_ntfy_btc_event()
4555 void rtw89_check_quirks(struct rtw89_dev *rtwdev, const struct dmi_system_id *quirks) in rtw89_check_quirks()
4573 int rtw89_core_start(struct rtw89_dev *rtwdev) in rtw89_core_start()
4623 void rtw89_core_stop(struct rtw89_dev *rtwdev) in rtw89_core_stop()
4663 u8 rtw89_acquire_mac_id(struct rtw89_dev *rtwdev) in rtw89_acquire_mac_id()
4682 void rtw89_release_mac_id(struct rtw89_dev *rtwdev, u8 mac_id) in rtw89_release_mac_id()
4687 void rtw89_init_vif(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif, in rtw89_init_vif()
4722 void rtw89_init_sta(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif, in rtw89_init_sta()
4849 int rtw89_core_init(struct rtw89_dev *rtwdev) in rtw89_core_init()
4929 void rtw89_core_deinit(struct rtw89_dev *rtwdev) in rtw89_core_deinit()
4940 void rtw89_core_scan_start(struct rtw89_dev *rtwdev, struct rtw89_vif_link *rtwvif_link, in rtw89_core_scan_start()
4962 void rtw89_core_scan_complete(struct rtw89_dev *rtwdev, in rtw89_core_scan_complete()
4993 static void rtw89_read_chip_ver(struct rtw89_dev *rtwdev) in rtw89_read_chip_ver()
5019 static void rtw89_core_setup_phycap(struct rtw89_dev *rtwdev) in rtw89_core_setup_phycap()
5037 static void rtw89_core_setup_rfe_parms(struct rtw89_dev *rtwdev) in rtw89_core_setup_rfe_parms()
5065 static int rtw89_chip_efuse_info_setup(struct rtw89_dev *rtwdev) in rtw89_chip_efuse_info_setup()
5093 static int rtw89_chip_board_info_setup(struct rtw89_dev *rtwdev) in rtw89_chip_board_info_setup()
5100 static bool rtw89_chip_has_rfkill(struct rtw89_dev *rtwdev) in rtw89_chip_has_rfkill()
5105 static void rtw89_core_rfkill_init(struct rtw89_dev *rtwdev) in rtw89_core_rfkill_init()
5115 static bool rtw89_core_rfkill_get(struct rtw89_dev *rtwdev) in rtw89_core_rfkill_get()
5122 static void rtw89_rfkill_polling_init(struct rtw89_dev *rtwdev) in rtw89_rfkill_polling_init()
5132 static void rtw89_rfkill_polling_deinit(struct rtw89_dev *rtwdev) in rtw89_rfkill_polling_deinit()
5140 void rtw89_core_rfkill_poll(struct rtw89_dev *rtwdev, bool force) in rtw89_core_rfkill_poll()
5164 int rtw89_chip_info_setup(struct rtw89_dev *rtwdev) in rtw89_chip_info_setup()
5212 void rtw89_chip_cfg_txpwr_ul_tb_offset(struct rtw89_dev *rtwdev, in rtw89_chip_cfg_txpwr_ul_tb_offset()
5233 static int rtw89_core_register_hw(struct rtw89_dev *rtwdev) in rtw89_core_register_hw()
5369 static void rtw89_core_unregister_hw(struct rtw89_dev *rtwdev) in rtw89_core_unregister_hw()
5378 int rtw89_core_register(struct rtw89_dev *rtwdev) in rtw89_core_register()
5394 void rtw89_core_unregister(struct rtw89_dev *rtwdev) in rtw89_core_unregister()
5410 struct rtw89_dev *rtwdev; in rtw89_alloc_ieee80211_hw() local
5482 void rtw89_free_ieee80211_hw(struct rtw89_dev *rtwdev) in rtw89_free_ieee80211_hw()