]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: rtw89: regd/acpi: support country CA by BIT(1) in 6 GHz SP conf
authorZong-Zhe Yang <kevin_yang@realtek.com>
Wed, 9 Jul 2025 06:50:03 +0000 (14:50 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 15 Jul 2025 01:11:37 +0000 (09:11 +0800)
commit75bb7774a16b1e835f67baff6f5174ca17491db6
treef3450d84a4dcc3bfd3cd3c94bf52a8e39a160d24
parent4b295f4fdc80e9b13bd2ca05f4c9434fa0857cab
wifi: rtw89: regd/acpi: support country CA by BIT(1) in 6 GHz SP conf

ACPI DSM function 7 is used to decide whether 6 GHz Standard Power
(SP) is allowed on given countries. Now, add BIT(1) for country CA.
Besides, for searching country index, replace for-loop with index
getter function.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250709065006.32028-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/acpi.h
drivers/net/wireless/realtek/rtw89/regd.c