diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2021-01-26 12:13:51 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-01-29 15:18:25 +0100 |
commit | 85d96704535d2ad85711aba22bb0a5f0a8c7c8f3 (patch) | |
tree | 0e4bdff03108121f9d46acc9621e3d6a9cde8b6d /drivers/net/wireless/mediatek/mt76/mt76.h | |
parent | e2b2c390b018c3f0ab6bcf8f9ffbc94471d7bf6a (diff) | |
download | linux-stable-85d96704535d2ad85711aba22bb0a5f0a8c7c8f3.tar.gz linux-stable-85d96704535d2ad85711aba22bb0a5f0a8c7c8f3.tar.bz2 linux-stable-85d96704535d2ad85711aba22bb0a5f0a8c7c8f3.zip |
mt76: introduce mt76_vif data structure
Introduce mt76_vif data structure to share common fields between
mt7615_vif and mt7921_vif and create a mcu common library
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
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 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h b/drivers/net/wireless/mediatek/mt76/mt76.h index 3e2191efc4f0..8bf45497cfca 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76.h +++ b/drivers/net/wireless/mediatek/mt76/mt76.h @@ -561,6 +561,14 @@ struct mt76_testmode_data { } rx_stats; }; +struct mt76_vif { + u8 idx; + u8 omac_idx; + u8 band_idx; + u8 wmm_idx; + u8 scan_seq_num; +}; + struct mt76_phy { struct ieee80211_hw *hw; struct mt76_dev *dev; |