wifi: rtw89: support mac_id number according to chip

On 802.11be chips, to consider MLO, HW doesn't design number
of support mac_id as large as before. And, it might be various
according to chip. For example, old chips support mac_id up to
128, but RTL8922a only supports mac_id up to 32.

Besides, the mac_id acquiring function will be extended when
impending MLO support.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://msgid.link/20240509090646.35304-5-pkshih@realtek.com
This commit is contained in:
Zong-Zhe Yang 2024-05-09 17:06:46 +08:00 • committed by Ping-Ke Shih
commit 578bdd984f
8 changed files with 34 additions and 9 deletions