]> asedeno.scripts.mit.edu Git - linux.git/commit
mt76x0: phy: set antenna parameter according to wireless band
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Fri, 28 Sep 2018 11:39:02 +0000 (13:39 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 1 Oct 2018 10:34:38 +0000 (12:34 +0200)
commit4468e92cf8d0a943878b0f47edfa8f5604ce2d2b
tree8c27dfd096b6f02542fc8430c8e2b27d4cc8b09f
parent2b2cb40bcd7d1c205526032c1937d5384b7b09f5
mt76x0: phy: set antenna parameter according to wireless band

Move mt76x0_ant_select routine in __mt76x0_phy_set_channel in order to
configure antenna parameters according to the current wireless channel

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