Commit Graph

386 Commits

Author SHA1 Message Date
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
kimocoder
f53c7ea20e Cloned gordboy's 8812au repo 2018-06-22 18:48:32 +02:00
kimocoder
4cf72deb8e Preparing new upload 2018-06-22 18:45:20 +02:00
kimocoder
a3805aa509 Removed non-supported device 2018-06-08 10:05:06 +02:00
kimocoder
78f2dd43c4 Update for >= 4.0.0 2018-06-07 14:38:27 +02:00
kimocoder
e4ec939756 Bring back regdomain settings with a switch 2018-06-07 12:20:26 +02:00
Christian B
d1c5553fdb
Added more VID/PID
* Added 1 more VID/PID
2018-06-05 19:54:32 +02:00
Christian B
0bfda567bb
Added more VID/PID
* Added 2 VID/PID's for more adapters support
2018-05-16 22:20:52 +02:00
kimocoder
d628a7441c Odroid C2 fix + minor cleanup 2018-05-13 22:47:03 +02:00
kimocoder
db3e2fa173 Trying fix for PMF / 802.11w 2018-05-06 13:49:42 +02:00
François M
a8fab80c9f
Added new ASUS PID
Support for ASUS 0x1853 RTL8814A
2018-03-29 18:31:20 +02:00
kimocoder
01ab3284e8 Fixed warnings + Nuked hardcoded reg-domain 2018-03-21 10:08:01 +01:00
Christian B
ec103e0fa6
Nuke all hardcoded reg-domain nonsense 2018-03-20 11:59:32 +01:00
kimocoder
900fc8b5df even more cleanup. brackets + more 2018-03-15 16:51:40 +01:00
Christian B
06d23f2287
Fix build on older kernels
* Added a kernel check for older kernels, fix compiling. fixes #76
2018-03-09 13:38:47 +01:00
kimocoder
c22c24ed0c Fix building on older kernels + arm 2018-03-08 12:12:53 +01:00
Christian B
88becaff46
Fix kernel v3.11 monitor mode crash 2017-12-20 20:23:31 +01:00
Christian B
e4f96b0115
Update os_intfs.c 2017-12-17 11:58:34 +01:00
Christian B
c39d6bcf0a
Update osdep_service.c 2017-12-17 11:56:50 +01:00
Christian B
43c6c987b0
Update recv_linux.c 2017-12-17 11:54:43 +01:00
Christian B
2d6512e7c4
Fix compile warning
* Fixed a simple compile warning
2017-12-08 13:12:11 +01:00
Christian B
998339a855
Fix API change in kernel v4.15
In this kernel, the timer setup and handlers changed quite a bit.
2017-12-06 19:53:59 +01:00
Christian B
1f817479ee
Fix API change in kernel v4.15
In this kernel, the timer setup and handlers changed quite a bit.
2017-12-06 19:49:00 +01:00
Christian B
62b52f686b
Fix API change in kernel v4.15
In this kernel, the timer setup and handlers changed quite a bit.
2017-12-06 19:44:48 +01:00
Christian B
fe041fa1ad
More USB VID/PID
* Added 1 more ASUS USB VID/PID
* Removed some spaces
2017-12-06 14:34:02 +01:00
Christian B
cb1454b738
Nuke all hardcoded reg-domain nonsense 2017-11-21 08:08:17 +01:00
evilphish
449bbf60cd Fix if-else leading to premature disconnects 2017-11-19 23:26:08 +01:00
evilphish
bb0321110a Fix compilation warnings about potentially uninitialized values 2017-11-19 19:29:16 +01:00
Christian B
876c553ba1
Added more USB VID/PID
* Added support for "Elecom - WDC-433DU2HBK"
2017-11-16 07:32:46 +01:00
Christian B
746c12ab11
Remove test code 2017-11-15 21:51:39 +01:00
Christian B
136fbdef54
Allow to set channel when in monitor mode
* Added support for setting channel when in "monitor" mode.
2017-11-15 20:45:51 +01:00
Christian B
8b41ccda9a
Minor fix + spacing 2017-11-15 20:40:05 +01:00
Christian B
c9a0968521
Minor spacing cleanup 2017-11-15 20:27:34 +01:00
Christian B
7356af4990
Add support for network namespaces 2017-11-15 20:16:27 +01:00
Christian B
8c2fe69b29
Minor cleanup to Kernel v4.14 Support 2017-11-15 20:07:10 +01:00
Christian B
3e70835ef0
Added more adapter support
* Added support for Edimax EDUP adapters (like EDUP_EP-AC1621)
  https://wikidevi.com/wiki/EDUP_EP-AC1621
2017-11-15 15:52:02 +01:00
Christian B
0e67494be9
Removed Intel WIDI Support
* Intel WIDI project is dead, removed support/code.
2017-11-15 09:38:45 +01:00
Christian B
f86fb89dda
Removed Intel WIDI Support 2017-11-15 09:37:17 +01:00
evilphish
99ac4d5c98 Fix for the fix for compilation errors on 4.11 kernels 2017-11-12 17:52:43 +01:00
evilphish
2b745c9f03 Remove redundant code which is already present in SetHwReg881XAU in usb_halinit.c 2017-11-09 00:30:03 +01:00
evilphish
2fbabd8a26 Fix for compilation error on 4.10 kernel 2017-11-08 20:32:59 +01:00
evilphish
752c09caf9 Fix compilation error on 4.11.x kernel 2017-10-30 18:01:30 +01:00
evilphish
b5d683e6ba First change for more iw link output (incomplete but working) 2017-10-27 00:31:13 +02:00
Christian kimocoder
0402e2a32b adopt upstream: net: Fix inconsistent teardown
net: Fix inconsistent teardown and release of private netdev state.

commit id
cf124db566e6b036b8bcbe8decbed740bdfac8c6
2017-10-24 16:29:48 +02:00
Christian kimocoder
efc08fe295 Use endian macros from kernel + spacing 2017-10-24 15:24:01 +02:00
Christian kimocoder
6926fe7f63 Some fixes and tweaks 2017-10-24 14:32:15 +02:00
evilphish
e56c261fc5 Unified kimos and my VHT fixes, nuked obsolete capab functions to clean up and make things less confusing 2017-10-23 21:10:47 +02:00
Matt Robinson
65a6213446
Fix for 4.14.0 kernel 2017-10-22 19:05:31 -04:00
Christian kimocoder
6cd1326878 Removed some spaces
* Removed some spaces
2017-10-22 23:09:32 +02:00
Christian kimocoder
8c60bf3c77 Added VHT capabilities and HT Greenfield capab
* Added VHT capabilities and HT Greenfield capability
2017-10-22 23:00:28 +02:00
Christian kimocoder
b8ab3450f0 small indention & spacing fixes 2017-10-22 11:58:00 +02:00
evilphish
632bfd75cd preliminary txpower test 2017-10-21 19:52:27 +02:00
evilphish
0d3e22f846 removed leftover debug printk 2017-10-21 17:41:23 +02:00
evilphish
0c3cb2f349 fix detection of vht capabilities and correct number of hardcoded streams for the 8812 driver 2017-10-21 17:02:13 +02:00
evilphish
9515a63dec switch default modeswitch plugin behaviour to USB3 2017-10-21 02:42:53 +02:00
evilphish
795489ce9f fix USB3 modeswitch 2017-10-21 01:07:45 +02:00
Christian kimocoder
ac3e1eb51b More USB VID/PID
* Added adapter support for "Tenda U12"
2017-10-06 14:52:43 +02:00
Christian kimocoder
dcda8e2b5e Update usb_intf.c
* Corrected 1 adapter name
2017-10-02 22:33:05 +02:00
Christian kimocoder
699922ec91 Update os_intfs.c
* Add rtw_led_ctrl module
2017-09-26 19:10:56 +02:00
Christian kimocoder
4282ab4189 USB3 fix in EEPROMUsbSwitch variable
* Fixed a problem in the EEPROMUsbSwitch (at least in tested 8814AU)
  This solutions NEEDS to be tested further.
2017-09-26 08:08:46 +02:00
Christian kimocoder
deb038247a More USB VID/PID
* Added support for "D-Link - Alpha" #2
2017-09-11 00:57:05 +02:00
Christian kimocoder
b3c72ae35f More USB VID/PID
* Added support for "Buffalo - WI-U2-433DHP" as reported by @kamijin-fanta
2017-09-02 11:16:31 +02:00
Christian kimocoder
9a32f604d9 USB VID/PID UPPER_CASE
* Fixed several VID/PID uppercase "typos"
* Changed info in Alfa adapter from "Alfa - AWUS036AC" to "Alfa - AWUS036AC, AWUS036ACH & AWUS036EAC"
2017-08-31 21:22:04 +02:00
Christian kimocoder
076efe6930 More USB VID/PID
* Added support for Netgear A7000
* Added additional support for TRENDnet
2017-08-31 18:09:19 +02:00
Christian kimocoder
11cc9318ce Fix kernel v4.12 support
* Fixed kernel v4.12 support
2017-08-27 11:30:16 +02:00
Christian kimocoder
bcdaa3d214 Fix kernel v4.12 support
* Fixed up kernel v4.12 support
2017-08-27 11:25:10 +02:00
Christian kimocoder
f8108dbd4e More USB VID/PID
* Added support for Alfa - AWUS036AC
* Added support for Amped Wireless ACA1
* Added support for TP-Link - Archer T4U AC1300
* Added support for TP-Link - Arhcer T4UH AC1300
* Added support for TP-Link - T4UHP
* Added support for TP-Link - T4UHP (other)
2017-08-24 17:02:47 +02:00
Christian kimocoder
6f970e081d reverted back kernel 4.12 support
* Reverted the kernel v4.12 support patch because of different errors on building.
2017-08-24 15:00:10 +02:00
Christian kimocoder
195314b135 fix build with kernel 4.12
* Fixed compilation/building on kernel v4.12 (4.12.3 also tested ok)
2017-08-24 14:47:02 +02:00
astsam
dd20cc42a6 VID/PID for TP-LINK Archer T9UH and TRENDnet TEW-809UB were added 2017-06-25 10:00:08 +03:00
astsam
9132e40ce6 Initialize some variables 2017-06-25 09:51:07 +03:00
astsam
8c6132a401 Disable float point code for modern kernels 2017-06-23 22:28:06 +03:00
astsam
dfe012d487 Fix compilation for ARM 2017-05-14 12:27:25 +03:00
astsam
bc7dd6ddfb Stop exporting unnecessary symbols 2017-04-19 19:20:27 +03:00
astsam
55e81afe4f Added HAL for RTL8814AU 2017-04-19 19:13:09 +03:00
Lars Gjesse
0194d03956 Add support for network namespaces 2017-04-15 17:27:52 +03:00
Sergei Makarenkov
566ea44c50 Fix VHT capabilities 2017-04-15 12:05:28 +03:00
astsam
ae6a22ab08 Fill struct ieee80211_sta_vht_cap 2017-04-15 12:01:12 +03:00
Sergei Makarenkov
eecbaecdae Add some missing channels 2017-04-15 12:00:58 +03:00
astsam
2917986236 Fix compilation error under kernel 3.13 2017-04-15 12:00:45 +03:00
Sergei Makarenkov
a88ff7e621 Fix channel switch in the monitor mode if both CONFIG_WIRELESS_EXT and CONFIG_CFG80211_WEXT are enabled 2017-04-15 11:55:13 +03:00
Sergei Makarenkov
a4265bec23 Enable TX queue in the monitor mode 2017-04-15 11:54:58 +03:00
Sergei Makarenkov
9c17ea0d25 Radiotap iterator from kernel 4.9 was added due to VHT field bug in kernels before 4.6 2017-04-15 11:54:38 +03:00
Sergei Makarenkov
6eb40af4a1 More USB VID/PID 2017-04-15 11:53:46 +03:00
Sergei Makarenkov
d9c3a570a5 Clear NO_IR flag for all channels 2017-04-15 11:51:43 +03:00
Sergei Makarenkov
16a1de0c6f Fix error switching to 80MHz channels under certain conditions 2017-04-15 11:51:26 +03:00
Sergei Makarenkov
7e48715dee Unmask all available channels 2017-04-15 11:51:07 +03:00
Sergei Makarenkov
6813182019 Enable the channel 14 and 80 MHz width channels in the regdom 2017-04-15 11:50:51 +03:00
Ángel
4f88d95437 Added get channel function 2017-04-15 11:50:33 +03:00
astsam
4e69a2756d Fix interface rename error 2017-04-15 11:50:13 +03:00
Masashi Honma
46ea178897 Add support for kernels >= 4.8
This patch fix compilation failure caused by modification of
cfg80211_scan_done() prototype.

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
2017-04-15 11:49:31 +03:00
Sergei Makarenkov
647020663d Use in_compat_syscall() instead of is_compat_task() if available 2017-04-15 11:48:55 +03:00
astsam
cf7aa86c38 Driver v5.1.5 for RTL8812AU (Tenda U12) 2017-04-15 11:46:31 +03:00
Hans Ulli Kroll
d62c22e76e Add driver from found on aircrack-ng site
filename: rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta.tar.gz

Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
2016-03-27 19:56:02 +02:00