Commit graph

512 commits

Author SHA1 Message Date
Larry Finger
c5113ffec0 rtl8188eu: Fix buffer overrun warning
This warning is bogus, but shut the compiler up.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-07-14 10:17:47 -05:00
Larry Finger
00b5f0d1d9 Merge branch 'master' of http://github.com/lwfinger/rtl8188eu 2017-04-21 14:09:10 -05:00
Larry Finger
583fdd269b rtl8188eu: Add new device
Add TP-Link TL-WN722N v2 (2357:010c) to device table.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-04-21 14:07:56 -05:00
Larry Finger
014ae26393 rtl8188eu: Add new device
Add TP-Link TL-WN722N v2 (2357:010c) to device table.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-04-21 09:53:45 -05:00
Larry Finger
18a5f33b60 rtl8188eu: Fix API changes for kernel 4.11
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-03-08 10:17:24 -06:00
Larry Finger
c471c8cd2d rtl8188eu: Change dkms.conf as requested by jeremyb31 in issue #168
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-02-06 21:32:54 -06:00
Larry Finger
cc3c76275b Merge branch 'master' of http://github.com/lwfinger/rtl8188eu 2017-01-20 20:08:35 -06:00
Larry Finger
324b62c685 rtl8188eu: Fix a possible NUMM dereference
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-01-20 20:07:49 -06:00
Larry Finger
b3bfe784a4 rtl8188eu: Guard against pktfile crashes when skb address is NULL
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-01-16 15:37:23 -06:00
Larry Finger
0ebfaa07e4 rtl8188eu: Place guard code in _rtw_open_pktfile()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-01-16 15:23:52 -06:00
Larry Finger
ce54314518 rtl8188eu: Silence meaningless log message
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-01-09 13:24:49 -06:00
lwfinger
98843ddb8c Merge pull request #135 from purcola/master
dkms working
2016-12-24 13:22:13 -06:00
Larry Finger
ced2b64a11 rtl8188eu: Remove "enum ODM_RF_RADIO_PATH" and ODM_RF_PATH_x
These are already expressed as "enum rf_radio_path" and RF_PATH_x. Having
two definitions is ridiculous.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-02-14 19:23:53 -06:00
Larry Finger
3c79709126 rtl8188eu: Remove ODM_RF_PATH_MAX
This is always equal to RF_PATH_MAX.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-02-13 15:43:45 -06:00
Larry Finger
c73b464cae rtl8188eu: Remove symbol MAX_RF_PATH
This one is set to RF_PATH_MAX.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-02-13 15:40:00 -06:00
Larry Finger
f9dbfb74dc rtl8188eu: Remove symbol MAX_RF_PATH_NUMS
This one is always equal to RF_PATH_MAX.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-02-13 15:36:13 -06:00
Larry Finger
379691b761 rtl8188eu: Remove additional arrays from the stack in translate_scan()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-01-21 20:16:15 -06:00
Larry Finger
596818fee3 rtl8188eu: Move buffer off stack in translate_scan()
A user has reported a kernel panic that points to a stack overflow in
this routine. The array that was moved is only 64 bytes, but perhaps
the stack space is really tight.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-01-21 19:32:54 -06:00
Larry Finger
e2a86fc287 Merge branch 'BlackHole-master' 2015-10-23 06:08:39 -05:00
Larry Finger
4a9ce5af3f Merge branch 'master' of https://github.com/BlackHole/rtl8188eu into BlackHole-master 2015-10-23 06:08:18 -05:00
Larry Finger
396d6c1752 rtl8188eu: Fix Makefile
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-09-16 09:53:55 -05:00
Larry Finger
ea288d8952 rtl8188eu: Fix typo in previous commit
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-19 09:08:58 -05:00
Larry Finger
b438c94ebf rtl8188eu: Fix crashes due to NULL pointer
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-19 09:06:28 -05:00
Pablo Urcola
8c436456c6 dkms working 2015-07-29 19:33:33 +02:00
Larry Finger
3091828c8f rtl8188eu: On kernel 2.6.32, a NULL dereference was found
This bug was reported and debugged by GitHub user jdowells.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-05-15 15:20:51 -05:00
Alessandro Miceli
8914ec520b Merge pull request #1 from lwfinger/master
Update from main fork
2015-05-01 13:55:10 +02:00
Larry Finger
c116500a72 rtl8188eu: Replace "ERROR" in informative messages
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-04-08 14:21:21 -05:00
Larry Finger
7379b7fee9 rtl8188eu: Fix BUG: sleeping function called from invalid context
A kmalloc call was made with GFP_KERNEL rather than GFP_ATOMIC

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-04-08 14:16:39 -05:00
Larry Finger
8eb572bc42 rtl8188eu: Replace rtw_ieee80211_ht_cap with standard kernel version
As shown in the previous commits, keeping alignment beetween the private header
and the kernel version is a problem. Solve the issue by using the kernel
version.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-04-08 14:02:06 -05:00
Larry Finger
5e6362f3da rtl8188eu: Fix build error
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-04-07 18:34:15 -05:00
Larry Finger
ff0540d9ca rtl8188eu: Fix length of rtw_ieee80211_ht_cap
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-04-07 10:30:50 -05:00
Larry Finger
7b91d5660e rtl8188eu: Fix struct rtw_ieee80211_ht_cap
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-04-07 10:15:52 -05:00
Larry Finger
b17edc5b73 rtl8188eu: Add include for version.h to os_dep/rtw_android.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-26 13:56:27 -06:00
Larry Finger
9196aebe1e rtl8188eu: Fix build on kernel version 4.0+
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-24 09:46:08 -06:00
Larry Finger
f760caeb39 rtl8188eu: Add test for memory allocation failure
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-26 11:01:33 -06:00
Larry Finger
bb55393afa rtl8188eu: Fix NULL pointer
User hlguo reports crashes due to a NULL pointer dereference. This should fix it.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-22 22:13:56 -06:00
Larry Finger
c83976d1df rtl8188eu: Force use of bash as shell
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-21 10:03:59 -06:00
Larry Finger
0cb491cae8 rtl8188eu: Fix makefile if r8188eu is not part of system
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-14 19:36:25 -06:00
Larry Finger
2b9758a03e rtl8188eu: Change Makefile to handle conflicts between r8188eu and 8188eu
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-11 11:14:13 -06:00
Larry Finger
3b3d6fa169 rtl8188eu: Fix build for select_queue problem
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-29 18:37:27 -06:00
Larry Finger
e2e51bd6f4 rtl8188eu: Remove empty _rtw_free_sema()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 15:28:20 -06:00
Larry Finger
890e54b7a7 rtl8188eu: Remove wrapper around init_sema()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 15:25:08 -06:00
Larry Finger
61690cbca6 rtl8188eu: rtw_get_current_time() is jiffies
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 15:20:06 -06:00
Larry Finger
209e50ad60 rtlwifi: Remove list-handling macros
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 15:06:22 -06:00
Larry Finger
6d3d853360 rtl8188eu: Remove wrapper get_next()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 11:50:41 -06:00
Larry Finger
567257655f rtl8188eu: Replace LIST_CONTAINOR with container_of
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 10:40:44 -06:00
Larry Finger
7fd86158bf rtl8188eu: Change union recv_frame to struct
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 10:35:48 -06:00
Larry Finger
89efde68f8 rtl8188eu: Remove wrapper around memcmp()
Caution: The wrapper inverts the state.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 09:38:17 -06:00
Larry Finger
24391e61f4 rtl8188eu: Remove wrapper around some kzalloc() calls
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 09:08:01 -06:00
Larry Finger
9ad78a5b0d rtl8188eu: Remove wrapper around INIT_LIST_HEAD()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-12 23:13:40 -06:00