mt76x2: initialize channel power limits at probe time
authorFelix Fietkau <nbd@nbd.name>
Thu, 14 Dec 2017 15:39:11 +0000 (16:39 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 8 Jan 2018 17:25:50 +0000 (19:25 +0200)
commit984ea50324ec6bad2a04ac7869dfc428f80b8bee
tree782ac3ebdc34e3d07b0c5dba9c930ae94cc3cbbe
parent60e2434c5f5adbc6064b3595ebc5d2fd445e8676
mt76x2: initialize channel power limits at probe time

This allows user space to query the real hardware limits directly

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.c
drivers/net/wireless/mediatek/mt76/mt76x2_eeprom.h
drivers/net/wireless/mediatek/mt76/mt76x2_init.c
drivers/net/wireless/mediatek/mt76/mt76x2_phy.c