]> asedeno.scripts.mit.edu Git - linux.git/commit
mt76x0: phy: introduce mt76x0_phy_set_txpower routine
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Sat, 22 Sep 2018 11:45:37 +0000 (13:45 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 1 Oct 2018 10:34:09 +0000 (12:34 +0200)
commit1f4db1fd5cd497e47416776a5395c50f98b52ef9
tree7dcbdc21d455566b2cd4f7347ed1d48813757284
parent6987c5b5dee6a6bb82d26a1aca2a67dd4cb2e44f
mt76x0: phy: introduce mt76x0_phy_set_txpower routine

Add mt76x0_phy_set_txpower routine in order to configure
base and per rate tx power gain. Moreover take into account
txpower_conf in order to limit the tx power gain according to
the bound provided by mac80211

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x0/main.c
drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h
drivers/net/wireless/mediatek/mt76/mt76x0/phy.c