Lines Matching defs:rtwdev
21 static struct sk_buff *rtw89_fw_h2c_alloc_skb(struct rtw89_dev *rtwdev, u32 len, in rtw89_fw_h2c_alloc_skb()
40 struct sk_buff *rtw89_fw_h2c_alloc_skb_with_hdr(struct rtw89_dev *rtwdev, u32 len) in rtw89_fw_h2c_alloc_skb_with_hdr()
45 struct sk_buff *rtw89_fw_h2c_alloc_skb_no_hdr(struct rtw89_dev *rtwdev, u32 len) in rtw89_fw_h2c_alloc_skb_no_hdr()
50 static u8 _fw_get_rdy(struct rtw89_dev *rtwdev) in _fw_get_rdy()
58 int rtw89_fw_check_rdy(struct rtw89_dev *rtwdev) in rtw89_fw_check_rdy()
90 static int rtw89_fw_hdr_parser_v0(struct rtw89_dev *rtwdev, const u8 *fw, u32 len, in rtw89_fw_hdr_parser_v0()
158 static int rtw89_fw_hdr_parser_v1(struct rtw89_dev *rtwdev, const u8 *fw, u32 len, in rtw89_fw_hdr_parser_v1()
224 static int rtw89_fw_hdr_parser(struct rtw89_dev *rtwdev, in rtw89_fw_hdr_parser()
247 int rtw89_mfw_recognize(struct rtw89_dev *rtwdev, enum rtw89_fw_type type, in rtw89_mfw_recognize()
288 static u32 rtw89_mfw_get_size(struct rtw89_dev *rtwdev) in rtw89_mfw_get_size()
308 static void rtw89_fw_update_ver_v0(struct rtw89_dev *rtwdev, in rtw89_fw_update_ver_v0()
325 static void rtw89_fw_update_ver_v1(struct rtw89_dev *rtwdev, in rtw89_fw_update_ver_v1()
342 static int rtw89_fw_update_ver(struct rtw89_dev *rtwdev, in rtw89_fw_update_ver()
377 int __rtw89_fw_recognize(struct rtw89_dev *rtwdev, enum rtw89_fw_type type, in __rtw89_fw_recognize()
391 int __rtw89_fw_recognize_from_elm(struct rtw89_dev *rtwdev, in __rtw89_fw_recognize_from_elm()
467 static void rtw89_fw_recognize_features(struct rtw89_dev *rtwdev) in rtw89_fw_recognize_features()
519 int rtw89_fw_recognize(struct rtw89_dev *rtwdev) in rtw89_fw_recognize()
549 int rtw89_build_phy_tbl_from_elm(struct rtw89_dev *rtwdev, in rtw89_build_phy_tbl_from_elm()
635 int rtw89_fw_recognize_elements(struct rtw89_dev *rtwdev) in rtw89_fw_recognize_elements()
695 void rtw89_h2c_pkt_set_hdr(struct rtw89_dev *rtwdev, struct sk_buff *skb, in rtw89_h2c_pkt_set_hdr()
719 static void rtw89_h2c_pkt_set_hdr_fwdl(struct rtw89_dev *rtwdev, in rtw89_h2c_pkt_set_hdr_fwdl()
738 static int __rtw89_fw_download_hdr(struct rtw89_dev *rtwdev, const u8 *fw, u32 len) in __rtw89_fw_download_hdr()
769 static int rtw89_fw_download_hdr(struct rtw89_dev *rtwdev, const u8 *fw, u32 len) in rtw89_fw_download_hdr()
794 static int __rtw89_fw_download_main(struct rtw89_dev *rtwdev, in __rtw89_fw_download_main()
834 static int rtw89_fw_download_main(struct rtw89_dev *rtwdev, const u8 *fw, in rtw89_fw_download_main()
859 static void rtw89_fw_prog_cnt_dump(struct rtw89_dev *rtwdev) in rtw89_fw_prog_cnt_dump()
876 static void rtw89_fw_dl_fail_dump(struct rtw89_dev *rtwdev) in rtw89_fw_dl_fail_dump()
890 int rtw89_fw_download(struct rtw89_dev *rtwdev, enum rtw89_fw_type type) in rtw89_fw_download()
944 int rtw89_wait_firmware_completion(struct rtw89_dev *rtwdev) in rtw89_wait_firmware_completion()
955 static int rtw89_load_firmware_req(struct rtw89_dev *rtwdev, in rtw89_load_firmware_req()
980 struct rtw89_dev *rtwdev = in rtw89_load_firmware_work() local
1000 static void rtw89_unload_firmware_elements(struct rtw89_dev *rtwdev) in rtw89_unload_firmware_elements()
1012 void rtw89_unload_firmware(struct rtw89_dev *rtwdev) in rtw89_unload_firmware()
1031 static u32 rtw89_fw_log_get_fmt_idx(struct rtw89_dev *rtwdev, u32 fmt_id) in rtw89_fw_log_get_fmt_idx()
1046 static int rtw89_fw_log_create_fmts_dict(struct rtw89_dev *rtwdev) in rtw89_fw_log_create_fmts_dict()
1078 int rtw89_fw_log_prepare(struct rtw89_dev *rtwdev) in rtw89_fw_log_prepare()
1093 static void rtw89_fw_log_dump_data(struct rtw89_dev *rtwdev, in rtw89_fw_log_dump_data()
1132 void rtw89_fw_log_dump(struct rtw89_dev *rtwdev, u8 *buf, u32 len) in rtw89_fw_log_dump()
1174 int rtw89_fw_h2c_cam(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif, in rtw89_fw_h2c_cam()
1209 int rtw89_fw_h2c_dctl_sec_cam_v1(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_dctl_sec_cam_v1()
1246 int rtw89_fw_h2c_ba_cam(struct rtw89_dev *rtwdev, struct rtw89_sta *rtwsta, in rtw89_fw_h2c_ba_cam()
1317 static int rtw89_fw_h2c_init_ba_cam_v0_ext(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_init_ba_cam_v0_ext()
1355 void rtw89_fw_h2c_init_dynamic_ba_cam_v0_ext(struct rtw89_dev *rtwdev) in rtw89_fw_h2c_init_dynamic_ba_cam_v0_ext()
1370 int rtw89_fw_h2c_fw_log(struct rtw89_dev *rtwdev, bool enable) in rtw89_fw_h2c_fw_log()
1408 static int rtw89_fw_h2c_add_general_pkt(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_add_general_pkt()
1457 void rtw89_fw_release_general_pkt_list_vif(struct rtw89_dev *rtwdev, in rtw89_fw_release_general_pkt_list_vif()
1473 void rtw89_fw_release_general_pkt_list(struct rtw89_dev *rtwdev, bool notify_fw) in rtw89_fw_release_general_pkt_list()
1483 int rtw89_fw_h2c_general_pkt(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_general_pkt()
1532 int rtw89_fw_h2c_lps_parm(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_lps_parm()
1576 int rtw89_fw_h2c_p2p_act(struct rtw89_dev *rtwdev, struct ieee80211_vif *vif, in rtw89_fw_h2c_p2p_act()
1627 static void __rtw89_fw_h2c_set_tx_path(struct rtw89_dev *rtwdev, in __rtw89_fw_h2c_set_tx_path()
1651 int rtw89_fw_h2c_default_cmac_tbl(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_default_cmac_tbl()
1698 static void __get_sta_he_pkt_padding(struct rtw89_dev *rtwdev, in __get_sta_he_pkt_padding()
1755 int rtw89_fw_h2c_assoc_cmac_tbl(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_assoc_cmac_tbl()
1834 int rtw89_fw_h2c_txtime_cmac_tbl(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_txtime_cmac_tbl()
1876 int rtw89_fw_h2c_txpath_cmac_tbl(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_txpath_cmac_tbl()
1916 int rtw89_fw_h2c_update_beacon(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_update_beacon()
1989 int rtw89_fw_h2c_role_maintain(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_role_maintain()
2038 int rtw89_fw_h2c_join_info(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif, in rtw89_fw_h2c_join_info()
2090 int rtw89_fw_h2c_macid_pause(struct rtw89_dev *rtwdev, u8 sh, u8 grp, in rtw89_fw_h2c_macid_pause()
2127 int rtw89_fw_h2c_set_edca(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif, in rtw89_fw_h2c_set_edca()
2164 int rtw89_fw_h2c_tsf32_toggle(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif, in rtw89_fw_h2c_tsf32_toggle()
2204 int rtw89_fw_h2c_set_ofld_cfg(struct rtw89_dev *rtwdev) in rtw89_fw_h2c_set_ofld_cfg()
2235 int rtw89_fw_h2c_set_bcn_fltr_cfg(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_set_bcn_fltr_cfg()
2289 int rtw89_fw_h2c_rssi_offload(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_rssi_offload()
2335 int rtw89_fw_h2c_tp_offload(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif) in rtw89_fw_h2c_tp_offload()
2376 int rtw89_fw_h2c_ra(struct rtw89_dev *rtwdev, struct rtw89_ra_info *ra, bool csi) in rtw89_fw_h2c_ra()
2460 int rtw89_fw_h2c_cxdrv_init(struct rtw89_dev *rtwdev) in rtw89_fw_h2c_cxdrv_init()
2532 int rtw89_fw_h2c_cxdrv_role(struct rtw89_dev *rtwdev) in rtw89_fw_h2c_cxdrv_role()
2613 int rtw89_fw_h2c_cxdrv_role_v1(struct rtw89_dev *rtwdev) in rtw89_fw_h2c_cxdrv_role_v1()
2703 int rtw89_fw_h2c_cxdrv_role_v2(struct rtw89_dev *rtwdev) in rtw89_fw_h2c_cxdrv_role_v2()
2787 int rtw89_fw_h2c_cxdrv_ctrl(struct rtw89_dev *rtwdev) in rtw89_fw_h2c_cxdrv_ctrl()
2832 int rtw89_fw_h2c_cxdrv_trx(struct rtw89_dev *rtwdev) in rtw89_fw_h2c_cxdrv_trx()
2888 int rtw89_fw_h2c_cxdrv_rfk(struct rtw89_dev *rtwdev) in rtw89_fw_h2c_cxdrv_rfk()
2933 int rtw89_fw_h2c_del_pkt_offload(struct rtw89_dev *rtwdev, u8 id) in rtw89_fw_h2c_del_pkt_offload()
2971 int rtw89_fw_h2c_add_pkt_offload(struct rtw89_dev *rtwdev, u8 *id, in rtw89_fw_h2c_add_pkt_offload()
3022 int rtw89_fw_h2c_scan_list_offload(struct rtw89_dev *rtwdev, int len, in rtw89_fw_h2c_scan_list_offload()
3087 int rtw89_fw_h2c_scan_offload(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_scan_offload()
3146 int rtw89_fw_h2c_rf_reg(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_rf_reg()
3179 int rtw89_fw_h2c_rf_ntfy_mcc(struct rtw89_dev *rtwdev) in rtw89_fw_h2c_rf_ntfy_mcc()
3221 int rtw89_fw_h2c_raw_with_hdr(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_raw_with_hdr()
3252 int rtw89_fw_h2c_raw(struct rtw89_dev *rtwdev, const u8 *buf, u16 len) in rtw89_fw_h2c_raw()
3277 void rtw89_fw_send_all_early_h2c(struct rtw89_dev *rtwdev) in rtw89_fw_send_all_early_h2c()
3288 void rtw89_fw_free_all_early_h2c(struct rtw89_dev *rtwdev) in rtw89_fw_free_all_early_h2c()
3312 static bool rtw89_fw_c2h_chk_atomic(struct rtw89_dev *rtwdev, in rtw89_fw_c2h_chk_atomic()
3328 void rtw89_fw_c2h_irqsafe(struct rtw89_dev *rtwdev, struct sk_buff *c2h) in rtw89_fw_c2h_irqsafe()
3343 static void rtw89_fw_c2h_cmd_handle(struct rtw89_dev *rtwdev, in rtw89_fw_c2h_cmd_handle()
3380 struct rtw89_dev *rtwdev = container_of(work, struct rtw89_dev, in rtw89_fw_c2h_work() local
3393 static int rtw89_fw_write_h2c_reg(struct rtw89_dev *rtwdev, in rtw89_fw_write_h2c_reg()
3426 static int rtw89_fw_read_c2h_reg(struct rtw89_dev *rtwdev, in rtw89_fw_read_c2h_reg()
3462 int rtw89_fw_msg_reg(struct rtw89_dev *rtwdev, in rtw89_fw_msg_reg()
3492 void rtw89_fw_st_dbg_dump(struct rtw89_dev *rtwdev) in rtw89_fw_st_dbg_dump()
3511 static void rtw89_release_pkt_list(struct rtw89_dev *rtwdev) in rtw89_release_pkt_list()
3530 static bool rtw89_is_6ghz_wildcard_probe_req(struct rtw89_dev *rtwdev, in rtw89_is_6ghz_wildcard_probe_req()
3550 static int rtw89_append_probe_req_ie(struct rtw89_dev *rtwdev, in rtw89_append_probe_req_ie()
3601 static int rtw89_hw_scan_update_probe_req(struct rtw89_dev *rtwdev, in rtw89_hw_scan_update_probe_req()
3627 static int rtw89_update_6ghz_rnr_chan(struct rtw89_dev *rtwdev, in rtw89_update_6ghz_rnr_chan()
3698 static void rtw89_hw_scan_add_chan(struct rtw89_dev *rtwdev, int chan_type, in rtw89_hw_scan_add_chan()
3770 static int rtw89_hw_scan_add_chan_list(struct rtw89_dev *rtwdev, in rtw89_hw_scan_add_chan_list()
3847 static int rtw89_hw_scan_prehandle(struct rtw89_dev *rtwdev, in rtw89_hw_scan_prehandle()
3862 void rtw89_hw_scan_start(struct rtw89_dev *rtwdev, struct ieee80211_vif *vif, in rtw89_hw_scan_start()
3894 void rtw89_hw_scan_complete(struct rtw89_dev *rtwdev, struct ieee80211_vif *vif, in rtw89_hw_scan_complete()
3927 void rtw89_hw_scan_abort(struct rtw89_dev *rtwdev, struct ieee80211_vif *vif) in rtw89_hw_scan_abort()
3933 static bool rtw89_is_any_vif_connected_or_connecting(struct rtw89_dev *rtwdev) in rtw89_is_any_vif_connected_or_connecting()
3946 int rtw89_hw_scan_offload(struct rtw89_dev *rtwdev, struct ieee80211_vif *vif, in rtw89_hw_scan_offload()
3973 int rtw89_fw_h2c_trigger_cpu_exception(struct rtw89_dev *rtwdev) in rtw89_fw_h2c_trigger_cpu_exception()
4009 int rtw89_fw_h2c_pkt_drop(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_pkt_drop()
4072 int rtw89_fw_h2c_keep_alive(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif, in rtw89_fw_h2c_keep_alive()
4121 int rtw89_fw_h2c_disconnect_detect(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_disconnect_detect()
4166 int rtw89_fw_h2c_wow_global(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif, in rtw89_fw_h2c_wow_global()
4205 int rtw89_fw_h2c_wow_wakeup_ctrl(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_wow_wakeup_ctrl()
4252 int rtw89_fw_wow_cam_update(struct rtw89_dev *rtwdev, in rtw89_fw_wow_cam_update()
4308 static int rtw89_h2c_tx_and_wait(struct rtw89_dev *rtwdev, struct sk_buff *skb, in rtw89_h2c_tx_and_wait()
4327 int rtw89_fw_h2c_add_mcc(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_add_mcc()
4374 int rtw89_fw_h2c_start_mcc(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_start_mcc()
4410 int rtw89_fw_h2c_stop_mcc(struct rtw89_dev *rtwdev, u8 group, u8 macid, in rtw89_fw_h2c_stop_mcc()
4440 int rtw89_fw_h2c_del_mcc_group(struct rtw89_dev *rtwdev, u8 group, in rtw89_fw_h2c_del_mcc_group()
4469 int rtw89_fw_h2c_reset_mcc_group(struct rtw89_dev *rtwdev, u8 group) in rtw89_fw_h2c_reset_mcc_group()
4496 int rtw89_fw_h2c_mcc_req_tsf(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_mcc_req_tsf()
4536 int rtw89_fw_h2c_mcc_macid_bitamp(struct rtw89_dev *rtwdev, u8 group, u8 macid, in rtw89_fw_h2c_mcc_macid_bitamp()
4572 int rtw89_fw_h2c_mcc_sync(struct rtw89_dev *rtwdev, u8 group, u8 source, in rtw89_fw_h2c_mcc_sync()
4603 int rtw89_fw_h2c_mcc_set_duration(struct rtw89_dev *rtwdev, in rtw89_fw_h2c_mcc_set_duration()