mt76: add stbc entries to mt76_rate_power
authorFelix Fietkau <nbd@nbd.name>
Thu, 20 Sep 2018 09:11:49 +0000 (11:11 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 1 Oct 2018 10:33:40 +0000 (12:33 +0200)
commit7c4b446c59b73d594f7bdb26f1533ae3bcb9b0a5
tree3728d33de95d4112192a8a9779146f84578e7ecd
parent8f410a8bfde5591af78dae2e955bcc402bffdcc4
mt76: add stbc entries to mt76_rate_power

Add stbc tx power eeprom parsing support for mt76x2 driver.
When writing power entries, make a distinction between rates that are
read from the same EEPROM value, but have separate register entries.

No effect on runtime behavior, but preparation for unification with mt76x0
and for placing restrictions on individual rate power limits

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