MilhouseVH
b8e342b103
IEEE80211_MAX_AMPDU_BUF is bumped in 4.19-rc1 - avoid redefine warning
...
Ref: b8042b3da9
2018-08-28 03:45:44 +01:00
Larry Finger
1f08a062ad
rtl8188eu: Updates for timer changes in kernel 4.15
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-12-05 16:03:03 -06: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
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
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
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
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
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
Larry Finger
609fff0d67
rtl8188eu: Remove wrapper around semaphore 'up'
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-12 22:51:56 -06:00
Larry Finger
545d963a9e
rtl8188eu: Remove wrapper for memset()
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-12 22:43:35 -06:00
Larry Finger
6ba33b6e48
rtl8188eu: Remove macro RTW_GET_LE16
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-12 21:55:10 -06:00
Larry Finger
ed2c3ab733
rtl8188eu: Rework endianess
...
Several of the struct items related to on-air data must be little endian.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-12 12:15:07 -06:00
Larry Finger
bad0b4cde4
rtl8188eu: Remove cases of two or more blank lines
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-01 18:00:05 -06:00
Larry Finger
e91077579f
rtl8188eu: Remove _func_enter_ and _func_exit_ statements
...
Kernel tracing is more effective.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-01 16:31:15 -06:00
Larry Finger
849d585656
rtl8188eu: Fix some edit errors from replace spin lock wrappers
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-28 18:42:41 -06:00
Larry Finger
8b76b3b701
rtl8188eu: Convert spin lock macros
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-28 17:37:57 -06:00
Larry Finger
9fe0c17a65
rtl8188eu: Remove wrapper _rtw_spinlock_init
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-28 11:14:29 -06:00
Larry Finger
287f6491f3
rtl8188eu: Part 3 of the upgrades from rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-20 00:12:27 -06:00
Larry Finger
ef77969222
rtl8188eu: More changes from rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104
...
This one completes the changes for rtw_mlme.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-19 18:03:11 -06:00
Larry Finger
c8a380cd16
rtl8188eu: Make updates from rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104
...
This patch is step 1 of many. This driver has much better sensitivity than
the previous version.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-19 14:32:12 -06:00
Larry Finger
ce4406631c
rtl8188eu: Align the eeprom buffer
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-13 11:03:55 -06:00
Larry Finger
fcc9034b0d
rtl8188eu: Remove unused enum
...
As firmware_source is no longer used, remove it.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-02-14 13:48:39 -06:00
Stas Sergeev
499e15d791
make firmware buffer persistent to not request firmware on every access
2014-02-14 13:46:49 -06:00
Larry Finger
c2741d0bec
rtl8188eu: Fix compilation for kernels older that 2.6.36
...
These changes will apply at least back to 2.6.32.
From: Stas Sergeev <stsp@list.ru>
Signed-off-by: Stas Sergeev <stsp@list.ru>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-02-12 11:05:30 -06:00
Larry Finger
67b05876af
rtl8188eu: Fix all the warnings introduced by commit 619d14b0a2
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-01-04 13:39:59 -06:00
Shaun2029
619d14b0a2
Enabled AP and P2P modes.
2014-01-04 16:25:18 +00:00
Larry Finger
295bb23ffe
rtl8188eu: Fix reporting of signal strength and quality
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-12-30 21:18:17 -06:00
Larry Finger
91938194fd
rtl8188eu: Make this code look exactly like the code in the kernel version
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-11-29 16:10:20 -06:00
Larry Finger
d53cd09c9d
staging: r8188eu: Convert driver to use external firmware
...
As originally submitted, this driver acquired its firmware from data
statements embedded in the source code. This information has been extracted
into a binary file that has been accepted into the linux-firmware git
repo as commit ffc47f1 entitled "rtlwifi: Add new firmware files for
rtl8188eu". This patch switches the driver to use this file, and deletes
the firmware data from the source.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-10-19 16:23:12 -05:00
Larry Finger
19db43ecbd
rtl8188eu: Backport kernel version
...
This driver was added to the kernel with version 3.12. The changes in that
version are now brought back to the GitHub repo. Essentually all of the code
is updated.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-10-19 12:45:47 -05:00
Larry Finger
e2b681b690
rtl8188eu: Fix smatch errors in core/rtw_mlme_ext.c
...
Smatch shows the following:
CHECK /home/finger/rtl8188eu/core/rtw_mlme_ext.c
/home/finger/rtl8188eu/core/rtw_mlme_ext.c:8594 mlme_evt_hdl() error: buffer overflow 'wlanevents' 24 <= 24
/home/finger/rtl8188eu/core/rtw_mlme_ext.c:8595 mlme_evt_hdl() error: buffer overflow 'wlanevents' 24 <= 24
/home/finger/rtl8188eu/core/rtw_mlme_ext.c:8596 mlme_evt_hdl() error: buffer overflow 'wlanevents' 24 <= 24
/home/finger/rtl8188eu/core/rtw_mlme_ext.c:8607 mlme_evt_hdl() error: buffer overflow 'wlanevents' 24 <= 24
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-06 22:43:40 -05:00
Larry Finger
c17cf6327b
rtl8188eu: Fix smatch errors due to MAX_PATH too small
...
Several of the struct definitions all for only 2 radio paths; however,
the code now has 3 such paths.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-06 22:29:33 -05:00
Álvaro Fernández Rojas
5f009d8fc2
Remove whitespaces from EXT_MP_IOCTL_HANDLER.
2013-09-06 18:22:45 +02:00
Álvaro Fernández Rojas
07931c07a0
Remove unused variables from rtw_mp_ioctl.h and move mp_ioctl_hdl to ioctl_linux.c.
2013-09-06 18:20:37 +02:00
Larry Finger
9580338a0b
Merge branch 'next' of https://github.com/Noltari/rtl8188eu
2013-09-06 09:59:30 -05:00
Álvaro Fernández Rojas
27670d56d0
Move vars from rtw_recv.h to rtw_recv.c in order to prevent unused vars warnings when including rtw_recv.h.
...
Note that SNAP_ETH_TYPE_APPLETALK_DDP, SNAP_ETH_TYPE_TDLS, SNAP_HDR_APPLETALK_DDP, oui_8021h and oui_rfc1042 are still unused and can be commented out.
2013-09-06 12:09:58 +02:00
Larry Finger
ab6511b485
rtl8188eu: Fix smatch warnings in hal/rtl8188e_hal_init.c, part 2
...
Smatch displays the following:
CHECK /home/finger/rtl8188eu/hal/rtl8188e_hal_init.c
/home/finger/rtl8188eu/hal/rtl8188e_hal_init.c:1695 hal_EfusePgPacketWriteData() info: ignoring unreachable code.
/home/finger/rtl8188eu/hal/rtl8188e_hal_init.c:2269 Hal_ReadPowerValueFromPROM_8188E() error: buffer overflow 'pwrInfo24G->IndexBW40_Base[rfPath]' 5 <= 5
/home/finger/rtl8188eu/hal/rtl8188e_hal_init.c:2466 Hal_ReadTxPowerInfo88E() error: buffer overflow 'pHalData->Index24G_CCK_Base[rfPath]' 14 <= 14
/home/finger/rtl8188eu/hal/rtl8188e_hal_init.c:2468 Hal_ReadTxPowerInfo88E() error: buffer overflow 'pHalData->Index24G_BW40_Base[rfPath]' 14 <= 14
/home/finger/rtl8188eu/hal/rtl8188e_hal_init.c:2474 Hal_ReadTxPowerInfo88E() error: buffer overflow 'pHalData->Index24G_CCK_Base[rfPath]' 14 <= 14
/home/finger/rtl8188eu/hal/rtl8188e_hal_init.c:2475 Hal_ReadTxPowerInfo88E() error: buffer overflow 'pHalData->Index24G_BW40_Base[rfPath]' 14 <= 14
An editing error split this patch into two parts.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 22:33:51 -05:00