1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-26 23:24:11 +00:00
Commit Graph

239 Commits

Author SHA1 Message Date
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
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