Lines Matching refs:chanctx
53 struct phl_info_t *phl_info, struct phl_queue *chan_ctx_queue, struct rtw_chan_ctx *chanctx) in phl_mr_dump_chctx_info() argument
56 role_num = phl_chanctx_get_rnum(phl_info, chan_ctx_queue, chanctx); in phl_mr_dump_chctx_info()
62 role_num, chanctx->role_map, in phl_mr_dump_chctx_info()
63 (chanctx->dfs_enabled) ? "Y" : "N"); in phl_mr_dump_chctx_info()
64 PHL_DUMP_CHAN_DEF(&chanctx->chan_def); in phl_mr_dump_chctx_info()
103 struct rtw_chan_ctx *chanctx = NULL; in phl_mr_dump_band_info() local
108 phl_list_for_loop(chanctx, struct rtw_chan_ctx, chctx_list, list) { in phl_mr_dump_band_info()
109 PHL_DUMP_CHAN_CTX(phl_info, &band_ctrl->chan_ctx_queue, chanctx); in phl_mr_dump_band_info()
163 if (wifi_role->chanctx) { in phl_mr_dump_cur_chandef()
164 chan_def = &wifi_role->chanctx->chan_def; in phl_mr_dump_cur_chandef()
213 struct rtw_chan_ctx *chanctx = wrole->chanctx; in _search_ld_sta_wrole() local
216 if (chanctx == NULL) { in _search_ld_sta_wrole()
222 if (chanctx->role_map & BIT(ridx)) { in _search_ld_sta_wrole()
1643 role->chanctx = NULL; in phl_mr_ctrl_init()
1693 struct rtw_chan_ctx *chanctx, struct rtw_chan_def *chandef) in phl_mr_chandef_sync() argument
1705 if (!chanctx) { in phl_mr_chandef_sync()
1716 if (chanctx->role_map & BIT(ridx)) { in phl_mr_chandef_sync()
1822 struct hw_band_ctl_t *band_ctrl, struct rtw_chan_ctx *chanctx) in phl_mr_chandef_upt() argument
1826 if (!chanctx) { in phl_mr_chandef_upt()
1831 phl_sts = phl_mr_chandef_sync(phl_info, band_ctrl, chanctx, &chanctx->chan_def); in phl_mr_chandef_upt()
1847 if (!wifi_role->chanctx) { in rtw_phl_mr_upt_chandef()
1851 phl_sts = phl_mr_chandef_upt(phl_info, band_ctrl, wifi_role->chanctx); in rtw_phl_mr_upt_chandef()
1869 struct rtw_chan_ctx *chanctx = NULL; in phl_mr_get_chandef() local
1881 if (wifi_role->chanctx) { in phl_mr_get_chandef()
1882 chctx_role_num = phl_chanctx_get_rnum_with_lock(phl_info, chan_ctx_queue, wifi_role->chanctx); in phl_mr_get_chandef()
1890 wifi_role->chanctx, chandef); in phl_mr_get_chandef()
1896 _os_mem_cpy(drv, chandef, &wifi_role->chanctx->chan_def, in phl_mr_get_chandef()
1913 chanctx = list_first_entry(&chan_ctx_queue->queue, in phl_mr_get_chandef()
1915 chctx_role_num = phl_chanctx_get_rnum(phl_info, chan_ctx_queue, chanctx); in phl_mr_get_chandef()
1922 chanctx, chandef); in phl_mr_get_chandef()
1926 _os_mem_cpy(drv, chandef, &chanctx->chan_def, in phl_mr_get_chandef()
2004 struct rtw_chan_ctx *chanctx = wrole->chanctx; in phl_mr_tsf_sync() local
2035 if (chanctx == NULL) { in phl_mr_tsf_sync()
2045 if (chanctx->role_map & BIT(ridx)) { in phl_mr_tsf_sync()
2081 if (chanctx == NULL) { in phl_mr_tsf_sync()
2102 if (chanctx->role_map & BIT(ridx)) { in phl_mr_tsf_sync()
2142 if (chanctx->role_map & BIT(ridx)){ in phl_mr_tsf_sync()
2178 if (chanctx == NULL) { in phl_mr_tsf_sync()
2279 struct rtw_chan_ctx *chanctx = NULL; in phl_mr_offch_hdl() local
2297 phl_list_for_loop(chanctx, struct rtw_chan_ctx, &band_ctrl->chan_ctx_queue.queue, list) { in phl_mr_offch_hdl()
2299 if(chanctx->chan_def.chan != cur_ch){ in phl_mr_offch_hdl()
2303 mctx.chandef = &chanctx->chan_def; in phl_mr_offch_hdl()
2307 if (chanctx->role_map & BIT(ridx)) { in phl_mr_offch_hdl()
2557 struct rtw_chan_ctx *chanctx = NULL; in _mr_role_is_in_tdmra_chctx_q() local
2569 phl_list_for_loop(chanctx, struct rtw_chan_ctx, chan_ctx_list, list) { in _mr_role_is_in_tdmra_chctx_q()
2570 role_map = chanctx->role_map; in _mr_role_is_in_tdmra_chctx_q()
3021 struct rtw_chan_ctx *chanctx = NULL; in phl_mr_watchdog()
3034 phl_list_for_loop(chanctx, struct rtw_chan_ctx, &band_ctrl->chan_ctx_queue.queue, list) { in phl_mr_watchdog()
3036 if (chanctx->role_map & BIT(ridx)) { in phl_mr_watchdog()
3102 struct rtw_chan_ctx *chanctx = wrole->chanctx; in _phl_mr_process_by_chctx() local
3104 if (!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()
3194 struct rtw_chan_ctx *chanctx = NULL; in rtw_phl_mr_get_opch_list() local
3211 phl_list_for_loop(chanctx, struct rtw_chan_ctx, &band_ctrl->chan_ctx_queue.queue, list) { in rtw_phl_mr_get_opch_list()
3215 *(chdef_list + total_op_num) = chanctx->chan_def; in rtw_phl_mr_get_opch_list()