morrownr / 88x2bu

Linux Driver for USB WiFi Adapters that are based on the RTL8812BU and RTL8822BU Chipsets
435 stars 74 forks source link

add sdio interface support #61

Closed ChalesYu closed 2 years ago

ChalesYu commented 3 years ago

as issue #60 descripted. Default output is only support rtl8822bu. To enable support for rtl8822bs, use command make CONFIG_USB_HCI=n CONFIG_SDIO_HCI=y to build 88x2bs.ko. then output will only support rtl8822bs.

EDIT: all file in commit https://github.com/morrownr/88x2bu/pull/61/commits/52d888926c44289343a8c740ee12b6b74f3a46e2 is copy from https://github.com/coreelec/rtl8822cs-aml

EDIT: you can revert https://github.com/morrownr/88x2bu/pull/61/commits/6455d529637ce1c7d066432cf7c25fb8fd705cc1 to avoid compile error, but I guess to make driver load common rtw88 firmware from /lib/firmware/rtw88/rtw8822b_fw.bin is a better choice.

ChalesYu commented 3 years ago

ok, I fixed my compile issue, and let it load rtw88 generic firmware. For now, only tested ok on 8822B sdio interface. I don't have rtl8822bu adapter, so I don't know if this breaking other things. Anyway , I think it's ok, and ready for merge.

birdofprey commented 2 years ago

very nice!!!!

ChalesYu commented 2 years ago

The mainline kernel rtw88 driver will support this , So almost no reason continue use this vendor driver. This PR will only for reference, Close it.

https://github.com/jernejsk/linux-1/tree/rtw88-sdio https://patchwork.kernel.org/project/linux-wireless/cover/20210717204057.67495-1-martin.blumenstingl@googlemail.com/