diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-01-20 13:10:21 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-01-27 17:33:43 +0100 |
commit | 2ab33b8d7d7958d0722d26edfe3ad860a69534b4 (patch) | |
tree | d56229363c43fd7ad56a803c31c4bd7f37c6481c /drivers/net/wireless/mediatek/mt76/mt76.h | |
parent | 51742a9e102929085a464678fe8e1e33bc450119 (diff) | |
download | linux-stable-2ab33b8d7d7958d0722d26edfe3ad860a69534b4.tar.gz linux-stable-2ab33b8d7d7958d0722d26edfe3ad860a69534b4.tar.bz2 linux-stable-2ab33b8d7d7958d0722d26edfe3ad860a69534b4.zip |
mt76: move vif_mask back from mt76_phy to mt76_dev
Since it is global for all drivers, it belongs to the main device
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h b/drivers/net/wireless/mediatek/mt76/mt76.h index 90fbdaec8b89..3e2191efc4f0 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76.h +++ b/drivers/net/wireless/mediatek/mt76/mt76.h @@ -582,8 +582,6 @@ struct mt76_phy { u8 macaddr[ETH_ALEN]; - u32 vif_mask; - int txpower_cur; u8 antenna_mask; u16 chainmask; @@ -641,6 +639,8 @@ struct mt76_dev { u32 wcid_mask[DIV_ROUND_UP(MT76_N_WCIDS, 32)]; u32 wcid_phy_mask[DIV_ROUND_UP(MT76_N_WCIDS, 32)]; + u32 vif_mask; + struct mt76_wcid global_wcid; struct mt76_wcid __rcu *wcid[MT76_N_WCIDS]; |