[go: nahoru, domu]

History log of /drivers/staging/rtl8723au/os_dep/usb_intf.c
Revision Date Author Comments
bd2dec915e0aa1280d477fd4d08e28f90df321e0 31-Jul-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: usb_dvobj_init(): Remove unused variable 'pdev_desc'

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
c8875b2f1fc830f07cd08b8b5bce99471bfcffd9 31-Jul-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Do not duplicate kernel provided USB macros

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
92e396270fea0a787ea848880565fb14cfb20f18 21-Jul-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: rtw_resume(): release semaphore before exit on error

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
d71c77b1160ce5cc32ab959a86dbd25f42108f9a 21-Jul-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: rtw_resume(): release semaphore before exit on error

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
30c588e04c2ba3d2cc1ff06c2d0bc7ef9d3d9cf0 21-Jul-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Fold rtw_resume_process23a() into rtw_resume()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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>
2786faa33bfc8d61b4fa45dd2e31664de796c837 01-Jul-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Sanitize USB read/write functions

The original Realtek provided functions suffered badly from clutter to
accommodate broken operating systems. Lets try this lean and clean
version instead.

v2: Do not use the stack for data passed to usb_control_msg(). This
requires reintroducing the mutex used in the old function. In
addition, get rid of the no longer used 'usb_vendor_req_buf'.
Note that rtl8723au_writeN() remains unlocked, so it can be used
for bulk block transfers without having to retake the mutex for
every write().

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
bf51ee79fd468f958ce191f01bf4995fb3eb354c 01-Jul-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove unused pwrctrl_priv->brfoffbyhw

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>
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>
48039e70b647424ee9cf529af7846effb270f417 21-May-2014 Joe Perches <joe@perches.com> staging: realtek: Convert /n to \n

Use proper line terminations.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
68552a904c86e3e49d53305933371a1225d8aaf2 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Name port vs register access functions consistently

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
edbfd672cacb0d417096a1ed75e0070f1672c861 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Call usb_write*() functions directly

This allows us to finally remove the ugly HAL interface for accessing
registers, and remove rtw_io.c

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
633475cf5e6bfca434c7feb06653b0a187274c1d 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Call usb_{read,write}_port() functions directly

Get rid of more HAL layer obfuscations

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>
c174eae6f71bf3da736460e7872cdfc23c854fbc 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Call rtl8723au_set_hw_type() directly

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
43aeefd925e246a70dd4be8e03a76701ded4918f 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove unused usb_suspend_sema

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
86c3e3f11e83af86ad3876ecb1f9e98e35851d1b 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: usb_intf.c: Fixup yet another round of u8 abuse for error type

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
60a2d48551341ec597579ad52b64de18553bfe14 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: usb_vendor_req.h isn't used - remove it

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>
9385d861bddfb451145500ed1375304fa6ccec41 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Get rid of rtl8723au_set_hal_ops() and get rid of hal_ops.h

Since rtl8723au_set_hal_ops() is just a kmalloc(), move it to
rtw_usb_if1_init() and fix the error handling to not leak memory.

This also allows us to get rid of hal_ops.h

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
82ccb5972409fe838dd695ce45b79dc597428a4a 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Disentangle chip_configure from HAL wrappers

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1aaa37613ff34f2a2828aee3d9dfb9e83c6b340f 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove HAL wrappers about USB init/deinit

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
44e621c7a6234f5913ba315866712585fe6bc3e4 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove HAL wrappers around read_chip_version

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1f4746f1c51a42e4ad2f7316bdc89e67191a053e 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove some more HAL clutter

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9d85833d1956c88bd1b19d4df5e3cc5712519a63 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Use random ethaddr if EEPROM address is corrupted

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>
520106f61e164f07f88844ab20a5c709b9716dd4 26-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Get rid of struct io_priv

No point wrapping struct intf_hdl into struct io_priv just for the
sake of it.

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

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
e32c7cd01b3023cd753ef9870ac31aaeb665883b 26-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove wrapper around rtl8723au_set_intf_ops()

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>
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>
90102edc28162210694b68a422192017e80fcbfd 09-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Fix hopeless brackets for declaring a variable mid-function

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
ce16d2f18944f9ba6cafbc73be20803d848adf78 09-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Don't wrap kill_pid() in an unnecessary macro

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
810c832f5d9b99cec69b3dcb763c8c35215abf94 09-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove two layers of wrappers around rtw_cfg80211_indicate_scan_done()

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>
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>