Skip to content

Commit 7070226

Browse files
Stanislaw GruszkaKalle Valo
authored andcommitted
mt76: mt76x0e: disable 5GHz band for MT7630E
MT7630E hardware does support 5GHz, but we do not properly configure phy for 5GHz channels. Scanning at this band not only do not show any APs but also can hang the firmware. Since vendor reference driver do not support 5GHz we don't know how properly configure 5GHz channels. So disable this band for MT7630E . Cc: [email protected] Signed-off-by: Stanislaw Gruszka <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
1 parent 34b0e9b commit 7070226

File tree

1 file changed

+5
-0
lines changed
  • drivers/net/wireless/mediatek/mt76/mt76x0

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ static void mt76x0_set_chip_cap(struct mt76x02_dev *dev)
5959
dev_dbg(dev->mt76.dev, "mask out 2GHz support\n");
6060
}
6161

62+
if (is_mt7630(dev)) {
63+
dev->mt76.cap.has_5ghz = false;
64+
dev_dbg(dev->mt76.dev, "mask out 5GHz support\n");
65+
}
66+
6267
if (!mt76x02_field_valid(nic_conf1 & 0xff))
6368
nic_conf1 &= 0xff00;
6469

0 commit comments

Comments
 (0)