Skip to content

Commit 69d54ce

Browse files
committed
wifi: mt76: mt7996: switch to single multi-radio wiphy
Use generic mt76 chanctx functions and look up phy from vif link. The driver now uses only a single phy to handle multiple interfaces on different channels. This is preparation for full MLO support. Link: https://patch.msgid.link/[email protected] Signed-off-by: Felix Fietkau <[email protected]>
1 parent 1f8dd56 commit 69d54ce

File tree

7 files changed

+593
-379
lines changed

7 files changed

+593
-379
lines changed

drivers/net/wireless/mediatek/mt76/mt7996/eeprom.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ int mt7996_eeprom_parse_hw_cap(struct mt7996_dev *dev, struct mt7996_phy *phy)
305305

306306
mphy->antenna_mask = BIT(nss) - 1;
307307
mphy->chainmask = (BIT(path) - 1) << dev->chainshift[band_idx];
308+
phy->orig_chainmask = mphy->chainmask;
308309
dev->chainmask |= mphy->chainmask;
309310
if (band_idx < MT_BAND2)
310311
dev->chainshift[band_idx + 1] = dev->chainshift[band_idx] +

0 commit comments

Comments
 (0)