[PATCH 0/2][SRU][OEM-5.17] Enable WiFi hotspot feature for MediaTek MT7921

Chris Chiu chris.chiu at canonical.com
Tue Jun 21 09:14:54 UTC 2022

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

The wifi hotspot on systems with Mediatek MT7921 wifi chip doesn't work.

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 patch https://patchwork.kernel.org/project/linux-wireless/patch/21366e8bc70573794b5f12372f2e55e9059d8457.1654691030.git.deren.wu@mediatek.com/ which is already accepted by upstream to fix bug in AP mode. Enable AP mode on specific kernel versions.

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.

Deren Wu (1):
  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    |  6 ++
 6 files changed, 182 insertions(+), 6 deletions(-)


More information about the kernel-team mailing list