mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-11 02:29:47 -04:00
wifi: rtw88: mac: Add SDIO HCI support in the TX/page table setup
txdma_queue_mapping() and priority_queue_cfg() can use the first entry of each chip's rqpn_table and page_table. Add this mapping so data transmission is possible on SDIO based chipsets. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Reviewed-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230218152944.48842-3-martin.blumenstingl@googlemail.com
This commit is contained in:
committed by
Kalle Valo
parent
96c79da2e4
commit
8599ea4058
@@ -1043,6 +1043,9 @@ static int txdma_queue_mapping(struct rtw_dev *rtwdev)
|
||||
else
|
||||
return -EINVAL;
|
||||
break;
|
||||
case RTW_HCI_TYPE_SDIO:
|
||||
rqpn = &chip->rqpn_table[0];
|
||||
break;
|
||||
default:
|
||||
return -EINVAL;
|
||||
}
|
||||
@@ -1205,6 +1208,9 @@ static int priority_queue_cfg(struct rtw_dev *rtwdev)
|
||||
else
|
||||
return -EINVAL;
|
||||
break;
|
||||
case RTW_HCI_TYPE_SDIO:
|
||||
pg_tbl = &chip->page_table[0];
|
||||
break;
|
||||
default:
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user