Lines Matching refs:rtw_dev

18 static void rtw_fw_c2h_cmd_handle_ext(struct rtw_dev *rtwdev,  in rtw_fw_c2h_cmd_handle_ext()
65 struct rtw_dev *rtwdev;
122 static void rtw_fw_ra_report_handle(struct rtw_dev *rtwdev, u8 *payload, in rtw_fw_ra_report_handle()
137 struct rtw_dev *rtwdev;
145 struct rtw_dev *rtwdev = iter_data->rtwdev; in rtw_fw_bcn_filter_notify_vif_iter()
170 static void rtw_fw_bcn_filter_notify(struct rtw_dev *rtwdev, u8 *payload, in rtw_fw_bcn_filter_notify()
181 static void rtw_fw_scan_result(struct rtw_dev *rtwdev, u8 *payload, in rtw_fw_scan_result()
192 static void rtw_fw_adaptivity_result(struct rtw_dev *rtwdev, u8 *payload, in rtw_fw_adaptivity_result()
214 void rtw_fw_c2h_cmd_handle(struct rtw_dev *rtwdev, struct sk_buff *skb) in rtw_fw_c2h_cmd_handle()
260 void rtw_fw_c2h_cmd_rx_irqsafe(struct rtw_dev *rtwdev, u32 pkt_offset, in rtw_fw_c2h_cmd_rx_irqsafe()
300 void rtw_fw_c2h_cmd_isr(struct rtw_dev *rtwdev) in rtw_fw_c2h_cmd_isr()
309 static void rtw_fw_send_h2c_command(struct rtw_dev *rtwdev, in rtw_fw_send_h2c_command()
369 void rtw_fw_h2c_cmd_dbg(struct rtw_dev *rtwdev, u8 *h2c) in rtw_fw_h2c_cmd_dbg()
374 static void rtw_fw_send_h2c_packet(struct rtw_dev *rtwdev, u8 *h2c_pkt) in rtw_fw_send_h2c_packet()
390 rtw_fw_send_general_info(struct rtw_dev *rtwdev) in rtw_fw_send_general_info()
411 rtw_fw_send_phydm_info(struct rtw_dev *rtwdev) in rtw_fw_send_phydm_info()
439 void rtw_fw_do_iqk(struct rtw_dev *rtwdev, struct rtw_iqk_para *para) in rtw_fw_do_iqk()
453 void rtw_fw_inform_rfk_status(struct rtw_dev *rtwdev, bool start) in rtw_fw_inform_rfk_status()
465 void rtw_fw_query_bt_info(struct rtw_dev *rtwdev) in rtw_fw_query_bt_info()
476 void rtw_fw_wl_ch_info(struct rtw_dev *rtwdev, u8 link, u8 ch, u8 bw) in rtw_fw_wl_ch_info()
489 void rtw_fw_query_bt_mp_info(struct rtw_dev *rtwdev, in rtw_fw_query_bt_mp_info()
505 void rtw_fw_force_bt_tx_power(struct rtw_dev *rtwdev, u8 bt_pwr_dec_lvl) in rtw_fw_force_bt_tx_power()
517 void rtw_fw_bt_ignore_wlan_action(struct rtw_dev *rtwdev, bool enable) in rtw_fw_bt_ignore_wlan_action()
528 void rtw_fw_coex_tdma_type(struct rtw_dev *rtwdev, in rtw_fw_coex_tdma_type()
544 void rtw_fw_coex_query_hid_info(struct rtw_dev *rtwdev, u8 sub_id, u8 data) in rtw_fw_coex_query_hid_info()
556 void rtw_fw_bt_wifi_control(struct rtw_dev *rtwdev, u8 op_code, u8 *data) in rtw_fw_bt_wifi_control()
573 void rtw_fw_send_rssi_info(struct rtw_dev *rtwdev, struct rtw_sta_info *si) in rtw_fw_send_rssi_info()
588 void rtw_fw_send_ra_info(struct rtw_dev *rtwdev, struct rtw_sta_info *si, in rtw_fw_send_ra_info()
615 void rtw_fw_media_status_report(struct rtw_dev *rtwdev, u8 mac_id, bool connect) in rtw_fw_media_status_report()
626 void rtw_fw_update_wl_phy_info(struct rtw_dev *rtwdev) in rtw_fw_update_wl_phy_info()
641 void rtw_fw_beacon_filter_config(struct rtw_dev *rtwdev, bool connect, in rtw_fw_beacon_filter_config()
684 void rtw_fw_set_pwr_mode(struct rtw_dev *rtwdev) in rtw_fw_set_pwr_mode()
701 void rtw_fw_set_keep_alive_cmd(struct rtw_dev *rtwdev, bool enable) in rtw_fw_set_keep_alive_cmd()
719 void rtw_fw_set_disconnect_decision_cmd(struct rtw_dev *rtwdev, bool enable) in rtw_fw_set_disconnect_decision_cmd()
741 void rtw_fw_set_wowlan_ctrl_cmd(struct rtw_dev *rtwdev, bool enable) in rtw_fw_set_wowlan_ctrl_cmd()
763 void rtw_fw_set_aoac_global_info_cmd(struct rtw_dev *rtwdev, in rtw_fw_set_aoac_global_info_cmd()
777 void rtw_fw_set_remote_wake_ctrl_cmd(struct rtw_dev *rtwdev, bool enable) in rtw_fw_set_remote_wake_ctrl_cmd()
791 static u8 rtw_get_rsvd_page_location(struct rtw_dev *rtwdev, in rtw_get_rsvd_page_location()
805 void rtw_fw_set_nlo_info(struct rtw_dev *rtwdev, bool enable) in rtw_fw_set_nlo_info()
825 void rtw_fw_set_pg_info(struct rtw_dev *rtwdev) in rtw_fw_set_pg_info()
844 static u8 rtw_get_rsvd_page_probe_req_location(struct rtw_dev *rtwdev, in rtw_get_rsvd_page_probe_req_location()
861 static u16 rtw_get_rsvd_page_probe_req_size(struct rtw_dev *rtwdev, in rtw_get_rsvd_page_probe_req_size()
878 void rtw_send_rsvd_page_h2c(struct rtw_dev *rtwdev) in rtw_send_rsvd_page_h2c()
906 struct rtw_dev *rtwdev = hw->priv; in rtw_nlo_info_get()
961 struct rtw_dev *rtwdev = hw->priv; in rtw_cs_channel_info_get()
995 struct rtw_dev *rtwdev = hw->priv; in rtw_lps_pg_dpk_get()
1020 struct rtw_dev *rtwdev = hw->priv; in rtw_lps_pg_info_get()
1121 static void rtw_fill_rsvd_page_desc(struct rtw_dev *rtwdev, struct sk_buff *skb, in rtw_fill_rsvd_page_desc()
1139 static void rtw_rsvd_page_list_to_buf(struct rtw_dev *rtwdev, u8 page_size, in rtw_rsvd_page_list_to_buf()
1152 static struct rtw_rsvd_page *rtw_alloc_rsvd_page(struct rtw_dev *rtwdev, in rtw_alloc_rsvd_page()
1171 static void rtw_insert_rsvd_page(struct rtw_dev *rtwdev, in rtw_insert_rsvd_page()
1180 static void rtw_add_rsvd_page(struct rtw_dev *rtwdev, in rtw_add_rsvd_page()
1197 static void rtw_add_rsvd_page_probe_req(struct rtw_dev *rtwdev, in rtw_add_rsvd_page_probe_req()
1214 void rtw_remove_rsvd_page(struct rtw_dev *rtwdev, in rtw_remove_rsvd_page()
1231 void rtw_add_rsvd_page_bcn(struct rtw_dev *rtwdev, in rtw_add_rsvd_page_bcn()
1247 void rtw_add_rsvd_page_pno(struct rtw_dev *rtwdev, in rtw_add_rsvd_page_pno()
1272 void rtw_add_rsvd_page_sta(struct rtw_dev *rtwdev, in rtw_add_rsvd_page_sta()
1290 int rtw_fw_write_data_rsvd_page(struct rtw_dev *rtwdev, u16 pg_addr, in rtw_fw_write_data_rsvd_page()
1352 static int rtw_download_drv_rsvd_page(struct rtw_dev *rtwdev, u8 *buf, u32 size) in rtw_download_drv_rsvd_page()
1368 static void __rtw_build_rsvd_page_reset(struct rtw_dev *rtwdev) in __rtw_build_rsvd_page_reset()
1387 struct rtw_dev *rtwdev = data; in rtw_build_rsvd_page_iter()
1401 static int __rtw_build_rsvd_page_from_vifs(struct rtw_dev *rtwdev) in __rtw_build_rsvd_page_from_vifs()
1433 static u8 *rtw_build_rsvd_page(struct rtw_dev *rtwdev, u32 *size) in rtw_build_rsvd_page()
1534 static int rtw_download_beacon(struct rtw_dev *rtwdev) in rtw_download_beacon()
1570 int rtw_fw_download_rsvd_page(struct rtw_dev *rtwdev) in rtw_fw_download_rsvd_page()
1607 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, in rtw_fw_update_beacon_work()
1615 static void rtw_fw_read_fifo_page(struct rtw_dev *rtwdev, u32 offset, u32 size, in rtw_fw_read_fifo_page()
1647 static void rtw_fw_read_fifo(struct rtw_dev *rtwdev, enum rtw_fw_fifo_sel sel, in rtw_fw_read_fifo()
1665 static bool rtw_fw_dump_check_size(struct rtw_dev *rtwdev, in rtw_fw_dump_check_size()
1680 int rtw_fw_dump_fifo(struct rtw_dev *rtwdev, u8 fifo_sel, u32 addr, u32 size, in rtw_fw_dump_fifo()
1706 static void __rtw_fw_update_pkt(struct rtw_dev *rtwdev, u8 pkt_id, u16 size, in __rtw_fw_update_pkt()
1726 void rtw_fw_update_pkt_probe_req(struct rtw_dev *rtwdev, in rtw_fw_update_pkt_probe_req()
1747 void rtw_fw_channel_switch(struct rtw_dev *rtwdev, bool enable) in rtw_fw_channel_switch()
1786 void rtw_fw_adaptivity(struct rtw_dev *rtwdev) in rtw_fw_adaptivity()
1807 void rtw_fw_scan_notify(struct rtw_dev *rtwdev, bool start) in rtw_fw_scan_notify()
1817 static int rtw_append_probe_req_ie(struct rtw_dev *rtwdev, struct sk_buff *skb, in rtw_append_probe_req_ie()
1841 static int _rtw_hw_scan_update_probe_req(struct rtw_dev *rtwdev, u8 num_probes, in _rtw_hw_scan_update_probe_req()
1892 static int rtw_hw_scan_update_probe_req(struct rtw_dev *rtwdev, in rtw_hw_scan_update_probe_req()
1928 static int rtw_add_chan_info(struct rtw_dev *rtwdev, struct rtw_chan_info *info, in rtw_add_chan_info()
1957 static int rtw_add_chan_list(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif, in rtw_add_chan_list()
2003 static void rtw_fw_set_scan_offload(struct rtw_dev *rtwdev, in rtw_fw_set_scan_offload()
2039 void rtw_hw_scan_start(struct rtw_dev *rtwdev, struct ieee80211_vif *vif, in rtw_hw_scan_start()
2063 void rtw_hw_scan_complete(struct rtw_dev *rtwdev, struct ieee80211_vif *vif, in rtw_hw_scan_complete()
2095 static int rtw_hw_scan_prehandle(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif, in rtw_hw_scan_prehandle()
2123 int rtw_hw_scan_offload(struct rtw_dev *rtwdev, struct ieee80211_vif *vif, in rtw_hw_scan_offload()
2146 void rtw_hw_scan_abort(struct rtw_dev *rtwdev, struct ieee80211_vif *vif) in rtw_hw_scan_abort()
2155 void rtw_hw_scan_status_report(struct rtw_dev *rtwdev, struct sk_buff *skb) in rtw_hw_scan_status_report()
2174 void rtw_store_op_chan(struct rtw_dev *rtwdev) in rtw_store_op_chan()
2184 static bool rtw_is_op_chan(struct rtw_dev *rtwdev, u8 channel) in rtw_is_op_chan()
2191 void rtw_hw_scan_chan_switch(struct rtw_dev *rtwdev, struct sk_buff *skb) in rtw_hw_scan_chan_switch()