[PATCH v2 0/3][SRU][J][OEM-5.14] Enable WiFi hotspot feature for MediaTek MT7921

Chris Chiu chris.chiu at canonical.com
Thu Jun 23 09:03:26 UTC 2022


BugLink: https://bugs.launchpad.net/bugs/1979173

[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. Mediatek also suggest to add patches https://patchwork.kernel.org/project/linux-mediatek/list/?series=648452 which are already accepted by upstream to fix bugs in AP mode. Enable AP mode on specific kernel versions.

[Test]
Verified on the machines with MediaTek MT7921 chip.

[Where problems could occur]
The patches are to enable AP mode and and fix related issues on new VIF with AP capability, should have minimal impact to the origin behaviors.

V2:
  - Add additional patch suggested by Mediatek ("mt76: mt7921: not support beacon offload disable command")
  - Add required fix back in mt7921_mcu_set_bss_pm() in commit ("mt76: mt7921: fix command timeout in AP stop period")

Deren Wu (2):
  mt76: mt7921: not support beacon offload disable command
  mt76: mt7921: fix command timeout in AP stop period

Sean Wang (1):
  mt76: mt7921: Add AP mode support

 .../wireless/mediatek/mt76/mt76_connac_mcu.c  |  2 +
 .../net/wireless/mediatek/mt76/mt7921/init.c  | 11 ++-
 .../net/wireless/mediatek/mt76/mt7921/mac.c   |  9 ++
 .../net/wireless/mediatek/mt76/mt7921/main.c  | 76 +++++++++++++++++
 .../net/wireless/mediatek/mt76/mt7921/mcu.c   | 84 ++++++++++++++++++-
 .../wireless/mediatek/mt76/mt7921/mt7921.h    |  4 +
 6 files changed, 181 insertions(+), 5 deletions(-)

-- 
2.25.1




More information about the kernel-team mailing list