In Android, after system enter sleep or screen off, the Wifi GUI may send 'Driver Stop' command to WCN1312 driver after timer expired.
The timeout setting is hardcoded in WifiService.java:
private static final long DEFAULT_IDLE_MILLIS = 15 * 60 * 1000; /* 15 minutes */
default is 15 minutes, you can shorten the value and let WCN1312 to enter standby/deep sleep earlier.
When WCN1312 driver receive 'Driver Stop' command, it goes to standby or deep sleep mode according to setting in qcom_cfg.ini, see below
gEnableDriverStop = 0 // Ignore Driver Stop command
gEnableDriverStop = 1 // Map Driver Stop command to Standby (Default Setting)
gEnableDriverStop = 2 // Map Driver Stop command to deep Sleep.
No comments:
Post a Comment