OSDN Git Service

wifi: mt76: mt7921: reduce polling time in pmctrl
authorDeren Wu <deren.wu@mediatek.com>
Sat, 14 Jan 2023 04:56:47 +0000 (12:56 +0800)
committerFelix Fietkau <nbd@nbd.name>
Fri, 3 Feb 2023 13:47:17 +0000 (14:47 +0100)
commit09f4417a451be137a3e848b1888a1e32f8325046
treef45dd3dae29e4692296327ad1ee90f69e9ea46b9
parent35effe6c0c24adcf0f732bb1c3d75573d4c88e63
wifi: mt76: mt7921: reduce polling time in pmctrl

Due to the polling tick is 10ms, the wake up flow in the status waiting
would cause more 10~20ms than the real HW response time. Reduce
tick-interval from 10ms to 1ms to get better network performance, such
as ping latency, in low power mode.

Reviewed-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Deren Wu <deren.wu@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/pci_mcu.c