mt76x02: set protection according to ht operation element
authorStanislaw Gruszka <sgruszka@redhat.com>
Mon, 10 Dec 2018 10:53:57 +0000 (11:53 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 11 Jan 2019 14:10:17 +0000 (15:10 +0100)
commit26a7b5473191d362b09a190fafd0dc2059cbf527
treee0d7c716bead8d73dadd0f3f2a6992079df3b829
parent493d2dfab34bb88563a6a64801c7d604537ca958
mt76x02: set protection according to ht operation element

Configure protection based on information that are provided to
us either by remote AP or by hostapd via HT operation IE.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x02_mac.c
drivers/net/wireless/mediatek/mt76/mt76x02_mac.h
drivers/net/wireless/mediatek/mt76/mt76x02_regs.h
drivers/net/wireless/mediatek/mt76/mt76x02_util.c