mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: move chainmask in mt76_phy
Move chainmask from driver phy to mt76_phy since it is used by all drivers. This is a preliminary patch to create a common mcu library used by mt7615 and mt7921 drivers Co-developed-by: Sean Wang <[email protected]> Signed-off-by: Sean Wang <[email protected]> Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
d679b56b95
commit
36cd48ab44
+2
-2
@@ -197,10 +197,10 @@ void mt76x02_init_device(struct mt76x02_dev *dev)
|
||||
IEEE80211_HT_CAP_LDPC_CODING;
|
||||
dev->mphy.sband_5g.sband.ht_cap.cap |=
|
||||
IEEE80211_HT_CAP_LDPC_CODING;
|
||||
dev->chainmask = 0x202;
|
||||
dev->mphy.chainmask = 0x202;
|
||||
dev->mphy.antenna_mask = 3;
|
||||
} else {
|
||||
dev->chainmask = 0x101;
|
||||
dev->mphy.chainmask = 0x101;
|
||||
dev->mphy.antenna_mask = 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user