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

12 Commits

Author SHA1 Message Date
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
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
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
Nick Bartos
ea61cdf0fa Add module parameter for status LED. (#136) 2016-06-26 19:50:17 -07:00
AndyPi
f951824a75 Various 2015-06-12 11:52:20 +01:00
Andreas Hofmann
3b10010709 os_dep/linux/os_intfs.c: Do not set iftype to monitor when closing dev
Signed-off-by: Andreas Hofmann <andreas.hofmann@corscience.de>
2014-12-04 10:40:54 +01:00
Harshavardhana
6dff839cb3 Fix compilation issue for undeclared function during debug mode
`proc_set_btcoex_dbg` is only defined if CONFIG_BT_COEXIST, so move
accordingly.
2014-03-28 22:37:12 -07:00
Anand Babu (AB) Periasamy
f1008f6d87 disable debugging by default 2013-09-04 19:58:27 -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