Commit graph

298 commits

Author SHA1 Message Date
Larry Finger
90df80d763 rtl8188eu: Fix build when CONFIG_P2P is not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-10 21:45:35 -05:00
Larry Finger
993b4435cb rtl8188eu: Fix most errors from smatch
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-10 11:18:03 -05:00
Larry Finger
ee006634cb rtl8188eu: Remove CONFIG_PLATFORM_ARM_XX
None of these are defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-07 13:12:29 -06:00
Larry Finger
464dd388cf rtl8188eu: Remove CONFIG_PLATFORM_MT53XX
This is not selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-07 13:10:07 -06:00
Larry Finger
10a995af18 rtl8188eu: Remove RTK_DMP_PLATFORM
This is not selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-07 13:07:38 -06:00
Larry Finger
cfd60faf5e rtl8188eu: Remove "if 1"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-07 13:00:36 -06:00
Larry Finger
715a0150a8 rtl8188eu: Remove CONFIG_TCP_CSUM_OFFLOAD_RX
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-07 12:36:04 -06:00
Larry Finger
49de871812 rtl8188eu: Remove CONFIG_PLATFORM_ROCKCHIPS
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-06 19:00:36 -06:00
Larry Finger
3b93a7822a rtl8188eu: Remove CONFIG_SIGNAL_DISPLAY_DBM
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-06 18:58:36 -06:00
Larry Finger
4bf02bb7d8 rtl8188eu: Replace typedef for WLAN_BSSID_EX
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-06 18:26:23 -06:00
Larry Finger
5d615fab61 rtl8188eu: Rename get_WLAN_BSSID_EX_sz
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-06 18:01:31 -06:00
Larry Finger
89552a85d0 rtl8188eu: Remove _rtw_spinlock_free
This routine does nothing.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-06 16:48:54 -06:00
Larry Finger
c0ef452bab rtl8188eu: Remove wrappers around spin_lock_bh and spin_unlock_bh
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-06 11:55:51 -06:00
Larry Finger
dc4dbd3a7c rtl8188eu: Remove wrapper around spin_lock_init
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-05 14:43:57 -06:00
Larry Finger
1bb0401638 rtl8188eu: CONFIG_TDLS
This variable is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-04 15:31:57 -06:00
Larry Finger
dd62caa1e1 rtl8199eu: Replace TRUE and FALSE with true and false
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 17:25:27 -06:00
Larry Finger
dfeb1b4e83 rtl8188eu: Remove CONFIG_GPIO_WAKEUP
This symbol was not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 17:06:30 -06:00
Larry Finger
ed192682fe rtl_8188eu: Remove CONFIG_MMC_PM_KEEP_POWER, and CONFIG_WOWLAN
These parameters are not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 17:03:18 -06:00
Larry Finger
2a75f42bff rtl8188eu: Remove CONFIG_EFUSE_CONFIG_FILE and CONFIG_RF_GAIN_OFFSET
These two interdependent parameters are not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 11:34:17 -06:00
Larry Finger
4b61fd5bf7 rtl8188eu: Remove CONFIG_WAPI_SUPPORT
This symbol is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 11:12:58 -06:00
Larry Finger
1d52d1060a rtl8188eu: Remove CONFIG_INTEL_WIDI
This symbol was not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 10:54:45 -06:00
Larry Finger
e5f09bb52b rtl8188eu: Remove CONFIG_GLOBAL_UI_PID
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 10:35:25 -06:00
Larry Finger
27f745af7b rtl8188eu: Remove some configuration variables defined when CONFIG_P2P is defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-01 22:48:40 -06:00
Larry Finger
1155811fcf rtl8188eu: Remove CONFIG_IOL
This parameter is defined by default.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-01 10:36:23 -06:00
Larry Finger
71377b69a4 rtl8188eu: Change CONFIG_IOL_READ_EFUSE_MAP to CONFIG_IOL
When CONFIG_IOL is defined, then CONFIG_IOL_READ_EFUSE_MAP is automatically
defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-01 10:20:25 -06:00
Larry Finger
427ab12050 rtl8188eu: Remove CONFIG_IOL_NEW_GENERATION
This one is selected by defining CONFIG_IOL.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-28 16:12:47 -06:00
Larry Finger
31d5798603 rtl8188eu: Remove CONFIG_HW_PWRP_DETECTION
It is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-28 16:06:01 -06:00
Larry Finger
eba06c1708 rtl8188eu: Remove CONFIG_WIFI_TEST
The one is never selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-28 16:02:57 -06:00
Larry Finger
ee0ecc2037 rtl8188eu: Remove CONFIG_TX_EARLY_MODE
This one is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-28 12:41:56 -06:00
Larry Finger
d3b53e90aa rtl8188eu: Remove CONFIG_REGULATORY_CTRL
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-27 20:24:19 -06:00
Larry Finger
32c09fed58 rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_BUFFER_PREALLOC
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-27 20:21:19 -06:00
Larry Finger
1a2d9b8514 rtl8188eu: Remove CONFIG_NEW_SIGNAL_STAT_PROCESS
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-27 20:11:07 -06:00
Larry Finger
72bd29ec15 rtl8188eu: Remove CONFIG_LAYER2_ROAMING
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-27 15:46:32 -06:00
Larry Finger
4808b0c71e rtl8188eu: Remove CONFIG_LAYER2_ROAMING_RESUME
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-27 15:34:48 -06:00
Larry Finger
3263fc1330 rtl8188eu: Remove CONFIG_USB_TX_AGGREGATION
This one was defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-26 14:19:01 -06:00
Larry Finger
42a1d09fe1 rtl8188eu: Remove CONFIG_USE_USB_BUFFER_ALLOC_RX
This was never defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-26 14:06:11 -06:00
Larry Finger
fdafd36b5e rtl8188eu: Clean up os_dep/ioctl_linux.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-26 12:18:57 -06:00
Larry Finger
ad60073d21 rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_MUTEX
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-25 22:07:13 -06:00
Larry Finger
dae15933ce rtl8188eu: Remove CONFIG_LPS
This symbol is defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-24 20:32:00 -06:00
Larry Finger
636309c83f rtl8188eu: Remove SUPPORT_HW_RFOFF_DETECTED
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-24 10:26:03 -06:00
Larry Finger
7f75913cfb rtl8188eu: Remove CONFIG_IPS
This one is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-24 10:18:56 -06:00
Larry Finger
cc8740eb70 rtl8188eu: Remove CONFIG_SET_SCAN_DENY_TIMER
This one is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-24 10:01:42 -06:00
Larry Finger
8e700a6ee2 rtl8188eu: Fix build on kernel version 4.0+
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-24 09:42:06 -06:00
Larry Finger
2b27b83d40 rtl8188eu: Remove CONFIG_80211N_HT
This one is always selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-20 20:30:23 -06:00
Larry Finger
49437ec417 rtl8188eu: Remove CONFIG_TX_MCAST2UNI
This parameter is always selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-20 10:11:36 -06:00
Larry Finger
5ded2b3ded rtl8188eu: Remove CONFIG_XMIT_ACK and CONFIG_XMIT_ACK_POLLING
The first one was always selected. The second was not selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-20 09:37:42 -06:00
Larry Finger
99db2615c8 rtl8188eu: Remove RTW_USE_CFG80211_STA_EVENT and clean Makefile
This paramter is always selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-20 09:12:24 -06:00
Larry Finger
5470a10d13 rtl8188eu: Remove CONFIG_IOCTL_CFG80211
This one is always selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-19 22:52:01 -06:00
Larry Finger
34c3293686 rtl8188eu: Convert C90 comments in os_dep
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-19 22:11:26 -06:00
Larry Finger
9b5b5c4e12 rtl8188eu: Replace wrapper for memset
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-19 14:58:09 -06:00
Larry Finger
529328fd3d rtl8188eu: Replace wrapper for memcpy
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-19 14:50:04 -06:00
Larry Finger
276a62340a rtl8188eu: Fix more endian issues
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-16 13:00:49 -06:00
Larry Finger
b3e44458db rtl8188eu: Fix build for kernel 3.20
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-16 12:59:40 -06:00
Larry Finger
e8487f5809 rtl8188eu: Remove code selected by CONFIG_DUALMAC_CONCURRENT
This variable only applies to RTL8192DU.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-15 14:41:56 -06:00
Larry Finger
020675ff42 rtl8188eu: Remove code selected when CONFIG_CONCURRENT_MODE is defined
This parameter can only be set for RTL8192DU.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-15 14:31:30 -06:00
Larry Finger
1305b2dc4b rtl8188eu: Fix build warning for kernels 3.16-3.18
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-15 12:07:44 -06:00
Larry Finger
d2b7e5be2d rtl8188eu: Remove code for DBG_MEMORY_LEAK
The kernel does a better job.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-14 20:27:38 -06:00
Larry Finger
5b8f5bc69d rtl8188eu: More Sparse fixes
There are only a few more left. Most are in the P2P code

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-29 21:41:53 -06:00
Larry Finger
481d6c817d rtl8188eu: Clean up more Sparse messages
There are still problems remaining, but those are believed to be cosmetic.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-29 15:27:28 -06:00
Larry Finger
6dc546efc8 rtl8188eu: Remove byte ordering routines
The kernel routines can handle everything that is needed

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-28 23:58:29 -06:00
Larry Finger
7c7f632ac7 rtl8188eu: Fix some sparse warnings
The driver did not work on PowerPC, which is big endian. This patch
fixes all the sparse warnings concerning improper use of __le16 and __le32
variables.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-27 23:14:58 -06:00
Larry Finger
b2de21036e rtl8188eu: Remove CONFIG_LITTLE_ENDIAN
Replace with kernel-devined __LITTLE_ENDIAN. This also applies
to CONFIG_BIG_ENDIAN.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-26 16:45:43 -06:00
Larry Finger
a8e1fbf1f9 rtl8188eu: Remove __func_enter__ and __func_exit__
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-26 16:20:25 -06:00
Larry Finger
37122aaa43 rtl8188eu: Fix build warning for 3.13
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-29 18:42:21 -06:00
Larry Finger
06334102cd rtl8188eu: Replace _FALSE and _TRUE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-28 20:13:24 -06:00
Larry Finger
17d1637977 rtl8188eu: Replace PVOID and VOID
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-28 20:07:17 -06:00
Larry Finger
b6b121512b rtl8188eu: Remove dead code inside #if 0
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-28 20:00:11 -06:00
Larry Finger
2d60bad9ad rtl8188eu: FRemove dead code for other than USB
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-28 11:13:03 -06:00
Larry Finger
86b0c1a52e rtl8188eu: Fix build on kernel 3.12
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-27 20:09:18 -06:00
Larry Finger
4a660c6a67 rtl8188eu: Fix remaining warnings in build
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-27 18:06:03 -06:00
Larry Finger
6348961d3a rtl8188eu: Fix to build on modern kernels
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-27 16:41:28 -06:00
Larry Finger
c8e5247e2e rtl8188eu: More Sparse fixes
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-19 13:49:35 -06:00
Larry Finger
bb33327257 rtl8188eu: Remove all trailing spaces from code
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-19 00:59:46 -06:00
Larry Finger
8db176767f rtl8188eu: Fix Sparse warnings in core/rtw_mlme_ext.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-18 22:28:04 -06:00
Larry Finger
202d20077c rtl8192eu: Replace typedefs for struct adapter
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-17 17:13:53 -06:00
Larry Finger
ec15c88773 rtl8188eu: Make debug level settable from module loading
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-17 00:40:52 -06:00
Larry Finger
52f8d17ffc rtl8188eu: Flatten os_dep
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-16 19:03:30 -06:00
Larry Finger
7892bc7329 rtl8188eu: Remove all conditional code for devices other than RTL8188EU
This commit handles os_dep and Makefile

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-16 18:13:14 -06:00
Larry Finger
bfc1e57860 rtl8188eu: Fix remaining compile warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-16 18:00:01 -06:00
Larry Finger
9e2e9b9721 rtl8188eu: Fix compile warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-16 17:21:14 -06:00
Larry Finger
17eaf0e045 rtl8188eu: Remove some unused files
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-16 17:08:39 -06:00
Larry Finger
62ef49de15 rtl8188eu: Remove the PLATFORM_LINUX tests
This configuration parameter is always selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-15 18:29:43 -06:00
Larry Finger
dd606233f2 rtl8188eu: Remove dead code for FREEBSD
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-15 16:58:13 -06:00
Larry Finger
a68c6cc26e rtl8188eu: Remove code used only for Windows
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-15 14:28:28 -06:00
Larry Finger
4ee8d3010d rtl8188eu: Remove dead code from CONFIG_MP_INCLUDED
This parameter is used to turn on manufacturing test code.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-15 13:42:27 -06:00
Larry Finger
a0c85b341e rtl8188eu: Remove some Sparse problems
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-14 23:08:37 -06:00
Larry Finger
065126d8ce rtl8188eu: Place driver rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104 in branch v4.1.8_9499
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-11 15:15:04 -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
86fdc52e9a rtl8188eu: usb_dvobj_init(): A NULL pointer check for usb_host_endpoints makes no sense
Simplify the code.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-01 16:13:11 -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
18c80911a2 rtl8188eu: Make device have wlanX name
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-15 17:58:17 -06:00
Hiroki Kondo
bf9abe2b9e Add a new ID 2014-08-24 15:00:38 +09:00
Larry Finger
051cb74be4 rtl8188eu: Add two new IDs
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-08-12 17:10:21 -05:00
Larry Finger
fc94d94d6c rtl8188eu: Remove _DATE_, etc.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-08-12 17:05:05 -05:00
Tim Armstrong
99c15d1d35 Fix function arguments to match ndo_select_queue in 3.13 headers. 2014-07-08 10:24:29 -05:00
Larry Finger
63fe7cda86 rtl8188eu: Fix build warning for kernels 2.6.39-
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-04-18 01:21:08 -05:00
Manu Gupta
36e0fb5f24 1. Adding Support for Dlink 123 11n Adapter
2. Checked that this driver works with the given version on kernel 3.11.10-7-desktop on my computer
3. Also, hwinfo --usb shows the following output for this driver. Please
find the output :

10: USB 00.0: 0200 Ethernet controller
  [Created at usb.122]
  Unique ID: R_O4.dPfoed7O7sA
  Parent ID: pBe4.2DFUsyrieMD
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0
  SysFS BusID: 2-6:1.0
  Hardware Class: network
  Model: "D-Link DWA-123 11n Adapter"
  Hotplug: USB
  Vendor: usb 0x2001 "D-Link"
  Device: usb 0x3310 "DWA-123 11n Adapter"
  Serial ID: "D8FEE3575902"
  Driver: "r8188eu"
  Driver Modules: "8188eu"
  Device File: wlp0s20u6
  Speed: 480 Mbps
  HW Address: d8:fe:e3:57:59:02
  Link detected: yes
  Module Alias: "usb:v2001p3310d0000dc00dsc00dp00icFFiscFFipFFin00"
  Driver Info #0:
    Driver Status: 8188eu is active
    Driver Activation Cmd: "modprobe 8188eu"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #6 (Hub)
2014-02-24 22:51:19 +05:30