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
This commit is contained in:
@@ -219,6 +219,16 @@ QDF_STATUS scheduler_post_message_debug(QDF_MODULE_ID src_id,
|
||||
*/
|
||||
void scheduler_resume(void);
|
||||
|
||||
/**
|
||||
* scheduler_set_timeout() - set scheduler timeout for msg processing
|
||||
*
|
||||
* Configure the timeout for triggering the scheduler watchdog timer
|
||||
* in milliseconds
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void scheduler_set_watchdog_timeout(uint32_t timeout);
|
||||
|
||||
/**
|
||||
* scheduler_register_hdd_suspend_callback() - suspend callback to hdd
|
||||
* @callback: hdd callback to be called when controllred thread is suspended
|
||||
|
Reference in New Issue
Block a user