Search Linux Wireless

Regression wireless-next: mt7921: update the channel usage when the regd domain changed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I noticed mt7922 radios would no longer enable 6e band in wireless-next.

My test system has Intel radios and mt7922 radios in it.  I bisected to the commit
below.  It looks like that patch can disable 6e based on regdom change, but cannot
enable 6e again in case regdom changes back to something that supports 6e.

Intel tri-band radios disable 6e by default, then enable it after scanning
US regdom beacons.  Maybe that regdom changing by Intel helps break the mt7922
with the below patch applied?

commit 09382d8f8641bc12fffc41a93eb9b37be0e653c0
Author: Ming Yen Hsieh <mingyen.hsieh@xxxxxxxxxxxx>
Date:   Sat Sep 30 10:25:09 2023 +0800

    wifi: mt76: mt7921: update the channel usage when the regd domain changed

    The 5.9/6GHz channel license of a certain platform device has been
    regulated in various countries. That may be difference with standard
    Liunx regulatory domain settings. In this case, when .reg_notifier()
    called for regulatory change, mt792x chipset should update the channel
    usage based on clc or dts configurations.

    Channel would be disabled by following cases.
    * clc report the particular UNII-x is disabled.
    * dts enabled and the channel is not configured.

    Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@xxxxxxxxxxxx>
    Co-developed-by: Deren Wu <deren.wu@xxxxxxxxxxxx>
    Signed-off-by: Deren Wu <deren.wu@xxxxxxxxxxxx>
    Signed-off-by: Felix Fietkau <nbd@xxxxxxxx>

Thanks,
Ben

--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux