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

18 Commits

Author SHA1 Message Date
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
hschletz
833abffbcf Fix compilation failure when -Werror=switch-unreachable #207 (#208) 2017-05-31 20:34:51 -07: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: ea61cdf0fa85d5341a6bc1d3ae531c0190726827
2016-11-13 13:48:20 -08:00
Chen Minqiang
fd754136f1 remove unused code 2016-10-11 20:25:55 +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
Maximilian Schwerin
c962f7a88d Fix error: ‘rate_section’ may be used uninitialized in this function [-Werror=maybe-uninitialized] (#157) 2016-10-07 08:07:36 -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
Nick Bartos
ea61cdf0fa Add module parameter for status LED. (#136) 2016-06-26 19:50:17 -07:00
AndyPi
4bbf2d8982 change calibration runs back to 3 (to reduce time spent calibrating) , hard-coded array size as 10. Cause is probably gcc compiler bug 2015-06-15 18:13:00 +01:00
AndyPi
800fe88f2c Revert "change calibration runs back to 3 (to reduce time spent calibrating) , hard-coded array size as 10. Cause is probably gcc compiler bug"
This reverts commit b3b77917d7e4200a927bc09507e015f748fa616e.
2015-06-15 18:07:26 +01:00
AndyPi
b3b77917d7 change calibration runs back to 3 (to reduce time spent calibrating) , hard-coded array size as 10. Cause is probably gcc compiler bug 2015-06-15 17:56:23 +01:00
AndyPi
ff36d4da39 warning: array subscript is above array bounds. Cribbed from v4.3.7_11618.20141029 2015-06-13 17:06:47 +01:00
Harshavardhana
54ceed7413 Merge pull request #59 from rhadman/log-fix
Fix debug message if conditions. These were using if (BAND_ON_5G) typ…
2015-06-01 17:40:20 -07:00
Andrew Mann
d06b500c23 Fix debug message if conditions. These were using if (BAND_ON_5G) type logic, but these values are values from an enum and need to be compared to something for proper testing. 2015-06-01 20:21:17 +00:00
Andrew Mann
acdb5afc33 Fix for Oops encountered using Edimax AC600 adapter. Logically this can occur on any system with any 5G interface using this driver.
Oops encountered on Ubuntu 14.04 LTS with Raspberry Pi 2
Example kernel log of Oops:
Jan  1 00:00:10 rpi2 kernel: [    7.069349] Unable to handle kernel paging request at virtual address 31fab237
Jan  1 00:00:10 rpi2 kernel: [    7.078173] pgd = b2b2c000
Jan  1 00:00:10 rpi2 kernel: [    7.087284] [31fab237] *pgd=00000000
Jan  1 00:00:10 rpi2 kernel: [    7.096431] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
Jan  1 00:00:10 rpi2 kernel: [    7.105658] Modules linked in: cfg80211 rfkill 8812au(O) 8192cu cp210x usbserial snd_soc_bcm2708_i2s regmap_mmio snd_soc_core bcm2708_rng spi_bcm2708 snd_compress
i2c_bcm2708 snd_bcm2835 snd_pcm_dmaengine snd_pcm snd_timer snd fuse
Jan  1 00:00:10 rpi2 kernel: [    7.135771] CPU: 0 PID: 508 Comm: wpa_supplicant Tainted: G           O   3.18.0-23-rpi2 #24-Ubuntu
Jan  1 00:00:10 rpi2 kernel: [    7.157466] task: b2adb840 ti: b1832000 task.ti: b1832000
Jan  1 00:00:10 rpi2 kernel: [    7.168907] PC is at PHY_ConvertPowerLimitToPowerIndex+0x540/0x9e8 [8812au]
Jan  1 00:00:10 rpi2 kernel: [    7.180810] LR is at PHY_ConvertPowerLimitToPowerIndex+0x528/0x9e8 [8812au]
Jan  1 00:00:10 rpi2 kernel: [    7.192390] pc : [<7f21193c>]    lr : [<7f211924>]    psr: 60000013
Jan  1 00:00:10 rpi2 kernel: [    7.192390] sp : b1833d10  ip : 80913bf0  fp : 0000345c
Jan  1 00:00:10 rpi2 kernel: [    7.215709] r10: 00000000  r9 : 00000000  r8 : b2d7a872
Jan  1 00:00:10 rpi2 kernel: [    7.227351] r7 : b2d78000  r6 : b2d7a872  r5 : 00000000  r4 : 0000003f
Jan  1 00:00:10 rpi2 kernel: [    7.239176] r3 : 31fab235  r2 : 00000001  r1 : 7f230470  r0 : 0000001b
Jan  1 00:00:10 rpi2 kernel: [    7.251116] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Jan  1 00:00:10 rpi2 kernel: [    7.263383] Control: 10c5387d  Table: 32b2c06a  DAC: 00000015
Jan  1 00:00:10 rpi2 kernel: [    7.275905] Process wpa_supplicant (pid: 508, stack limit = 0xb1832238)
...
Jan  1 00:00:10 rpi2 kernel: [    8.107493] [<7f21193c>] (PHY_ConvertPowerLimitToPowerIndex [8812au]) from [<7f212004>] (PHY_BBConfig8812+0x220/0x378 [8812au])
Jan  1 00:00:10 rpi2 kernel: [    8.144381] [<7f212004>] (PHY_BBConfig8812 [8812au]) from [<7f21b374>] (rtl8812au_hal_init+0xcf8/0x101c [8812au])
Jan  1 00:00:10 rpi2 kernel: [    8.181404] [<7f21b374>] (rtl8812au_hal_init [8812au]) from [<7f202a60>] (rtw_hal_init+0x20/0x9c [8812au])
Jan  1 00:00:10 rpi2 kernel: [    8.218490] [<7f202a60>] (rtw_hal_init [8812au]) from [<7f1f051c>] (_netdev_open+0x74/0x2fc [8812au])
Jan  1 00:00:10 rpi2 kernel: [    8.255699] [<7f1f051c>] (_netdev_open [8812au]) from [<7f1f07c4>] (netdev_open+0x20/0x38 [8812au])
Jan  1 00:00:10 rpi2 kernel: [    8.292954] [<7f1f07c4>] (netdev_open [8812au]) from [<804e93ac>] (__dev_open+0xb8/0x130)
Jan  1 00:00:10 rpi2 kernel: [    8.330207] [<804e93ac>] (__dev_open) from [<804e9648>] (__dev_change_flags+0x94/0x158)
Jan  1 00:00:10 rpi2 kernel: [    8.367540] [<804e9648>] (__dev_change_flags) from [<804e9724>] (dev_change_flags+0x18/0x48)
Jan  1 00:00:10 rpi2 kernel: [    8.405013] [<804e9724>] (dev_change_flags) from [<8054f7b4>] (devinet_ioctl+0x6ac/0x784)
Jan  1 00:00:10 rpi2 kernel: [    8.442641] [<8054f7b4>] (devinet_ioctl) from [<804cd3b0>] (sock_ioctl+0x1c8/0x294)
Jan  1 00:00:10 rpi2 kernel: [    8.480357] [<804cd3b0>] (sock_ioctl) from [<8015ad10>] (do_vfs_ioctl+0x3f0/0x5b4)
Jan  1 00:00:10 rpi2 kernel: [    8.518159] [<8015ad10>] (do_vfs_ioctl) from [<8015af40>] (SyS_ioctl+0x6c/0x7c)
Jan  1 00:00:10 rpi2 kernel: [    8.537149] [<8015af40>] (SyS_ioctl) from [<8000ef20>] (ret_fast_syscall+0x0/0x48)
Jan  1 00:00:10 rpi2 kernel: [    8.574745] Code: 059d103c 00873001 02833db7 02833005 (05d33002)
Jan  1 00:00:10 rpi2 kernel: [    8.594684] ---[ end trace 6b00f140650346ba ]---
2015-06-01 20:08:47 +00: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
6b9092c4ad initial import of rtl8812AU_8821AU_linux_v4.2.2_7502.20130517 2013-09-04 13:48:15 -07:00