lwfinger / rtl8723bu

Driver for RTL8723BU
284 stars 144 forks source link

Update driver to v4.3.9.3 #8

Closed bmx666 closed 8 years ago

bmx666 commented 8 years ago

I merge with the lastest driver from Realtek.

Check and fix compilation on Desktop Ubuntu 14.04.03 LTS x64 with Ubuntu kernels:

Check and fix compilation on Boundary Devices Android 4.4.3 and 5.0.0 with Boundary kernels:

Tested on Desktop Ubuntu 14.04.03 LTS x64 (kernel 4.2.3) and Boundary Devices Android 4.4.3

Issue: SoftAP not working with encryption WEP and WPA-PSK.

lwfinger commented 8 years ago

I will not merge fixes for Ubuntu kernels into my repo. The reason is that Ubuntu backports the API from new kernels into the older versions. Once you "fix" the source to build on Ubuntu, it breaks for the users of most other distros, including mine. If you want it to build on Ubuntu, either you track down the special Ubuntu symbol needed to allow building on all distros, or you are on your own.

Sorry to be so harsh, but I have wasted many hours with this incorrect practice by Ubuntu, and I have no interest in repeating that ever again!!

bmx666 commented 8 years ago

I will not merge fixes for Ubuntu kernels into my repo

Sorry for misunderstanding word fix. I just check compilation under different kernel versions and I don't add some special fixes for Ubuntu, I fix most of warnings calling incompotable pointer of functions ioctl80211 according kernel headers from Linux Cross Reference Free Electrons.

Also, I fix not correct #if LINUX_VERSION_CODE macro checking. For example, when macro check kernel version like this "<= 3.18.0". Its break compilation for kernel version 3.18.1, 3.18.2 and etc.

I can check compilation and test under other distros with different kernels and report.

bmx666 commented 8 years ago

Verify compilation without flag _-DRTW_USE_CFG80211_STAEVENT vanilla kernels:

Verify compilation vanilla kernels:

Verify compilation with Boundary kernels:

Verify compilation on OpenSUSE 13.2 x64 with kernels:

Verify compilation on Gentoo x64 with kernel:

bmx666 commented 8 years ago

Tested on OpenSUSE 13.2 x64 (kernel 4.1.0) and Gentoo x64 (kernel 4.0.5)

Issue: SoftAP not working with encryption WEP and WPA-PSK.