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
Hansruedi Patzen
e2d6505b67
linux-5.2: disable fallback from rtw_select_queue
...
The fallback parameter has been removed in the latest kernel (>= 5.2)
See: a350eccee5
2019-05-15 14:25:00 +02:00
kimocoder
aaef1baf31
Trying another channel switching code
2019-04-07 18:46:13 +02:00
kimocoder
54710f5403
Fix used before initialized warning
2019-04-07 18:37:55 +02:00
kimocoder
9e298d0fa3
fix compile when CONFIG_IOCTL_CFG80211 defined
2019-04-07 18:15:47 +02:00
kimocoder
78dbffdf16
Fix radiotap header for RTL8814AU
2019-04-07 18:02:57 +02:00
kimocoder
03933bb002
Check arguments of the set tx power ioctl
2019-04-07 17:45:04 +02:00
kimocoder
3a4df6e3dc
Fix channel switch in the monitor mode if both CONFIG_WIRELESS_EXT and CONFIG_CFG80211_WEXT are enabled
2019-04-07 17:10:55 +02:00
kimocoder
232bcd5fbc
Set dev_type to wlan
2019-04-06 08:46:46 +02:00
kimocoder
19aa60f1a1
Fix build for 4.19.0-041900rc4-generic from ubuntu kernel-ppa
2019-04-06 08:43:23 +02:00
kimocoder
7bf20f5f82
Fix function call signature on rtw_* function definition
2019-04-06 08:38:14 +02:00
kimocoder
5187e1b094
Fix CONFIG_RTW_DEBUG compilation and levels
2019-04-06 08:17:54 +02:00
kimocoder
35f64254c1
Relax some wifi regional rules
2019-04-06 08:10:11 +02:00
kimocoder
ee01e58834
Adoptations for using the driver on android/nethunter
2019-04-06 01:16:13 +02:00
kimocoder
cb7b83e8a6
Hostapd/WPS support
2019-04-06 00:51:57 +02:00
kimocoder
5b5d01f393
do not remove device if it is not of type monitor
2019-04-06 00:34:58 +02:00
kimocoder
a3ed1ef28a
Added some error checking feature
2019-02-16 02:29:58 +01:00
kimocoder
4848f29d19
Protect rtw_cfg80211_unlink_bss() against pnetwork of NULL
2019-02-16 02:22:54 +01:00
kimocoder
eaf2707950
Reorder shutdown to eliminate warning from cfg80211
2019-02-16 02:20:27 +01:00
kimocoder
1ff4839d5b
Make proper fix for freeze on unload
2019-02-16 02:11:55 +01:00
kimocoder
91a66fdefe
Fix connection error on resume
2019-02-16 01:09:02 +01:00
kimocoder
97674c1259
Minor fixes several places
2019-02-16 00:36:43 +01:00
kimocoder
d1c55e0858
Fix CONFIG_CONCURRENT_MODE building. Missing VIF code.
2019-02-16 00:13:16 +01:00
kimocoder
ed72c44df7
Add explicit memset call to avoid potentially corrupt data
2019-02-15 23:16:15 +01:00
kimocoder
fc3c9149db
Fixed the _get_channel function, missing 2 cases
2019-02-15 18:24:00 +01:00
kimocoder
0eda114fda
Added support for kernel v5.0+
2019-02-15 15:51:37 +01:00
Alexander Traud
f150da568a
Add USB Device Obihai OBiWiFi with 3823:6249
...
USB driver gets attached and Wi-Fi adapter is usable, tested in Ubuntu 18.04 LTS with Secure Boot disabled.
2019-01-08 10:30:26 +01:00
Thijs Withaar
0c3cfa41e4
fully apply CONFIG_DISABLE_REGD_C
...
Fix floating point in VHT_HW_TX for both x86 and rpi
2018-11-20 22:37:34 +01:00
kimocoder
0a4042afbd
Add kernel v4.20 support and minor compiler warning turned off
2018-11-14 23:39:13 +01:00
kimocoder
e972ae8162
Update kernel v4.19 support
2018-11-14 23:36:44 +01:00
kimocoder
926549fe69
Fix problem where interfaces are down at start
2018-11-10 21:34:15 +01:00
kimocoder
dae6545ef1
Fix builds for kernels older than 4.11.0
2018-11-10 21:22:12 +01:00
kimocoder
d3e6831396
More cleanup around Makefile++
2018-10-20 22:53:01 +02:00
kimocoder
141e1f089f
Reverted the PARA_FILE load functions for now
2018-10-20 21:49:49 +02:00
kimocoder
d61dcbd985
remove PARA_FILE load functions, all data is in headerfiles
2018-10-20 19:28:55 +02:00
kimocoder
df5766d9f3
hard disable old debug read/write file functions
2018-10-20 19:14:06 +02:00
kimocoder
efb4d2fe21
minor upstream patch fix: inconsistent teardown
2018-10-20 19:09:42 +02:00
kimocoder
ba4b2097b2
nuke rtw_proc aka debug via /proc
2018-10-20 19:02:03 +02:00
Christian B
3ba0d97eae
Merge pull request #1 from fariouche/v5.3.4
...
added regd flag to disable radar detection
2018-09-16 18:19:26 +02:00
fariouche
b9df378af3
added regd flag to disable radar detection
...
set default ht capab to 3 to enable 5GHz RX-STBC
2018-09-16 18:08:48 +02:00
Thijs Withaar
7c93fa7c05
Fix floating point in VHT_HW_TX for both x86 and rpi
2018-09-06 19:03:05 +02:00
Christian B
77d964aad9
Added lots of VID/PID's
...
* Added lots of adapter support. Taken from the v5.1.5 and v5.2.20 branch
2018-08-30 19:06:54 +02:00
kimocoder
072598e032
Add support for kernel v4.19-rc1
2018-08-29 18:27:44 +02:00
kimocoder
72117bc456
Initialize some variables
2018-08-27 20:31:00 +02:00
kimocoder
5f1fd4fa3c
Remove redundant code already in SetHwReg881XAU in usb_halinit.c
2018-08-27 20:23:02 +02:00
kimocoder
993a7752cb
Fix kernel regression related to get channel function
2018-08-27 20:18:13 +02:00
kimocoder
d5e34220d0
Added get channel function
2018-08-27 20:11:53 +02:00
kimocoder
3873db1e10
Added HT Greenfield capabilities
2018-08-27 20:05:18 +02:00
kimocoder
5e345a86d5
Fix USB3 and USB modeswitch function
2018-08-25 20:37:42 +02:00
kimocoder
5faae4ff49
Fixed unreachable switches and other compile warnings
2018-08-25 20:29:23 +02:00
kimocoder
d2932f7a54
Uploading new v5.3.4
2018-08-25 18:21:32 +02:00
kimocoder
2d4a79c1b8
Uploading the v5.3.4 version
2018-08-24 22:52:34 +02:00
fariouche
3a38ce9d1f
fixed crash when debug flag is set
2018-08-12 17:52:01 +02:00
kimocoder
680f78830c
Reinstate: Fix interface rename error
2018-08-11 18:36:59 +02:00
kimocoder
8d15903065
Remove redundant code already in SetHwReg881XAU in usb_halinit.c
2018-08-10 18:51:27 +02:00
kimocoder
61db9f6c5e
Fix the get_channel function causing kernel regression
2018-08-10 18:26:15 +02:00
kimocoder
88301eb45a
Allow build for kernels with backported cfg80211 API
2018-08-08 19:03:15 +02:00
Christian B
5a21cce8cd
Fix another segfault
...
* Removed for now, not used anyway since the virtual interface support isn't working.
2018-08-06 19:51:45 +02:00
kimocoder
b39cd0827c
Initialize some variables
2018-08-05 20:31:51 +02:00
kimocoder
79e44be3d0
adopt upstream: net: Fix inconsistent teardown
2018-08-04 20:09:03 +02:00
kimocoder
8132170418
Added get channel function
2018-07-29 18:28:40 +02:00
kimocoder
4d896a9145
Fix compilation error under kernel v3.13
2018-07-29 18:12:29 +02:00
kimocoder
af62fe4337
Fix interface rename error
2018-07-29 18:04:28 +02:00
kimocoder
cfdf854042
Fix USB3 modeswitch
2018-07-24 21:00:22 +02:00
kimocoder
3aee436bf5
Some VHT fixes
2018-07-24 20:54:20 +02:00
kimocoder
dd62a2f36a
Added HT Greenfield capabilities
2018-07-24 20:45:13 +02:00
kimocoder
d6e2f9c1be
More iw link output
2018-07-24 20:32:19 +02:00
kimocoder
d6fe5161fd
enable USB3 mode switch, this also enables VHT SS3
2018-07-24 17:26:16 +02:00
kimocoder
f6461d311d
Implemented txpower control
2018-07-16 22:14:20 +02:00
farid
9175cd68db
merged my branch
2018-07-13 14:56:34 +02:00
Christian B
8f61c1a18c
Added 1 more VID/PID
2018-07-13 08:07:39 +02:00
kimocoder
5cc650c60f
Add CONFIG_USB2_EXTERNAL_POWER supported
2018-07-03 10:24:00 +02:00
kimocoder
30c44240b9
use BIT(n) macros instead of pre-calculated masks in bunch of places
2018-07-03 10:09:53 +02:00
kimocoder
320e962c23
Fix override module parameter for tx-power-index
2018-07-03 10:06:23 +02:00
Christian B
f283c29943
ioctl_cfg80211.init_vht_capab: print highest rates that are set there
2018-07-03 09:38:14 +02:00
Christian B
dbd216d9a0
Enable rx_stbc bit for 5G in HT mode
2018-07-03 09:36:19 +02:00
kimocoder
ffc23dc933
Stop exporting unnecessary symbols
2018-07-02 22:01:25 +02:00
kimocoder
737913c661
Fix channel switch in monitor mode if both CONFIG_WIRELESS_EXT and CONFIG_CFG80211_WEXT are enabled
2018-07-02 21:59:24 +02:00
kimocoder
116e984cd0
Fix error switching to 80MHz channels under certain conditions
2018-07-02 21:55:43 +02:00
kimocoder
a202c7ccaa
Enable the channel 14 and 80 MHz width channels in the regdom
2018-07-02 21:53:11 +02:00
kimocoder
96505723e3
Unmask all available channels
2018-07-02 21:39:36 +02:00
kimocoder
25f2c0ffd8
Fix the CONFIG_NET_NS, support for network namespaces
2018-07-02 21:07:29 +02:00
kimocoder
cafec86c7e
Fix compile warnings (brackets + fallthroughs)
2018-07-02 20:05:48 +02:00
kimocoder
ad7898898a
Enabled more Makefile debug + Added lots VID/PIDs
2018-07-02 19:53:05 +02:00
kimocoder
f95865e72a
Enable TX queue in monitor mode
2018-07-02 19:49:00 +02:00
kimocoder
706446194d
Fix injected frames drop
2018-07-02 19:47:54 +02:00
kimocoder
24585a51d2
Added switch to turn ON/OFF regdomain settings
2018-07-02 19:32:58 +02:00
kimocoder
ef630451b0
Optimized Makefile + added DKMS
2018-07-02 19:20:53 +02:00
kimocoder
29fab55737
Uploaded the 8812au v5.2.20.2 driver
2018-07-02 18:49:32 +02:00
kimocoder
b85ad0de96
Fixed compilation warnings
2018-07-01 20:27:54 +02:00
kimocoder
f58318e310
Added more VID/PID for future use
2018-06-26 11:02:46 +02:00
kimocoder
5387d10b8a
Enabled more Makefile debug
2018-06-26 10:57:18 +02:00
kimocoder
9080d7d023
Enable TX queue in the monitor mode
2018-06-26 10:41:50 +02:00
kimocoder
7c899d1b5b
Fix injected frames drop + platform fixes
2018-06-25 18:20:55 +02:00
kimocoder
22ae5a102c
Added more VID/PID + moved 1 to correct place
2018-06-23 14:49:27 +02:00
kimocoder
1b89d1d755
Added switch to turn ON/OFF regdomain settings
2018-06-22 23:06:03 +02:00
Christian B
0176d9ddae
Added more VID/PID
2018-06-22 22:50:47 +02:00
kimocoder
660a42849e
Added more VID/PID
2018-06-22 22:39:02 +02:00
kimocoder
d5aaced9c3
Optimized Makefile and added DKMS ++
2018-06-22 21:43:50 +02:00
kimocoder
8cbcaa6a8d
Added changelog with TODO
2018-06-22 20:03:02 +02:00
kimocoder
be14d54031
Parse radiotap headers for proper frame injection
2018-06-22 19:37:47 +02:00