]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: connac: introduce wake counter for fw_pmctrl synchronization
authorLorenzo Bianconi <lorenzo@kernel.org>
Sun, 18 Apr 2021 16:45:29 +0000 (18:45 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 21 Apr 2021 18:55:52 +0000 (20:55 +0200)
commiteec872e575fee00236b6582b1cd15f85821d64b7
tree276669ee84dd7f3c1034019c68f4e89c05bb5359
parent20ee4bc3c3f2a9197eda4560ae44af4f5f8d0477
mt76: connac: introduce wake counter for fw_pmctrl synchronization

Introduce wake counter and related spinlock in order to synchronize
tx/rx path and fw_pmctrl request.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76_connac.h