History log of /drivers/net/wireless/rtlwifi/rtl8192de/sw.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0298dc9f2273fb2d596ae10d7700f054bfce601d 03-Apr-2012 Larry Finger <Larry.Finger@lwfinger.net> rtlwifi: rtl8192de: Fix firmware initialization

Before the switch to asynchronous firmware loading (mainline commit b0302ab),
it was necessary to load firmware when initializing the first of the units
in a dual-mac system. After the change, it is necessary to load firmware in
both units.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
/drivers/net/wireless/rtlwifi/rtl8192de/sw.c
b0302aba812bcc39291cdab9ad7e37008f352a91 30-Jan-2012 Larry Finger <Larry.Finger@lwfinger.net> rtlwifi: Convert to asynchronous firmware load

This patch addresses a kernel bugzilla report and two recent mail threads.

The kernel bugzilla report is https://bugzilla.kernel.org/show_bug.cgi?id=42632,
which reports a udev timeout on boot.

The first mail thread, which was on LKML (http://lkml.indiana.edu/hypermail/
linux/kernel/1112.3/00965.html) was for a WARNING that occurs after a
suspend/resume cycle for rtl8192cu.

The scond mail thread (http://marc.info/?l=linux-wireless&m=132655490826766&w=2)
concerned changes in udev that break drivers that delay while firmware is loaded
on modprobe.

This patch converts all rtlwifi-based drivers to use the asynchronous firmware
loading mechanism. Drivers rtl8192ce, rtl8192cu and rtl8192de share a common
callback routine. Driver rtl8192se needs different handling of the firmware,
thus it has its own code.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
/drivers/net/wireless/rtlwifi/rtl8192de/sw.c
d273bb20c00340748e3ca9730f87524ec5abbd64 27-Jan-2012 Larry Finger <Larry.Finger@lwfinger.net> rtlwifi: Move pr_fmt macros to a single location

Although the rtlwifi family of devices contains 11 copies of the pr_fmt
macro, the macro is not defined for all routines that need it. By moving
the macro to wifi.h, a single copy is available for all routines.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
/drivers/net/wireless/rtlwifi/rtl8192de/sw.c
6a57b08e222f4e054a7e7160ef7426c5614c0cc0 08-Jan-2012 Larry Finger <Larry.Finger@lwfinger.net> rtl8192de: Update copyright dates

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
/drivers/net/wireless/rtlwifi/rtl8192de/sw.c
d9595ce30bd860a1c5bcafef8430f46faa26d6eb 06-Jan-2012 Joe Perches <joe@perches.com> rtlwifi: Remove incorrect logging message prefixes

pr_fmt() adds them. These are unnecessary and wrong.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
/drivers/net/wireless/rtlwifi/rtl8192de/sw.c
9d833ed752e91c71792dd8ebfd0f865e6a568a37 05-Jan-2012 Joe Perches <joe@perches.com> rtlwifi: Convert RT_ASSERT macro to use ##__VA_ARGS__

Consolidate printks to avoid possible message interleaving
and reduce the object size.

Remove unnecessary RT_ASSERT parentheses.
Align arguments.
Coalesce formats.
Remove unnecessary __func__ use as the macro uses it.

$ size drivers/net/wireless/rtlwifi/built-in.o*
text data bss dec hex filename
588901 55333 127216 771450 bc57a drivers/net/wireless/rtlwifi/built-in.o.new
590002 55333 127560 772895 bcb1f drivers/net/wireless/rtlwifi/built-in.o.old

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
/drivers/net/wireless/rtlwifi/rtl8192de/sw.c
f30d7507a8116e2099a9135c873411db8c0a3dc6 05-Jan-2012 Joe Perches <joe@perches.com> rtlwifi: Convert RT_TRACE macro to use ##__VA_ARGS__

Consolidate printks to avoid possible message interleaving
and reduce the object size.

Remove unnecessary RT_TRACE parentheses.

Miscellaneous typo and grammar fixes.
Add missing newlines to formats.
Remove duplicate KERN_DEBUG prefixes.
Coalesce formats.
Align arguments.

$ size drivers/net/wireless/rtlwifi/built-in.o*
text data bss dec hex filename
594841 55333 129680 779854 be64e drivers/net/wireless/rtlwifi/built-in.o.new
607022 55333 138720 801075 c3933 drivers/net/wireless/rtlwifi/built-in.o.old

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
/drivers/net/wireless/rtlwifi/rtl8192de/sw.c
3db1cd5c05f35fb43eb134df6f321de4e63141f2 19-Dec-2011 Rusty Russell <rusty@rustcorp.com.au> net: fix assignment of 0/1 to bool variables.

DaveM said:
Please, this kind of stuff rots forever and not using bool properly
drives me crazy.

Joe Perches <joe@perches.com> gave me the spatch script:

@@
bool b;
@@
-b = 0
+b = false
@@
bool b;
@@
-b = 1
+b = true

I merely installed coccinelle, read the documentation and took credit.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/wireless/rtlwifi/rtl8192de/sw.c
9d9779e723a5d23b94abbe5bb7d1197921f6f3dd 03-Jul-2011 Paul Gortmaker <paul.gortmaker@windriver.com> drivers/net: Add module.h to drivers who were implicitly using it

The device.h header was including module.h, making it present for
most of these drivers. But we want to clean that up. Call out the
include of module.h in the modular network drivers.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
/drivers/net/wireless/rtlwifi/rtl8192de/sw.c
603be3885b9d518ff4822b357e2687b6ff02f1ac 12-Oct-2011 Larry Finger <Larry.Finger@lwfinger.net> rtlwifi: Change PCI drivers to use the new PM framework

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
/drivers/net/wireless/rtlwifi/rtl8192de/sw.c
73a253ca9865cf743c9bc1c97982cb343f535655 07-Oct-2011 Larry Finger <Larry.Finger@lwfinger.net> rtlwifi: Change debug parameter to apply to individual drivers

The current debug parameter is applied to rtlwifi, which means that all
loaded drivers have the same level of debugging applied. In addition,
the previous method requires a two-step load process to enable debugging.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
/drivers/net/wireless/rtlwifi/rtl8192de/sw.c
87b6d09225506236c58bf407f9b750591a3b3a7b 19-Sep-2011 Larry Finger <Larry.Finger@lwfinger.net> rtlwifi: rtl8192de: Change modinfo messages

The various modparam messages are difficult to understand.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
/drivers/net/wireless/rtlwifi/rtl8192de/sw.c
5b62bb5cc1abe2a2c194833e9266cb78ae36fe61 22-Aug-2011 Larry Finger <Larry.Finger@lwfinger.net> rtlwifi: rtl8192de: Convert to use the new rate-mapping routine in rtlwifi

This patch also deletes the now unused parts of rtl8192de/def.h.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Chaoming Li <chaoming_li@realsil.com.cn>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
/drivers/net/wireless/rtlwifi/rtl8192de/sw.c
292b11926fec139c0ff103bc229bc6c079d0862f 20-Jul-2011 Joe Perches <joe@perches.com> rtlwifi: Convert printks to pr_<level>

Use the current logging styles.
Add pr_fmt where appropriate.
Remove now unnecessary prefixes from printks.
Convert hard coded prefix to __func__.
Add a missing "\n" to a format.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
/drivers/net/wireless/rtlwifi/rtl8192de/sw.c
a7dbd3b50d09c0006babb2ba0bbdba4b0ede5c73 10-Jun-2011 Chaoming Li <chaoming_li@realsil.com.cn> rtlwifi: rtl8192de: Merge main (sw) routines

Merge routines sw.c and sw.h for RTL8192SE.

Signed-off-by: Chaoming_Li <chaoming_li@realsil.com.cn>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
/drivers/net/wireless/rtlwifi/rtl8192de/sw.c