qcacmn: Add API to configure scheduler watchdog timeout
The scheduler watchdog timeout is currently fixed at 10secs. There are few customer use cases, where the CPU is busy for sometime and the scheduler message processing is taking longer than the coinfigured watchdog timeout value. Add a new API to be able to configure this value different than the default as per the requirement. CRs-Fixed: 2834194 Change-Id: I976f1f0ad17f09cf3960f99ad80226d775b8b2f2
Cette révision appartient à :
@@ -99,6 +99,7 @@ struct scheduler_mq_ctx {
|
||||
* @hdd_callback: os if suspend callback
|
||||
* @legacy_wma_handler: legacy wma message handler
|
||||
* @legacy_sys_handler: legacy sys message handler
|
||||
* @timeout: timeout value for scheduler watchdog timer
|
||||
* @watchdog_timer: timer for triggering a scheduler watchdog bite
|
||||
* @watchdog_callback: the callback of the current msg being processed
|
||||
*/
|
||||
@@ -116,6 +117,7 @@ struct scheduler_ctx {
|
||||
hdd_suspend_callback hdd_callback;
|
||||
scheduler_msg_process_fn_t legacy_wma_handler;
|
||||
scheduler_msg_process_fn_t legacy_sys_handler;
|
||||
uint32_t timeout;
|
||||
qdf_timer_t watchdog_timer;
|
||||
void *watchdog_callback;
|
||||
};
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur