]> asedeno.scripts.mit.edu Git - linux.git/commit
mt76: add get_tx_txpwr_adj function pointer to mt76_driver_ops
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Mon, 1 Oct 2018 16:58:18 +0000 (18:58 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 5 Oct 2018 18:05:44 +0000 (20:05 +0200)
commit1ef3aa88935b994e2e58a15d15ebe697e39a0b48
tree4760350e6ff6a79b8b15e7e1752efb46c0b8a8c7
parentd697b00b15f44e23080bca916294e61638e0b62d
mt76: add get_tx_txpwr_adj function pointer to mt76_driver_ops

Add get_tx_txpwr_adj function pointer to mt76_driver_ops data structure
as a preliminary patch to unify txwi configuration between mt76x0 and
mt76x2 drivers since tpc is currently supported just by mt76x2 driver

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/mt76x2/mac.c
drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h
drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c
drivers/net/wireless/mediatek/mt76/mt76x2/tx.c