summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192e/rtllib_rx.c
Commit message (Collapse)AuthorAgeFilesLines
* staging: rtl8192e: Fix smatch warnings regarding large arrays on stackLarry Finger2011-09-061-7/+5
| | | | | | | | | | | | | | | | | | | | | | Smatch reports the follwing warnings: CHECK drivers/staging/rtl8192e/rtllib_rx.c drivers/staging/rtl8192e/rtllib_rx.c +552 RxReorderIndicatePacket(6) warn: 'prxbIndicateArray' puts 1024 bytes on stack CHECK drivers/staging/rtl8192e/rtl819x_TSProc.c drivers/staging/rtl8192e/rtl819x_TSProc.c +40 RxPktPendingTimeout(9) warn: 'stats_IndicateArray' puts 1024 bytes on stack CHECK drivers/staging/rtl8192e/r8192E_phy.c drivers/staging/rtl8192e/r8192E_phy.c +859 rtl8192_phy_SwChnlStepByStep(11) warn: function puts 797 bytes on stack CHECK drivers/staging/rtl8192e/rtllib_rx.c drivers/staging/rtl8192e/rtllib_rx.c +552 RxReorderIndicatePacket(6) warn: 'prxbIndicateArray' puts 1024 bytes on stack These are fixed by adding the arrays in question as a union in a struct used by nearly all routines. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Fix sparse (non-endian) warnings - Part IILarry Finger2011-08-251-27/+34
| | | | | Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Remove MAC_FMT and MAC_ARG for %pMLarry Finger2011-08-251-24/+22
| | | | | Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Cleanup checkpatch -f errors - Part XIIILarry Finger2011-08-251-793/+729
| | | | | | | | | | With this patch, all of the checkpatch errors are fixed; however, only some of the lines that are too long were fixed. To complete the fixing of these warnings, the file rtl_dm.c will need refactoring. In addition, some of the variables will need renaming. Those changes can be deferred. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Modify time handlingLarry Finger2011-08-251-4/+2
| | | | | | | | | | | In several places, the driver keeps times (in jiffies) in two 32-bit quantities. In the rtl8192_hw_to_sleep(), there is an error in the calculation of the difference between two 64-bit quantities. Rather than fix that error, I have converted to a single 64-bit number. That makes the code be much cleaner and clearer. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192e: Convert typedef HT_CHANNEL_WIDTH to enum ht_channel_widthLarry Finger2011-08-241-1/+1
| | | | | | | | Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
* staging: rtl8192e: Convert typedef frameqos to union frameqosLarry Finger2011-08-241-1/+1
| | | | | | | | Remove typedef from union. Rename union. Rename uses. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
* staging: rtl8192e: Convert typedef buffer to struct bufferLarry Finger2011-08-241-7/+7
| | | | | | | | Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
* staging: rtl8192e: Convert typedef cb_desc to struct cb_descLarry Finger2011-08-241-2/+2
| | | | | | | | Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
* staging: rtl8192e: Convert typedef RX_REORDER_ENTRY to struct rx_reorder_entryLarry Finger2011-08-241-8/+8
| | | | | | | | Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
* staging: rtl8192e: Convert typedef HT_CAPABILITY_ELE to struct ht_capab_eleLarry Finger2011-08-241-3/+3
| | | | | | | | Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
* staging: rtl8192e: Convert typedef RT_HIGH_THROUGHPUT to struct rt_hi_throughputLarry Finger2011-08-231-1/+1
| | | | | | | | Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
* staging: rtl8192e: Convert typedef TS_COMMON_INFO to struct ts_common_infoLarry Finger2011-08-231-2/+2
| | | | | | | | Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
* staging: rtl8192e: Convert typedef RX_TS_RECORD to struct rx_ts_recordLarry Finger2011-08-231-5/+5
| | | | | | | | Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
* staging: rtl8192e: Remove ifdefs for CONFIG_RTLLIB_DEBUGLarry Finger2011-08-231-22/+1
| | | | | | This symbol is unconditionally defined in a header file, thus tests for it can be removed. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
* staging: rtl8192e: Remove dead code associated with CONFIG_RTLLIB_CRYPT_TKIPLarry Finger2011-08-231-12/+0
| | | | Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
* staging: rtl8192e: Remove dead code associated with CONFIG_CFG_80211Larry Finger2011-08-231-272/+0
| | | | Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
* staging: rtl8192e: Remove dead code associated with NOT_YETLarry Finger2011-08-231-46/+0
| | | | Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
* staging: rtl8192e: Remove dead code associated with TCP_CSUM_OFFLOAD_RXLarry Finger2011-08-231-18/+0
| | | | Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
* staging: rtl8192e: Remove ifdefs that depend on ENABLE_DOT11DLarry Finger2011-08-231-10/+0
| | | | | | | This configuration parameter is selected in the Makefile, thus the conditional code can be removed. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
* staging: rtl8192e: Remove dead code inside 'ifdef MERGE_TO_DO'Larry Finger2011-08-231-3/+0
| | | | Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
* staging: rtl8192e: Remove dead code associated with RTL8192SULarry Finger2011-08-231-2/+0
| | | | | | | The vendor code will generate several different drivers. Eliminate code used to generate code for the RTL8192SU devices. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
* staging: rtl8192e: Remove dead code associated with RTL8192SELarry Finger2011-08-231-314/+0
| | | | | | | The vendor code will generate several different drivers. As the RTL8192SE is covered by a mac80211 driver in mainline, eliminate that code heere. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
* rtl8192e: Remove occurences of #if 1Mike McCormack2011-08-231-616/+3
| | | | Signed-off-by: Mike McCormack <mikem@ring3k.org>
* rtl8192e: Remove WIRELESS_EXT macro checksMike McCormack2011-08-231-2/+1
| | | | Signed-off-by: Mike McCormack <mikem@ring3k.org>
* rtl8192e: Remove extra ifdefsMike McCormack2011-08-231-140/+1
| | | | | Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Mike McCormack <mikem@ring3k.org>
* From: wlanfae <wlanfae@realtek.com>Larry Finger2011-08-231-0/+4234
[PATCH 1/8] rtl8192e: Import new version of driver from realtek Signed-off-by: wlanfae <wlanfae@realtek.com> Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> ---
OpenPOWER on IntegriCloud