Home
last modified time | relevance | path

Searched refs:role_id (Results 1 – 25 of 38) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wlcore/
H A Dcmd.c227 u8 *role_id) in wl12xx_cmd_role_enable() argument
234 if (WARN_ON(*role_id != WL12XX_INVALID_ROLE_ID)) in wl12xx_cmd_role_enable()
244 cmd->role_id = find_first_zero_bit(wl->roles_map, WL12XX_MAX_ROLES); in wl12xx_cmd_role_enable()
245 if (cmd->role_id >= WL12XX_MAX_ROLES) { in wl12xx_cmd_role_enable()
259 __set_bit(cmd->role_id, wl->roles_map); in wl12xx_cmd_role_enable()
260 *role_id = cmd->role_id; in wl12xx_cmd_role_enable()
269 int wl12xx_cmd_role_disable(struct wl1271 *wl, u8 *role_id) in wl12xx_cmd_role_disable() argument
276 if (WARN_ON(*role_id == WL12XX_INVALID_ROLE_ID)) in wl12xx_cmd_role_disable()
284 cmd->role_id = *role_id; in wl12xx_cmd_role_disable()
292 __clear_bit(*role_id, wl->roles_map); in wl12xx_cmd_role_disable()
[all …]
H A Dacx.c37 wake_up->role_id = wlvif->role_id; in wl1271_acx_wake_up_conditions()
99 acx->role_id = wlvif->role_id; in wl1271_acx_tx_power()
127 feature->role_id = wlvif->role_id; in wl1271_acx_feature_cfg()
198 slot->role_id = wlvif->role_id; in wl1271_acx_slot()
228 acx->role_id = wlvif->role_id; in wl1271_acx_group_address_tbl()
259 rx_timeout->role_id = wlvif->role_id; in wl1271_acx_service_period_timeout()
297 rts->role_id = wlvif->role_id; in wl1271_acx_rts_threshold()
359 beacon_filter->role_id = wlvif->role_id; in wl1271_acx_beacon_filter_opt()
397 ie_table->role_id = wlvif->role_id; in wl1271_acx_beacon_filter_table()
460 acx->role_id = wlvif->role_id; in wl1271_acx_conn_monit_params()
[all …]
H A Dacx.h175 u8 role_id; member
188 u8 role_id; member
198 u8 role_id; member
208 u8 role_id; member
216 u8 role_id; member
265 u8 role_id; member
274 u8 role_id; member
315 u8 role_id; member
346 u8 role_id; member
355 u8 role_id; member
[all …]
H A Dcmd.h21 u8 *role_id);
22 int wl12xx_cmd_role_disable(struct wl1271 *wl, u8 *role_id);
42 int wl1271_cmd_template_set(struct wl1271 *wl, u8 role_id,
49 u8 role_id, u8 band,
71 int wl12xx_roc(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 role_id,
73 int wl12xx_croc(struct wl1271 *wl, u8 role_id);
260 u8 role_id; member
268 u8 role_id; member
291 u8 role_id; member
381 u8 role_id; member
[all …]
H A Devent.c189 if (wlvif->role_id == WL12XX_INVALID_ROLE_ID || in wlcore_event_ba_rx_constraint()
190 !test_bit(wlvif->role_id , &roles_bitmap)) in wlcore_event_ba_rx_constraint()
193 wlvif->ba_allowed = !!test_bit(wlvif->role_id, in wlcore_event_ba_rx_constraint()
212 if (wlvif->role_id == WL12XX_INVALID_ROLE_ID || in wlcore_event_channel_switch()
213 !test_bit(wlvif->role_id , &roles_bitmap)) in wlcore_event_channel_switch()
315 if (wlvif->role_id == WL12XX_INVALID_ROLE_ID || in wlcore_event_beacon_loss()
316 !test_bit(wlvif->role_id , &roles_bitmap)) in wlcore_event_beacon_loss()
H A Dmain.c2049 wl1271_info("channel switch failed (role_id: %d).", wlvif->role_id); in wlcore_channel_switch_work()
2088 wl1271_info("Connection loss work (role_id: %d).", wlvif->role_id); in wlcore_connection_loss_work()
2250 wlvif->role_id = WL12XX_INVALID_ROLE_ID; in wl12xx_init_vif_data()
2610 role_type, &wlvif->role_id); in wl1271_op_add_interface()
2707 ret = wl12xx_cmd_role_disable(wl, &wlvif->role_id); in __wl1271_op_remove_interface()
2753 wlvif->role_id = WL12XX_INVALID_ROLE_ID; in __wl1271_op_remove_interface()
3959 ret = wl1271_cmd_template_set(wl, wlvif->role_id, in wl1271_ap_set_probe_resp_tmpl()
3990 return wl1271_cmd_template_set(wl, wlvif->role_id, in wl1271_ap_set_probe_resp_tmpl_legacy()
4027 return wl1271_cmd_template_set(wl, wlvif->role_id, in wl1271_ap_set_probe_resp_tmpl_legacy()
4104 ret = wl1271_cmd_template_set(wl, wlvif->role_id, tmpl_id, in wlcore_set_beacon_template()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wl18xx/
H A Dscan.c42 cmd->role_id = wlvif->dev_role_id; in wl18xx_scan_send()
44 cmd->role_id = wlvif->role_id; in wl18xx_scan_send()
46 if (WARN_ON(cmd->role_id == WL12XX_INVALID_ROLE_ID)) { in wl18xx_scan_send()
101 cmd->role_id, band, in wl18xx_scan_send()
118 cmd->role_id, band, in wl18xx_scan_send()
178 cmd->role_id = wlvif->role_id; in wl18xx_scan_sched_scan_config()
180 if (WARN_ON(cmd->role_id == WL12XX_INVALID_ROLE_ID)) { in wl18xx_scan_sched_scan_config()
244 cmd->role_id, band, in wl18xx_scan_sched_scan_config()
261 cmd->role_id, band, in wl18xx_scan_sched_scan_config()
310 stop->role_id = wlvif->role_id; in __wl18xx_scan_stop()
H A Dcmd.c31 cmd->role_id = wlvif->role_id; in wl18xx_cmd_channel_switch()
174 cmd->role_id = wlvif->role_id; in wl18xx_cmd_set_cac()
225 wlvif->role_id); in wl18xx_cmd_dfs_master_restart()
231 cmd->role_id = wlvif->role_id; in wl18xx_cmd_dfs_master_restart()
H A Dcmd.h17 u8 role_id; member
58 u8 role_id; member
66 u8 role_id; member
H A Dscan.h37 u8 role_id; member
100 u8 role_id; member
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/
H A Dphl_btc_fsm.c114 if (prinfo->role_id < MAX_WIFI_ROLE_NUMBER) { in btc_service_st_hdl()
115 wrole = &phl_com->wifi_roles[prinfo->role_id]; in btc_service_st_hdl()
120 prinfo->role_id, wrole, sta, prinfo->rstate); in btc_service_st_hdl()
157 if (pkt->role_id < MAX_WIFI_ROLE_NUMBER) { in btc_service_st_hdl()
158 wrole = &phl_com->wifi_roles[pkt->role_id]; in btc_service_st_hdl()
368 void rtw_phl_btc_role_notify(void *phl, u8 role_id, enum role_state rstate) in rtw_phl_btc_role_notify() argument
373 prinfo->role_id = role_id; in rtw_phl_btc_role_notify()
385 void rtw_phl_btc_packet_event_notify(void *phl, u8 role_id, u8 pkt_evt_type) in rtw_phl_btc_packet_event_notify() argument
390 pkt->role_id = role_id; in rtw_phl_btc_packet_event_notify()
H A Dphl_btc_def.h126 u8 role_id; member
131 u8 role_id; member
137 u8 role_id; member
H A Dphl_btc.h29 void rtw_phl_btc_role_notify(void *phl, u8 role_id, enum role_state rstate);
31 void rtw_phl_btc_packet_event_notify(void *phl, u8 role_id, u8 pkt_evt_type);
H A Dphl_cmd_btc.c418 void rtw_phl_btc_packet_event_notify(void *phl, u8 role_id, u8 pkt_evt_type) in rtw_phl_btc_packet_event_notify() argument
493 void rtw_phl_btc_role_notify(void *phl, u8 role_id, enum role_state rstate) in rtw_phl_btc_role_notify() argument
498 prinfo->role_id = role_id; in rtw_phl_btc_role_notify()
H A Dphl_p2pps.c481 u8 role_id = get_role_idx(w_role); in _phl_p2pps_noa_disable_all() local
482 struct rtw_phl_noa_info *noa_info = &psinfo->noa_info[role_id]; in _phl_p2pps_noa_disable_all()
487 role_id); in _phl_p2pps_noa_disable_all()
705 u8 role_id = get_role_idx(w_role); in rtw_phl_p2pps_noa_update() local
706 struct rtw_phl_noa_info *noa_info = &psinfo->noa_info[role_id]; in rtw_phl_p2pps_noa_update()
718 role_id); in rtw_phl_p2pps_noa_update()
735 role_id); in rtw_phl_p2pps_noa_update()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/
H A Dphl_btc_fsm.c114 if (prinfo->role_id < MAX_WIFI_ROLE_NUMBER) { in btc_service_st_hdl()
115 wrole = &phl_com->wifi_roles[prinfo->role_id]; in btc_service_st_hdl()
120 prinfo->role_id, wrole, sta, prinfo->rstate); in btc_service_st_hdl()
157 if (pkt->role_id < MAX_WIFI_ROLE_NUMBER) { in btc_service_st_hdl()
158 wrole = &phl_com->wifi_roles[pkt->role_id]; in btc_service_st_hdl()
368 void rtw_phl_btc_role_notify(void *phl, u8 role_id, enum role_state rstate) in rtw_phl_btc_role_notify() argument
373 prinfo->role_id = role_id; in rtw_phl_btc_role_notify()
385 void rtw_phl_btc_packet_event_notify(void *phl, u8 role_id, u8 pkt_evt_type) in rtw_phl_btc_packet_event_notify() argument
390 pkt->role_id = role_id; in rtw_phl_btc_packet_event_notify()
H A Dphl_btc_def.h127 u8 role_id; member
132 u8 role_id; member
138 u8 role_id; member
H A Dphl_btc.h29 void rtw_phl_btc_role_notify(void *phl, u8 role_id, enum role_state rstate);
31 void rtw_phl_btc_packet_event_notify(void *phl, u8 role_id, u8 pkt_evt_type);
H A Dphl_p2pps.c481 u8 role_id = get_role_idx(w_role); in _phl_p2pps_noa_disable_all() local
482 struct rtw_phl_noa_info *noa_info = &psinfo->noa_info[role_id]; in _phl_p2pps_noa_disable_all()
487 role_id); in _phl_p2pps_noa_disable_all()
705 u8 role_id = get_role_idx(w_role); in rtw_phl_p2pps_noa_update() local
706 struct rtw_phl_noa_info *noa_info = &psinfo->noa_info[role_id]; in rtw_phl_p2pps_noa_update()
718 role_id); in rtw_phl_p2pps_noa_update()
735 role_id); in rtw_phl_p2pps_noa_update()
H A Dphl_cmd_btc.c430 void rtw_phl_btc_packet_event_notify(void *phl, u8 role_id, u8 pkt_evt_type) in rtw_phl_btc_packet_event_notify() argument
505 void rtw_phl_btc_role_notify(void *phl, u8 role_id, enum role_state rstate) in rtw_phl_btc_role_notify() argument
510 prinfo->role_id = role_id; in rtw_phl_btc_role_notify()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wl12xx/
H A Dscan.c109 cmd->params.role_id = wlvif->dev_role_id; in wl1271_scan_send()
111 cmd->params.role_id = wlvif->role_id; in wl1271_scan_send()
113 if (WARN_ON(cmd->params.role_id == WL12XX_INVALID_ROLE_ID)) { in wl1271_scan_send()
146 cmd->params.role_id, band, in wl1271_scan_send()
324 cfg->role_id = wlvif->role_id; in wl1271_scan_sched_scan_config()
369 wlvif->role_id, band, in wl1271_scan_sched_scan_config()
386 wlvif->role_id, band, in wl1271_scan_sched_scan_config()
432 start->role_id = wlvif->role_id; in wl1271_scan_sched_scan_start()
474 stop->role_id = wlvif->role_id; in wl12xx_scan_sched_scan_stop()
H A Dscan.h20 u8 role_id; member
95 u8 role_id; member
106 u8 role_id; member
114 u8 role_id; member
H A Dcmd.c289 cmd->role_id = wlvif->role_id; in wl12xx_cmd_channel_switch()
H A Devent.c76 BIT(mbox->role_id), in wl12xx_process_mailbox_events()
H A Devent.h75 u8 role_id; /* 0xFF means any role. */ member

12