mbox series

[v2,0/3,SRU,OEM-5.17] Enable WiFi hotspot feature for MediaTek MT7921

Message ID 20220623090348.2164480-1-chris.chiu@canonical.com
Headers show
Series Enable WiFi hotspot feature for MediaTek MT7921 | expand

Message

Chris Chiu June 23, 2022, 9:03 a.m. UTC
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")

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   | 86 +++++++++++++++++--
 .../wireless/mediatek/mt76/mt7921/mt7921.h    |  6 ++
 6 files changed, 184 insertions(+), 6 deletions(-)

Comments

Timo Aaltonen June 28, 2022, 11:12 a.m. UTC | #1
On 23.6.2022 12.03, Chris Chiu 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 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")
> 
> 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   | 86 +++++++++++++++++--
>   .../wireless/mediatek/mt76/mt7921/mt7921.h    |  6 ++
>   6 files changed, 184 insertions(+), 6 deletions(-)
> 

Hi, since these are not upstream yet, they should be marked as SAUCE.
Chris Chiu June 30, 2022, 12:58 a.m. UTC | #2
On Tue, Jun 28, 2022 at 7:12 PM Timo Aaltonen <tjaalton@ubuntu.com> wrote:
>
> On 23.6.2022 12.03, Chris Chiu 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 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")
> >
> > 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   | 86 +++++++++++++++++--
> >   .../wireless/mediatek/mt76/mt7921/mt7921.h    |  6 ++
> >   6 files changed, 184 insertions(+), 6 deletions(-)
> >
>
> Hi, since these are not upstream yet, they should be marked as SAUCE.
>
>
> --
>
Thanks for pointing that out. Submitted a v3 for it.