Lines Matching refs:phl
18 u8 rtw_phl_read8(void *phl, u32 addr);
19 u16 rtw_phl_read16(void *phl, u32 addr);
20 u32 rtw_phl_read32(void *phl, u32 addr);
21 void rtw_phl_write8(void *phl, u32 addr, u8 val);
22 void rtw_phl_write16(void *phl, u32 addr, u16 val);
23 void rtw_phl_write32(void *phl, u32 addr, u32 val);
25 u32 rtw_phl_read_macreg(void *phl, u32 offset, u32 bit_mask);
26 void rtw_phl_write_macreg(void *phl,
28 u32 rtw_phl_read_bbreg(void *phl, u32 offset, u32 bit_mask);
29 void rtw_phl_write_bbreg(void *phl,
31 u32 rtw_phl_read_rfreg(void *phl,
33 void rtw_phl_write_rfreg(void *phl,
35 enum rtw_phl_status rtw_phl_interrupt_handler(void *phl);
36 void rtw_phl_enable_interrupt(void *phl);
37 void rtw_phl_disable_interrupt(void *phl);
38 bool rtw_phl_recognize_interrupt(void *phl);
39 void rtw_phl_clear_interrupt(void *phl);
40 void rtw_phl_restore_interrupt(void *phl);
44 void rtw_phl_mac_reg_dump(void *sel, void *phl);
45 void rtw_phl_bb_reg_dump(void *sel, void *phl);
46 void rtw_phl_bb_reg_dump_ex(void *sel, void *phl);
47 void rtw_phl_rf_reg_dump(void *sel, void *phl);
49 bool rtw_phl_get_sec_cam(void *phl, u16 num, u8 *buf, u16 size);
50 bool rtw_phl_get_addr_cam(void *phl, u16 num, u8 *buf, u16 size);
52 struct rtw_phl_com_t *rtw_phl_get_com(void *phl);
53 enum rtw_phl_status rtw_phl_init(void *drv_priv, void **phl,
55 void rtw_phl_deinit(void *phl);
57 void rtw_phl_watchdog_init(void *phl,
61 void rtw_phl_watchdog_deinit(void *phl);
62 void rtw_phl_watchdog_start(void *phl);
63 void rtw_phl_watchdog_stop(void *phl);
65 enum rtw_phl_status rtw_phl_trx_alloc(void *phl);
66 void rtw_phl_trx_free(void *phl);
67 void rtw_phl_trx_free_handler(void *phl);
68 void rtw_phl_trx_free_sw_rsc(void *phl);
69 void rtw_phl_cap_pre_config(void *phl);
70 enum rtw_phl_status rtw_phl_preload(void *phl);
71 enum rtw_phl_status rtw_phl_start(void *phl);
72 void rtw_phl_stop(void *phl);
73 bool rtw_phl_is_init_completed(void *phl);
75 void rtw_phl_ps_set_rt_cap(void *phl, u8 band_idx, bool ps_allow, enum phl_ps_rt_rson rt_rson);
76 enum rtw_phl_status rtw_phl_ps_set_rf_state(void *phl, u8 band_idx, enum rtw_rf_state rf_state);
78 enum rtw_phl_status rtw_phl_suspend(void *phl, struct rtw_phl_stainfo_t *sta, u8 wow_en);
79 enum rtw_phl_status rtw_phl_resume(void *phl, struct rtw_phl_stainfo_t *sta, u8 *hw_reinit);
81 enum rtw_phl_status rtw_phl_tx_req_notify(void *phl);
82 enum rtw_phl_status rtw_phl_add_tx_req(void *phl, struct rtw_xmit_req *tx_req);
83 void rtw_phl_tx_stop(void *phl);
84 void rtw_phl_tx_resume(void *phl);
85 u16 rtw_phl_tring_rsc(void *phl, u16 macid, u8 tid);
86 u16 rtw_phl_query_new_rx_num(void *phl);
87 struct rtw_recv_pkt *rtw_phl_query_rx_pkt(void *phl);
89 void rtw_phl_rx_deferred_In_token(void *phl);
90 void rtw_phl_post_in_complete(void *phl, void *rxobj, u32 inbuf_len, u8 status_code);
91 enum rtw_phl_status rtw_phl_return_rxbuf(void *phl, u8* rxpkt);
93 enum rtw_phl_status rtw_phl_recycle_tx_buf(void *phl, u8 *tx_buf_ptr);
96 rtw_phl_cmd_cfg_ampdu(void *phl,
102 void rtw_phl_proc_cmd(void *phl, char proc_cmd,
105 void rtw_phl_get_fw_ver(void *phl, char *ver_str, u16 len);
107 enum rtw_fw_status rtw_phl_get_fw_status(void *phl);
110 enum rtw_phl_status rtw_phl_job_run_func(void *phl,
114 u8 rtw_phl_wifi_role_alloc(void *phl, u8 *mac_addr, enum role_type type,
118 rtw_phl_cmd_wrole_change(void *phl,
123 void rtw_phl_wifi_role_free(void *phl, u8 role_idx);
127 rtw_phl_alloc_stainfo_sw(void *phl,
132 rtw_phl_free_stainfo_sw(void *phl, struct rtw_phl_stainfo_t *sta);
135 rtw_phl_cmd_alloc_stainfo(void *phl,
145 rtw_phl_cmd_change_stainfo(void *phl,
151 rtw_phl_cmd_update_media_status(void *phl,
159 rtw_phl_get_stainfo_self(void *phl, struct rtw_wifi_role_t *wrole);
162 rtw_phl_get_stainfo_by_addr(void *phl, struct rtw_wifi_role_t *wrole, u8 *addr);
165 rtw_phl_get_stainfo_by_macid(void *phl, u16 macid);
171 rtw_phl_query_rainfo(void *phl, struct rtw_phl_stainfo_t *phl_sta,
174 void rtw_phl_sta_up_rx_bcn(void *phl, struct rtw_bcn_pkt_info *info);
178 rtw_phl_get_macid_max_num(void *phl);
181 rtw_phl_wrole_bcmc_id_get(void *phl, struct rtw_wifi_role_t *wrole);
184 rtw_phl_macid_is_bmc(void *phl, u16 macid);
187 rtw_phl_macid_is_used(void *phl, u16 macid);
190 rtw_phl_cmd_add_key(void *phl,
198 rtw_phl_cmd_del_key(void *phl,
204 enum rtw_phl_status rtw_phl_msg_hub_register_recver(void* phl,
206 enum rtw_phl_status rtw_phl_msg_hub_update_recver_mask(void* phl,
208 enum rtw_phl_status rtw_phl_msg_hub_deregister_recver(void* phl,
210 enum rtw_phl_status rtw_phl_msg_hub_send(void* phl,
216 u8 rtw_phl_get_sec_cam_idx(void *phl, struct rtw_phl_stainfo_t *sta,
222 enum rtw_phl_status rtw_phl_register_module(void *phl, u8 band_idx,
225 enum rtw_phl_status rtw_phl_deregister_module(void *phl,u8 band_idx,
227 u8 rtw_phl_is_fg_empty(void *phl, u8 band_idx);
229 enum rtw_phl_status rtw_phl_send_msg_to_dispr(void *phl, struct phl_msg* msg,
231 enum rtw_phl_status rtw_phl_cancel_dispr_msg(void *phl, u8 band_idx, u32* msg_hdl);
233 enum rtw_phl_status rtw_phl_add_cmd_token_req(void *phl, u8 band_idx,
235 enum rtw_phl_status rtw_phl_cancel_cmd_token(void *phl, u8 band_idx, u32* req_hdl);
236 enum rtw_phl_status rtw_phl_set_cur_cmd_info(void *phl, u8 band_idx,
238 enum rtw_phl_status rtw_phl_query_cur_cmd_info(void *phl, u8 band_idx,
241 enum rtw_phl_status rtw_phl_free_cmd_token(void *phl, u8 band_idx, u32* req_hdl);
242 enum rtw_phl_status rtw_phl_set_bk_module_info(void *phl, u8 band_idx,
244 enum rtw_phl_status rtw_phl_query_bk_module_info(void *phl, u8 band_idx,
246 enum rtw_phl_status rtw_phl_set_msg_disp_seq(void *phl,
251 void rtw_phl_stop_rx_ba_session(void *phl, struct rtw_phl_stainfo_t *sta,
254 rtw_phl_start_rx_ba_session(void *phl, struct rtw_phl_stainfo_t *sta,
257 void rtw_phl_rx_bar(void *phl, struct rtw_phl_stainfo_t *sta, u8 tid, u16 seq);
258 void rtw_phl_flush_reorder_buf(void *phl, struct rtw_phl_stainfo_t *sta);
260 rtw_phl_enter_mon_mode(void *phl, struct rtw_wifi_role_t *wrole);
262 rtw_phl_leave_mon_mode(void *phl, struct rtw_wifi_role_t *wrole);
264 enum rtw_phl_status rtw_phl_free_bcn_entry(void *phl, struct rtw_wifi_role_t *wrole);
266 rtw_phl_cmd_issue_beacon(void *phl,
272 rtw_phl_cmd_stop_beacon(void *phl,
294 rtw_phl_cmd_enqueue(void *phl,
332 void rtw_phl_final_cap_decision(void *phl);
336 rtw_phl_get_dft_proto_cap(void *phl, u8 hw_band, enum role_type rtype,
339 rtw_phl_get_dft_cap(void *phl, u8 hw_band, struct role_cap_t *role_cap);
341 void rtw_phl_mac_dbg_status_dump(void *phl, u32 *val, u8 *en);
345 rtw_phl_dbcc_test(void *phl, enum dbcc_test_id id, void *param);
352 rtw_phl_cmd_cfg_chinfo(void *phl, struct rtw_phl_stainfo_t *sta,
354 enum rtw_phl_status rtw_phl_query_chan_info(void *phl, u32 buf_len,
358 void rtw_phl_set_edcca_mode(void *phl, enum rtw_edcca_mode mode);
359 enum rtw_edcca_mode rtw_phl_get_edcca_mode(void *phl);
361 bool rtw_phl_set_user_def_chplan(void *phl, struct rtw_user_def_chplan *udef);
363 bool rtw_phl_regulation_set_domain(void *phl, u8 domain,
365 bool rtw_phl_regulation_set_country(void *phl, char *country,
367 bool rtw_phl_regulation_set_capability(void *phl,
370 void *phl, enum rtw_regulation_query type,
373 bool rtw_phl_query_specific_chplan(void *phl, u8 domain,
380 bool rtw_phl_scan_instance_insert_ch(void *phl, struct instance *inst,
383 bool rtw_phl_regulation_valid_channel(void *phl, enum band_type band,
385 bool rtw_phl_regulation_dfs_channel(void *phl, enum band_type band,
387 bool rtw_phl_query_regulation_info(void *phl, struct rtw_regulation_info *info);
388 bool rtw_phl_regulation_query_ch(void *phl, enum band_type band, u8 channel,
393 enum rtw_phl_status rtw_phl_get_mac_addr_efuse(void* phl, u8 *addr);
404 u8 rtw_phl_usb_tx_ep_id(void *phl, u16 macid, u8 tid, u8 band);
407 rtw_phl_cfg_trx_path(void* phl, enum rf_path tx, u8 tx_nss,
416 bool rtw_phl_chanctx_chk(void *phl, struct rtw_wifi_role_t *wifi_role,
418 bool rtw_phl_chanctx_add(void *phl, struct rtw_wifi_role_t *wifi_role,
420 int rtw_phl_chanctx_del(void *phl, struct rtw_wifi_role_t *wifi_role,
422 enum rtw_phl_status rtw_phl_chanctx_del_no_self(void *phl, struct rtw_wifi_role_t *wifi_role);
423 int rtw_phl_mr_get_chanctx_num(void *phl, struct rtw_wifi_role_t *wifi_role);
424 enum rtw_phl_status rtw_phl_mr_get_chandef(void *phl, struct rtw_wifi_role_t *wifi_role,
426 enum rtw_phl_status rtw_phl_mr_upt_chandef(void *phl, struct rtw_wifi_role_t *wifi_role);
429 u8 rtw_phl_mr_query_mcc_inprogress (void *phl, struct rtw_wifi_role_t *wrole,
433 u8 rtw_phl_mr_dump_mac_addr(void *phl,
435 u8 rtw_phl_mr_buddy_dump_mac_addr(void *phl,
438 rtw_phl_mr_rx_filter(void *phl, struct rtw_wifi_role_t *wrole);
442 rtw_phl_mr_offch_hdl(void *phl,
449 void rtw_phl_mr_ops_init (void *phl, struct rtw_phl_mr_ops *mr_ops);
452 void rtw_phl_mr_dump_info(void *phl, bool show_caller);
453 void rtw_phl_mr_dump_band_ctl(void *phl, bool show_caller);
454 bool rtw_phl_chanctx_test(void *phl, struct rtw_wifi_role_t *wifi_role, bool is_add,
457 void rtw_phl_sta_dump_info(void *phl, bool show_caller, struct rtw_wifi_role_t *wr, u8 mode);
459 bool rtw_phl_mr_query_info(void *phl, struct rtw_wifi_role_t *wrole,
462 u8 rtw_phl_mr_get_opch_list(void *phl, struct rtw_wifi_role_t *wifi_role,
465 void rtw_phl_mr_dump_cur_chandef(void *phl, struct rtw_wifi_role_t *wifi_role);
468 rtw_phl_mr_get_opmode(void *phl, struct rtw_wifi_role_t *wrole);
470 void rtw_phl_led_set_ctrl_mode(void *phl, enum rtw_led_id led_id,
472 void rtw_phl_led_set_toggle_intervals(void *phl, u8 intervals_idx,
474 void rtw_phl_led_set_action(void *phl, enum rtw_led_event event,
478 void rtw_phl_led_control(void *phl, enum rtw_led_event led_event);
481 u16 rtw_phl_acs_get_channel_by_idx(void *phl, u8 ch_idx);
482 u8 rtw_phl_acs_get_clm_ratio_by_idx(void *phl, u8 ch_idx);
483 s8 rtw_phl_noise_query_by_idx(void *phl, u8 ch_idx);
486 void rtw_phl_get_env_rpt(void *phl, struct rtw_env_report *env_rpt, struct rtw_wifi_role_t *wrole);
490 rtw_phl_bfee_ctrl(void *phl, struct rtw_wifi_role_t *wrole, bool ctrl);
494 rtw_phl_snd_init_ops_send_ndpa(void *phl,
501 u8 rtw_phl_snd_chk_in_progress(void *phl);
504 rtw_phl_sound_start(void *phl, u8 wrole_idx, u8 st_dlg_tkn, u8 period, u8 test_flag);
507 rtw_phl_sound_abort(void *phl);
510 rtw_phl_set_power_lmt(void *phl, u8 hw_band);
512 s8 rtw_phl_get_power_limit(void *phl, u8 hw_band,
516 rtw_phl_enable_ext_pwr_lmt(void *phl, u8 hw_band,
523 enum rtw_phl_status rtw_phl_rf_on(void *phl);
524 enum rtw_phl_status rtw_phl_rf_off(void *phl);
529 rtw_phl_twt_alloc_twt_config(void *phl, struct rtw_wifi_role_t *role,
533 rtw_phl_twt_free_twt_config(void *phl, u8 id);
536 rtw_phl_twt_enable_twt_config(void *phl, u8 id);
539 rtw_phl_twt_free_all_twt_by_role(void *phl, struct rtw_wifi_role_t *role);
542 rtw_phl_twt_disable_all_twt_by_role(void *phl, struct rtw_wifi_role_t *role);
545 rtw_phl_twt_enable_all_twt_by_role(void *phl, struct rtw_wifi_role_t *role);
548 rtw_phl_twt_add_sta_info(void *phl, struct rtw_phl_stainfo_t *phl_sta,
552 rtw_phl_twt_teardown_sta(void *phl, struct rtw_phl_stainfo_t *phl_sta,
556 rtw_phl_twt_get_new_flow_id(void *phl, struct rtw_phl_stainfo_t *phl_sta, u8 *id);
560 rtw_phl_twt_accept_for_sta_mode(void *phl, struct rtw_phl_stainfo_t *phl_sta,
564 rtw_phl_twt_teardown_for_sta_mode(void *phl, struct rtw_phl_stainfo_t *phl_sta,
568 rtw_phl_twt_delete_all_sta_info(void *phl, struct rtw_phl_stainfo_t *phl_sta,
572 rtw_phl_twt_get_target_wake_time(void *phl, u8 port, u8 id, u16 offset, u32 *tsf_h,
576 rtw_phl_twt_sta_announce_to_fw(void *phl, u16 macid);
602 rtw_phl_snd_cmd_set_vht_gid(void *phl,
607 rtw_phl_snd_cmd_set_aid(void *phl,
615 rtw_phl_p2pps_noa_update(void *phl, struct rtw_phl_noa_desc *in_desc);
618 rtw_phl_p2pps_init_ops(void *phl, struct rtw_phl_p2pps_ops *ops);
620 void rtw_phl_p2pps_noa_disable_all(void *phl, struct rtw_wifi_role_t *w_role);
624 rtw_phl_snd_cmd_set_vht_gid(void *phl,
628 void rtw_phl_event_notify(void *phl, enum phl_msg_evt_id event,
630 void rtw_phl_notification(void *phl,
633 void rtw_phl_dev_terminate_ntf(void *phl);
636 rtw_phl_cmd_force_usb_switch(void *phl, u32 speed,
640 rtw_phl_cmd_get_usb_speed(void *phl, u32* speed,
644 rtw_phl_cmd_get_usb_support_ability(void *phl, u32* ability,
650 rtw_phl_txsts_rpt_config(void *phl, struct rtw_phl_stainfo_t *phl_sta);
655 rtw_phl_get_tx_ok_rpt(void *phl, struct rtw_phl_stainfo_t *phl_sta, u32 *tx_ok_cnt,
659 rtw_phl_get_tx_fail_rpt(void *phl, struct rtw_phl_stainfo_t *phl_sta, u32 *tx_fail_cnt,
664 rtw_phl_get_tx_retry_rpt(void *phl, struct rtw_phl_stainfo_t *phl_sta, u32 *tx_retry_cnt,
668 enum rtw_rx_status rtw_phl_get_rx_status(void *phl);
670 void rtw_phl_dbg_dump_rx(void *phl, struct rtw_wifi_role_t *wrole);
677 const char *rtw_phl_get_pw_lmt_regu_type_str(void *phl, enum band_type band);
679 bool rtw_phl_get_pwr_lmt_en(void *phl, u8 band_idx);
681 enum rtw_phl_status rtw_phl_set_tx_power(void *phl, u8 band_idx);
684 u32 rtw_phl_get_phy_stat_info(void *phl, enum phl_band_idx hw_band,