mt76: mt7615: init per-channel target power
authorLorenzo Bianconi <lorenzo@kernel.org>
Tue, 11 Jun 2019 06:38:52 +0000 (08:38 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 27 Jun 2019 10:58:13 +0000 (12:58 +0200)
commit391ff7ffd149da87019d652cd678d9e76103e415
tree7f96699b842b15415fecf725f2e11a1694a1de9c
parentbf92e76851009e6bf082db9e9de9b0ab9320cf26
mt76: mt7615: init per-channel target power

Set per-channel target power as the minimum between the regulatory
tx power and the value configured in the eeprom

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