diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-06-11 17:45:58 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-07-21 19:01:15 +0200 |
commit | beffe070b1880e7c53e3fc76f2e4e8f31d18f7c5 (patch) | |
tree | d8f1e055abc1cd02283f9772e4bd21a0dd13741a /drivers/net/wireless/mediatek/mt76/mt76.h | |
parent | b8c978663efb3991369b4944f79b098fc7ebb4e4 (diff) | |
download | lwn-beffe070b1880e7c53e3fc76f2e4e8f31d18f7c5.tar.gz lwn-beffe070b1880e7c53e3fc76f2e4e8f31d18f7c5.zip |
mt76: vif_mask to struct mt76_phy
All drivers use this in pretty much the same way. Moving it to core helps with
some checks for the upcoming testmode support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76.h')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h b/drivers/net/wireless/mediatek/mt76/mt76.h index 3d7db6ffb599..ece462e9c9ab 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76.h +++ b/drivers/net/wireless/mediatek/mt76/mt76.h @@ -491,6 +491,8 @@ struct mt76_phy { struct mt76_sband sband_2g; struct mt76_sband sband_5g; + u32 vif_mask; + int txpower_cur; u8 antenna_mask; }; |