Lines Matching refs:wrole
23 struct phl_info_t *phl_info, struct rtw_wifi_role_t *wrole) in phl_mr_dump_role_info() argument
29 wrole->id, wrole->mac_addr[0], wrole->mac_addr[1], wrole->mac_addr[2], in phl_mr_dump_role_info()
30 wrole->mac_addr[3], wrole->mac_addr[4], wrole->mac_addr[5], in phl_mr_dump_role_info()
31 wrole->type, wrole->mstate); in phl_mr_dump_role_info()
32 …FO("\t[WROLE] HW Band_idx:%d, Port_idx:%d, WMM_idx:%d\n", wrole->hw_band, wrole->hw_port, wrole->h… in phl_mr_dump_role_info()
34 …if (wrole->type == PHL_RTYPE_AP || wrole->type == PHL_RTYPE_P2P_GO || wrole->type == PHL_RTYPE_MES… in phl_mr_dump_role_info()
37 wrole->bcn_cmn.bssid[0], wrole->bcn_cmn.bssid[1], wrole->bcn_cmn.bssid[2], in phl_mr_dump_role_info()
38 wrole->bcn_cmn.bssid[3], wrole->bcn_cmn.bssid[4], wrole->bcn_cmn.bssid[5]); in phl_mr_dump_role_info()
40 wrole->bcn_cmn.bcn_id, wrole->bcn_cmn.bcn_interval, in phl_mr_dump_role_info()
41 wrole->bcn_cmn.bcn_rate, wrole->bcn_cmn.bcn_dtim); in phl_mr_dump_role_info()
43 wrole->hw_mbssid, wrole->mbid_num); in phl_mr_dump_role_info()
123 struct rtw_wifi_role_t *wrole; in phl_mr_dump_info() local
141 wrole = rtw_phl_get_wrole_by_ridx(phl_info->phl_com, i); in phl_mr_dump_info()
142 PHL_DUMP_ROLE(phl_info, wrole); in phl_mr_dump_info()
209 static struct rtw_wifi_role_t *_search_ld_sta_wrole(struct rtw_wifi_role_t *wrole, u8 exclude_self) in _search_ld_sta_wrole() argument
212 struct rtw_phl_com_t *phl_com = wrole->phl_com; in _search_ld_sta_wrole()
213 struct rtw_chan_ctx *chanctx = wrole->chanctx; in _search_ld_sta_wrole()
217 PHL_ERR("%s wifi role(%d) chan ctx is null\n", __func__, wrole->id); in _search_ld_sta_wrole()
225 if ((exclude_self) && (wr == wrole)) in _search_ld_sta_wrole()
239 void rtw_phl_mr_dump_cur_chandef(void *phl, struct rtw_wifi_role_t *wrole) in rtw_phl_mr_dump_cur_chandef() argument
244 PHL_DUMP_CUR_CHANDEF(phl_info, wrole); in rtw_phl_mr_dump_cur_chandef()
321 struct rtw_wifi_role_t *wrole) in _phl_mrc_module_connect_start_hdlr() argument
326 __func__, wrole->id); in _phl_mrc_module_connect_start_hdlr()
327 wrole->mstate = MLME_LINKING; in _phl_mrc_module_connect_start_hdlr()
328 psts = phl_role_notify(phl_info, wrole); in _phl_mrc_module_connect_start_hdlr()
333 psts = phl_mr_info_upt(phl_info, wrole); in _phl_mrc_module_connect_start_hdlr()
339 psts = rtw_phl_mr_rx_filter(phl_info, wrole); in _phl_mrc_module_connect_start_hdlr()
346 phl_p2pps_noa_all_role_pause(phl_info, wrole->hw_band); in _phl_mrc_module_connect_start_hdlr()
350 psts = phl_mr_coex_disable(phl_info, wrole, wrole->hw_band, in _phl_mrc_module_connect_start_hdlr()
367 struct rtw_wifi_role_t *wrole) in _phl_mrc_module_connect_end_hdlr() argument
372 __func__, wrole->id); in _phl_mrc_module_connect_end_hdlr()
373 if (wrole->type == PHL_RTYPE_STATION || wrole->type == PHL_RTYPE_P2P_GC) { in _phl_mrc_module_connect_end_hdlr()
374 psts = phl_role_notify(phl_info, wrole); in _phl_mrc_module_connect_end_hdlr()
381 psts = phl_mr_info_upt(phl_info, wrole); in _phl_mrc_module_connect_end_hdlr()
387 psts = rtw_phl_mr_rx_filter(phl_info, wrole); in _phl_mrc_module_connect_end_hdlr()
393 psts = phl_mr_tsf_sync(phl_info, wrole, PHL_ROLE_MSTS_STA_CONN_END); in _phl_mrc_module_connect_end_hdlr()
399 psts = phl_mr_state_upt(phl_info, wrole); in _phl_mrc_module_connect_end_hdlr()
415 struct rtw_wifi_role_t *wrole) in _phl_mrc_module_disconnect_pre_hdlr() argument
420 __func__, wrole->id); in _phl_mrc_module_disconnect_pre_hdlr()
424 phl_p2pps_noa_disable_all(phl_info, wrole); in _phl_mrc_module_disconnect_pre_hdlr()
426 phl_p2pps_noa_all_role_pause(phl_info, wrole->hw_band); in _phl_mrc_module_disconnect_pre_hdlr()
431 psts = phl_mr_coex_disable(phl_info, wrole, wrole->hw_band, in _phl_mrc_module_disconnect_pre_hdlr()
448 struct rtw_wifi_role_t *wrole) in _phl_mrc_module_disconnect_hdlr() argument
455 __func__, wrole->id); in _phl_mrc_module_disconnect_hdlr()
458 if (wrole->type == PHL_RTYPE_TDLS && wrole->mstate != MLME_LINKED) { in _phl_mrc_module_disconnect_hdlr()
459 psts = phl_wifi_role_change(phl_info, wrole, WR_CHG_TYPE, (u8*)&rtype); in _phl_mrc_module_disconnect_hdlr()
467 if (wrole->type == PHL_RTYPE_STATION || wrole->type == PHL_RTYPE_P2P_GC) { in _phl_mrc_module_disconnect_hdlr()
468 psts = phl_role_notify(phl_info, wrole); in _phl_mrc_module_disconnect_hdlr()
475 psts = phl_mr_info_upt(phl_info, wrole); in _phl_mrc_module_disconnect_hdlr()
481 psts = rtw_phl_mr_rx_filter(phl_info, wrole); in _phl_mrc_module_disconnect_hdlr()
487 psts = phl_mr_tsf_sync(phl_info, wrole, PHL_ROLE_MSTS_STA_DIS_CONN); in _phl_mrc_module_disconnect_hdlr()
493 rtw_hal_disconnect_notify(phl_info->hal, &wrole->chandef); in _phl_mrc_module_disconnect_hdlr()
503 struct rtw_wifi_role_t *wrole) in _phl_mrc_module_tsf_sync_done_hdlr() argument
505 SET_STATUS_FLAG(wrole->status, WR_STATUS_TSF_SYNC); in _phl_mrc_module_tsf_sync_done_hdlr()
506 return phl_mr_state_upt(phl_info, wrole); in _phl_mrc_module_tsf_sync_done_hdlr()
511 struct rtw_wifi_role_t *wrole) in _phl_mrc_module_ap_start_pre_hdlr() argument
516 __func__, wrole->id); in _phl_mrc_module_ap_start_pre_hdlr()
519 phl_p2pps_noa_all_role_pause(phl_info, wrole->hw_band); in _phl_mrc_module_ap_start_pre_hdlr()
523 psts = phl_mr_coex_disable(phl_info, wrole, wrole->hw_band, in _phl_mrc_module_ap_start_pre_hdlr()
539 struct rtw_wifi_role_t *wrole) in _phl_mrc_module_ap_started_hdlr() argument
544 __func__, wrole->id); in _phl_mrc_module_ap_started_hdlr()
545 psts = phl_role_notify(phl_info, wrole); in _phl_mrc_module_ap_started_hdlr()
550 psts = phl_mr_info_upt(phl_info, wrole); in _phl_mrc_module_ap_started_hdlr()
555 psts = rtw_phl_mr_rx_filter(phl_info, wrole); in _phl_mrc_module_ap_started_hdlr()
561 psts = phl_mr_tsf_sync(phl_info, wrole, PHL_ROLE_MSTS_AP_START); in _phl_mrc_module_ap_started_hdlr()
566 psts = phl_mr_state_upt(phl_info, wrole); in _phl_mrc_module_ap_started_hdlr()
581 struct rtw_wifi_role_t *wrole) in _phl_mrc_module_ap_stop_pre_hdlr() argument
586 __func__, wrole->id); in _phl_mrc_module_ap_stop_pre_hdlr()
590 phl_p2pps_noa_disable_all(phl_info, wrole); in _phl_mrc_module_ap_stop_pre_hdlr()
592 phl_p2pps_noa_all_role_pause(phl_info, wrole->hw_band); in _phl_mrc_module_ap_stop_pre_hdlr()
596 psts = phl_mr_coex_disable(phl_info, wrole, wrole->hw_band, in _phl_mrc_module_ap_stop_pre_hdlr()
613 struct rtw_wifi_role_t *wrole) in _phl_mrc_module_ap_stop_hdlr() argument
618 __func__, wrole->id); in _phl_mrc_module_ap_stop_hdlr()
619 wrole->mstate = MLME_NO_LINK; in _phl_mrc_module_ap_stop_hdlr()
620 psts = phl_role_notify(phl_info, wrole); in _phl_mrc_module_ap_stop_hdlr()
626 psts = phl_mr_info_upt(phl_info, wrole); in _phl_mrc_module_ap_stop_hdlr()
631 psts = rtw_phl_mr_rx_filter(phl_info, wrole); in _phl_mrc_module_ap_stop_hdlr()
637 psts = phl_mr_tsf_sync(phl_info, wrole, PHL_ROLE_MSTS_AP_STOP); in _phl_mrc_module_ap_stop_hdlr()
643 rtw_hal_disconnect_notify(phl_info->hal, &wrole->chandef); in _phl_mrc_module_ap_stop_hdlr()
827 struct rtw_wifi_role_t *wrole = ch_param->wrole; in _mrc_module_chg_op_chdef_start_pre_hdlr() local
828 struct phl_info_t *phl = wrole->phl_com->phl_priv; in _mrc_module_chg_op_chdef_start_pre_hdlr()
831 __func__, wrole->id); in _mrc_module_chg_op_chdef_start_pre_hdlr()
834 psts = phl_mr_coex_disable(phl, wrole, wrole->hw_band, in _mrc_module_chg_op_chdef_start_pre_hdlr()
850 struct rtw_wifi_role_t *wrole = ch_param->wrole; in _mrc_module_chg_op_chdef_end_pre_hdlr() local
851 struct phl_info_t *phl = wrole->phl_com->phl_priv; in _mrc_module_chg_op_chdef_end_pre_hdlr()
856 __func__, wrole->id); in _mrc_module_chg_op_chdef_end_pre_hdlr()
869 if (RTW_PHL_STATUS_SUCCESS != phl_mr_offch_hdl(phl, wrole, false, in _mrc_module_chg_op_chdef_end_pre_hdlr()
890 struct rtw_wifi_role_t *wrole = NULL; in _mrc_module_chg_op_chdef_start_hdlr() local
906 wrole = ch_param->wrole; in _mrc_module_chg_op_chdef_start_hdlr()
908 __func__, wrole->id); in _mrc_module_chg_op_chdef_start_hdlr()
921 if (RTW_PHL_STATUS_SUCCESS != phl_mr_offch_hdl(phl, wrole, true, in _mrc_module_chg_op_chdef_start_hdlr()
939 struct rtw_wifi_role_t *wrole = NULL; in _mrc_module_chg_op_chdef_end_hdlr() local
954 wrole = ch_param->wrole; in _mrc_module_chg_op_chdef_end_hdlr()
956 __func__, wrole->id); in _mrc_module_chg_op_chdef_end_hdlr()
957 if (RTW_PHL_STATUS_SUCCESS != phl_role_notify(phl, wrole)) { in _mrc_module_chg_op_chdef_end_hdlr()
963 if (RTW_PHL_STATUS_SUCCESS != phl_mr_coex_handle(phl, wrole, 0, in _mrc_module_chg_op_chdef_end_hdlr()
964 wrole->hw_band, MR_COEX_TRIG_BY_CHG_OP_CHDEF)) { in _mrc_module_chg_op_chdef_end_hdlr()
1702 struct rtw_wifi_role_t *wrole; in phl_mr_chandef_sync() local
1717 wrole = rtw_phl_get_wrole_by_ridx(phl_info->phl_com, ridx); in phl_mr_chandef_sync()
1718 if (wrole == NULL) { in phl_mr_chandef_sync()
1724 band_ret = wrole->chandef.band; in phl_mr_chandef_sync()
1725 ch_ret = wrole->chandef.chan; in phl_mr_chandef_sync()
1726 bw_ret = wrole->chandef.bw; in phl_mr_chandef_sync()
1727 offset_ret = wrole->chandef.offset; in phl_mr_chandef_sync()
1731 if (band_ret != wrole->chandef.band) { in phl_mr_chandef_sync()
1733 band_ret, ridx, wrole->chandef.band); in phl_mr_chandef_sync()
1738 if (ch_ret != wrole->chandef.chan) { in phl_mr_chandef_sync()
1740 ch_ret, ridx, wrole->chandef.chan); in phl_mr_chandef_sync()
1746 if (bw_ret < wrole->chandef.bw) { in phl_mr_chandef_sync()
1747 bw_ret = wrole->chandef.bw; in phl_mr_chandef_sync()
1748 offset_ret = wrole->chandef.offset; in phl_mr_chandef_sync()
1749 } else if (bw_ret == wrole->chandef.bw && offset_ret != wrole->chandef.offset) { in phl_mr_chandef_sync()
1788 struct rtw_wifi_role_t *wrole, struct rtw_chan_def *new_chan, in phl_mr_chandef_chg() argument
1796 chanctx_num = (u8)rtw_phl_chanctx_del(phl, wrole, &chan_def); in phl_mr_chandef_chg()
1798 if (rtw_phl_chanctx_add((void *)phl, wrole, &chan_def.chan, in phl_mr_chandef_chg()
1808 _os_mem_cpy(drv, &chan_def, &wrole->chandef, in phl_mr_chandef_chg()
1810 if (!rtw_phl_chanctx_add((void *)phl, wrole, &chan_def.chan, in phl_mr_chandef_chg()
1963 rtw_phl_mr_rx_filter(void *phl, struct rtw_wifi_role_t *wrole) in rtw_phl_mr_rx_filter() argument
1969 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[wrole->hw_band]); in rtw_phl_mr_rx_filter()
1981 if (wrole->type == PHL_RTYPE_STATION && wrole->mstate == MLME_LINKED) in rtw_phl_mr_rx_filter()
1983 else if (wrole->type == PHL_RTYPE_STATION && wrole->mstate == MLME_LINKING) in rtw_phl_mr_rx_filter()
1985 else if (wrole->type == PHL_RTYPE_AP) in rtw_phl_mr_rx_filter()
1991 rtw_hal_set_rxfltr_by_mode(phl_info->hal, wrole->hw_band, mode); in rtw_phl_mr_rx_filter()
1996 phl_mr_tsf_sync(void *phl, struct rtw_wifi_role_t *wrole, in phl_mr_tsf_sync() argument
2003 struct hw_band_ctl_t *band_ctl = &mr_ctl->band_ctrl[wrole->hw_band]; in phl_mr_tsf_sync()
2004 struct rtw_chan_ctx *chanctx = wrole->chanctx; in phl_mr_tsf_sync()
2005 struct rtw_phl_com_t *phl_com = wrole->phl_com; in phl_mr_tsf_sync()
2008 enum phl_band_idx band = wrole->hw_band; in phl_mr_tsf_sync()
2036 PHL_WARN("%s: state%d wifi role (id=%d)chanctx=NULL\n", __func__, state, wrole->id); in phl_mr_tsf_sync()
2043 wr_sync_from = wrole; in phl_mr_tsf_sync()
2082 PHL_WARN("%s: state%d wifi role (id=%d)chanctx=NULL\n", __func__, state, wrole->id); in phl_mr_tsf_sync()
2095 if (wrole->hw_port == band_ctl->tsf_sync_port && in phl_mr_tsf_sync()
2098 wr_sync_from = _search_ld_sta_wrole(wrole, true); in phl_mr_tsf_sync()
2140 if (wrole->hw_port == band_ctl->tsf_sync_port && ld_sta_num == 0) { in phl_mr_tsf_sync()
2179 PHL_WARN("%s: state%d wifi role (id=%d)chanctx=NULL\n", __func__, state, wrole->id); in phl_mr_tsf_sync()
2188 wr_sync_to = wrole; in phl_mr_tsf_sync()
2189 wr_sync_from = _search_ld_sta_wrole(wrole, true); in phl_mr_tsf_sync()
2207 wr_sync_to = wrole; in phl_mr_tsf_sync()
2228 wr_sync_to = wrole; in phl_mr_tsf_sync()
2267 struct rtw_wifi_role_t *wrole, in phl_mr_offch_hdl() argument
2274 struct rtw_phl_com_t *phl_com = wrole->phl_com; in phl_mr_offch_hdl()
2276 u8 hw_band = wrole->hw_band; in phl_mr_offch_hdl()
2288 __func__, wrole->id, off_ch); in phl_mr_offch_hdl()
2377 …if ((wrole->type == PHL_RTYPE_STATION || wrole->type == PHL_RTYPE_TDLS) && wrole->mstate == MLME_L… in phl_mr_offch_hdl()
2378 if (issue_null_data && issue_null_data(obj_priv, wrole->id, off_ch) != _SUCCESS) { in phl_mr_offch_hdl()
2379 PHL_ERR("WR-ID:%d, issue null_data failed\n", wrole->id); in phl_mr_offch_hdl()
2389 } else if (wrole->type == PHL_RTYPE_AP) { in phl_mr_offch_hdl()
2390 rtw_hal_beacon_stop(phl_info->hal, wrole, off_ch); in phl_mr_offch_hdl()
2399 struct rtw_wifi_role_t *wrole, in rtw_phl_mr_offch_hdl() argument
2407 u8 hw_band = wrole->hw_band; in rtw_phl_mr_offch_hdl()
2413 wrole, in rtw_phl_mr_offch_hdl()
2420 wrole, in rtw_phl_mr_offch_hdl()
2431 struct rtw_wifi_role_t *wrole, in phl_mr_stop_all_beacon() argument
2436 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[wrole->hw_band]); in phl_mr_stop_all_beacon()
2817 phl_mr_mcc_query_role_time_slot_lim (struct phl_info_t *phl_info, struct rtw_wifi_role_t *wrole, in phl_mr_mcc_query_role_time_slot_lim() argument
2824 phl_p2pps_query_noa_with_cnt255(phl_info, wrole, &noa_desc); in phl_mr_mcc_query_role_time_slot_lim()
2836 bool phl_mr_noa_dur_lim_change (struct phl_info_t *phl_info, struct rtw_wifi_role_t *wrole, in phl_mr_noa_dur_lim_change() argument
2845 tdmra_inprogress = rtw_phl_mcc_inprogress(phl_info, wrole->hw_band); in phl_mr_noa_dur_lim_change()
2853 rtw_phl_mcc_dur_lim_change(phl_info, wrole, &lim_req); in phl_mr_noa_dur_lim_change()
2862 need_tdmra = _mr_tdmra_need(phl_info, wrole->hw_band, &ap_role_idx); in phl_mr_noa_dur_lim_change()
2874 phl_mr_info_upt(struct phl_info_t *phl_info, struct rtw_wifi_role_t *wrole) in phl_mr_info_upt() argument
2879 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[wrole->hw_band]); in phl_mr_info_upt()
2971 phl_mr_state_upt(struct phl_info_t *phl_info, struct rtw_wifi_role_t *wrole) in phl_mr_state_upt() argument
2978 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[wrole->hw_band]); in phl_mr_state_upt()
2986 mcc_en = (wrole->mstate == MLME_LINKED) ? true : false; in phl_mr_state_upt()
2988 phl_mr_check_ecsa_cancel(phl_info, wrole); in phl_mr_state_upt()
2992 psts = phl_mr_coex_handle(phl_info, wrole, 0, wrole->hw_band, MR_COEX_TRIG_BY_LINKING); in phl_mr_state_upt()
3000 phl_p2pps_noa_all_role_resume(phl_info, wrole->hw_band); in phl_mr_state_upt()
3004 phl_mr_check_ecsa(phl_info, wrole); in phl_mr_state_upt()
3056 __phl_mr_process(struct rtw_wifi_role_t *wrole, in __phl_mr_process() argument
3058 u8(*ops_func)(struct rtw_wifi_role_t *wrole, void *data)) in __phl_mr_process() argument
3062 struct rtw_phl_com_t *phl_com = wrole->phl_com; in __phl_mr_process()
3069 if ((exclude_self) && (wr == wrole)) in __phl_mr_process()
3080 struct rtw_wifi_role_t *wrole, bool exclude_self, void *data, in _phl_mr_process_by_mrc() argument
3081 u8(*ops_func)(struct rtw_wifi_role_t *wrole, void *data)) in _phl_mr_process_by_mrc() argument
3083 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(wrole->phl_com); in _phl_mr_process_by_mrc()
3085 return __phl_mr_process(wrole, mr_ctl->role_map, exclude_self, data, ops_func); in _phl_mr_process_by_mrc()
3089 struct rtw_wifi_role_t *wrole, bool exclude_self, void *data, in _phl_mr_process_by_band() argument
3090 u8(*ops_func)(struct rtw_wifi_role_t *wrole, void *data)) in _phl_mr_process_by_band() argument
3092 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(wrole->phl_com); in _phl_mr_process_by_band()
3093 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[wrole->hw_band]); in _phl_mr_process_by_band()
3095 return __phl_mr_process(wrole, band_ctrl->role_map, exclude_self, data, ops_func); in _phl_mr_process_by_band()
3099 struct rtw_wifi_role_t *wrole, bool exclude_self, void *data, in _phl_mr_process_by_chctx() argument
3100 u8(*ops_func)(struct rtw_wifi_role_t *wrole, void *data)) in _phl_mr_process_by_chctx() argument
3102 struct rtw_chan_ctx *chanctx = wrole->chanctx; in _phl_mr_process_by_chctx()
3106 return __phl_mr_process(wrole, chanctx->role_map, exclude_self, data, ops_func); in _phl_mr_process_by_chctx()
3110 struct rtw_wifi_role_t *wrole, bool exclude_self, void *data, in _phl_mr_process() argument
3111 u8(*ops_func)(struct rtw_wifi_role_t *wrole, void *data)) in _phl_mr_process() argument
3115 struct rtw_phl_com_t *phl_com = wrole->phl_com; in _phl_mr_process()
3121 if ((exclude_self) && (wr == wrole)) in _phl_mr_process()
3131 bool rtw_phl_mr_query_info(void *phl, struct rtw_wifi_role_t *wrole, in rtw_phl_mr_query_info() argument
3137 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[wrole->hw_band]); in rtw_phl_mr_query_info()
3146 static u8 _phl_mr_dump_mac_addr(struct rtw_wifi_role_t *wrole, void *data) in _phl_mr_dump_mac_addr() argument
3149 wrole->id, wrole->mac_addr[0], wrole->mac_addr[1], wrole->mac_addr[2], in _phl_mr_dump_mac_addr()
3150 wrole->mac_addr[3], wrole->mac_addr[4], wrole->mac_addr[5]); in _phl_mr_dump_mac_addr()
3224 rtw_phl_mr_get_opmode(void *phl, struct rtw_wifi_role_t *wrole) in rtw_phl_mr_get_opmode() argument
3229 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[wrole->hw_band]); in rtw_phl_mr_get_opmode()
3236 struct rtw_wifi_role_t *wrole) in phl_mr_check_ecsa() argument
3242 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[wrole->hw_band]); in phl_mr_check_ecsa()
3362 struct rtw_wifi_role_t *wrole) in phl_mr_check_ecsa_cancel() argument
3368 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[wrole->hw_band]); in phl_mr_check_ecsa_cancel()
3375 pstatus = rtw_phl_ecsa_cancel(phl_info, wrole); in phl_mr_check_ecsa_cancel()
3383 u8 phl_mr_query_mcc_inprogress (struct phl_info_t *phl_info, struct rtw_wifi_role_t *wrole, in phl_mr_query_mcc_inprogress() argument
3388 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[wrole->hw_band]); in phl_mr_query_mcc_inprogress()
3399 mcc_inprogress = rtw_phl_mcc_inprogress(phl_info, wrole->hw_band); in phl_mr_query_mcc_inprogress()
3426 u8 rtw_phl_mr_query_mcc_inprogress (void *phl, struct rtw_wifi_role_t *wrole, in rtw_phl_mr_query_mcc_inprogress() argument
3431 return phl_mr_query_mcc_inprogress(phl_info, wrole, check_type); in rtw_phl_mr_query_mcc_inprogress()
3453 struct rtw_wifi_role_t *wrole, enum p2pps_trig_tag tag) in _mr_coex_up_noa_for_bt_req() argument
3467 param.wrole = wrole; in _mr_coex_up_noa_for_bt_req()
3473 wrole->hw_port, &tsf_h, &tsf_l)) { in _mr_coex_up_noa_for_bt_req()
3475 __func__, wrole->hw_port); in _mr_coex_up_noa_for_bt_req()
3481 if (!phl_calc_offset_from_tbtt(phl, wrole, tsf, &offset)) { in _mr_coex_up_noa_for_bt_req()
3487 param.interval = phl_role_get_bcn_intvl(phl, wrole); in _mr_coex_up_noa_for_bt_req()