mt76: mt76x2: fix 2.4 GHz channel gain settings
authorFelix Fietkau <nbd@nbd.name>
Sun, 3 Mar 2019 14:12:14 +0000 (15:12 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 7 Mar 2019 11:50:23 +0000 (12:50 +0100)
commitb8cfd87ac24273e36fbd3ecda631f3ba6566d493
treea92671b1f753b782433b278e3d1715961498850e
parent45a042e3026824a7e910db7a4dd38fef0540b902
mt76: mt76x2: fix 2.4 GHz channel gain settings

AGC register 35, 37 override for the low gain setting should only be done
on 5 GHz. Also, 2.4 GHz needs a different value for register 35

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x2/phy.c