mt76: add usb implementation of {wr,rd}_rp
authorStanislaw Gruszka <sgruszka@redhat.com>
Sun, 9 Sep 2018 20:32:38 +0000 (22:32 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 19 Sep 2018 10:31:19 +0000 (12:31 +0200)
commitf1638c7cd686c22620030da8ebb7c973dfc768e1
tree2b9ce91b28ddccdb2cc27e5b3bd16f26e09a4328
parentdb0f04f324b3a9a317af2f050397c1dfa903eefa
mt76: add usb implementation of {wr,rd}_rp

Add USB implementation for read and write reg pair routines.
The actual implementation can use mcu related routines according to
MCU state

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76.h
drivers/net/wireless/mediatek/mt76/mt76x0/init.c
drivers/net/wireless/mediatek/mt76/mt76x0/mcu.c
drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h
drivers/net/wireless/mediatek/mt76/mt76x0/phy.c
drivers/net/wireless/mediatek/mt76/usb.c
drivers/net/wireless/mediatek/mt76/usb_mcu.c