mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: move channel state to struct mt76_phy
Add support for an extra wiphy in mt76_set_channel and mt76_get_survey This is preparation for supporting multiple wiphys per device to support the concurrent dual-band feature of MT7615D Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+2
-2
@@ -188,9 +188,9 @@ void mt76x02_init_device(struct mt76x02_dev *dev)
|
||||
dev->slottime = 9;
|
||||
|
||||
if (is_mt76x2(dev)) {
|
||||
dev->mt76.sband_2g.sband.ht_cap.cap |=
|
||||
dev->mphy.sband_2g.sband.ht_cap.cap |=
|
||||
IEEE80211_HT_CAP_LDPC_CODING;
|
||||
dev->mt76.sband_5g.sband.ht_cap.cap |=
|
||||
dev->mphy.sband_5g.sband.ht_cap.cap |=
|
||||
IEEE80211_HT_CAP_LDPC_CODING;
|
||||
dev->mt76.chainmask = 0x202;
|
||||
dev->mt76.antenna_mask = 3;
|
||||
|
||||
Reference in New Issue
Block a user