mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
wifi: rtw89: coex: Add parser for Bluetooth channel map report version 7
In order to rearrange the structure member, the format update to version 7. And to parse the report correctly, add the related logic. Signed-off-by: Ching-Te Ku <ku920601@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20250308025832.10400-4-pkshih@realtek.com
This commit is contained in:
parent
a36230aa5f
commit
6db476db57
|
|
@ -1540,6 +1540,9 @@ static u32 _chk_btc_report(struct rtw89_dev *rtwdev,
|
|||
} else if (ver->fcxbtafh == 2) {
|
||||
pfinfo = &pfwinfo->rpt_fbtc_btafh.finfo.v2;
|
||||
pcinfo->req_len = sizeof(pfwinfo->rpt_fbtc_btafh.finfo.v2);
|
||||
} else if (ver->fcxbtafh == 7) {
|
||||
pfinfo = &pfwinfo->rpt_fbtc_btafh.finfo.v7;
|
||||
pcinfo->req_len = sizeof(pfwinfo->rpt_fbtc_btafh.finfo.v7);
|
||||
} else {
|
||||
goto err;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3044,6 +3044,7 @@ struct rtw89_btc_rpt_cmn_info {
|
|||
union rtw89_btc_fbtc_btafh_info {
|
||||
struct rtw89_btc_fbtc_btafh v1;
|
||||
struct rtw89_btc_fbtc_btafh_v2 v2;
|
||||
struct rtw89_btc_fbtc_btafh_v7 v7;
|
||||
};
|
||||
|
||||
struct rtw89_btc_report_ctrl_state {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user