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
This commit is contained in:
Zong-Zhe Yang 2025-01-20 11:27:22 +08:00 • committed by Ping-Ke Shih
commit 79a36fc56b
4 changed files with 266 additions and 244 deletions