]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: regd: handle supported regulatory functions by country
authorZong-Zhe Yang <kevin_yang@realtek.com>
Mon, 20 Jan 2025 03:27:22 +0000 (11:27 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 3 Feb 2025 02:06:39 +0000 (10:06 +0800)
commit79a36fc56beaeac31cb9b0ca10618b88f4ac31c8
treeba7ade4c4e7fbac1503852634970ac3fe3939886
parente7196b32a43de0e230b29b5682ea7af83568b903
wifi: rtw89: regd: handle supported regulatory functions by country

There are two regulatory functions including TAS (Time Average SAR) and
DAG (Dynamic Antenna Gain) for now. They are used to improve RF behavior.
But, availability depends on country. Extend regd map to record the status
of whether a country allows to enable certain regulatory functions.

Also, extend the handling of loading regd map via FW element for this.

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