wifi: rtw89: regd: block 6 GHz by policy if not specific country
authorZong-Zhe Yang <kevin_yang@realtek.com>
Fri, 12 Apr 2024 11:57:26 +0000 (19:57 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Thu, 18 Apr 2024 01:09:56 +0000 (09:09 +0800)
commit01e67a62fd3070d49e0110888df515827c99a6fd
tree6c77889666790b0ffa7fac8064a27a79199621ac
parent969efe4ef8376d850410ca4370e73d49cfa4fb15
wifi: rtw89: regd: block 6 GHz by policy if not specific country

We allow 6 GHz on target regd if and only if
  1. it is a specific country, i.e. not any world-wide cases
  2. its 6 GHz is not blocked

So, for world-wide cases, their 6 GHz will be blocked now.

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