APPLIED Re: [SRU][OEM-5.17][PATCH 0/4] Mediatek WLAN RZ616(MT7922) SAR table control

Timo Aaltonen tjaalton at ubuntu.com
Tue Nov 29 14:55:20 UTC 2022


Aaron Ma kirjoitti 21.11.2022 klo 7.54:
> BugLink: https://bugs.launchpad.net/bugs/1997200
> 
> [Impact]
> In order to make sure the amount of RF energy being absorbed by our
> bodies is safe according to the FCC’s guidelines, products must undergo
> and pass SAR testing.
> 
> [Fix]
> Add ACPI SAR table control to pass the testing.
> 
> [Test]
> the unit is 0.5dBm in following:
> 
> Without the SAR table control:
> $ sudo cat /sys/kernel/debug/ieee80211/phy0/mt76/txpower_sku | grep -i
> user
> CCK (user) : N.A N.A N.A N.A
> OFDM (user) : 40 40 40 40 40 40 40 40
> HT20 (user) : 40 40 40 40 40 40 40 40
> HT40 (user) : 40 40 40 40 40 40 40 40 40
> VHT20 (user) : 40 40 40 40 40 40 40 40 40 40 0 0
> VHT40 (user) : 40 40 40 40 40 40 40 40 40 40 0 0
> VHT80 (user) : 40 40 40 40 40 40 40 40 40 40 0 0
> VHT160 (user) : 40 40 40 40 40 40 40 40 40 40 0 0
> HE26 (user) : 40 40 40 40 40 40 40 40 40 40 40 40
> HE52 (user) : 40 40 40 40 40 40 40 40 40 40 40 40
> HE106 (user) : 40 40 40 40 40 40 40 40 40 40 40 40
> HE242 (user) : 40 40 40 40 40 40 40 40 40 40 40 40
> HE484 (user) : 40 40 40 40 40 40 40 40 40 40 40 40
> HE996 (user) : 40 40 40 40 40 40 40 40 40 40 40 40
> HE996x2 (user) : 40 40 40 40 40 40 40 40 40 40 40 40
> 
> After enabled SAR table control:
> $ sudo cat /sys/kernel/debug/ieee80211/phy0/mt76/txpower_sku | grep -i
> user
> CCK (user) : N.A N.A N.A N.A
> OFDM (user) : 26 26 26 26 26 26 26 26
> HT20 (user) : 26 26 26 26 26 26 26 26
> HT40 (user) : 26 26 26 26 26 26 26 26 26
> VHT20 (user) : 26 26 26 26 26 26 26 26 26 26 0 0
> VHT40 (user) : 26 26 26 26 26 26 26 26 26 26 0 0
> VHT80 (user) : 26 26 26 26 26 26 26 26 26 26 0 0
> VHT160 (user) : 26 26 26 26 26 26 26 26 26 26 0 0
> HE26 (user) : 26 26 26 26 26 26 26 26 26 26 26 26
> HE52 (user) : 26 26 26 26 26 26 26 26 26 26 26 26
> HE106 (user) : 26 26 26 26 26 26 26 26 26 26 26 26
> HE242 (user) : 26 26 26 26 26 26 26 26 26 26 26 26
> HE484 (user) : 26 26 26 26 26 26 26 26 26 26 26 26
> HE996 (user) : 26 26 26 26 26 26 26 26 26 26 26 26
> HE996x2 (user) : 26 26 26 26 26 26 26 26 26 26 26 26
> 
> Also done stress test with iperf, all works fine.
> 
> [Where problems could occur]
> It may break mt7922 driver.
> 
> These commits are already in oem-6.0 and unstable.
> 
> Dan Carpenter (1):
>    wifi: mt76: mt7921: fix use after free in mt7921_acpi_read()
> 
> Deren Wu (3):
>    mt76: add 6 GHz band support in mt76_sar_freq_ranges
>    mt76: mt7921: introduce ACPI SAR support
>    mt76: mt7921: introduce ACPI SAR config in tx power
> 
>   drivers/net/wireless/mediatek/mt76/mac80211.c |   6 +
>   .../wireless/mediatek/mt76/mt7921/Makefile    |   1 +
>   .../wireless/mediatek/mt76/mt7921/acpi_sar.c  | 282 ++++++++++++++++++
>   .../wireless/mediatek/mt76/mt7921/acpi_sar.h  |  93 ++++++
>   .../net/wireless/mediatek/mt76/mt7921/init.c  |   5 +-
>   .../net/wireless/mediatek/mt76/mt7921/main.c  |  31 +-
>   .../wireless/mediatek/mt76/mt7921/mt7921.h    |  22 ++
>   7 files changed, 429 insertions(+), 11 deletions(-)
>   create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/acpi_sar.c
>   create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/acpi_sar.h
> 

applied to oem-5.17, thanks

-- 
t




More information about the kernel-team mailing list