Skip to content

Commit a0c80d5

Browse files
JackBBWukuba-moo
authored andcommitted
net: wwan: t7xx: Change PM_AUTOSUSPEND_MS to 5000
Because optimizing the power consumption of t7XX, change auto suspend time to 5000. The Tests uses a script to loop through the power_state of t7XX. (for example: /sys/bus/pci/devices/0000\:72\:00.0/power_state) * If Auto suspend is 20 seconds, test script show power_state have 0~5% of the time was in D3 state when host don't have data packet transmission. * Changed auto suspend time to 5 seconds, test script show power_state have 50%~80% of the time was in D3 state when host don't have data packet transmission. We tested Fibocom FM350 and our products using the t7xx and they all benefited from this. Signed-off-by: Jack Wu <wojackbb@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> Link: https://patch.msgid.link/20241114102002.481081-1-wojackbb@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 6204656 commit a0c80d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/net/wwan/t7xx/t7xx_pci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
#define T7XX_INIT_TIMEOUT 20
5050
#define PM_SLEEP_DIS_TIMEOUT_MS 20
5151
#define PM_ACK_TIMEOUT_MS 1500
52-
#define PM_AUTOSUSPEND_MS 20000
52+
#define PM_AUTOSUSPEND_MS 5000
5353
#define PM_RESOURCE_POLL_TIMEOUT_US 10000
5454
#define PM_RESOURCE_POLL_STEP_US 100
5555

0 commit comments

Comments
 (0)