History log of /drivers/staging/rtl8723au/core/rtw_cmd.c
Revision Date Author Comments
a82b4b018a2341ab19885a1bcef6235513c053c5 09-Sep-2014 Greg Donald <gdonald@gmail.com> drivers: staging: rtl8723au: Fix 'code indent should use tabs where possible' errors

Fix checkpatch.pl 'code indent should use tabs where possible' errors

Signed-off-by: Greg Donald <gdonald@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
7e6646d50a429eb5804c30ff323ae545b0fcef12 07-Sep-2014 Greg Donald <gdonald@gmail.com> drivers: staging: rtl8723au: Fix '"(foo*)" should be "(foo *)"' errors

Fix checkpatch.pl '"(foo*)" should be "(foo *)"' errors

Signed-off-by: Greg Donald <gdonald@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4e66cf096c736532e277a992e8b0b3045af30b1d 22-Aug-2014 Greg Donald <gdonald@gmail.com> drivers: staging: rtl8723au: Fix "foo* bar" should be "foo *bar" errors

Fix checkpatch.pl "foo* bar" should be "foo *bar" errors

Signed-off-by: Greg Donald <gdonald@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
a48dd468efbb75a47447f82c849b1d43255a6792 31-Jul-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove two never set variables

struct registry_priv.usbss_enable and
struct pwrctrl_priv.bHWPwrPindetect are never set.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
808bcb4e78f7cd79feb89d53d54ea569cbba7386 22-Jul-2014 Masanari Iida <standby24x7@gmail.com> staging: rtl8723au: Fix typo in rtl8723au/core

This patch fix spelling typo in comments within
rtl8723au/core.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
352f145d8fce34aa75b58cca102587ba7bce4412 01-Jul-2014 Fabian Frederick <fabf@skynet.be> staging: rtl8723au: Remove unnecessary null test before kfree

Fix checkpatch warning:
WARNING: kfree(NULL) is safe this check is probably not required

Cc: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Jes Sorensen <Jes.Sorensen@redhat.com>
Cc: linux-wireless@vger.kernel.org
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
462eb49eae7060081d6e29e93c6defb866580e91 01-Jul-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Fold power_saving_wk_hdl() into rtw_drvextra_cmd_hdl23a()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2bd3b4fb370be0ad529975273399ccb60968a266 21-Jun-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove write-only struct security_priv->authenticator_ie

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
09d8879195c37dad2b4b122740af67271f84d1dd 25-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: rtw_cmd.c: Remove last #ifdef CONFIG_8723AU_BT_COEXIST usage

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
a862d5d307609be8ee7068a11626e571d4712e2b 25-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Rename BT_LpsLeave() rtl8723a_BT_lps_leave()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
f83e9e2a1359eea10caf04c3ea2dfd8d6f59d9df 25-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Rename BTDM_ForDhcp() to rtl8723a_BT_specialpacket_notify()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
43de03040998e98d8703b48dd0bf7705b649dfae 25-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Rename BT_WifiMediaStatusNotify() rtl8723a_BT_mediastatus_notify()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
d952e4c4af8ab641bac850cbac283c1fec67ca1e 25-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Rename BT_WifiScanNotify() rtl8723a_BT_wifiscan_notify()

Providing a dummy wrapper also allows removing some more
CONFIG_8723AU_BT_COEXIST clutter

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
febf30876e28346b58a96c5411933397b0474655 25-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Rename BTDM_Coexist() to rtl8723a_BT_do_coexist()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
ef95e276a8fd4da4b5b8617793451da4653d7ae4 25-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove some CONFIG_8723AU_BT_COEXIST clutter

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
3a159d9acc2ad4938d82fb9fc166f6f00fd26fe9 25-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Create rtl8723au_bt_intf.h

Use this header for declaring functions that are currently #ifdef'ed
out in the general code.

Start by moving BTDM_1Ant8723A() there and renaming it appropriately.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
f2f97035f08a5ea1f0c23e65f6ea9cd2f3cd2586 25-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Don't explicitly check check_fwstate() == true

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9e3d6df2df8dbc4c2c5fb733dc494dfc82e0e2ae 21-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Use WLAN_CIPHER_SUITE_* to mark crypto type

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9216c517fb0192d1828169d8af2bac59ee8e3173 21-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Fix up some random bit-flag handling

Randomly mixing true/false/_FAIL/0/1 is a recipe for disaster

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
efc7144ff163bb1305ec8585e9e2f93ad9b06bd9 21-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Use nl80211_iftype instead of driver's own custom types

In addition move rtw_set_802_11_infrastructure_mode23a() to
ioctl_cfg80211.c and declare it static.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
96808173627faebd1c39ab7af7630061bdd81c2a 21-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Fix compiling with CONFIG_8723AU_BT_COEXIST=n

Reported-by: Jim Davis <jim.epost@gmail.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1ec8911b6d7d12757be89d6d8f0cbbd8aa4ba350 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Make cmd and event handlers return int instead of u8

This is needed so we can eventually start passing around proper error
codes instead of the custom RTW ones.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
b7c19c276a230aee012ba7adef036689633c4cd8 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Get rid of sreset related HAL clutter

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8289d35730a8a5250cafb2c4922f9d3491e097b6 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Get rid of rtw_hal_dm_* clutter

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
d7f2c23adf3b299680046041d87cbf900505e380 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Another case of missing 'tid' bounds checking.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
00cf86c9976e33092ea163c7d813d272a94664d3 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Call c2h_handler_8723a() directly instead of via HAL interface

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
227ca8c4c40adf601e9cef25c45019e80429b204 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: The driver only has one c2h_id_filter

Since we only have one function for this, there is no point in keeping
the HAL silliness.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
849befad333c41633200ff36375d3d48739fbba3 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: c2h_evt_hdl() is always called with 3rd argument = NULL

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
ab281e3ba9ebf8b7b7e0bf4672256b145882c2b0 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Declare c2h_evt_hdl static

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
a790d58e6832262692416d41af99670b7aa1dca4 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Get rid of FUNC_NDEV_{FMT,ARG}

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9cd613c739ee436862e681acad8ded18ff85fd9a 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove FUNC_ADPT_{FMT,ARG}

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
6e8bc71df6aeed8722256f5465b5857235c046a3 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Add GFP argument to rtw_alloc_stainfo23a()

No need to allocate GFP_ATOMIC when we don't need to.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
ec838b0bc92630021eb32910b6ea3c3fc5da9e06 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: add GFP argument to rtw_alloc_network()

This allows us to use GFP_KERNEL when calling from a work handler.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
5290cd688e07fb492f3a049960f3b76ff776d218 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: rtw_createbss_cmd23a_callback(): Relax holding of pmlmepriv->lock

We only really need to hold pmlmepriv->lock while calling
rtw_indicate_connect23a(). rtw_get_stainfo23a() and
rtw_alloc_stainfo23a() rely on pstapriv->sta_hash_lock and the non
WIFI_AP_STATE path relies on pmlmepvi->scanned_queue.lock, except we
need to used clr_fwstate() instead of _clr_fwstate_().

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
bd8ad4a510962fd8a43391dc8a22783f9f54398f 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Eliminate struct qos_priv

Having struct qos_priv containing a single integer, and carrying a
dedicated header file for it, is just plain silly. Move the integer
into struct mlme_priv, which is the only place qos_priv was used
anyway, and get rid of the header file.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
b35c0ff605d67018255d1b53e212a50289b2ab71 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove unused + write-only entries from struct evt_priv

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
980cf72afb0f6eac84d3ea63978db0993b76a3ec 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Use workqueue to handle interrupt complete processing

Split the old work handler into a workqueue for processing
usb_read_interrupt_complete() events that require more than ust
clearing the event, and leave the old handler to just handle event
clearing.

This means we can get rid of the hacks with magic pointers to
determine what actions needs to be taken in the work handler, and
as an extra bonus obsoletes the bizarre cbuf code.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8df06a3b80b344b6ce5291fb2ce5e346e317d230 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Name cmd workqueue appropriately to allow for more workqueues

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
c3826753d39a5832905ed478fd6aa9ec0702e5c4 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove rtw_free_cmd_priv23a()

This function no longer does anything, so get rid of it.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fac7563a32d123a8386a8e921226af113898fb5e 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: rsp_buf wasn't used for anything - don't allocate it

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
c347dc6207f81dfbb95f426c783cb95899f710ab 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: pass the cmd parm buffer directly to the cmd handler

commit 0348dc74f6689825c16db40fbe0ce6ad2da5bab9 ensured that the parm
buffer passed to the cmd handlers is not being over-written. Hence
there is no need to make a copy of the parm buffer just to pass it
into the cmd handler.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
528e5c1dc78b9b4429f06d148014c048538019b5 26-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: rtw_free_network_queue23a() eliminate unused argument 'isfreeall'

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
c0b99bed167c80281dc5aa757776ccddda8250f6 26-Apr-2014 Larry Finger <Larry.Finger@lwfinger.net> staging: r8723au: Set undeclared routines to static

The following sparse warnings are fixed:

drivers/staging/rtl8723au/core/rtw_cmd.c:1211:6: warning: symbol 'dynamic_chk_wk_hdl' was not declared. Should it be static?
drivers/staging/rtl8723au/core/rtw_cmd.c:1238:6: warning: symbol 'lps_ctrl_wk_hdl' was not declared. Should it be static?
drivers/staging/rtl8723au/core/rtw_cmd.c:1812:6: warning: symbol 'rtw_getrttbl_cmd_cmdrsp_callback' was not declared. Should it be static?
drivers/staging/rtl8723au/core/rtw_mlme.c:364:6: warning: symbol 'rtw_free_network' was not declared. Should it be static?
drivers/staging/rtl8723au/core/rtw_mlme.c:373:6: warning: symbol 'rtw_free_network_nolock' was not declared. Should it be static?
drivers/staging/rtl8723au/core/rtw_mlme.c:631:6: warning: symbol 'rtw_add_network' was not declared. Should it be static?
drivers/staging/rtl8723au/core/rtw_mlme.c:644:5: warning: symbol 'rtw_is_desired_network' was not declared. Should it be static?
drivers/staging/rtl8723au/core/rtw_mlme_ext.c:2246:5: warning: symbol 'DoReserved23a' was not declared. Should it be static?
drivers/staging/rtl8723au/core/rtw_mlme_ext.c:5549:6: warning: symbol 'linked23a_rx_sig_stren_disp' was not declared. Should it be static?
drivers/staging/rtl8723au/core/rtw_pwrctrl.c:272:4: warning: symbol 'PS_RDY_CHECK' was not declared. Should it be static?
drivers/staging/rtl8723au/core/rtw_recv.c:1937:5: warning: symbol 'enqueue_reorder_recvframe23a' was not declared. Should it be static?
drivers/staging/rtl8723au/core/rtw_sta_mgt.c:24:6: warning: symbol '_rtw_init_stainfo' was not declared. Should it be static?
drivers/staging/rtl8723au/core/rtw_sta_mgt.c:112:6: warning: symbol 'rtw_mfree_all_stainfo' was not declared. Should it be static?
drivers/staging/rtl8723au/core/rtw_sta_mgt.c:127:6: warning: symbol 'rtw_mfree_sta_priv_lock' was not declared. Should it be static?
drivers/staging/rtl8723au/core/rtw_wlan_util.c:143:15: warning: symbol 'ratetbl_val_2wifirate' was not declared. Should it be static?
drivers/staging/rtl8723au/core/rtw_wlan_util.c:188:5: warning: symbol 'is_basicrate' was not declared. Should it be static?
drivers/staging/rtl8723au/core/rtw_wlan_util.c:206:14: warning: symbol 'ratetbl2rateset' was not declared. Should it be static?

Three of the above routines were not used and were deleted.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
aab26454e91ec5cc69c9eb32d824ef69d127fdc9 26-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: rtw_createbss_cmd23a(): Remove unnecessary typecast

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
ea4190b163fb4ff918d64f21e000cab038e9f41e 26-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: rtw_joinbss_cmd23a(): Remove unnecessary typecast

and remove use-once variable t_len.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
0348dc74f6689825c16db40fbe0ce6ad2da5bab9 26-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Preserve const attribute of cmd handler argument

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
b25b7b32ecfd8eec83f3dcd6c0d0b9362964dd43 26-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Make cmd handlers take a const u8 * as their data argument

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9e8ccf78de272a8105a59140e084a33f3dd449e6 26-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove unused list_head from struct cmd_obj

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
b1d49bd427f4c9b62db4df9c0de028a003cc2a10 26-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove obsolete header file cmd_osdep.h

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
ab033fdb262f688f6521caed82cb8f47f6b9e98f 26-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Fold _rtw_init_evt_priv23a() into rtw_init_evt_priv23a()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fc8ae7e548937bd95119b7bc0c1f0acb238a1535 26-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Fold _rtw_free_evt_priv23a() into rtw_free_evt_priv23a()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
f39a3d1598ec156331d84c125bfbddab6822f36f 26-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Fold _rtw_free_cmd_priv23a() into rtw_free_cmd_priv23a()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
d97e2d2b55525853d02a318f7f8a6ca214e24699 26-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Use a workqueue for command handling

Rewrite the old thread based code to use a workqueue instead. This
removes a pile of complexity, locks and queues and eliminates problem
that cmd handling could have been killed from userspace.

This was suggested by Tejun Heo - thanks!

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fbde4129175fd2896ffc9c5363ee1a7a65541e76 26-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: c2h_wk_callback(): Use GFP_KERNEL, and check return value

It is safe to use GFP_KERNEL in a workqueue handler, and check the
return value. If the malloc fails, skip and try again.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
98fb81291d30f83838379bf1522fead6673b5fdf 15-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove P2P/WiFiDirect/WiFiDisplay code

Discussing with Johannes Berg and Larry Finger, we have concluded that
this code really should be handled through wpa_supplicant, and not in
the kernel.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
3021bc42072ba073536a82458192bc98c8e0698e 15-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Fixup last users to use the kernel's WLAN_EID_* definitions

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
88cdc943c5d8fc5e5920c20a275ec1759fd8e6fd 09-Apr-2014 Larry Finger <Larry.Finger@lwfinger.net> staging: rtl8723au: Fix build error due to bad commit 6c89f82

Two routines are missing includes of a necessary header.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8d3fd6145b963c5d156e442677193c3fa10df708 09-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Eliminate HW_WAR_CHK_HI_QUEUE_EMPTY usage

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
327c70c04b2d045b9eea15d1ac30e4254ac4f687 09-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Make direct calls for HW_VAR_H2C_FW_{PWRMODE,JOINBSSRPT}

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
c17416ef707312429aafcdc4597db73906f3572e 29-Mar-2014 Larry Finger <Larry.Finger@lwfinger.net> staging: r8723au: Additional source patches

These changes are fixes that were discovered late in the testing
cycle.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
5e93f35209578fcabfa855e427354195e54b491f 29-Mar-2014 Larry Finger <Larry.Finger@lwfinger.net> staging: r8723au: Add source files for new driver - part 1

The Realtek USB device RTL8723AU is found in Lenovo Yoga 13 tablets.
A driver for it has been available in a GitHub repo for several months.
This commit contains the first part of the source files. The source
is arbitrarily split to avoid E-mail files that are too large.

Jes Sorensen at RedHat has made many improvements to the vendor code,
and he has been doing the testing. I do not have access to this device.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>