Home
last modified time | relevance | path

Searched refs:sys_dev_ctx (Results 1 – 7 of 7) sorted by relevance

/nrf_wifi-latest/fw_if/umac_if/src/system/
Dfmac_vif.c20 struct nrf_wifi_sys_fmac_dev_ctx *sys_dev_ctx; in nrf_wifi_fmac_vif_check_if_limit() local
22 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_vif_check_if_limit()
27 if (sys_dev_ctx->num_sta >= MAX_NUM_STAS) { in nrf_wifi_fmac_vif_check_if_limit()
35 if (sys_dev_ctx->num_ap >= MAX_NUM_APS) { in nrf_wifi_fmac_vif_check_if_limit()
54 struct nrf_wifi_sys_fmac_dev_ctx *sys_dev_ctx; in nrf_wifi_fmac_vif_incr_if_type() local
56 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_vif_incr_if_type()
61 sys_dev_ctx->num_sta++; in nrf_wifi_fmac_vif_incr_if_type()
65 sys_dev_ctx->num_ap++; in nrf_wifi_fmac_vif_incr_if_type()
77 struct nrf_wifi_sys_fmac_dev_ctx *sys_dev_ctx; in nrf_wifi_fmac_vif_decr_if_type() local
79 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_vif_decr_if_type()
[all …]
Dtx.c33 struct nrf_wifi_sys_fmac_dev_ctx *sys_dev_ctx = NULL; in can_xmit() local
35 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in can_xmit()
38 sys_dev_ctx->twt_sleep_status == NRF_WIFI_FMAC_TWT_STATE_AWAKE; in can_xmit()
50 struct nrf_wifi_sys_fmac_dev_ctx *sys_dev_ctx = NULL; in set_spare_desc_q_map() local
53 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in set_spare_desc_q_map()
64 sys_dev_ctx->tx_config.spare_desc_queue_map |= in set_spare_desc_q_map()
78 struct nrf_wifi_sys_fmac_dev_ctx *sys_dev_ctx = NULL; in clear_spare_desc_q_map() local
81 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in clear_spare_desc_q_map()
92 sys_dev_ctx->tx_config.spare_desc_queue_map &= in clear_spare_desc_q_map()
101 struct nrf_wifi_sys_fmac_dev_ctx *sys_dev_ctx = NULL; in get_spare_desc_q_map() local
[all …]
Dfmac_peer.c22 struct nrf_wifi_sys_fmac_dev_ctx *sys_dev_ctx = NULL; in nrf_wifi_fmac_peer_get_id() local
24 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_peer_get_id()
31 peer = &sys_dev_ctx->tx_config.peers[i]; in nrf_wifi_fmac_peer_get_id()
53 struct nrf_wifi_sys_fmac_dev_ctx *sys_dev_ctx = NULL; in nrf_wifi_fmac_peer_add() local
55 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_peer_add()
57 vif_ctx = sys_dev_ctx->vif_ctx[if_idx]; in nrf_wifi_fmac_peer_add()
62 sys_dev_ctx->tx_config.peers[MAX_PEERS].if_idx = if_idx; in nrf_wifi_fmac_peer_add()
63 sys_dev_ctx->tx_config.peers[MAX_PEERS].peer_id = MAX_PEERS; in nrf_wifi_fmac_peer_add()
64 sys_dev_ctx->tx_config.peers[MAX_PEERS].is_legacy = 1; in nrf_wifi_fmac_peer_add()
71 peer = &sys_dev_ctx->tx_config.peers[i]; in nrf_wifi_fmac_peer_add()
[all …]
Dfmac_ap.c27 struct nrf_wifi_sys_fmac_dev_ctx *sys_dev_ctx = NULL; in sap_client_ps_get_frames() local
36 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in sap_client_ps_get_frames()
39 nrf_wifi_osal_spinlock_take(sys_dev_ctx->tx_config.tx_lock); in sap_client_ps_get_frames()
48 nrf_wifi_osal_spinlock_rel(sys_dev_ctx->tx_config.tx_lock); in sap_client_ps_get_frames()
53 peer = &sys_dev_ctx->tx_config.peers[id]; in sap_client_ps_get_frames()
56 wakeup_client_q = sys_dev_ctx->tx_config.wakeup_client_q; in sap_client_ps_get_frames()
71 nrf_wifi_osal_spinlock_rel(sys_dev_ctx->tx_config.tx_lock); in sap_client_ps_get_frames()
88 struct nrf_wifi_sys_fmac_dev_ctx *sys_dev_ctx = NULL; in sap_client_update_pmmode() local
97 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in sap_client_update_pmmode()
100 nrf_wifi_osal_spinlock_take(sys_dev_ctx->tx_config.tx_lock); in sap_client_update_pmmode()
[all …]
Dfmac_event.c29 struct nrf_wifi_sys_fmac_dev_ctx *sys_dev_ctx; in nrf_wifi_fmac_if_mode_set_event_proc() local
34 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_if_mode_set_event_proc()
35 config = &sys_dev_ctx->tx_config; in nrf_wifi_fmac_if_mode_set_event_proc()
36 vif = sys_dev_ctx->vif_ctx[if_idx]; in nrf_wifi_fmac_if_mode_set_event_proc()
128 struct nrf_wifi_sys_fmac_dev_ctx *sys_dev_ctx = NULL; in nrf_wifi_fmac_if_carr_state_event_proc() local
131 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_if_carr_state_event_proc()
158 vif_ctx = sys_dev_ctx->vif_ctx[if_idx]; in nrf_wifi_fmac_if_carr_state_event_proc()
214 struct nrf_wifi_sys_fmac_dev_ctx *sys_dev_ctx; in umac_event_sys_proc_events() local
221 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in umac_event_sys_proc_events()
256 sys_dev_ctx->vif_ctx[channel_event->if_index]->channel = in umac_event_sys_proc_events()
[all …]
Drx.c23 struct nrf_wifi_sys_fmac_dev_ctx *sys_dev_ctx = NULL; in nrf_wifi_fmac_map_desc_to_pool() local
27 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_map_desc_to_pool()
176 struct nrf_wifi_sys_fmac_dev_ctx *sys_dev_ctx = NULL; in nrf_wifi_fmac_rx_cmd_send() local
183 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_rx_cmd_send()
196 rx_buf_info = &sys_dev_ctx->rx_buf_info[desc_id]; in nrf_wifi_fmac_rx_cmd_send()
294 struct nrf_wifi_sys_fmac_dev_ctx *sys_dev_ctx = NULL; in nrf_wifi_fmac_rx_tasklet() local
303 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_rx_tasklet()
306 sys_dev_ctx->rx_tasklet_event_q); in nrf_wifi_fmac_rx_tasklet()
352 struct nrf_wifi_sys_fmac_dev_ctx *sys_dev_ctx = NULL; in nrf_wifi_fmac_rx_event_process() local
355 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_rx_event_process()
[all …]
Dfmac_api.c31 struct nrf_wifi_sys_fmac_dev_ctx *sys_dev_ctx = NULL; in nrf_wifi_fmac_vif_idx_get() local
33 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_fmac_vif_idx_get()
36 if (sys_dev_ctx->vif_ctx[i] == NULL) { in nrf_wifi_fmac_vif_idx_get()
50 struct nrf_wifi_sys_fmac_dev_ctx *sys_dev_ctx = NULL; in nrf_wifi_sys_fmac_init_tx() local
57 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_sys_fmac_init_tx()
63 sys_dev_ctx->tx_buf_info = nrf_wifi_osal_mem_zalloc(size); in nrf_wifi_sys_fmac_init_tx()
65 if (!sys_dev_ctx->tx_buf_info) { in nrf_wifi_sys_fmac_init_tx()
81 struct nrf_wifi_sys_fmac_dev_ctx *sys_dev_ctx = NULL; in nrf_wifi_sys_fmac_deinit_tx() local
83 sys_dev_ctx = wifi_dev_priv(fmac_dev_ctx); in nrf_wifi_sys_fmac_deinit_tx()
89 nrf_wifi_osal_mem_free(sys_dev_ctx->tx_buf_info); in nrf_wifi_sys_fmac_deinit_tx()
[all …]