1
0
mirror of https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git synced 2025-10-19 09:01:10 +02:00
Commit Graph

71 Commits

Author SHA1 Message Date
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
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
Andrew Plummer
f182a70088 Revert "Fixing Build error from unused variable warnings (#240)"
This reverts commit 3059b62c98.

Reinstate del_station to satisfy kernel validation.
2018-02-27 10:38:45 +00: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
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
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
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
Chen Minqiang
166f6d867e use UPPER case 2017-02-11 21:04:01 +08: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
BS
66e74a0926 correction to capital letter in USB-ID 2017-01-04 11:31:53 +01:00
BS
d6758c3b59 Adding support wifi USB dongle from comfast
Comfast CF-915AC
http://en.comfast.com.cn/product/item-226.html
Bus 001 Device 010: ID 0bda:a811 Realtek Semiconductor Corp.
2017-01-03 16:14:32 +01:00
Nick Bartos
7e67577c79 Re-add module parameter for status LED.
This feature was lost when "merge new version v4.3.14" was applied.

Original PR: #136
Original commit: ea61cdf0fa
2016-11-13 13:48:20 -08:00
Chen Minqiang
8db81745a2 re-fix for TP-LINK T4UH 2016-11-04 22:51:25 +08:00
Chen Minqiang
de9c2b93c6 Removed device ID which was already defined as Default ID 2016-10-17 04:33:15 +08:00
Chen Minqiang
67fed93d8f try fix support for TP-Link - Archer T4U 2016-10-17 03:55:15 +08:00
Chen Minqiang
4cb3c93e50 try fix support for TP-Link - T4UH 2016-10-17 03:07:28 +08:00
Chen Minqiang
90a2ee0e58 may fix some compiling warnings 2016-10-12 23:19:32 +08:00
Chen Minqiang
00aedbde5c merge new version v4.3.14 from https://github.com/ptpt52/rtl8812au (#160) 2016-10-09 11:54:43 -07:00
Taehan Stott
ec491cf258 Added detection for TP-Link Archer T4U (#150)
* Added detection for TP-Link Archer T4U

* Added Ubuntu instructions for personal use.
2016-10-02 17:56:21 -07:00
Chen Minqiang
070e46b9cb the code is dirty, I am trying to do cleanup it. (#153)
* fix the frame size is larger than 1024 bytes

* fix unused-variable warnning

* fix unused-value warnning

* fix unused-label warnning

* fix unused-function warnning

* fix uninitialized: maybe bug

* disable CONFIG_DEBUG
2016-10-01 08:35:44 -07:00
Peter H. Li
3771dc2fea Fix -Wmisleading-indentation. (#149)
Most of these are just tab/space normalizations, but two appear to be
real bugs.
2016-09-13 15:47:44 -07:00
Fjodor42
e4566b49ae Second attampt at ensuring compilation for 4.8-rc (#148) 2016-09-13 03:29:25 -07:00
Harshavardhana
6bd11fc5bb Revert "Ensure compilation under 4.8-rc1 - fixes #142" (#147) 2016-09-10 19:36:46 -07:00
Fjodor42
09a1e212b6 Ensure compilation under 4.8-rc1 - fixes #142 (#143) 2016-09-09 09:36:54 -07:00
Nick Bartos
ea61cdf0fa Add module parameter for status LED. (#136) 2016-06-26 19:50:17 -07:00
Fjodor42
a87576f63f Fix compilation under Linux 4.7.0-rc (#135) 2016-06-24 20:21:28 -07:00
Harshavardhana
1f21bd013e Add support BUFFALO WI-U3-866D
Fixes #100
2015-12-19 19:55:34 -08:00
jjones-jr
ad1ec58b84 fixed alignment errors from last commit 2015-09-30 20:19:25 +09:00
jjones-jr
e1bc2b4c6d added Elecom WDC-433DU2HBK 2015-09-30 02:00:57 +09:00
Jos Dehaes
0aa1823aa7 adapt to api in linux 4.2 2015-09-25 23:11:57 +02:00
Chen Minqiang
fae1e8ccae fix compiling warning on kernel 4.1.0 2015-08-14 22:30:02 +08:00
Joe Acosta
5b2a0f8609 port some changes from another repo to this one to fix lags 2015-08-11 20:45:59 -07:00
Joe Acosta
727dcb11f3 remove warnings on 3.13 2015-07-24 11:51:48 -07:00
Joe
9c4e000fba remove warnings and add initialization for struct 2015-07-16 18:42:23 -07:00
Joe
a462d83e53 add OUTLINK vendor id 2015-07-13 14:38:36 -07:00
AndyPi
8c6e9c7e29 naive changes to osdep/linux/ioctl_cfg80211.c:4561 mgmt_tx parameter changes in 3.14 cribbed from file:/rtl8811AU_linux_v4.3.7_11618.20141029 2015-06-14 15:20:21 +01:00
AndyPi
aa7a4b27b1 const u8 *mac 2015-06-12 12:49:21 +01:00
AndyPi
f951824a75 Various 2015-06-12 11:52:20 +01:00
HackDefendr
927b08e0a3 Update for >= 4.0.0
Added IF statement on line 227 to allow module to build on both +4.0 and also backward compatible to 3.x kernels.

Tested on Kali Linux with customer kernel v4.0.4.
2015-05-21 15:44:51 -05:00
Harshavardhana
ab1ec54940 Remove STATION_INFO_ASSOC_REQ_IES usage 2015-05-19 11:50:43 -07:00