mbox series

[0/7] wifi: rtw89: add BTC format version to support newer firmware and features

Message ID 20221217141745.43291-1-pkshih@realtek.com
Headers show
Series wifi: rtw89: add BTC format version to support newer firmware and features | expand

Message

Ping-Ke Shih Dec. 17, 2022, 2:17 p.m. UTC
With more chips support, BT coexistence needs to handle newer firmware and
features. In vendor driver, versions of BT coexistence, firmware and
features are all fixed, which means it doesn't consider that a BT
coexistence can work well with _all_ firmware; instead, rtw89 must be.

The method we propose in this patchset is to add a btc_ver, namely
'struct rtw89_btc_ver', to define BTC formation version for specific
chip and firmware version. Also, this can be extended to define which
BTC features firmware can support.

Therefore, we define btc_ver in first patch, and then remove old design
version number from chip_info by second patch. Later patches are to adjust
the code to close our desire step by step.

To review easier, we keep patches smaller and backward compatible, so the
number of total patches is about 20+, and this patchset only contains
partial patches.

Ching-Te Ku (5):
  wifi: rtw89: coex: Enable Bluetooth report when show debug info
  wifi: rtw89: coex: Update BTC firmware report bitmap definition
  wifi: rtw89: coex: Add v2 BT AFH report and related variable
  wifi: rtw89: coex: refactor _chk_btc_report() to extend more features
  wifi: rtw89: coex: Change TDMA related logic to version separate

Ping-Ke Shih (2):
  wifi: rtw89: coex: add BTC format version derived from firmware
    version
  wifi: rtw89: coex: use new introduction BTC version format

 drivers/net/wireless/realtek/rtw89/coex.c     | 792 +++++++++++-------
 drivers/net/wireless/realtek/rtw89/coex.h     |   1 +
 drivers/net/wireless/realtek/rtw89/core.h     | 106 ++-
 drivers/net/wireless/realtek/rtw89/fw.c       |   2 +
 drivers/net/wireless/realtek/rtw89/rtw8852a.c |  14 -
 drivers/net/wireless/realtek/rtw89/rtw8852b.c |  15 +-
 drivers/net/wireless/realtek/rtw89/rtw8852c.c |  14 -
 7 files changed, 581 insertions(+), 363 deletions(-)