Commit graph

234 commits

Author SHA1 Message Date
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
Larry Finger
1d3cceea6a rtl8188eu: Fix smatch warnings in hal/HalPhyRf_8188e.c
Smatch reports the following:
  CHECK   /home/finger/rtl8188eu/hal/HalPhyRf_8188e.c
/home/finger/rtl8188eu/hal/HalPhyRf_8188e.c:1878 PHY_APCalibrate_8188E() info: ignoring unreachable code.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 22:14:11 -05:00
Larry Finger
ffac87a92b rtl8188eu: Fix code error in include/rtw_xmit.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 17:13:58 -05:00
Álvaro Fernández Rojas
9d32703c93 Remove duplicated CONFIG_AP_MODE check. 2013-09-05 15:16:49 +02:00
Larry Finger
9e9f54983f rtl8188eu: Increase maximum RX gain
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-31 20:02:19 -05:00
Larry Finger
7446992dc4 rtl8188eu: Remove include/circ_buf.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-15 20:09:00 -05:00
Larry Finger
168faff726 rtl8188eu: Fix checkpatch errors in include/*.h - part 4
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-15 20:04:25 -05:00
Larry Finger
8a46c9e7a5 rtl8188eu: Fix checkpatch errors in include/*.h - part 3
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-15 16:11:51 -05:00
Larry Finger
7120e63109 rtl8188eu: Fix chackpatch errors in include/*.h - part 2
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-14 22:03:17 -05:00
Larry Finger
2db42a3fbf rtl8188eu: Convert non-standard variable types to regular ones
These include changing s1Byte to s8, etc.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-14 12:03:28 -05:00
Larry Finger
9dd1827027 rtl8188eu: Fix checkpatch errors in include/*.h - part 1
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-13 21:01:38 -05:00
Larry Finger
f9d86b986b rtl8188eu: Fix C90 comments in include/*.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-11 23:36:23 -05:00
Larry Finger
30b92ac1c6 rtl8188eu: Fix checkpatch errors in os_dep/usb_intf.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-11 20:59:28 -05:00
Larry Finger
a90ca697ca rtl8188eu: Fix checkpatch errors in os_dep/os_intfs.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-10 21:53:06 -05:00
Larry Finger
5a7c47efff rtl8188eu: Fix checkpatch errors in os_dep/mlme_linux.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-10 12:20:19 -05:00
Larry Finger
a311b57c32 rtl8188eu: Fix remaining checkfile errors in hal/*.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-08 22:23:49 -05:00
Larry Finger
bc21c61991 rtl8188eu: Fix checkpatch errors in hal/odm.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-06 22:34:32 -05:00
Larry Finger
7b59aa12db rtl8188eu: Fix checkpatch errors in core/rtw_wlan_util.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-02 12:12:37 -05:00
Larry Finger
6e2ae99fd8 rtl8188eu: Fix checkpatch errors in core/rtw_led.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-29 15:06:54 -05:00
Larry Finger
1ada4e9170 rtl8188eu: Remove configuration parameter CONFIG_80211N_HT
This one will always be selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-27 10:56:06 -05:00
Larry Finger
de0b9f2155 rtl8188eu: Delete unused _MODULE_DEFINE_ code
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-27 00:13:44 -05:00
Larry Finger
d1802e72f4 rtl8188eu: Remove RTW_ENABLE_WIFI_CONTROL_FUNC - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-27 00:08:03 -05:00
Larry Finger
237fa4c813 rtl8188eu: Remove a few more configuration variables
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-27 00:03:32 -05:00
Larry Finger
f55990fd29 rtl8188eu: Remove most of the remaining parameters from autoconf.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 22:47:25 -05:00
Larry Finger
1e96c9a1d4 rtl8188eu: Remove MP_DRIVER conditionals - selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 22:26:30 -05:00
Larry Finger
caeea00c03 rtl8188eu: Remove SIC_ENABLE and SIC_HW_SUPPORT - neither selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 22:13:06 -05:00
Larry Finger
e5e7596841 rtl8188eu: Remove RTL8188E_FPGA_true_PHY_VERIFICATION - not selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 22:07:57 -05:00
Larry Finger
e520b8da19 rtl8188eu: Remove CONFIG_MP_IWPRIV_SUPPORT - selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 22:04:40 -05:00
Larry Finger
90575aca87 rtl8188eu: Remove code for ENABLE_USB_DROP_INCORRECT_OUT and DISABLE_BB_RF
Neither is selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 21:58:08 -05:00
Larry Finger
6b83fa17db rtl8188eu: Remove POWER_TRAINING_ACTIVE - selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 21:52:05 -05:00
Larry Finger
a0911e4309 rtl8188eu: Remove RATE_ADAPTIVE_SUPPORT - this is selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 21:47:50 -05:00
Larry Finger
35044413a3 rtl8188eu: Fix remainder of trivial typedef statements
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 20:15:31 -05:00
Larry Finger
2bd2f4b4c8 rtl8188eu: Convert typedef for _adapter, etc.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 20:08:39 -05:00
Larry Finger
e8012b9521 rtl8188eu: Convert typedef statement in include/rtw_pwrctrl.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 18:15:45 -05:00