rtw89: regd: consider 6G band
authorZong-Zhe Yang <kevin_yang@realtek.com>
Fri, 18 Mar 2022 02:32:06 +0000 (10:32 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 6 Apr 2022 07:48:15 +0000 (10:48 +0300)
commit034307088cb2bdf9b2f79cdc3ddc2be22c89bbfd
tree91b0efdabde1f566bb5f243711436ecd0c2df39a
parentc504bf23290c980588a19f228ffe6b37097dc460
rtw89: regd: consider 6G band

Wrap regd debug dump into a macro and add dump for 6G band field.
Extend the macro used to configure regd table to account for multiple
bands beyond 2G and 5G.

And the follow-up commit will configure the corresponding values for
6G band into regd table.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220318023214.32411-4-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/regd.c