Commit graph

291 commits

Author SHA1 Message Date
Larry Finger
66ccf88866 rtl8188eu: Fix smatch warnings in core/rtw_security.c
Smatch shows the following:
  CHECK   /home/finger/rtl8188eu/core/rtw_security.c
/home/finger/rtl8188eu/core/rtw_security.c:2077 rijndaelKeySetupEnc() warn: '4' 4 can't fit into 4611686018427387903 'rk'
/home/finger/rtl8188eu/core/rtw_security.c:2108 rijndaelEncrypt() warn: '8' 8 can't fit into 4611686018427387903 'rk'

These warnings were fixed by removing a number of unused routines.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-06 23:09:00 -05:00
Larry Finger
c2a0523bb7 rtl8188eu: Fix smatch warning in core/rtw_xmit.c
Smatch shows the following:
  CHECK   /home/finger/rtl8188eu/core/rtw_xmit.c
/home/finger/rtl8188eu/core/rtw_xmit.c:1560 dequeue_one_xmitframe() info: ignoring unreachable code.

A while loop that has a break in the first pss is converted to to an if statement.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-06 22:11:06 -05:00
Larry Finger
aa4ccbe53f rtl8188eu: Remove unused static data defines from core/rtw_recv.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-06 10:04:31 -05: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
96ba7d3cca rtl8188eu: Fix smatch warning in core/rtw_xmit.c
Smatch displays the following:
  CHECK   /home/finger/rtl8188eu/core/rtw_xmit.c
/home/finger/rtl8188eu/core/rtw_xmit.c:1571 dequeue_one_xmitframe() info: ignoring unreachable code.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 22:25:22 -05:00
Larry Finger
3be2cff4fe rtl8188eu: Fix smatch warning in core/rtw_wlan_util.c
Smatch shows the following:
  CHECK   /home/finger/rtl8188eu/core/rtw_wlan_util.c
/home/finger/rtl8188eu/core/rtw_wlan_util.c:1111 rtw_check_bcn_info() info: ignoring unreachable code.

This case had the _func_exit_ macro after a return.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 22:22:23 -05:00
Álvaro Fernández Rojas
bf4d305a09 Fix duplicated use of BROADCOM_OUI2, leaving BROADCOM_OUI3 unused. 2013-09-06 02:45:38 +02:00
Álvaro Fernández Rojas
a7e9834fbc Remove unused variables from core files. 2013-09-06 02:44:02 +02:00
Larry Finger
65c4e60be3 rtl8188eu: Fix smatch problems in core/rtw_ioctl_set.c
Smatch reports the following problems:
  CHECK   /home/finger/rtl8188eu/core/rtw_ioctl_set.c
/home/finger/rtl8188eu/core/rtw_ioctl_set.c:593 rtw_set_802_11_add_wep() error: buffer overflow 'psecuritypriv->dot11DefKey' 4 <= 4
/home/finger/rtl8188eu/core/rtw_ioctl_set.c:595 rtw_set_802_11_add_wep() error: buffer overflow 'psecuritypriv->dot11DefKeylen' 4 <= 4
/home/finger/rtl8188eu/core/rtw_ioctl_set.c:599 rtw_set_802_11_add_wep() error: buffer overflow 'psecuritypriv->dot11DefKey' 4 <= 4
/home/finger/rtl8188eu/core/rtw_ioctl_set.c:599 rtw_set_802_11_add_wep() error: buffer overflow 'psecuritypriv->dot11DefKey' 4 <= 4
/home/finger/rtl8188eu/core/rtw_ioctl_set.c:599 rtw_set_802_11_add_wep() error: buffer overflow 'psecuritypriv->dot11DefKey' 4 <= 4
/home/finger/rtl8188eu/core/rtw_ioctl_set.c:599 rtw_set_802_11_add_wep() error: buffer overflow 'psecuritypriv->dot11DefKey' 4 <= 4
/home/finger/rtl8188eu/core/rtw_ioctl_set.c:599 rtw_set_802_11_add_wep() error: buffer overflow 'psecuritypriv->dot11DefKey' 4 <= 4
/home/finger/rtl8188eu/core/rtw_ioctl_set.c:599 rtw_set_802_11_add_wep() error: buffer overflow 'psecuritypriv->dot11DefKey' 4 <= 4
/home/finger/rtl8188eu/core/rtw_ioctl_set.c:599 rtw_set_802_11_add_wep() error: buffer overflow 'psecuritypriv->dot11DefKey' 4 <= 4
/home/finger/rtl8188eu/core/rtw_ioctl_set.c:599 rtw_set_802_11_add_wep() error: buffer overflow 'psecuritypriv->dot11DefKey' 4 <= 4
/home/finger/rtl8188eu/core/rtw_ioctl_set.c:599 rtw_set_802_11_add_wep() error: buffer overflow 'psecuritypriv->dot11DefKey' 4 <= 4
/home/finger/rtl8188eu/core/rtw_ioctl_set.c:599 rtw_set_802_11_add_wep() error: buffer overflow 'psecuritypriv->dot11DefKey' 4 <= 4
/home/finger/rtl8188eu/core/rtw_ioctl_set.c:599 rtw_set_802_11_add_wep() error: buffer overflow 'psecuritypriv->dot11DefKey' 4 <= 4
/home/finger/rtl8188eu/core/rtw_ioctl_set.c:599 rtw_set_802_11_add_wep() error: buffer overflow 'psecuritypriv->dot11DefKey' 4 <= 4
/home/finger/rtl8188eu/core/rtw_ioctl_set.c:599 rtw_set_802_11_add_wep() error: buffer overflow 'psecuritypriv->dot11DefKey' 4 <= 4
/home/finger/rtl8188eu/core/rtw_ioctl_set.c:745 rtw_set_802_11_add_key() warn: was && intended here instead of ||?

The buffer overflow messages are due to an off-by-one problem. An if test skips code
for a value > 4. It should be >= 4.

The warning for a suspect logical operator was correct. With a logical or in the statement,
it made no sense.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 12:26:29 -05:00
Larry Finger
d1d8ed064b rtl8188eu: Fix smatch warning in core/rtw_ieee80211.c
Smatch reports the following warning:
  CHECK   /home/finger/rtl8188eu/core/rtw_ieee80211.c
/home/finger/rtl8188eu/core/rtw_ieee80211.c:161 rtw_set_ie() info: ignoring unreachable code.

This warning is caused by a _func_exit_ macro placed after the return.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 12:10:47 -05:00
Larry Finger
8f7fde8d6a rtl8188eu: Fix smatch warnings in core/rtw_efuse.c
Smatch reports the following warnings:

  CHECK   /home/finger/rtl8188eu/core/rtw_efuse.c
/home/finger/rtl8188eu/core/rtw_efuse.c:646 rtw_efuse_map_write() error: buffer overflow 'newdata' 8 <= 8
/home/finger/rtl8188eu/core/rtw_efuse.c:655 rtw_efuse_map_write() error: buffer overflow 'newdata' 8 <= 8
/home/finger/rtl8188eu/core/rtw_efuse.c:738 rtw_BT_efuse_map_write() error: buffer overflow 'newdata' 8 <= 8
/home/finger/rtl8188eu/core/rtw_efuse.c:747 rtw_BT_efuse_map_write() error: buffer overflow 'newdata' 8 <= 8

These are due to an off-by-one error in an array size.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 12:08:39 -05:00
Larry Finger
4769256ac2 rtl8188eu: Fix smatch warnings in core/rtw_cmd.c
Smatch reports the following warnings:
  CHECK   /home/finger/rtl8188eu/core/rtw_cmd.c
/home/finger/rtl8188eu/core/rtw_cmd.c:385 rtw_cmd_thread() error: buffer overflow 'wlancmds' 63 <= 63
/home/finger/rtl8188eu/core/rtw_cmd.c:403 rtw_cmd_thread() error: buffer overflow 'rtw_cmd_callback' 63 <= 63

These are caused by an off-by-one error using <= rather than <.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 12:03:09 -05:00
Larry Finger
ccd4c72b62 rtl8188eu: Fix smatch warning in core/rtw_br_ext.c
Smatch reports the following warning:
  CHECK   /home/finger/rtl8188eu/core/rtw_br_ext.c
/home/finger/rtl8188eu/core/rtw_br_ext.c:693 nat25_db_handle() info: ignoring unreachable code.

Remove an entra return statement.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 11:58:02 -05:00
Larry Finger
993b021502 rtl8188eu: Fix bug introduced in commit ef1472a
The bug caused failure to transfter data for any B/G network.

Reported by Paolo Valleri
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-19 13:10:26 -05:00
Larry Finger
0306cad214 rtl8188eu: A few fixups
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-19 12:21:40 -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
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
527bc4066f rtl8188eu: Fix checkpatch errors in core/rtw_xmit.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-02 22:16:03 -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
9e855cb914 rtl8188eu: Fix checkpatch errors in core/rtw_sta_mgt.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-01 13:33:20 -05:00
Larry Finger
79b808ad13 rtl8188eu: Fix checkpatch errors in core/rtw_sreset.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-01 13:10:46 -05:00
Larry Finger
539fbbc437 rtl8188eu: Fix checkpatch errors for core/rtw_security.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-01 12:59:07 -05:00
Larry Finger
37c22805d1 rtl8188eu: Fix checkpatch errors in core/rtw_rf.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-31 21:46:50 -05:00
Larry Finger
ef1472a558 rtl8188eu: Fix checkpatch errors in core/rtw_recv.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-31 21:43:28 -05:00
Larry Finger
09a9f2fc31 rtl8188eu: Fix checkpatch errors in core/rtw_mlme_ext.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-31 21:12:42 -05:00
Larry Finger
b03da9e17a rtl8188eu: Fix checkpatch errors in core/rtw_pwrctrl.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-31 17:27:03 -05:00
Larry Finger
cee2832224 rtl8188eu: Fix checkpatch errors in core/rtw_p2p.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-31 17:26:54 -05:00
Larry Finger
a7a6040bb2 rtl8188eu: Fix checkpatch errors in core/rtw_mp_ioctl.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-31 17:26:46 -05:00
Larry Finger
7b5b86f621 rtl8188eu: Fix checkpatch errors in core/rtw_mp.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-31 17:26:37 -05:00
Larry Finger
1212be3220 rtl8188eu: Fix checkpatch errors in core/rtw_mlme.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-29 22:59:07 -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
dc4ccb5db1 rtl8188eu: Fix checkpatch ERRORS in core/rtw_iol.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-29 11:54:09 -05:00
Larry Finger
ee5b8bfeeb rtl8188eu: Fix checkpatch ERRORs for core/rtw_ioctl_set.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-29 00:29:55 -05:00
Larry Finger
c0187151f4 rtl8188eu: Fix checkpatch errors in core/rtw_io.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-28 19:15:57 -05:00
Larry Finger
a96e65934d rtl8188eu: Dix checkpatch errors in core/rtw_ieee80211.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-28 18:59:03 -05:00
Larry Finger
7e4cdda1c0 rtl8188eu: Fix checkpatch ERRORs in core/rtw_efuse.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-28 12:00:21 -05:00
Larry Finger
4f7065928d rtl8188eu: Fix checkpatch ERRORs in core/rtw_debug.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-28 10:22:04 -05:00
Larry Finger
a839bebbbd rtl8188eu: Fix checkpatch ERRORs in core/rtw_cmd.c
Some WARNINGs and CHECKs remain.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-27 14:49:25 -05:00
Larry Finger
29ada234b0 rtl8188eu: Fix checkpatch errors in core/rtw_br_ext.c
There are CHECKS and WARNINGS remaining.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-27 13:27:48 -05:00
Larry Finger
954eab3527 rtl8188eu: Fix checkpatch errors in core/rtw_ap.c
Some CHECKS and WARNINGS remain.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-27 12:51:59 -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
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
5881f66af5 rtl8188eu: Remove DBG_RX_SIGNAL_DISPLAY_PROCESSING - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 23:51:57 -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
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
4f92869c5b rtl8188eu: Remove "if 1" statements
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 21:37:57 -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
Larry Finger
b2804a6af7 rtl8188eu: Convert typedef statement from include/hal_intf.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 18:04:37 -05:00
Larry Finger
476eaf9a4e rtl8188eu: Convert typedef statements from include/odm_HWConfig.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 17:56:14 -05:00
Larry Finger
ed7a8186fe rtl8188eu: Convert typedef statements in include/rtw_mlme.h
2
2013-07-26 16:37:24 -05:00
Larry Finger
ec5245f648 rtl8188eu: Convert typedef statements in include/rtw_rf.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 16:27:19 -05:00
Larry Finger
5cfecb6edc rtl8188eu: Convert most typedef statements in include/rtw_mp.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 16:08:55 -05:00
Larry Finger
7449a3d03b rtl8188eu: Convert typedef statements in include/Hal8188EPhyCfg.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 13:36:38 -05:00
Larry Finger
b925112e2a rtl8188eu: Convert typedef statements in include/rtw_mlme_ext.h
Some 5G material was removed. More to come.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 13:02:50 -05:00
Larry Finger
d8af6fff83 rtl8188eu: Convert typedef for _workitem to struct work_struct
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-25 11:02:03 -05:00
Larry Finger
3d755766c9 rtl8188eu: Convert typedef for _list to struct list_head
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-25 09:49:25 -05:00
Larry Finger
689d01adf6 rtl8188eu: Convert typedef for _queue to struct __queue
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-24 17:55:38 -05:00
Larry Finger
3e3d47445a rtl8188eu: Convert typedef for _pkt into struct sk_buff
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-24 17:03:54 -05:00
Larry Finger
dfb5277a29 rtl8188eu: Replace typedefs related to threads with standard kernel types
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-24 12:47:20 -05:00
Larry Finger
2685b52404 rtl8188eu: Replace several local size defines/typedefs with kernel header version
These include the following:

SIZE_T => size_t
SSIZE_T => ssize_t
SIZE_PTR => size_t

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-24 12:19:14 -05:00
Larry Finger
41ad3e27c6 rtl8188eu: Convert some typedef statements from include/osdep_service.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-23 22:39:20 -05:00
Larry Finger
a831dc1f7e rtl8188eu: Convert most typedef statements from include/rtw_pwrctrl.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-23 22:24:42 -05:00
Larry Finger
aa1c606fc6 rtl8188eu: Convert typedef statements in include/ieee80211.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-23 22:08:22 -05:00
Larry Finger
a01908ab27 rtl8188eu: Convert the typedef statements in include/wlan_bssdef.h
One remains that I still do not know how to convert; however, it has been
moved to os_dep/ioctl_linux.c where it is used.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-23 21:31:04 -05:00
Larry Finger
dd4a02b2ff rtl8188eu: Remove typedefs from include/rtw_mp_ioctl.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 22:39:52 -05:00
Larry Finger
548e42fb94 rtl8188eu: Convert "typedef HAL_DATA_TYPE" to "struct hal_data_8188e"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 18:18:19 -05:00
Larry Finger
b8e9aac38d rtl8188eu: Convert "typedef struct PG_PKT_STRUCT_A" to "struct pgpkt"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 17:54:53 -05:00
Larry Finger
7c128d19a1 rtl8188eu: Convert "typedef struct {}LED_871x" to "struct PLED_871x"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 17:07:13 -05:00
Larry Finger
f29537124a rtl8188eu: Convert "typdef enum LED_PIN_871x" to "enum LED_PIN_871x"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 16:52:57 -05:00
Larry Finger
9d0ff170d0 rtl8188eu: Convert typedef LED_CTL_MODE to enum LED_CTL_MODE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 16:45:04 -05:00
Larry Finger
0dff5700a9 rtl8188eu: Remove BR_EXT_DEBUG - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 22:09:58 -05:00
Larry Finger
71bc916e05 rtl8188eu: Remove CONFIG_FW_MLMLE - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 22:06:42 -05:00
Larry Finger
e9bc67fa4f rtl8188eu: Remove CONFIG_PATCH_JOIN_WRONG_CHANNEL - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 22:03:50 -05:00
Larry Finger
5e06e98779 rtl8188eu: Remove REJOIN - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 22:01:10 -05:00
Larry Finger
0e3b2adb3f rtl8188eu: Remove CONFIG_SPCT_CH_SWITCH - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 21:52:18 -05:00
Larry Finger
88dda12d3b rtl8188eu: Remove CHECK_EVENT_SEQ - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 21:40:46 -05:00
Larry Finger
cc7f562a55 rtl8188eu: Remove CONFIG_DEBUG_RTL871X - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 21:36:22 -05:00
Larry Finger
6d47834466 rtl8188eu: Remove CONFIG_AUTOSUSPEND - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 20:55:51 -05:00
Larry Finger
5175f81cb1 rtl8188eu: Remove CONFIG_DBG_P2P
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 20:37:56 -05:00
Larry Finger
d76c2ca5f6 rtl8188eu: Remove DBG_IOL_READ_EFUSE_MAP, DBG_IOCTL, and DBG_IO
All three of these are not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 13:23:01 -05:00
Larry Finger
f9be1cea77 rtl8188eu: Remove CONFIG_DRVEXT_MODULE - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 13:12:53 -05:00
Larry Finger
dfe35fb489 rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_MUTEX - not selected
This change made include/drv_conf.h and core/rtw_ioctl_query.c redundant.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 13:00:05 -05:00
Larry Finger
712e0297fc rtl8188eu: Remove CONFIG_80211D - defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 11:02:38 -05:00
Larry Finger
08a92b716f rtl8188eu: Remove CONFIG_PROC_DEBUG - defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 10:41:57 -05:00
Larry Finger
a3f602a144 rtl8188eu: Remove CONFIG_C2H_WK - defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 10:35:02 -05:00
Larry Finger
2155b974f3 rtl8188eu: Remove CL_IPV6_PASS - defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 10:31:26 -05:00
Larry Finger
25fa855fea rtl8188eu: Remove CONFIG_EVENT_THREAD_MODE - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 23:31:27 -05:00
Larry Finger
0bf3328b82 rtl8188eu: Remove CONFIG_H2CLBK - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 22:09:49 -05:00
Larry Finger
b94361b3e2 rtl8188eu: Remove MP_FIRMWARE_OFFLOAD - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 22:05:48 -05:00
Larry Finger
c803b22c53 rtl8188eu: Remove CONFIG_STA_MODE_SCAN_UNDER_AP_MODE - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 21:59:59 -05:00
Larry Finger
974a768133 rtl8188eu: Remove CONFIG_FTP_PROTECT - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 17:26:42 -05:00
Larry Finger
dcefeda1ca rtl8188eu: Remove CONFIG_ADAPTOR_INFO_CACHING_FILE - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 17:14:58 -05:00
Larry Finger
56f36cd3f0 rtl8188eu: Remove SUPPORT_RX_UNI2MCAST - not selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 17:10:21 -05:00
Larry Finger
36e36df58e rtl8188eu: Remove SUPPORT_TX_MCAST2UNI - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 17:06:21 -05:00
Larry Finger
41163d07a7 rtl8188eu: Remove DBG_EXPIRATION_CHK - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 17:03:39 -05:00
Larry Finger
c7c446f21a rtl8188eu: Remove CONFIG_DFS - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 16:58:15 -05:00
Larry Finger
5b066f3c11 rtl8188eu: Remove FULL_UNROLL - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 16:53:32 -05:00
Larry Finger
6667fc9990 rtl8188eu: Remove DBG_XMIT_BUF - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 16:51:34 -05:00
Larry Finger
bf279c9001 rtl8188eu: Remove CONFIG_RECV_THREAD_MODE - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 16:43:17 -05:00
Larry Finger
c4b448935f rtl8188eu: Remove DBG_RX_SEQ - not selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 16:39:17 -05:00
Larry Finger
74da315bc2 rtl8188eu: Remove DBG_RX_DECRYPTOR - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 16:35:29 -05:00
Larry Finger
2d82a64cba rtl8188eu: Remove DBG_RX_DROP_FRAME - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 16:31:59 -05:00
Larry Finger
89a83472e3 rtl8188eu: Remove CONSISTENT_PN_ORDER - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 16:27:15 -05:00
Larry Finger
d8627b6a67 rtl8188eu: Remove DBG_XMIT_BUF_EXT - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 16:25:28 -05:00
Larry Finger
8fcf8a9500 rtl8188eu: Remove DBG_TX_DROP_FRAME - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 16:22:15 -05:00
Larry Finger
91e47841e2 rtl8188eu: Remove CONFIG_RESUME_IN_WORKQUEUE - not selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 14:19:58 -05:00
Larry Finger
39f4cd8546 rtl8188eu: Remove CONFIG_WFD - not selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 13:53:07 -05:00
Larry Finger
d538ad412a rtl8188eu: Remove SUPPORT_HW_RFOFF_DETECTED
This parameter was selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 13:33:00 -05:00
Larry Finger
f2c2552bb1 rtl8188eu: Remove CONFIG_IOCTL_CFG80211 and others
The other parameters are CONFIG_CFG80211_FORCE_COMPATIBLE_2_6_37_UNDER,
CONFIG_SET_SCAN_DENY_TIMER, CONFIG_DRV_ISSUE_PROV_REQ, and
RTW_USE_CFG80211_STA_EVENT. None of these are defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 13:18:13 -05:00
Larry Finger
7333ca4047 rtl8188eu: Remove CONFIG_P2P_PS and CONFIG_P2P_REMOVE_GROUP_INFO
Both are defined whenever CONFIG_P2P is defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 11:25:24 -05:00
Larry Finger
f004d23436 rtl8188eu: Remove CONFIG_INTERRUPT_BASED_TXBCN
This one is not devined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 11:13:08 -05:00
Larry Finger
f4a1669097 rtl8188eu: Rework CONFIG_NATIVEAP_MLME
This variable is set in autoconf.h to be defined whenever CONFIG_AP is
defined. As there is no need for both parameters, CONFIG_NATIVEAP_MLME is
renamed to CONFIG_AP. In addition, the dead code associated with the one
instance where of _CONFIG_NATIVEAP_MLME_ is removed.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 11:01:46 -05:00
Larry Finger
632cdeeec8 rtl8188eu: Remove CONFIG_VALIDATE_SSID
This parameter is not set.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 10:48:54 -05:00
Larry Finger
5656471ac2 rtl8188eu: Remove CONFIG_IPS
This one is selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 22:26:35 -05:00
Larry Finger
34d1182272 rtl8188eu: Remove CONFIG_BSD_RX_USE_MBUF
This symbol is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 22:18:46 -05:00
Larry Finger
9799b069cb rtl8188eu: Remove RTL8192C_RECONFIG_TO_1T1R
This symbol is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 22:15:17 -05:00
Larry Finger
085a651d9c rtl8188eu: Remove CONFIG_MP_INCLUDED
This one is defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 21:55:30 -05:00
Larry Finger
e8b7f536c4 rtl8188eu: Remove CONFIG_WIFI_TEST
This parameter is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 21:30:21 -05:00
Larry Finger
167e245287 rtl8188eu: Remove CONFIG_LPS
This parameter is defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 21:25:11 -05:00
Larry Finger
5fc5fdc06a rtl8188eu: Remove CONFIG_LPS_RPWM_TIMER
This symbol is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 21:15:21 -05:00
Larry Finger
cf8cd84af0 rtl8188eu: Remove CONFIG_LPS_LCLK
This one is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 21:12:05 -05:00
Larry Finger
2f86fc26dd rtl8188eu: Remove CONFIG_XMIT_THREAD_MODE
This variable is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 17:50:08 -05:00
Larry Finger
d2528caa5f rtl8188eu: Remove CONFIG_FIND_BEST_CHANNEL
This variable is selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 17:13:46 -05:00
Larry Finger
f50db5cd2c rtl8188eu: Remove DBG_CONFIG_ERROR_DETECT
This variable is selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 17:05:40 -05:00
Larry Finger
387ba28bf9 rtl8188eu: Remove CONFIG_DISABLE_MCS13TO15
This variable is not selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 16:41:41 -05:00
Larry Finger
55d4e504a2 rtl8188eu: Remove CONFIG_UPDATE_INDICATE_SEQ_WHILE_PROCESS_ADDBA_REQ
This variable is not selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 16:38:21 -05:00
Larry Finger
eebbb9babd rtl8188eu: Remove CONFIG_USB_TX_AGGREGATION, IDEA_CONDITION, and CONFIG_MINIMAL_MEMORY_USAGE
CONFIG_USB_TX_AGGREGATION is always defined.
IDEA_CONDITION is always defined.
CONFIG_MINIMAL_MEMORY_USAGE is never defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-18 23:58:55 -05:00
Larry Finger
2462f06b0e rtl8188eu: Remove CONFIG_XMIT_ACK and CONFIG_XMIT_ACK_POLLING
Parameter CONFIG_XMIT_ACK is always defined, and CONFIG_XMIT_ACK_POLLING
is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-18 23:43:54 -05:00
Larry Finger
9a0ed4ec27 rtl8188eu: Remove CONFIG_ACTIVE_KEEP_ALIVE_CHECK
This configuration variable is always set

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-18 23:30:35 -05:00
Larry Finger
b31b2b3874 rtl8188eu: Remove CONFIG_RECV_REORDERING_CTRL
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-18 12:32:58 -05:00
Larry Finger
e1633b3914 rtl8188eu: CONFIG_SKB_COPY is alway selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-18 12:10:12 -05:00
Larry Finger
baf9862596 rtl8188eu: CONFIG_BR_EXT is always selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-18 10:42:52 -05:00
Larry Finger
07a90aac3f rtl8188eu: CONFIG_NEW_SIGNAL_STAT_PROCESS is always selected
The configuration cariable is removed.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-18 10:30:16 -05:00
Larry Finger
8fbf5c37a9 rtl8188eu: Remove CONFIG_LED configuration variables
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-18 10:22:43 -05:00
Larry Finger
5ce0198d67 rtl8188eu: CONFIG_HAS_EARLYSUSPEND is not ever selected
This configuration variable and its corresponding dead code are removed.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-18 10:06:49 -05:00
Larry Finger
951757e916 rtl8188eu: Remove ANTENNA DIVERSITY configuration variables and dead code
These changes include the following:
1. CONFIG_SW_ANTENNA_DIVERSITY - not selected
2. CONFIG_HW_ANTENNA_DIVERSITY - selected
3. CONFIG_ANTENNA_DIVERSITY - selected

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-14 14:10:10 -05:00
Larry Finger
9ba4954378 rtl8188eu: Remove configuration variables CONFIG_IOL_XXX and associated dead code
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-14 11:21:05 -05:00
Larry Finger
927e984c73 rtl8188eu: Remove CONFIG_LONG_DELAY_ISSUE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-12 22:43:43 -05:00
Larry Finger
0db3ae417e rtl8188eu: Remove CONFIG_LAYER2_ROAMING_RESUME
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-12 22:38:53 -05:00
Larry Finger
f1dfc4fb61 rtl8188eu: Remove CONFIG_HOSTAPD_MLME
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-12 22:22:57 -05:00
Larry Finger
fa5d9a4230 rtl8188eu: Remove CONFIG_TCP_CSUM_OFFLOAD_RX
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-12 21:46:56 -05:00
Larry Finger
7df5fff724 rtl8188eu: Remove dead code for CONFIG_USE_USB_BUFFER_ALLOC_RX and remove CONFIG_TX_MCAST2UNI lines
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-12 21:22:50 -05:00
Larry Finger
6583d55cd1 rtl8188eu: Remove dead code associated with CONFIG_INTEL_XXX
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-12 20:51:15 -05:00
Larry Finger
4c57c6047a rtl8188eu: Remove configuration variables *ANDROID* and associated dead code
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-12 10:54:26 -05:00
Larry Finger
acda213bd2 rtl8188eu: Remove dead code associated with WAPI
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-12 01:29:15 -05:00
Larry Finger
7c593a903d rtl8188eu: Remove dead code associated with CONFIG_CONCURRENT snd CONFIG_DUALMAC_CONCURRENT
These two configuration parameters are only associated with the RTL8192DU
device, and can be removed here.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-11 22:50:49 -05:00