Commit Graph

180 Commits

Author SHA1 Message Date
Mathy Vanhoef
1b86121806 rtl8812a: do not overwrite sequence number of injected frames
The sequence number of inject frames was being overwritten. This prevents
certain older attacks against WEP fragmentation older TKIP attacks. Fix
this by tracking if a frames was injected in monitor mode, and if so, do
not overwrite its sequence number.

The patch also adds a module parameter to revert this behaviour if needed.
By setting rtw_monitor_overwrite_seqnum to 1, sequence numbers will again
be set by the driver/device. This may by useful if user-space relied on
the driver/device to set sequence numbers.

This patch was tested using an Alfa AWUS036ACH.
2020-06-26 09:27:54 +04:00
kimocoder
5484970659 Fix some compiler errors 2020-03-08 19:53:37 +01:00
kimocoder
85f47a6c3a remove some testchip macros 2020-03-08 00:16:05 +00:00
kimocoder
da4b1aef7a remove testchip support 2020-03-08 00:10:02 +00:00
kimocoder
86d2fd5519 remove unused PWR LIMITs 2020-03-07 23:41:52 +00:00
kimocoder
bc8c3071c0 mark unused PWR LIMITs 2020-03-07 23:31:07 +00:00
kimocoder
479a4cb546 remove unused PGs 2020-03-07 23:28:00 +00:00
kimocoder
24ba6068a9 mark unused PGs hidden 2020-03-07 23:15:49 +00:00
kimocoder
e68310ce0d Use for RTL8814A chip (AWWD-165) 2020-02-01 09:55:13 +01:00
kimocoder
a1e42b5518 phydm_ccx: Fix implicit enum conversion 2020-02-01 09:29:07 +01:00
kimocoder
c1b3600035 rtl8812a_phycfg: Workaround for clang bug 42576 2020-02-01 09:27:35 +01:00
kimocoder
ffd45bc496 phydm_math_lib: Remove useless assignment 2020-02-01 09:26:25 +01:00
kimocoder
6059390bcf hal_led: Explicitly convert RTW_LED_OFF to enum type LED_CTL_MODE 2020-02-01 09:25:43 +01:00
kimocoder
ec5a9c73e2 Some allround tweaks + removed a debug warning 2020-02-01 07:46:42 +01:00
kimocoder
4a6960b2ad Minor fix for 8814au BEAMFORMING + retry limit 2020-02-01 06:19:18 +01:00
kimocoder
d7fe9809f4 Better handling of 'fallthrough's 2020-01-20 08:03:10 +01:00
int3l
a8d0fec8e0 Reintroduce: Added LED control
This commit is cherry-pick + refactoring of:
ff04a94b00
and
313311c14b

I'm not sure how this got lost in the latest version on GitHub (I guess merging issues).
But all credits go to @gordboy, @kimocoder and all the other authors.
2019-11-29 23:20:46 +02:00
kimocoder
75a5725e0b Added LED control 2019-11-29 11:03:59 +02:00
kimocoder
a5ce337bd7 Upload more docs 2019-11-18 16:51:51 +01:00
kimocoder
b5f97c1696 Fixed 8821au (8811au) support, fixed fw bug. fixes #466 2019-11-14 20:37:13 +01:00
kimocoder
0c23551874 Cleanup wrong commit earlier 2019-11-14 04:33:12 +01:00
kimocoder
506f1e3c11 Added frame injection capabilities (tested working) 2019-11-14 03:11:57 +01:00
kimocoder
10bb71aafb Fix FCS on 8812 and 8814 2019-11-13 21:16:57 +01:00
kimocoder
02e8c82c9b Fixed crash when debug flag is set 2019-11-13 17:24:08 +01:00
kimocoder
fa35b99b42 Implemented txpower control 2019-11-13 16:36:58 +01:00
kimocoder
73f0a8810d Searching for MAC addr and return output (seems to work fine) 2019-11-11 21:47:20 +01:00
kimocoder
7ad5618762 Fix build support to older GCCs by adding fallthroughs 2019-11-11 04:07:55 +01:00
kimocoder
2fb4e08249 Fixed build/compile error + some compiler warnings + minor cleanup 2019-11-11 01:04:53 +01:00
kimocoder
04f55bbaac Fix some 8814au slow speed issue 2019-11-09 18:59:09 +00:00
kimocoder
7c9ab6fe6f Add a bunch of VID/PID's + Add 8814/8821AU support 2019-11-09 18:53:04 +00:00
kimocoder
bc95c21031 Some Makefile updates + other minor fixes 2019-10-31 01:43:41 +01:00
root
65b4d276b1 Upload v5.6.4.2 2019-10-30 23:08:53 +00:00
llccd
b4bce69ca8
Fix some 8814au slow speed issue 2019-10-24 19:36:44 +08:00
kimocoder
90d03c245c Fixed 2 warnings on Ubuntu 2019-09-27 23:18:20 -07:00
kimocoder
1f42fba64c Added Travis build check icon 2019-09-19 15:40:25 +00:00
fariouche
5386896ef8 fixed CONCURRENT mode not working 2019-09-02 22:30:11 +02:00
fariouche
52a773fdf1 Merged upstream 2019-09-02 22:29:26 +02:00
fariouche
5e7e1dec1d enabled concurent mode 2019-08-31 17:44:23 +02:00
kimocoder
908f8a9fc5 Cleanup of unused / unsupported chipsets 2019-08-24 08:07:50 +02:00
kimocoder
4137e7a019 Cleanup in and around HAL 2019-08-24 06:42:21 +02:00
kimocoder
6cde25e625 Cleanup some code in rtl8814au HAL init 2019-08-24 06:10:41 +02:00
kimocoder
0bb520cbfa Some allround fixes (minors) 2019-08-24 05:57:54 +02:00
kimocoder
f515fca544 Remove rtw_ioctl_rtl.h & remove include 2019-08-24 03:36:38 +02:00
kimocoder
aba43930d6 Remove unused powertracking files 2019-08-24 02:23:56 +02:00
kimocoder
14204645d5 Nuke CONFIG_LOAD_PHY_PARA_FROM_FILE function 2019-08-24 02:18:32 +02:00
kimocoder
62e40de47b Decreased log level from 4 to 3 and suppressed som debug 2019-08-24 01:01:46 +02:00
kimocoder
bbe93fbd6d Fix compilation issues from earlier 2019-08-23 10:08:36 +02:00
kimocoder
05af254270 Fix one compile error from yesterday 2019-08-18 18:42:18 +02:00
kimocoder
e9daed6187 Fix interface rename issue 2019-08-18 04:43:53 +02:00
kimocoder
27d005ba81 Silence some debug output - dmesg got flooded 2019-08-17 22:41:29 +02:00