1
0
mirror of https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git synced 2025-04-29 15:19:40 +02:00

194 Commits

Author SHA1 Message Date
cybersn-tdeyarmin
48a530c2b1
Update README.md (#315)
Adding those lines to /boot/config.txt will stop the raspberry pi 3 from booting.
2020-07-16 17:53:51 -07:00
Coleman
be57045a09
Fix using sprintf for extending string, which causes undefined behavior. (#334) 2020-07-16 17:53:00 -07:00
Brandon Pfeifer
fa68771376 Refactor case-statement to if-statement to avoid implicit fallback. (#310) 2019-10-01 23:02:27 -07:00
Paul DeCarlo
4235b0ec7d Add support for Archer T2U Nano (#307) 2019-08-25 12:49:56 -07:00
rafaelpierri
981899f422 Sets default compilation system to PC and fixes method signature for Kernel 5.2+ (#303) 2019-07-23 17:25:35 -07:00
jAlex
d277c3681e Add support for NVidia Jetson Nano (#300)
* Added support for NVidia Jeston Nano

* Added support for NVidia Jetson Nano
2019-07-16 09:35:41 -07:00
alberto1a
99fbe64d62 Update usb_intf.c (#297)
Modify  from         {USB_DEVICE(0x2001, 0x3318),.driver_info = RTL8821}, /* D-Link - Cameo */
To                        {USB_DEVICE(0x2001, 0x3318),.driver_info = RTL8821}, /* D-Link - dwa172 */
2019-06-18 13:10:41 -07:00
IeM
07377dc54b Update README.md (#296)
Kernel modules are required for compiling.
Tested on Debian and it works fine.
2019-06-01 07:36:00 -07:00
MJaoune
93ded0fa59 Fix get_ds() version mismatch on kernel v5.1.x (Replace get_ds() with KERNEL_DS) (#295) 2019-05-15 09:37:22 -07:00
thejavascriptman
9f09c7627b add device id (#289) 2019-03-27 12:27:47 -07:00
Nicholas George
33d8e02cd1 Allow building on 5.0 (#288)
* Removed TYPE parameter in access_ok

Kernel 5.0 removed the TYPE parameter for access_ok, therefore the make will fail. This just literally removes 13 characters from Line 603.

* Allow older kernel versions with 5.0
2019-03-21 01:38:50 -07:00
Julian Oes
754aa52e97 README: add RPi kernel headers (#286)
This was required for me with latest Raspbian stretch.
2019-03-11 06:51:48 -07:00
Ben Greear
ba6fa69560 Openwrt and new compiler related fixes (#285)
* rtw-ap: Fix compiler warning.

Signed-off-by: Ben Greear <greearb@candelatech.com>

* makefile:  Add entry for compiling against openwrt tree.

Users would need to edit it to match their path, but
this should get them started.

Signed-off-by: Ben Greear <greearb@candelatech.com>

* makefile:  Allow defining KSRC outside of build.

So, you can do this:

KSRC=/tmp/my/kernel make

And not have to edit the makefile to have this function as desired.

Signed-off-by: Ben Greear <greearb@candelatech.com>

* Fix stack-too-large warning on x86-64 compile

Signed-off-by: Ben Greear <greearb@candelatech.com>

* compile:  Allow cross-compiling on cmd-line w/out editing Makefile

For instance:

KSRC=/home/greearb/git/openwrt-neo2-dev/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/linux-4.14.78 \
 EXT_EXTRA_CFLAGS=-DCONFIG_LITTLE_ENDIAN ARCH=arm64 CROSS_COMPILE=aarch64-openwrt-linux- MODDESTDIR=/tmp make V=1

Signed-off-by: Ben Greear <greearb@candelatech.com>

* build:  Attempt to auto-detect endian-ness.

Will make building in openwrt much easier.

Signed-off-by: Ben Greear <greearb@candelatech.com>

* Fix build against openwrt backports tree.

Like breaks builds elsewhere, can fix it up later.

Signed-off-by: Ben Greear <greearb@candelatech.com>

* Register wiphy after we probe MAC addr.

This way the phy object has a valid MAC-addr, which can be helpful
for identification.

Signed-off-by: Ben Greear <greearb@candelatech.com>

* Make sure MAC is set in wiphy_preinit

This is needed to make sure the phy registers with a proper MAC
address instead of all 00

Signed-off-by: Ben Greear <greearb@candelatech.com>

* Fix build on 4.19 kernel.

Signed-off-by: Ben Greear <greearb@candelatech.com>

* Fix compile against 4.20 kernel.

Remove some variable-length arrays (which could be security bugs,
ways to overflow the stack it seems), and remove use of
get_monotonic_boottime.

Signed-off-by: Ben Greear <greearb@candelatech.com>

* Support arm64
2019-03-08 09:22:32 -08:00
masa23
fb91faf610 fix ISO C90 forbids mixed declarations and code (#279) 2019-01-14 18:37:00 +05:30
Saikrishna Arcot
076ac48d94 Add explicit memset call to avoid potentially corrupt data. (#277)
In kernel 4.19, I saw a kernel crash where kfree was trying to free
some garbage pointer. This occurred because this structure wasn't
explicitly initialized to 0.
2019-01-10 22:07:07 +05:30
Alexander Traud
1f235cdea6 Add USB Device Obihai OBiWiFi with 3823:6249 (#276)
USB driver gets attached and Wi-Fi adapter is usable. However, I did not test this driver but used version 5.3.4 for RTL8811AU, see <github.com/astsam/rtl8812au/issues/51#issuecomment-415834718< and <github.com/aircrack-ng/rtl8812au/pull/255>.
2019-01-09 05:15:46 +05:30
Remax
4d1726146f Add USB Device T4U AC1300 with 2357:0115 (#274) 2018-12-26 18:14:00 -08:00
sleicasper
b664e12191 add Tenda U12 support (#255) 2018-08-26 17:19:43 -07:00
Timothy Pearson
fde0b7e42d Fix build on POWER systems (#260)
Tested on a POWER9 Talos II machine
2018-08-26 17:19:26 -07:00
Chen Minqiang
72594b5560
Merge pull request #248 from plumdog/reinstate_del_station
Revert "Fixing Build error from unused variable warnings (#240)"
2018-05-15 01:11:38 +08:00
Chen Minqiang
a06ddcd867
Merge pull request #251 from codarrenvelvindron/master
Added TP-LINK AC-1200- rtl8812AU based chipset to known supported
2018-05-15 01:04:36 +08:00
codarrenvelvindron
b854688bde Add installation instructions for Ubuntu 16.04 2018-04-10 12:44:12 +04:00
codarrenvelvindron
ba5eb03263 Added TP-LINK AC-1200- rtl8812AU based chipset to known supported 2018-04-10 12:31:20 +04:00
Andrew Plummer
f182a70088 Revert "Fixing Build error from unused variable warnings (#240)"
This reverts commit 3059b62c983d062d16fe1e43b576e27eafe2f98c.

Reinstate del_station to satisfy kernel validation.
2018-02-27 10:38:45 +00:00
xyzz
bed205c14a Fix timers (#244)
This commit adds support for kernel 4.15, which changed the timer
interface.

Additionally this reverts commit ee9ad6c3483c77be5600075fcf43a41129ffe71f
2018-02-12 18:33:26 -08:00
Alejandro Rodríguez
ee9ad6c348 Adapt to kernel 4.15 timers interface changes (#242)
Credits to
https://github.com/mkubecek/vmware-host-modules/commit/562121d7bc06 for
helping me understand the changes.
2018-02-08 08:24:55 -08:00
Adrian Puente Z
3059b62c98 Fixing Build error from unused variable warnings (#240)
This commit fixes the issue #235. A variable and a function were deleted.

Tested on:

Distributor ID: Debian
Description: Debian GNU/Linux 8.10 (jessie)
Release: 8.10
Codename: Jessie
Kernel: 3.19.0 x86_64 (custom)
2018-01-31 21:32:39 -08:00
Piotr
c88620cffd add missing net/ip6_checksum.h include (#239)
this fixes build on arm64
2018-01-22 14:16:44 -08:00
Chen Minqiang
0292aa694d Merge pull request #227 from h221baker/h221baker/T4UHP-other-usb-pid
Add the other TP-Link T4UHP USB PID to the list
2017-07-31 13:08:42 +08:00
James Zhao
e9056247fd Add the other TP-Link T4UHP USB PID to the list
Some TP-Link Archer T4UHP are shipped with USB PID value
of 0x0122 instead of the normal 0x010F.
2017-07-29 18:32:01 -07:00
Chen Minqiang
ed2b8009bd disable CONFIG_CONCURRENT_MODE by default 2017-07-28 11:02:32 +08:00
Chen Minqiang
264b64cc43 fix kernel version compat with <4.12.0 2017-07-22 10:16:29 +08:00
Chen Minqiang
2c6399ff11 Fix build regression && fix build compat bugs (#217)
1. Fix build regression os_dep/linux/ioctl_cfg80211.c:3654:12: error: ‘struct net_device’ has no member named ‘destructor’; did you mean ‘priv_destructor’?
  mon_ndev->destructor = rtw_ndev_destructor;
2. Fix build compat with kernel >= 4.12.0
3. Fix various errors in ioctl_cfg80211.c
2017-07-09 14:19:52 -07:00
Chen Minqiang
cc07a9cfd5 Merge pull request #213 from ma8ma/add-wi-u2-433dhp
Add BUFFALO WI-U2-433DHP
2017-06-17 01:58:28 +08:00
Masayuki Yamamoto
0656dd296e Add BUFFALO WI-U2-433DHP 2017-06-16 04:23:16 +09:00
choryuidentify
6f526d3393 Rename Comcast to Comfast and Add Comfast CF-916AC (#212) 2017-06-12 17:46:33 -07:00
Daniel Keogh
b1209dda5c Add Archer T4UH (#209) 2017-06-01 08:16:09 -07:00
hschletz
833abffbcf Fix compilation failure when -Werror=switch-unreachable #207 (#208) 2017-05-31 20:34:51 -07:00
Chen Minqiang
7efd8fb607 Merge pull request #193 from TheBiggerGuy/master
Make it easier to enable debug logging
2017-05-13 14:41:40 +08:00
Chen Minqiang
32555d025c fix bad merge in (#205) :compile error 2017-05-13 14:25:50 +08:00
Chen Minqiang
6ffebc434b Merge pull request #204 from c-andy-martin/fix-unhandled-page-fault-4.3.14
rtw_mlme_ext: fix unhandled page fault
2017-05-13 14:19:01 +08:00
Rujak Ironhammer
eb26d334d7 Fix import on linux kernel >= 4.11.0 (#205)
The sched library now has a new location on linux kernel >= 4.11.0. This commit allows builds to occur on both pre and post 4.11.0 linux kernels.
2017-05-12 10:20:01 -07:00
C.\ Andy\ Martin
9c708bfa2d rtw_mlme_ext: fix unhandled page fault
A subtraction of two unsigned numbers was compared to zero for a loop
terminating condition. If the numbers are not equal, the loop will continue
until the pointers go beyond the mapped memory region and cause an unhandled
page fault.
2017-05-05 21:03:21 -04:00
Chen Minqiang
b018b446fb Merge pull request #191 from stigtsp/master
Added support for TP-Link T4UHP
2017-02-11 21:04:43 +08:00
Chen Minqiang
166f6d867e use UPPER case 2017-02-11 21:04:01 +08:00
Guy Taylor
276dcb9626 Make it easier to enable debug logging
Add CONFIG_DEBUG, CONFIG_DEBUG_CFG80211 and CONFIG_DEBUG_RTL871X options
to the Makefile.
2017-01-27 11:36:18 +13:00
Stig Palmquist
470102e35a Added support for TP-Link T4UHP 2017-01-25 20:53:15 +08:00
sarlacii
fcc356bdad Update usb_intf.c (#189)
Greetings, I'd like to contribute changes to enable support for the new TP-Link T4U USB 3 WiFi router stick. I bought one from a local supplier in South Africa (TP LINK T4U AC1300 WLSS D-BND USB ADAPT).

To get it to work I had to modify the usb_intf.c file, around line 300 to add {USB_DEVICE(0x2357,0x010d),driver_info=RTL8812} under the similar line for product ID 0101.
2017-01-22 13:04:05 -08:00
Chen Minqiang
c1b3660abf remove blank tab 2017-01-11 02:26:20 +08:00
Chen Minqiang
d0af052241 Merge pull request #184 from testos77/master
Add support for wifi dongle Comfast CF-915AC
2017-01-11 02:18:41 +08:00