Message ID | 20220621084549.666846-1-chris.chiu@canonical.com |
---|---|
Headers | show |
Series | Enable WiFi hotspot feature for MediaTek MT7921 | expand |
Have a v2 version with an additional patch suggested by Mediatek. On Tue, Jun 21, 2022 at 4:45 PM Chris Chiu <chris.chiu@canonical.com> wrote: > > 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 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. > > [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. > > 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 | 79 ++++++++++++++++++- > .../wireless/mediatek/mt76/mt7921/mt7921.h | 4 + > 6 files changed, 179 insertions(+), 2 deletions(-) > > -- > 2.25.1 >