[Impact]
The wifi hotspot on systems with Mediatek MT7921 wifi chip doesn't work.
[Fix]
MediaTek already have the commit 116c69603b01 ("mt76: mt7921: Add AP mode support") upstream. But it's based on kernel 5.18. Enable AP mode for in on specific kernel versions.
[Test]
Verified on the machines with MediaTek MT7921 chip.
[Where problems could occur]
The patch is enabling AP mode and turns on the beacon function on new VIF, should have minimal impact to the origin behaviors.
[Impact]
The wifi hotspot on systems with Mediatek MT7921 wifi chip doesn't work.
[Fix]
MediaTek already have the commit 116c69603b01 ("mt76: mt7921: Add AP mode support") upstream. But it's based on kernel 5.18. Enable AP mode for in on specific kernel versions.
[Test]
Verified on the machines with MediaTek MT7921 chip.
[Where problems could occur]
The patch is enabling AP mode and turns on the beacon function on new VIF, should have minimal impact to the origin behaviors.