/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/serialization/src/ |
H A D | wlan_serialization_non_scan.c | 63 struct wlan_serialization_pdev_queue *pdev_queue; in wlan_serialization_is_active_non_scan_cmd_allowed() local 74 pdev_queue = wlan_serialization_get_pdev_queue_obj(ser_pdev_obj, in wlan_serialization_is_active_non_scan_cmd_allowed() 77 vdev_active_cmd_bitmap = pdev_queue->vdev_active_cmd_bitmap; in wlan_serialization_is_active_non_scan_cmd_allowed() 79 blocking_cmd_active = pdev_queue->blocking_cmd_active; in wlan_serialization_is_active_non_scan_cmd_allowed() 80 blocking_cmd_waiting = pdev_queue->blocking_cmd_waiting; in wlan_serialization_is_active_non_scan_cmd_allowed() 91 if (wlan_serialization_any_vdev_cmd_active(pdev_queue)) { in wlan_serialization_is_active_non_scan_cmd_allowed() 93 pdev_queue->blocking_cmd_waiting++; in wlan_serialization_is_active_non_scan_cmd_allowed() 117 sizeof(pdev_queue->vdev_active_cmd_bitmap)); in wlan_serialization_is_active_non_scan_cmd_allowed() 133 struct wlan_serialization_pdev_queue *pdev_queue; in wlan_ser_add_non_scan_cmd() local 202 pdev_queue = wlan_serialization_get_pdev_queue_obj( in wlan_ser_add_non_scan_cmd() [all …]
|
H A D | wlan_serialization_legacy_api.c | 87 struct wlan_serialization_pdev_queue *pdev_queue; in wlan_serialization_get_pending_list_count() local 96 pdev_queue = &ser_pdev_obj->pdev_q[SER_PDEV_QUEUE_COMP_SCAN]; in wlan_serialization_get_pending_list_count() 98 pdev_queue = in wlan_serialization_get_pending_list_count() 100 queue = &pdev_queue->pending_list; in wlan_serialization_get_pending_list_count() 101 wlan_serialization_acquire_lock(&pdev_queue->pdev_queue_lock); in wlan_serialization_get_pending_list_count() 103 wlan_serialization_release_lock(&pdev_queue->pdev_queue_lock); in wlan_serialization_get_pending_list_count() 118 struct wlan_serialization_pdev_queue *pdev_queue; in wlan_serialization_peek_head_active_cmd_using_psoc() local 127 pdev_queue = &ser_pdev_obj->pdev_q[SER_PDEV_QUEUE_COMP_SCAN]; in wlan_serialization_peek_head_active_cmd_using_psoc() 129 pdev_queue = in wlan_serialization_peek_head_active_cmd_using_psoc() 131 queue = &pdev_queue->active_list; in wlan_serialization_peek_head_active_cmd_using_psoc() [all …]
|
H A D | wlan_serialization_main.c | 146 struct wlan_serialization_pdev_queue *pdev_queue) in wlan_serialization_destroy_cmd_pool() argument 151 &pdev_queue->cmd_pool_list, in wlan_serialization_destroy_cmd_pool() 152 qdf_list_size(&pdev_queue->cmd_pool_list)); in wlan_serialization_destroy_cmd_pool() 153 while (!qdf_list_empty(&pdev_queue->cmd_pool_list)) { in wlan_serialization_destroy_cmd_pool() 154 qdf_list_remove_front(&pdev_queue->cmd_pool_list, in wlan_serialization_destroy_cmd_pool() 159 qdf_list_destroy(&pdev_queue->cmd_pool_list); in wlan_serialization_destroy_cmd_pool() 180 struct wlan_serialization_pdev_queue *pdev_queue, in wlan_serialization_create_cmd_pool() argument 187 qdf_list_create(&pdev_queue->cmd_pool_list, cmd_pool_size); in wlan_serialization_create_cmd_pool() 192 wlan_serialization_destroy_cmd_pool(pdev_queue); in wlan_serialization_create_cmd_pool() 198 &pdev_queue->cmd_pool_list, in wlan_serialization_create_cmd_pool() [all …]
|
H A D | wlan_serialization_scan.c | 336 struct wlan_serialization_pdev_queue *pdev_queue; in wlan_ser_move_scan_pending_to_active() local 340 pdev_queue = &ser_pdev_obj->pdev_q[SER_PDEV_QUEUE_COMP_SCAN]; in wlan_ser_move_scan_pending_to_active() 347 wlan_serialization_acquire_lock(&pdev_queue->pdev_queue_lock); in wlan_ser_move_scan_pending_to_active() 349 pending_queue = &pdev_queue->pending_list; in wlan_ser_move_scan_pending_to_active() 352 wlan_serialization_release_lock(&pdev_queue->pdev_queue_lock); in wlan_ser_move_scan_pending_to_active() 359 wlan_serialization_release_lock(&pdev_queue->pdev_queue_lock); in wlan_ser_move_scan_pending_to_active() 370 wlan_serialization_release_lock(&pdev_queue->pdev_queue_lock); in wlan_ser_move_scan_pending_to_active() 379 wlan_serialization_release_lock(&pdev_queue->pdev_queue_lock); in wlan_ser_move_scan_pending_to_active() 388 wlan_ser_update_cmd_history(pdev_queue, &pending_cmd_list->cmd, in wlan_ser_move_scan_pending_to_active() 393 wlan_serialization_release_lock(&pdev_queue->pdev_queue_lock); in wlan_ser_move_scan_pending_to_active() [all …]
|
H A D | wlan_serialization_internal.c | 98 struct wlan_serialization_pdev_queue *pdev_queue; in wlan_serialization_enqueue_cmd() local 158 pdev_queue = wlan_serialization_get_pdev_queue_obj(ser_pdev_obj, in wlan_serialization_enqueue_cmd() 160 if (!pdev_queue) { in wlan_serialization_enqueue_cmd() 165 wlan_serialization_acquire_lock(&pdev_queue->pdev_queue_lock); in wlan_serialization_enqueue_cmd() 188 &pdev_queue->pdev_queue_lock); in wlan_serialization_enqueue_cmd() 199 &pdev_queue->pdev_queue_lock); in wlan_serialization_enqueue_cmd() 205 &pdev_queue->pdev_queue_lock); in wlan_serialization_enqueue_cmd() 216 wlan_serialization_release_lock(&pdev_queue->pdev_queue_lock); in wlan_serialization_enqueue_cmd() 223 &pdev_queue->cmd_pool_list, in wlan_serialization_enqueue_cmd() 225 wlan_serialization_release_lock(&pdev_queue->pdev_queue_lock); in wlan_serialization_enqueue_cmd() [all …]
|
H A D | wlan_serialization_api.c | 43 struct wlan_serialization_pdev_queue *pdev_queue; in wlan_serialization_is_cmd_present_in_pending_queue() local 62 pdev_queue = wlan_serialization_get_pdev_queue_obj(ser_pdev_obj, in wlan_serialization_is_cmd_present_in_pending_queue() 64 if (!pdev_queue) { in wlan_serialization_is_cmd_present_in_pending_queue() 69 wlan_serialization_acquire_lock(&pdev_queue->pdev_queue_lock); in wlan_serialization_is_cmd_present_in_pending_queue() 73 wlan_serialization_release_lock(&pdev_queue->pdev_queue_lock); in wlan_serialization_is_cmd_present_in_pending_queue() 86 struct wlan_serialization_pdev_queue *pdev_queue; in wlan_ser_is_non_scan_cmd_type_in_vdev_queue() local 110 pdev_queue = wlan_serialization_get_pdev_queue_obj(ser_pdev_obj, in wlan_ser_is_non_scan_cmd_type_in_vdev_queue() 112 if (!pdev_queue) { in wlan_ser_is_non_scan_cmd_type_in_vdev_queue() 122 wlan_serialization_acquire_lock(&pdev_queue->pdev_queue_lock); in wlan_ser_is_non_scan_cmd_type_in_vdev_queue() 130 wlan_serialization_release_lock(&pdev_queue->pdev_queue_lock); in wlan_ser_is_non_scan_cmd_type_in_vdev_queue() [all …]
|
H A D | wlan_serialization_queue.c | 37 struct wlan_serialization_pdev_queue *pdev_queue = NULL; in wlan_serialization_get_pdev_queue_obj() local 40 pdev_queue = &pdev_obj->pdev_q[SER_PDEV_QUEUE_COMP_SCAN]; in wlan_serialization_get_pdev_queue_obj() 42 pdev_queue = &pdev_obj->pdev_q[SER_PDEV_QUEUE_COMP_NON_SCAN]; in wlan_serialization_get_pdev_queue_obj() 44 return pdev_queue; in wlan_serialization_get_pdev_queue_obj() 63 struct wlan_serialization_pdev_queue *pdev_queue; in wlan_serialization_get_list_from_pdev_queue() local 66 pdev_queue = wlan_serialization_get_pdev_queue_obj(pdev_obj, cmd_type); in wlan_serialization_get_list_from_pdev_queue() 68 queue = &pdev_queue->active_list; in wlan_serialization_get_list_from_pdev_queue() 70 queue = &pdev_queue->pending_list; in wlan_serialization_get_list_from_pdev_queue()
|
H A D | wlan_serialization_utils.c | 36 struct wlan_serialization_pdev_queue *pdev_queue, in wlan_ser_update_cmd_history() argument 292 struct wlan_serialization_pdev_queue *pdev_queue) in wlan_serialization_release_pdev_list_cmds() argument 296 while (!wlan_serialization_list_empty(&pdev_queue->active_list)) { in wlan_serialization_release_pdev_list_cmds() 298 &pdev_queue->active_list, &node); in wlan_serialization_release_pdev_list_cmds() 300 &pdev_queue->cmd_pool_list, node); in wlan_serialization_release_pdev_list_cmds() 303 while (!wlan_serialization_list_empty(&pdev_queue->pending_list)) { in wlan_serialization_release_pdev_list_cmds() 305 &pdev_queue->pending_list, &node); in wlan_serialization_release_pdev_list_cmds() 307 &pdev_queue->cmd_pool_list, node); in wlan_serialization_release_pdev_list_cmds() 323 struct wlan_serialization_pdev_queue *pdev_queue) in wlan_serialization_destroy_pdev_list() argument 326 wlan_serialization_release_pdev_list_cmds(pdev_queue); in wlan_serialization_destroy_pdev_list() [all …]
|
H A D | wlan_serialization_debug.c | 117 struct wlan_serialization_pdev_queue *pdev_queue, in wlan_ser_print_all_history() argument 126 history_info = &pdev_queue->history; in wlan_ser_print_all_history() 230 struct wlan_serialization_pdev_queue *pdev_queue, in wlan_ser_update_cmd_history() argument 239 ser_history_info = &pdev_queue->history; in wlan_ser_update_cmd_history()
|
H A D | wlan_serialization_utils_i.h | 373 struct wlan_serialization_pdev_queue *pdev_queue); 695 struct wlan_serialization_pdev_queue *pdev_queue); 709 struct wlan_serialization_pdev_queue *pdev_queue,
|