this repo is mainly for rtl8822bs
support , but also include some modified vendor driver code for support other realtek chip , test with hardware is always need.
USB interface: rtl8822bu
, rtl8188eu
, rtl8723bu
.
SDIO interface: rtl8822bs
, rtl8189es
, rtl8723bs
.
rtl8822bu/rtl8822bs: driver version v5.13.1-20-gbd7c7eb9d.20210702
at this branch.
rtl8188eu/rtl8189es: driver version v5.13.3-17-gb1925f81a.20210615
at this branch , driver version v5.7.6.1_35670.20191106
at this branch.
rtl8723bu/rtl8723bs: driver version v5.8.4_33660.20190516_COEX20181129-7272
at this branch .
This repo also support some SCI(smartchip) wifi chip .
SCI S9082C: it's a variant of rtl8189es , simpile add sdio id 02e7:9082
should work.
SCI S9012P: a modified vendor driver from Coreelec , sdio id is 02e7:9086
, at branch smartchip_sci_s9012p
.
The rtw88
driver can found at lwfinger repo , it has usb/sdio interface support for rtl8822b/rtl8822c already , and need waiting for upstream merge.
a modified driver version v5.13.1-20-gbd7c7eb9d.20210702
is available at test branch,fork from 88x2bu-20210702.
a way to add support to vendor 88x2bu driver , useage :
make CONFIG_USB_HCI=n CONFIG_SDIO_HCI=y
modprobe cfg80211
insmod 88x2bs.ko rtw_drv_log_level=4
Pervious this issue happen because compiler will ignore firmware array in .c
files for some reason,
so of course firmware will load failed. But now this issue solved. On branch test-5.13.1-20-220617
, driver will load firmware from /lib/firmware/rtw88/rtw8822b_fw.bin
.
a way to corvent vendor driver source firmware to rtw8822b_fw.bin
can be found at dumpVendorFirmware/readme.txt.
Some user report this issue still happen. It looks like hardware issue, check:
Power quality for wifi hardware is not good. (e.g Need Vdd 3.3V but only get 2.7~2.9V , Similar problem happen on some board with XR819 wifi)
Data transfer have mistake in sdio interface between wifi and host. (slow down mmc controller clk speed may help, or ask your platform vendor how to avoid data transfer error.)
Please also follow Hardware_Reference_design to check if your board missing something.
Change to another hardware platform or use another SBC to test again is also a better choice.
High CPU load (idle 99%)
Not fully support iw ioctl command (iw dev del)
firmware load failed (suggest try test branch)
NOTE: Other issue are not fully tested.
SDIO id:
024c:b822
install linux-header deb, set your platform in Makefile
git clone https://github.com/ChalesYu/rtl8822bs-aml.git
cd rtl8822bs-aml/
make -j2
sudo make install
sudo modprobe 8822bs
need AP mode ? see here
need bluetooth ? see here