wifi: rtw89: sar: tweak 6GHz SAR subbands span

Given that the 6GHz subband edges are not aligned, specific frequencies
can span two adjacent subbands. We considered the need for this
functionality outside of SAR and moved it to a common function.

No logic change for existing chips.

Signed-off-by: Kuan-Chung Chen <damon.chen@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20241111065132.19587-2-pkshih@realtek.com
This commit is contained in:
Kuan-Chung Chen 2024-11-11 14:51:30 +08:00 • committed by Ping-Ke Shih
commit abb541d1e5
3 changed files with 62 additions and 51 deletions