Home
last modified time | relevance | path

Searched refs:state (Results 1 – 25 of 203) sorted by relevance

123456789

/wlan-driver/qca-wifi-host-cmn/umac/mlme/vdev_mgr/dispatcher/src/
Dwlan_vdev_mlme_api.c159 enum wlan_vdev_state state; in wlan_vdev_allow_connect_n_tx() local
162 state = wlan_vdev_mlme_get_state(vdev); in wlan_vdev_allow_connect_n_tx()
164 if ((state == WLAN_VDEV_S_UP && substate == WLAN_VDEV_SS_UP_ACTIVE) || in wlan_vdev_allow_connect_n_tx()
165 ((state == WLAN_VDEV_S_SUSPEND) && in wlan_vdev_allow_connect_n_tx()
174 enum wlan_vdev_state state; in wlan_vdev_mlme_is_active() local
176 state = wlan_vdev_mlme_get_state(vdev); in wlan_vdev_mlme_is_active()
177 if ((state == WLAN_VDEV_S_UP) || (state == WLAN_VDEV_S_DFS_CAC_WAIT) || in wlan_vdev_mlme_is_active()
178 (state == WLAN_VDEV_S_SUSPEND)) in wlan_vdev_mlme_is_active()
188 enum wlan_vdev_state state; in wlan_vdev_chan_config_valid() local
191 state = wlan_vdev_mlme_get_state(vdev); in wlan_vdev_chan_config_valid()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/sm_engine/src/
Dwlan_sm_engine.c33 uint8_t state; in wlan_sm_dispatch() local
41 state = sm->cur_state; in wlan_sm_dispatch()
57 sm->state_info[state].name, in wlan_sm_dispatch()
61 sm->state_info[state].name, event); in wlan_sm_dispatch()
64 if (state != WLAN_SM_ENGINE_STATE_NONE) { in wlan_sm_dispatch()
65 event_handled = (*sm->state_info[state].wlan_sm_event) ( in wlan_sm_dispatch()
80 void wlan_sm_transition_to(struct wlan_sm *sm, uint8_t state) in wlan_sm_transition_to() argument
109 state, 0xFF); in wlan_sm_transition_to()
111 if ((state == WLAN_SM_ENGINE_STATE_NONE) || in wlan_sm_transition_to()
112 (state >= WLAN_SM_ENGINE_MAX_STATES) || in wlan_sm_transition_to()
[all …]
/wlan-driver/qcacld-3.0/core/cds/inc/
Dcds_api.h115 enum cds_driver_state state = cds_get_driver_state(); in cds_is_driver_loading() local
117 return __CDS_IS_DRIVER_STATE(state, CDS_DRIVER_STATE_LOADING); in cds_is_driver_loading()
127 enum cds_driver_state state = cds_get_driver_state(); in cds_is_driver_unloading() local
129 return __CDS_IS_DRIVER_STATE(state, CDS_DRIVER_STATE_UNLOADING); in cds_is_driver_unloading()
139 enum cds_driver_state state = cds_get_driver_state(); in cds_is_driver_recovering() local
141 return __CDS_IS_DRIVER_STATE(state, CDS_DRIVER_STATE_RECOVERING); in cds_is_driver_recovering()
151 enum cds_driver_state state = cds_get_driver_state(); in cds_is_driver_in_bad_state() local
153 return __CDS_IS_DRIVER_STATE(state, CDS_DRIVER_STATE_BAD); in cds_is_driver_in_bad_state()
163 enum cds_driver_state state = cds_get_driver_state(); in cds_is_load_or_unload_in_progress() local
165 return __CDS_IS_DRIVER_STATE(state, CDS_DRIVER_STATE_LOADING) || in cds_is_load_or_unload_in_progress()
[all …]
/wlan-driver/platform/icnss2/
Dmain.c180 icnss_pr_vdbg("PM stay awake, state: 0x%lx, count: %d\n", priv->state, in icnss_pm_stay_awake()
197 icnss_pr_vdbg("PM relax, state: 0x%lx, count: %d\n", priv->state, in icnss_pm_relax()
278 flags, priv->state); in icnss_driver_event_post()
316 icnss_driver_event_to_str(type), type, priv->state, ret, in icnss_driver_event_post()
350 type, current->comm, flags, priv->state); in icnss_soc_wake_event_post()
389 type, priv->state, ret, event->ret); in icnss_soc_wake_event_post()
413 return test_bit(ICNSS_FW_READY, &penv->state); in icnss_is_fw_ready()
423 set_bit(ICNSS_BLOCK_SHUTDOWN, &penv->state); in icnss_block_shutdown()
426 clear_bit(ICNSS_BLOCK_SHUTDOWN, &penv->state); in icnss_block_shutdown()
440 return test_bit(ICNSS_FW_DOWN, &priv->state) || in icnss_is_fw_down()
[all …]
Ddebug.c34 if (!test_bit(ICNSS_FW_READY, &priv->state) || in icnss_regwrite_write()
35 !test_bit(ICNSS_POWER_ON, &priv->state)) in icnss_regwrite_write()
87 if (!test_bit(ICNSS_FW_READY, &priv->state)) in icnss_regwrite_show()
114 if (!test_bit(ICNSS_FW_READY, &priv->state)) in icnss_regread_show()
202 if (!test_bit(ICNSS_FW_READY, &priv->state) || in icnss_regread_write()
203 !test_bit(ICNSS_POWER_ON, &priv->state)) in icnss_regread_write()
305 if (test_bit(ICNSS_FW_READY, &priv->state)) { in icnss_stats_show_capability()
357 unsigned long state; in icnss_stats_show_state() local
360 seq_printf(s, "\nState: 0x%lx(", priv->state); in icnss_stats_show_state()
361 for (i = 0, state = priv->state; state != 0; state >>= 1, i++) { in icnss_stats_show_state()
[all …]
Dqmi.c96 icnss_pr_dbg("Sending MSA mem info, state: 0x%lx\n", priv->state); in wlfw_msa_mem_info_send_sync_msg()
209 priv->state); in wlfw_msa_ready_send_sync_msg()
280 priv->state); in wlfw_device_info_send_msg()
378 if (test_bit(ICNSS_FW_DOWN, &priv->state)) in wlfw_power_save_send_msg()
381 if (test_bit(ICNSS_PD_RESTART, &priv->state) || in wlfw_power_save_send_msg()
382 !test_bit(ICNSS_MODE_ON, &priv->state)) in wlfw_power_save_send_msg()
386 mode, priv->state); in wlfw_power_save_send_msg()
450 if (test_bit(ICNSS_FW_DOWN, &priv->state)) in wlfw_send_soc_wake_msg()
526 priv->state); in wlfw_ind_register_send_sync_msg()
638 if (test_bit(ICNSS_FW_DOWN, &priv->state)) in wlfw_cal_report_req()
[all …]
/wlan-driver/qcacld-3.0/core/dp/txrx/
Dol_tx_sched.c489 } state; member
643 scheduler->categories[i].state.frms, in ol_tx_sched_wrr_adv_cat_stat_dump()
644 scheduler->categories[i].state.wrr_count); in ol_tx_sched_wrr_adv_cat_stat_dump()
663 scheduler->categories[i].state.active, in ol_tx_sched_wrr_adv_cat_cur_state_dump()
664 scheduler->categories[i].state.frms, in ol_tx_sched_wrr_adv_cat_cur_state_dump()
665 scheduler->categories[i].state.bytes, in ol_tx_sched_wrr_adv_cat_cur_state_dump()
666 scheduler->categories[i].state.wrr_count); in ol_tx_sched_wrr_adv_cat_cur_state_dump()
762 if (!category->state.active) { in ol_tx_sched_select_batch_wrr_adv()
767 if (++category->state.wrr_count < in ol_tx_sched_select_batch_wrr_adv()
793 category->state.wrr_count = category->state.wrr_count - 1; in ol_tx_sched_select_batch_wrr_adv()
[all …]
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_fw_state.c75 bool state) in hdd_post_get_fw_state_rsp() argument
89 if (state) in hdd_post_get_fw_state_rsp()
137 bool state = false; in __wlan_hdd_cfg80211_get_fw_state() local
168 state = false; in __wlan_hdd_cfg80211_get_fw_state()
171 state = priv->fw_active; in __wlan_hdd_cfg80211_get_fw_state()
174 retval = hdd_post_get_fw_state_rsp(hdd_ctx, state); in __wlan_hdd_cfg80211_get_fw_state()
Dwlan_hdd_ftm_time_sync.c53 enum ftm_time_sync_sta_state state) in hdd_ftm_time_sync_sta_state_notify() argument
74 if (state == FTM_TIME_SYNC_STA_CONNECTED) in hdd_ftm_time_sync_sta_state_notify()
84 vdev, state, in hdd_ftm_time_sync_sta_state_notify()
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Dqdf_mc_timer.c101 switch (timer->state) { in qdf_mc_timer_get_current_state()
106 timer_state = timer->state; in qdf_mc_timer_get_current_state()
341 timer->state = QDF_TIMER_STATE_STOPPED; in qdf_mc_timer_init_debug()
369 timer->state = QDF_TIMER_STATE_STOPPED; in qdf_mc_timer_init()
411 switch (timer->state) { in qdf_mc_timer_destroy()
437 timer->state = QDF_TIMER_STATE_UNUSED; in qdf_mc_timer_destroy()
447 timer->state); in qdf_mc_timer_destroy()
477 switch (timer->state) { in qdf_mc_timer_destroy()
504 timer->state = QDF_TIMER_STATE_UNUSED; in qdf_mc_timer_destroy()
513 timer->state); in qdf_mc_timer_destroy()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/sm_engine/inc/
Dwlan_sm_engine.h108 uint8_t state; member
147 #define WLAN_SM_ENGINE_ENTRY(name, state, parent, initsubstate, has_substates) \ argument
148 { state, parent, initsubstate, has_substates, \
215 void wlan_sm_transition_to(struct wlan_sm *sm, uint8_t state);
256 const char *wlan_sm_get_state_name(struct wlan_sm *sm, uint8_t state);
/wlan-driver/qca-wifi-host-cmn/umac/mlo_mgr/src/
Dwlan_mlo_epcs.c391 cur_state = ml_peer->epcs_info.state; in wlan_mlo_peer_rcv_cmd()
392 switch (ml_peer->epcs_info.state) { in wlan_mlo_peer_rcv_cmd()
412 ml_peer->epcs_info.state = EPCS_DOWN; in wlan_mlo_peer_rcv_cmd()
423 ml_peer->epcs_info.state); in wlan_mlo_peer_rcv_cmd()
426 new_state = ml_peer->epcs_info.state; in wlan_mlo_peer_rcv_cmd()
455 cur_state = ml_peer->epcs_info.state; in wlan_mlo_peer_rcv_action_frame()
456 switch (ml_peer->epcs_info.state) { in wlan_mlo_peer_rcv_action_frame()
462 ml_peer->epcs_info.state = EPCS_ENABLE; in wlan_mlo_peer_rcv_action_frame()
476 ml_peer->epcs_info.state = EPCS_ENABLE; in wlan_mlo_peer_rcv_action_frame()
489 ml_peer->epcs_info.state = EPCS_DOWN; in wlan_mlo_peer_rcv_action_frame()
[all …]
/wlan-driver/qcacld-3.0/core/cds/src/
Dcds_reg_service.c42 enum channel_state state; in cds_get_vendor_reg_flags() local
46 state = wlan_reg_get_channel_state_for_pwrmode(pdev, freq, in cds_get_vendor_reg_flags()
48 if (state == CHANNEL_STATE_INVALID) in cds_get_vendor_reg_flags()
50 if (state == CHANNEL_STATE_DFS) { in cds_get_vendor_reg_flags()
53 if (state == CHANNEL_STATE_DISABLE) in cds_get_vendor_reg_flags()
/wlan-driver/qca-wifi-host-cmn/hif/src/
Dhif_unit_test_suspend.c62 return test_bit(UT_SUSPENDED_BIT, &scn->ut_suspend_ctx.state); in hif_is_ut_suspended()
78 if (test_and_set_bit(UT_SUSPENDED_BIT, &scn->ut_suspend_ctx.state)) in hif_ut_apps_suspend()
94 if (!test_and_clear_bit(UT_SUSPENDED_BIT, &scn->ut_suspend_ctx.state)) in hif_ut_apps_resume()
108 if (!test_and_clear_bit(UT_SUSPENDED_BIT, &scn->ut_suspend_ctx.state)) in hif_ut_fw_resume()
Dhif_napi.c147 hif->napi_data.state); in hif_napi_create()
152 if (0 == (napid->state & HIF_NAPI_INITED)) { in hif_napi_create()
156 napid->state |= HIF_NAPI_INITED; in hif_napi_create()
343 if (0 == (hif->napi_data.state & HIF_NAPI_INITED)) { in hif_napi_destroy()
365 if (hif->napi_data.state == HIF_NAPI_CONF_UP) { in hif_napi_destroy()
520 if ((napid->state & HIF_NAPI_INITED) == 0) { in hif_napi_event()
526 prev_state = napid->state; in hif_napi_event()
540 napid->state |= HIF_NAPI_CONF_UP; in hif_napi_event()
545 napid->state &= ~HIF_NAPI_CONF_UP; in hif_napi_event()
659 state_changed = (prev_state != napid->state); in hif_napi_event()
[all …]
/wlan-driver/qcacld-3.0/components/denylist_mgr/dispatcher/src/
Dwlan_dlm_ucfg_api.c112 bool state) in ucfg_dlm_psoc_set_suspended() argument
123 dlm_psoc_obj->is_suspended = state; in ucfg_dlm_psoc_set_suspended()
129 bool *state) in ucfg_dlm_psoc_get_suspended() argument
137 *state = true; in ucfg_dlm_psoc_get_suspended()
141 *state = dlm_psoc_obj->is_suspended; in ucfg_dlm_psoc_get_suspended()
/wlan-driver/qcacld-3.0/components/dp/core/src/
Dwlan_dp_rx_thread.c906 refill_thread->state = DP_RX_REFILL_THREAD_INVALID; in dp_rx_refill_thread_init()
931 refill_thread->state = DP_RX_REFILL_THREAD_RUNNING; in dp_rx_refill_thread_init()
949 refill_thread->state = DP_RX_REFILL_THREAD_INVALID; in dp_rx_refill_thread_deinit()
966 rx_tm_hdl->state = DP_RX_THREADS_INVALID; in dp_rx_tm_init()
999 rx_tm_hdl->state = DP_RX_THREADS_RUNNING; in dp_rx_tm_init()
1017 if (rx_tm_hdl->state == DP_RX_THREADS_SUSPENDED) { in dp_rx_tm_suspend()
1022 rx_tm_hdl->state = DP_RX_THREADS_SUSPENDING; in dp_rx_tm_suspend()
1046 rx_tm_hdl->state = DP_RX_THREADS_SUSPENDED; in dp_rx_tm_suspend()
1072 if (refill_thread->state == DP_RX_REFILL_THREAD_SUSPENDED) { in dp_rx_refill_thread_suspend()
1077 refill_thread->state = DP_RX_REFILL_THREAD_SUSPENDING; in dp_rx_refill_thread_suspend()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/core/src/
Dwlan_cm_sm.h246 enum wlan_cm_sm_state state) in cm_sm_transition_to() argument
248 wlan_sm_transition_to(cm_ctx->sm.sm_hdl, state); in cm_sm_transition_to()
280 void cm_set_state(struct cnx_mgr *cm_ctx, enum wlan_cm_sm_state state);
305 enum wlan_cm_sm_state state,
Dwlan_cm_util.c1311 enum wlan_cm_sm_state state; in cm_is_vdev_connecting() local
1317 state = cm_get_state(cm_ctx); in cm_is_vdev_connecting()
1319 if (state == WLAN_CM_S_CONNECTING) in cm_is_vdev_connecting()
1328 enum wlan_cm_sm_state state; in cm_is_vdev_connected() local
1334 state = cm_get_state(cm_ctx); in cm_is_vdev_connected()
1336 if (state == WLAN_CM_S_CONNECTED) in cm_is_vdev_connected()
1345 enum wlan_cm_sm_state state; in cm_is_vdev_active() local
1351 state = cm_get_state(cm_ctx); in cm_is_vdev_active()
1353 if (state == WLAN_CM_S_CONNECTED || state == WLAN_CM_S_ROAMING) in cm_is_vdev_active()
1362 enum wlan_cm_sm_state state; in cm_is_vdev_disconnecting() local
[all …]
Dwlan_cm_sm.c26 void cm_set_state(struct cnx_mgr *cm_ctx, enum wlan_cm_sm_state state) in cm_set_state() argument
28 if (state < WLAN_CM_S_MAX) in cm_set_state()
29 cm_ctx->sm.cm_state = state; in cm_set_state()
32 wlan_vdev_get_id(cm_ctx->vdev), state); in cm_set_state()
45 enum wlan_cm_sm_state state, in cm_sm_state_update() argument
51 cm_set_state(cm_ctx, state); in cm_sm_state_update()
1317 enum wlan_cm_sm_state state; in cm_sm_print_state_event() local
1320 state = cm_get_state(cm_ctx); in cm_sm_print_state_event()
1324 cm_sm_info[state].name, cm_sm_info[substate].name, in cm_sm_print_state_event()
1330 enum wlan_cm_sm_state state; in cm_sm_print_state() local
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/green_ap/dispatcher/src/
Dwlan_green_ap_ucfg_api.c98 enum wlan_green_ap_ll_ps_state state, in ucfg_green_ap_ll_ps() argument
130 green_ap_ll_ps_params.state = state; in ucfg_green_ap_ll_ps()
133 if (state) in ucfg_green_ap_ll_ps()
140 (enum wlan_green_ap_ll_ps_state)state); in ucfg_green_ap_ll_ps()
/wlan-driver/qca-wifi-host-cmn/qal/linux/src/
Di_qal_bridge.h96 uint16_t state) in __qal_bridge_fdb_add_or_refresh_by_netdev() argument
100 ret = br_fdb_add_or_refresh_by_netdev(dev, addr, vid, state); in __qal_bridge_fdb_add_or_refresh_by_netdev()
108 uint16_t state) in __qal_bridge_fdb_add_or_refresh_by_netdev() argument
/wlan-driver/platform/cnss2/
Ddebug.c90 unsigned long state; in cnss_stats_show_state() local
95 for (i = 0, state = plat_priv->driver_state; state != 0; in cnss_stats_show_state()
96 state >>= 1, i++) { in cnss_stats_show_state()
97 if (!(state & 0x1)) in cnss_stats_show_state()
735 unsigned long state; in process_quirks() local
738 for (i = 0, state = val; i < QUIRK_MAX_VALUE; state >>= 1, i++) { in process_quirks()
741 ret = process_drv(plat_priv, !(state & 0x1)); in process_quirks()
743 quirks |= (state & 0x1) << i; in process_quirks()
746 quirks |= (state & 0x1) << i; in process_quirks()
819 unsigned long state; in cnss_show_quirks_state() local
[all …]
/wlan-driver/qca-wifi-host-cmn/qal/inc/
Dqal_bridge.h61 uint16_t state);
104 uint16_t state) in qal_bridge_fdb_add_or_refresh_by_netdev() argument
106 __qal_bridge_fdb_add_or_refresh_by_netdev(dev, addr, vid, state); in qal_bridge_fdb_add_or_refresh_by_netdev()
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/core/src/
Dreg_build_chan_list.c72 dst_list[dst_idx].state = CHANNEL_STATE_DISABLE; in reg_init_chan()
86 return (!reg_is_state_allowed(chan->state) && in reg_is_chan_disabled_and_not_nol()
146 master_list[chan_enum].state = CHANNEL_STATE_ENABLE; in reg_fill_channel_info()
150 master_list[chan_enum].state = CHANNEL_STATE_DFS; in reg_fill_channel_info()
155 master_list[chan_enum].state = CHANNEL_STATE_DFS; in reg_fill_channel_info()
179 static void reg_dis_chan_state_and_flags(enum channel_state *state, in reg_dis_chan_state_and_flags() argument
182 *state = CHANNEL_STATE_DISABLE; in reg_dis_chan_state_and_flags()
324 mas_chan_list[chan_enum].state = in reg_populate_band_channels()
447 chan_list[chan_enum].state = CHANNEL_STATE_DISABLE; in reg_modify_chan_list_for_dfs_channels()
762 chan_list[chan_enum].state = in reg_modify_chan_list_for_indoor_channels()
[all …]

123456789