cnss2: Update time sync period based on tsf sync start/stop

Add cnss_update_time_sync_period and cnss_reset_time_sync_period to
update time sync period vote sent from wlan driver based on use-case.
CNSS driver stores both wlan driver and sys config time sync period
value and will apply the minimum value of all votes.

Change-Id: I46ad2866bd70aefe121c8a68a9c869e75ffd8345
CRs-Fixed: 3502060
This commit is contained in:
Shailendra Singh
2023-05-22 17:29:24 +05:30
committed by Rahul Choudhary
父節點 b1be304dfc
當前提交 6ce40d5c60
共有 3 個文件被更改,包括 130 次插入2 次删除

查看文件

@@ -359,4 +359,7 @@ extern void cnss_thermal_cdev_unregister(struct device *dev, int tcdev_id);
extern int cnss_get_curr_therm_cdev_state(struct device *dev,
unsigned long *thermal_state,
int tcdev_id);
extern int cnss_update_time_sync_period(struct device *dev,
uint32_t time_sync_period);
extern int cnss_reset_time_sync_period(struct device *dev);
#endif /* _NET_CNSS2_H */