Message ID | 20240412115729.8316-2-pkshih@realtek.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Ping-Ke Shih |
Headers | show |
Series | wifi: rtw89: configure 5.9 and 6 GHz channels and power type by BIOS settings | expand |
Ping-Ke Shih <pkshih@realtek.com> wrote: > From: Zong-Zhe Yang <kevin_yang@realtek.com> > > TX power in MAC domain is signed 7 bits. (unit: based on txpwr_factor_mac) > The valid range should be [-64, 63]. > > While the original wrong bounds might not really be encountered, still make > them correct. > > Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com> > Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> 8 patch(es) applied to rtw-next branch of rtw.git, thanks. df0fa9d0d23a wifi: rtw89: sar: correct TX power boundary for MAC domain bb38626f3f97 wifi: rtw89: fw: scan offload prohibit all 6 GHz channel if no 6 GHz sband a08f9f21668b wifi: rtw89: 8852c: update TX power tables to R69.1 (1 of 2) 969efe4ef837 wifi: rtw89: 8852c: update TX power tables to R69.1 (2 of 2) 01e67a62fd30 wifi: rtw89: regd: block 6 GHz by policy if not specific country d3c846367e31 wifi: rtw89: regd: extend policy of UNII-4 for IC regulatory d03aeddf34ca wifi: rtw89: acpi: process 6 GHz SP policy from ACPI DSM 5a84cc876350 wifi: rtw89: regd: handle policy of 6 GHz SP according to BIOS --- https://github.com/pkshih/rtw.git
diff --git a/drivers/net/wireless/realtek/rtw89/sar.h b/drivers/net/wireless/realtek/rtw89/sar.h index bd7a657188d9..4ae081d2d3b4 100644 --- a/drivers/net/wireless/realtek/rtw89/sar.h +++ b/drivers/net/wireless/realtek/rtw89/sar.h @@ -7,8 +7,8 @@ #include "core.h" -#define RTW89_SAR_TXPWR_MAC_MAX S8_MAX -#define RTW89_SAR_TXPWR_MAC_MIN S8_MIN +#define RTW89_SAR_TXPWR_MAC_MAX 63 +#define RTW89_SAR_TXPWR_MAC_MIN -64 struct rtw89_sar_handler { const char *descr_sar_source;