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)
commit7f2bc8ba11a0e82d474f0047933c3baeebf4406c
tree276669ee84dd7f3c1034019c68f4e89c05bb5359
parent7cd740f0e499d9bfd672ff1f3f6512503141abbe
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