[go: nahoru, domu]

History log of /drivers/staging/rtl8723au/os_dep/os_intfs.c
Revision Date Author Comments
dc20d1da78a631b1c823b6cebbf8f659d0faac1d 21-Jul-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Reduce wrapper layers around hal_{de, }init() calls

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
71cd6f54dcf6e9fd858c55b109f8efd1f9539808 21-Jul-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove no-op rtl8723a_deinit_dm_priv()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
a4f3d3c776140bb739353ca8614fd1105c696d97 01-Jul-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove never set struct rtw_adapter->bNotifyChannelChange

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
c3a3e226113dc43a0acdca3b98a7e175cc8b622b 01-Jul-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: pwrctrl_priv->ps_flag is never set

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
e3916153ea15f97a343e463c4b69bd819229d41a 31-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remmove buddy-adapter linking

This sort of stuff should be handled by the bonding driver

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
c44b33b72133aeb6c3972847444cc45f18642259 09-Jun-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Reference correct firmwarefiles with MODULE_FIRMWARE()

Add missing firmware references, and request the correct one.

Reported-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>
0c248b621b8b87a456558509d1cfc0d96d2d6860 09-Jun-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Reference correct firmwarefiles with MODULE_FIRMWARE()

Add missing firmware references, and request the correct one.

Reported-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>
546e2553ed06dc411c84283c47030c0626f2bc0d 27-May-2014 Sachin Kamat <sachin.kamat@linaro.org> staging: rtl8723au: Remove unneeded version.h inclusion in os_intfs.c

version.h inclusion is not needed as detected by versioncheck.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
32dfcb1bf22a04251de857adc70666266c08731c 25-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: bInternalAutoSuspend is always false

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>
bb4e506565cfc0a2f534dfda1fb7ca5c26f7a604 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Do not reset wdev->iftype in netdev_close()

wdev->ifdev should be set by .change_virtual_intf(). This solves the
problem of WARN() messages on module unload.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
f34475f5badfe8a9ad5836c94ca32f16ef07e9a8 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Do not reset wdev->iftype in netdev_close()

wdev->ifdev should be set by .change_virtual_intf(). This solves the
problem of WARN() messages on module unload.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
596f85adaac5259b2019d41a0e34292efe8df511 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Call usb_intf_{start,stop} directly

Rip out multiple layer of useless wrappers

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
633dd914ca2b94e91e453d033724d805d286394a 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Move last utility function from osdep_service.c to os_intfs.c

No point carrying a dedicated file just for this small helper, so move
it to os_intfs.c and get rid of osdep_service.c

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
e6ac6eb2aef4a78f21e433d5ce657334d0f77ec5 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: os_intfs.c: Various cosmetic cleanups

In addition skb->priorty is a u32, so make rtw_classify8021d return a
u32 to match.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9e2d06661a55ac8486cdb8e2bd9358755d2f703c 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: os_intfs.c: Fixup more u8/uint abuse for error return codes

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
25a931106fab088f5c50b4b998c0100127c3d262 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: usb_osintf.h isn't used for anything - get rid of it

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
02d50c22bdedec15998ca1a83141aae9b79b1022 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove sw led hal ops

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
db20a02baf6bb95bdb6e0b048f4fb28e830edc8b 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: We love wrappers!

Get rid of pointless wrapper around a simple kfree()

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>
03722621d2d2313a068aa06b21bcc32fafa4b527 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Call rtl8723a_init_default_value_directly()

We really don't need two layers of silly indirection to call this
function.

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>
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>
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>
7fb79ab959a25bdc771043af46620316f09ffc1a 26-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove another pile of unused entries from struct rtw_adapter

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4d593d22b99af7ca1a3621451b172f1516ea5350 26-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: bRxRSSIDisplay is always set to zero

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
73302d7f7420f359a74f9b7dca37f2484a69371f 26-Apr-2014 Larry Finger <Larry.Finger@lwfinger.net> staging: r8723au: Fix sparse warning in os_dep/os_intfs.c

Sparse reports the following:

drivers/staging/rtl8723au/os_dep/os_intfs.c:321:14: warning: restricted __be16 degrades to integer

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>
fdedd9fab0bc6999d788d658a014842e4c223a68 26-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove obsolete hal thread handling code

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>
76dc444185adc5f2a12dc713a337274593c76333 15-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Clean up namespace clashes with rtl8188eu driver

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
bc55ae446ffff66afa1744320331893ea39557ab 15-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: os_intfs.c: Declare a couple of local variables static

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>
94b080bc7005ad7be2519040410fdfef7345eb9d 09-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Simplify retrieving the ether_type in portctrl()

This renders the last element in include/ethernet.h unnecessary, so
remove it as well.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
763b4247cafdb978630d4da7ff48c8113c7d961e 09-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove a bunch of calls via indirect HAL interface and call functions directly

The 'HW' variable interface is confusing and simply obfuscates the
code, so this is the first patch in a series to remove it and make
direct calls to the functions in place.

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

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 third part of 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>