BA CAM is a global hardware resource, but we incorrectly see it as a per-station resource. In station mode, it works well, but it will be wrong if AP mode or multiple vif(s) in the future. Therefore, move bitmap of BA_CAM to struct rtw89_dev::rtw89_cam_info. Pine-Ke Shih (3): wifi: rtw89: 8852c: declare correct BA CAM number wifi: rtw89: 8852c: initialize and correct BA CAM content wifi: rtw89: correct BA CAM allocation drivers/net/wireless/realtek/rtw89/core.c | 60 ++++++++++++----- drivers/net/wireless/realtek/rtw89/core.h | 19 ++++-- drivers/net/wireless/realtek/rtw89/debug.c | 27 ++++++++ drivers/net/wireless/realtek/rtw89/fw.c | 66 ++++++++++++++++++- drivers/net/wireless/realtek/rtw89/fw.h | 9 +++ drivers/net/wireless/realtek/rtw89/rtw8852a.c | 3 + drivers/net/wireless/realtek/rtw89/rtw8852c.c | 3 + drivers/net/wireless/realtek/rtw89/ser.c | 8 ++- 8 files changed, 166 insertions(+), 29 deletions(-) -- 2.25.1