OSDN Git Service
Larry Finger [Sat, 7 Dec 2013 00:53:40 +0000 (18:53 -0600)]
rtl8723au: Replace u2Byte with u16
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sat, 7 Dec 2013 00:47:59 +0000 (18:47 -0600)]
rtl8723au: Replace u1Byte with u8
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sat, 7 Dec 2013 00:32:52 +0000 (18:32 -0600)]
rtl8723au: Convert pu1Byte to "u8 *"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Fri, 6 Dec 2013 20:46:25 +0000 (14:46 -0600)]
rtl8723au: Remove all dead code inside #if 0 ... #endif
S/N goes up even more.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Fri, 6 Dec 2013 20:04:12 +0000 (14:04 -0600)]
rtl8723au: Convert __inline and __inline__ to standard inline
In addition, change "inline static" to the preferred "static inline" form.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Fri, 6 Dec 2013 19:51:48 +0000 (13:51 -0600)]
rtl8723au: Use standard routines for testing MAC addresses
The code has defined local macros, inline routines, and does explicit
tests for MAC addresses of all zero, all ones, or multicast addresses.
These are replaced with the standard calls.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Jes Sorensen [Fri, 6 Dec 2013 16:29:12 +0000 (17:29 +0100)]
Remove duplicate ethernet definitions
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 16:29:11 +0000 (17:29 +0100)]
Remove msleep() wrapper
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 16:29:10 +0000 (17:29 +0100)]
Clean up core I/O functions
This should make it easier to convert them to inlines later
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 16:29:09 +0000 (17:29 +0100)]
Remove some le{16,32}_ wrappers as well as generic.h
generic.h is an old version of Linux's byteorder handling macros,
totally unnecessary to include here.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 16:29:08 +0000 (17:29 +0100)]
Proper mutexes have been available since 2007 or so
Remove all the silly wrapping of them
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 16:29:07 +0000 (17:29 +0100)]
Elminate multiple layers of wrappers for work handling
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 16:29:06 +0000 (17:29 +0100)]
Remove yet another silly typedef
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 16:29:05 +0000 (17:29 +0100)]
Fixup container_of() usage
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 16:29:04 +0000 (17:29 +0100)]
Remove private renamed version of container_of() macro
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 16:29:03 +0000 (17:29 +0100)]
Remove get_next() macro
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 16:29:02 +0000 (17:29 +0100)]
Do not try to compile HalPhy.o - it no longer exists
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 16:29:01 +0000 (17:29 +0100)]
Remove the World's ugliest mutex implementation
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Larry Finger [Fri, 6 Dec 2013 17:53:35 +0000 (11:53 -0600)]
Revert "rtl8723au: Fix a couple of small problems"
This reverts commit
55f65704e3104c5285420d2b8c07a5c5f373410d.
Larry Finger [Fri, 6 Dec 2013 15:49:21 +0000 (09:49 -0600)]
rtl8723au: Fix a couple of small problems
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Jes Sorensen [Fri, 6 Dec 2013 11:29:38 +0000 (12:29 +0100)]
Remove special hacks for Funai TVs
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 11:29:37 +0000 (12:29 +0100)]
Only ODM_SUPPORTED_TYPE == ODM_CE is compiled on Linux
Remove all the uncompiled cruft
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 11:29:36 +0000 (12:29 +0100)]
Use the kernel's atomic operations directly
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 11:29:35 +0000 (12:29 +0100)]
Remove more non Linux ioctl types
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 11:29:34 +0000 (12:29 +0100)]
Remove unused NDIS ioctl prototype header
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 11:29:33 +0000 (12:29 +0100)]
Remove unused proc_t
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 11:29:32 +0000 (12:29 +0100)]
Remove unused memory alignment size defines
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 11:29:31 +0000 (12:29 +0100)]
Remove useless void redefine
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 11:29:30 +0000 (12:29 +0100)]
Remove hopeless IN/OUT function argument prefix macros
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 11:29:29 +0000 (12:29 +0100)]
Removed WAPI nastiness
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 11:29:28 +0000 (12:29 +0100)]
Remove incomplete Intel WIDI support code
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 11:29:27 +0000 (12:29 +0100)]
Remove support for pre-2007 wireless extensions
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 11:29:26 +0000 (12:29 +0100)]
Remove unused wireless.h file
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Larry Finger [Thu, 5 Dec 2013 02:31:41 +0000 (20:31 -0600)]
rtl8723au: Add firmware files to repo
These data were extracted from extended data statements in the code.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Jes Sorensen [Wed, 4 Dec 2013 12:33:13 +0000 (13:33 +0100)]
Remove support for kernels older than 2.6.32
Current enterprise distros use at least 2.6.32 (RHEL6 is based on
2.6.32, SLES11 is based on 3.0), and desktop distros are much more
uptodate.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Wed, 4 Dec 2013 12:33:12 +0000 (13:33 +0100)]
Remove unused _OS_STATUS typedef
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Wed, 4 Dec 2013 12:33:11 +0000 (13:33 +0100)]
Remove pointless irqL typedef
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Wed, 4 Dec 2013 12:33:10 +0000 (13:33 +0100)]
Remove pointless list wrapping macros
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Wed, 4 Dec 2013 12:33:09 +0000 (13:33 +0100)]
Remove a couple of memset's that are immediately overwritten by memcpy
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Wed, 4 Dec 2013 12:33:08 +0000 (13:33 +0100)]
Remove more duplicated ieee80211 definitions
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Wed, 4 Dec 2013 12:33:07 +0000 (13:33 +0100)]
Remove another windowsism
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Wed, 4 Dec 2013 12:33:06 +0000 (13:33 +0100)]
Remove duplicate copy of ip header definitions/macros
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Wed, 4 Dec 2013 12:33:05 +0000 (13:33 +0100)]
Remove duplicate copy of if_ether.h and use the kernel provided one
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Wed, 4 Dec 2013 12:33:04 +0000 (13:33 +0100)]
Start removing duplicated ieee80211 definitions
Switch to using the Linux kernel provided definitions
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Larry Finger [Wed, 4 Dec 2013 06:11:00 +0000 (00:11 -0600)]
rtl8723au: Remove CONFIG_USB_HCI
This parameter is always selected.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Wed, 4 Dec 2013 05:18:08 +0000 (23:18 -0600)]
rtl8723au: Remove dead code associated with CONFIG_GSPI_HCI
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Wed, 4 Dec 2013 04:45:43 +0000 (22:45 -0600)]
rtl8723au: Remove dead code that depends on CONFIG_SDIO_HCI
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Wed, 4 Dec 2013 04:20:48 +0000 (22:20 -0600)]
rtl8723au: Remove dead code required for CONFIG_PCI_HCI
The driver is for USB.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Wed, 4 Dec 2013 03:42:30 +0000 (21:42 -0600)]
rtl8723au: Finish removing IS_HARDWARE_TYPE_XXX macros
This driver supports only RTL8723AU devices.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Wed, 4 Dec 2013 03:15:28 +0000 (21:15 -0600)]
rtl8723au: Remove more IS_HARDWARE_TYPE_XXX garbage
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Wed, 4 Dec 2013 03:01:17 +0000 (21:01 -0600)]
rtl8723au: Remove more IS_HARDWARE_TYPE_XXX macro usage
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Tue, 3 Dec 2013 19:21:47 +0000 (13:21 -0600)]
rtl8723au: Start removing IS_HARDWARE_xxxx macros
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Tue, 3 Dec 2013 18:27:43 +0000 (12:27 -0600)]
rtl8723au: Remove some trailing white space
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Jes Sorensen [Tue, 3 Dec 2013 17:27:17 +0000 (18:27 +0100)]
Remove another set of unecessary typedefs
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:16 +0000 (18:27 +0100)]
int is signed - no point in inventing an unnecessary sint type
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:15 +0000 (18:27 +0100)]
Remove gross PVOID type
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:14 +0000 (18:27 +0100)]
Remove hopeless Windows ULONG/USHORT/UCHAR types
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:13 +0000 (18:27 +0100)]
Remove more non Linux gibberish
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:12 +0000 (18:27 +0100)]
Remove semaphore wrappers
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:11 +0000 (18:27 +0100)]
Remove unused res_to_status() function
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:10 +0000 (18:27 +0100)]
Remove spinlock wrapping
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:09 +0000 (18:27 +0100)]
Another round of malloc/free wrapper removal
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:08 +0000 (18:27 +0100)]
Remove memcmp wrapper
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:07 +0000 (18:27 +0100)]
Remove memset wrapper
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:06 +0000 (18:27 +0100)]
Remove memcpy wrapper
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:05 +0000 (18:27 +0100)]
Remove custom Android hacks
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:04 +0000 (18:27 +0100)]
Remove atoi implementation and use sscanf instead
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:03 +0000 (18:27 +0100)]
Remove malloc debug hacks
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:02 +0000 (18:27 +0100)]
Remove various pieces of non Linux code
No need to carry around Windows/FreeBSD/random-embedded-arch code
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:01 +0000 (18:27 +0100)]
Remove MP framework (Mass Production test code)
This code is not relevant for normal usage
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Mon, 2 Dec 2013 21:14:52 +0000 (22:14 +0100)]
run through dos2unix
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Mon, 2 Dec 2013 21:14:51 +0000 (22:14 +0100)]
Use kmalloc/kfree and check return value of kmalloc()
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Mon, 2 Dec 2013 21:14:50 +0000 (22:14 +0100)]
Use kzalloc instead of rtw_kzmalloc
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Mon, 2 Dec 2013 21:14:49 +0000 (22:14 +0100)]
Replace rtw_mfree with kfree
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Mon, 2 Dec 2013 21:14:48 +0000 (22:14 +0100)]
Use kmalloc/kfree instead of wrapper macros
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Mon, 2 Dec 2013 21:14:46 +0000 (22:14 +0100)]
Replace malloc/free wrappers with proper kmalloc/kfree
In addition fix multiple memory leaks
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Mon, 2 Dec 2013 21:14:45 +0000 (22:14 +0100)]
Don't call _rtw_mfree() directly from outside osdep_service.c
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Mon, 2 Dec 2013 21:14:43 +0000 (22:14 +0100)]
Remove more non-Linux isms
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Mon, 2 Dec 2013 21:14:42 +0000 (22:14 +0100)]
Remove some more unnecessary platform code
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Mon, 2 Dec 2013 21:14:41 +0000 (22:14 +0100)]
Remove unused malloc2d/free2d
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Larry Finger [Mon, 2 Dec 2013 20:23:00 +0000 (14:23 -0600)]
rtl8723au: Remove trailing white space from include/*.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Mon, 2 Dec 2013 20:22:08 +0000 (14:22 -0600)]
rtl8723au: Remove trailing white space from os_dep/*.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Mon, 2 Dec 2013 20:21:00 +0000 (14:21 -0600)]
rtl8723au: Remove trailing white space for hal/*.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Mon, 2 Dec 2013 20:19:55 +0000 (14:19 -0600)]
rtl8723au: Remove trailing white space from core/*.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Mon, 2 Dec 2013 20:18:33 +0000 (14:18 -0600)]
rtl8723au: Remove C99 comments from hal/HalDMOutSrc8192C_CE.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Mon, 2 Dec 2013 04:17:58 +0000 (22:17 -0600)]
rtl8723au: Remove C99 comments from hal/hal_com.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Mon, 2 Dec 2013 04:15:41 +0000 (22:15 -0600)]
rtl8723au: Remove C99 comments from hal/Hal8723UHWImg_CE.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Mon, 2 Dec 2013 03:47:29 +0000 (21:47 -0600)]
rtl8723au: Remove C99 comments from hal/Hal8723PwrSeq.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sun, 1 Dec 2013 06:00:28 +0000 (00:00 -0600)]
rtl8723au: Remove C99 comments from core/rtw_xmit.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sun, 1 Dec 2013 05:54:40 +0000 (23:54 -0600)]
rtl8723au: Remove C99 comments from core/rtw_wlan_util.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sun, 1 Dec 2013 04:32:05 +0000 (22:32 -0600)]
rtl8723au: Remove C99 comments from core/rtw_tdls.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sun, 1 Dec 2013 04:17:18 +0000 (22:17 -0600)]
rtl8723au: Remove C99 comments from core/rtw_sta_mgt.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sun, 1 Dec 2013 04:14:40 +0000 (22:14 -0600)]
rtl8723au: Remove C99 comments from core/rtw_sreset.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sun, 1 Dec 2013 04:12:26 +0000 (22:12 -0600)]
rtl8723au: Remove C99 comments from core/rtw_rf.c and core/rtw_security.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sun, 1 Dec 2013 04:06:23 +0000 (22:06 -0600)]
rtl8723au: Remove C99 comments from core/rtw_pwrctrl.c and core/rtw_recv.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sun, 1 Dec 2013 03:47:57 +0000 (21:47 -0600)]
rtl8723au: Remove C99 comments from core/rtw_p2p.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sun, 1 Dec 2013 03:45:04 +0000 (21:45 -0600)]
rtl8723au: Remove C99 comments from core/rtw_mp_ioctl.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sat, 30 Nov 2013 22:47:19 +0000 (16:47 -0600)]
rtl8723au: Remove C99 comments from core/rtw_mp.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sat, 30 Nov 2013 22:41:14 +0000 (16:41 -0600)]
rtl8723au: Remove C99 comments from core/rtw_mlme_ext.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sat, 30 Nov 2013 22:25:34 +0000 (16:25 -0600)]
rtl8723au: Remove C99 comments from core/rtw_mlme.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>