1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-10 08:07:05 +00:00
Commit Graph

750 Commits

Author SHA1 Message Date
kimocoder
1e62d66f89 Relax regrules (wifi regdom) 2019-08-17 00:04:38 +02:00
kimocoder
c2fd51ad82 Added kernel v5.3+ support - enjoy 2019-08-16 23:44:50 +02:00
kimocoder
4d95fe8727 Enable DFS for 5ghz support 2019-08-16 23:27:14 +02:00
Christian Bremvåg
0a4ce9dddc
staging: replace explicit NULL comparison
Replace explicit NULL comparison with ! operator to
simplify code.

Found with Coccinelle script:
@@
expression ptr;
position p;
statement s0;
@@

ptr@p =
\(kmalloc\|devm_kzalloc\|kmalloc_array\|devm_ioremap\|usb_alloc_urb\|
alloc_netdev\|dev_alloc_skb\)(...)
... when != ptr

if (
(
+ !
ptr
- == NULL
)
) s0
2019-08-16 23:10:38 +02:00
Christian Bremvåg
c18b6668eb
staging: prevent an underflow in rtw_check_beacon_data()
* The "len" could be as low as -14 so we should check for negatives.
2019-08-16 23:05:40 +02:00
Christian Bremvåg
8f04e62ca7
Fix incorrect response to SIOCGIWESSID
When not associated with an AP, wifi device drivers should respond to the
SIOCGIWESSID ioctl with a zero-length string for the SSID, which is the
behavior expected by dhcpcd.

Currently, this driver returns an error code (-1) from the ioctl call,
which causes dhcpcd to assume that the device is not a wireless interface
and therefore it fails to work correctly with it thereafter.

When not associated with an AP, other wifi device drivers respond to the SIOCGIWESSID ioctl with a zero-length string for the SSID; this is the behaviour expected by dhcpcd.

This driver returns an error code (-1) from the ioctl call - this causes dhcpcd to assume that the device is not a wireless interface and therefore it fails to work correctly with it thereafter.

It would be good if the behaviour of this driver could be brought into line with that of other drivers for similar devices; that is for the response to SIOCGIWESSID to be a zero-length string and a success code rather than an error.
2019-08-16 22:53:33 +02:00
kimocoder
eaf96f0052 Pushing minor cleanups .. 2019-08-16 22:49:56 +02:00
kimocoder
84212d3ae8 Remove multifunc support 2019-08-16 22:23:04 +02:00
kimocoder
1348762001 Remove signal handling from driver (software) 2019-08-16 22:11:06 +02:00
kimocoder
12d7cac87b Nuke good 'old debug also known as /proc 2019-08-16 19:15:24 +02:00
kimocoder
84f5ceca14 Hard disable old debug read/write file functions 2019-08-16 18:47:04 +02:00
kimocoder
2b143976ab Disabled annoying EFUSE debug 2019-08-16 18:40:07 +02:00
kimocoder
3a405781ba Disbale / clean iw priv 2019-08-16 18:38:23 +02:00
kimocoder
341f3e9c80 Remove customer string 2019-08-16 18:31:23 +02:00
kimocoder
374c25a43f Upstream changed wireless band 2019-08-16 18:22:55 +02:00
kimocoder
a2227b00ca Remove private ioctl's 2019-08-16 18:19:34 +02:00
kimocoder
48ddf9727b Removed some file functions 2019-08-16 18:12:15 +02:00
kimocoder
24df579fcf Remove and clean useless CONFIG_MULTIDRV code 2019-08-16 18:09:24 +02:00
kimocoder
db4eb0cc90 A small fix for some missing signal :) 2019-08-16 18:05:37 +02:00
kimocoder
17ffe0d84f Removed useless testchip code 2019-08-16 18:04:48 +02:00
kimocoder
d20d0744b5 Remove unused mpt_SetRFPath_8812A() 2019-08-16 17:59:42 +02:00
kimocoder
bb31213a73 Updated cfg80211.h's add_virtual_inf implementations with new parameter 2019-08-16 17:47:09 +02:00
kimocoder
1972751e8f Remove SetPowerTracking() and GetPowerTracking() 2019-08-16 17:36:52 +02:00
kimocoder
7ff8e97218 Enable USB3 mode switch which also enables VHT SS3 2019-08-16 17:29:54 +02:00
kimocoder
03324f2028 Support reproducable builds by disabling DATE/TIME macros 2019-08-16 17:28:01 +02:00
kimocoder
31354957a2 adopted from upstream: cfg80211: unify cfg80211_roamed() 2019-08-16 17:27:14 +02:00
kimocoder
273361355d adopted from uptream: nl80211: allow multiple active 2019-08-16 17:10:49 +02:00
kimocoder
2e8d88e075 Missing channel assignment from 4.12 kernel support 2019-08-16 17:05:40 +02:00
kimocoder
d664d7e949 Use endian macros from kernel instead hardcoded 2019-08-16 16:50:59 +02:00
kimocoder
100b73747b Some tweaks and minors around .. 2019-08-16 16:42:12 +02:00
kimocoder
313311c14b Added LED control 2019-08-16 16:34:43 +02:00
kimocoder
61ad137594 Disabled debug by default 2019-08-16 16:28:31 +02:00
kimocoder
9daa7978e9 Merge a collection of fixes 2019-08-16 06:28:27 +02:00
kimocoder
597de9c9b0 Added more iw output - not complete still 2019-08-16 04:20:13 +02:00
kimocoder
c98681f114 Fixed all minor issues related to compiler warnings 2019-08-16 03:38:53 +02:00
Christian Bremvåg
b7c85dd182
Merge pull request #388 from fariouche/v5.6.4.1
added 8821 and 8814
2019-07-15 21:42:33 +02:00
Farid Benamrouche
11cb9c2a37 added 8821 and 8814 2019-07-15 17:14:17 +02:00
Christian Bremvåg
df6381f35d
Added kernel v5.1+ support (get_ds -> KERNEL_DS) 2019-06-22 19:41:09 +02:00
kimocoder
472b8b3176 Added HT Greenfield capab + various ported fixes 2019-06-22 17:07:31 +02:00
kimocoder
4b0db32429 Fix another issue, unreachable switch 2019-06-22 16:49:44 +02:00
kimocoder
a2933cf2ab Fix compilation issue related to merging 2019-06-22 16:41:33 +02:00
Christian Bremvåg
8bee83c160
Update README.md 2019-06-22 17:27:32 +02:00
Christian Bremvåg
60addc8499
Update README.md 2019-06-22 17:07:23 +02:00
kimocoder
80c331a688 Upload WPA3 doc and hostapd for Android 2019-06-22 15:21:44 +02:00
kimocoder
decdb78ea0 Upload new v5.6.4.1 branch 2019-06-22 15:16:29 +02:00
kimocoder
7938cb9078 Enable more compiler debug 2019-06-17 21:05:02 +02:00
kimocoder
2b70749c10 Fix a openwrt compiler warning 2019-06-17 20:52:47 +02:00
kimocoder
55bab2ab30 Fixed more compile warnings, for now at least 2019-06-17 20:44:02 +02:00
kimocoder
42dd65d1b4 Fixed a switch-unreachable issue on compile 2019-06-17 20:23:29 +02:00
Christian Bremvåg
65aa3c6edf
Added "IOCTL_CFG80211" support to RPI64 2019-06-17 20:11:03 +02:00