1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-30 00:47:38 +00:00
Commit Graph

243 Commits

Author SHA1 Message Date
kimocoder
e1258a0dde Cleaned out unsupported chipsets from usb_intfs.c 2019-08-17 15:14:11 +02:00
kimocoder
a0bb0e1d42 Added DEBUG to USB - CONFIG_USB_DEBUG in Makefile 2019-08-17 13:09:09 +02:00
kimocoder
33cd907df1 Just some minor permission fix PR 2019-08-17 00:11:15 +02:00
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
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
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
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
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
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
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
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
decdb78ea0 Upload new v5.6.4.1 branch 2019-06-22 15:16:29 +02:00
Christian Bremvåg
598059dae8
Fix a typo leading to compile error 2019-06-17 12:47:25 +02:00
Christian Bremvåg
68351a7a20
Added bunch of VID/PID's from other branches (and vice versa) 2019-06-17 00:28:49 +02:00
Thijs Withaar
74cc8cdbc1 i386: mark floating point operations correctly.
From commit #1603b05c
2019-06-08 10:47:20 +02:00
Thijs Withaar
13456a8af1 wifi_regd: regulations are handled by crda, so don't do that here. 2019-06-08 10:47:12 +02:00
Thijs Withaar
2cb491951f wifi_regd: remove unused code 2019-06-08 08:33:11 +02:00
Christian Bremvåg
003c2aa3da
Merge pull request #365 from satmandu/v5.6.4
Compilation fixes for Kernel 5.1 & 5.2
2019-05-30 22:50:58 +02:00
kimocoder
8a49d214da Added HT Greenfield capabilities 2019-05-30 22:39:27 +02:00
satmandu
75c538098b
Compilation fix for kernel 5.1+
As per 48c223a03c
2019-05-30 14:48:09 -04:00
satmandu
231d5c2d4e
fix missing "(" 2019-05-30 14:40:14 -04:00
satmandu
aa405e0b18
removed space 2019-05-30 14:38:05 -04:00
satmandu
36ff7bcd7f
os_dep: fix compilation warning and kernel 5.2 as per commit to 5.3.4
Adapted patch here: e013a161f8
2019-05-30 14:34:13 -04:00
kimocoder
6c1b4a333b Upload new v5.6.4 driver 2019-05-24 21:43:57 +02:00
shyan003
3de2dde344
Update usb_intf.c 2019-05-24 15:50:23 +08:00
Christian Bremvåg
e013a161f8
Merge pull request #344 from Darnor/v5.3.4
os_dep: fix compilation warning and kernel 5.2
2019-05-22 00:26:41 +02:00
kimocoder
94cd8fba9e Fix used before initialized warning 2019-05-22 00:12:23 +02:00
kimocoder
cccd2f324c Add support for TP-Link Archer T2U Nano AC600 2019-05-22 00:03:27 +02:00
kimocoder
d1d2446e05 Revert back some changes to fix frame injection 2019-05-21 23:50:29 +02:00
Hansruedi Patzen
d8d9399a5b compilation: fix override-init warning
rtl8812au/os_dep/linux/ioctl_cfg80211.c:9512:25: warning: initialized field overwritten [-Woverride-init]
  .set_monitor_channel = cfg80211_rtw_set_monitor_channel,
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2019-05-15 14:26:01 +02:00