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

16 Commits

Author SHA1 Message Date
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
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
Piotr
c88620cffd add missing net/ip6_checksum.h include (#239)
this fixes build on arm64
2018-01-22 14:16:44 -08: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
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
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
Mauro Ribeiro
c16b48472d ipv6: include ipv6 checksum header
The modules calls csum_ipv6_magic that's defined on ip6_checksum.h

This is part of the in-tree fixes
2016-03-28 00:06:05 -03: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
AndyPi
ebdc61a8df Make 2 messages info 2015-06-10 14:11:45 +01:00
Harshavardhana
d5fd80bd70 Support Linux 4.0.0, change enum NL82011 flags to match upstream changes - fixes #41
Also remove garbage characters from all files.
2015-05-06 19:58:26 -07:00
Anand Babu (AB) Periasamy
4c37a90842 linux-3.10.x port 2013-09-04 14:44:30 -07:00
Anand Babu (AB) Periasamy
6b9092c4ad initial import of rtl8812AU_8821AU_linux_v4.2.2_7502.20130517 2013-09-04 13:48:15 -07:00