Staging: rtl8192e: Remove some redundant comments
Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
51ae5d558f
commit
1dc4dbbf7b
@@ -58,9 +58,6 @@
|
|||||||
#include "r819xE_phyreg.h"
|
#include "r819xE_phyreg.h"
|
||||||
#include "r819xE_cmdpkt.h"
|
#include "r819xE_cmdpkt.h"
|
||||||
#include "r8192E_dm.h"
|
#include "r8192E_dm.h"
|
||||||
//#include "r8192xU_phyreg.h"
|
|
||||||
//#include <linux/usb.h>
|
|
||||||
// FIXME: check if 2.6.7 is ok
|
|
||||||
|
|
||||||
#ifdef CONFIG_PM
|
#ifdef CONFIG_PM
|
||||||
#include "r8192_pm.h"
|
#include "r8192_pm.h"
|
||||||
|
@@ -21,7 +21,7 @@ Major Change History:
|
|||||||
#include "r8190_rtl8256.h"
|
#include "r8190_rtl8256.h"
|
||||||
|
|
||||||
#define DRV_NAME "rtl819xE"
|
#define DRV_NAME "rtl819xE"
|
||||||
/*---------------------------Define Local Constant---------------------------*/
|
|
||||||
//
|
//
|
||||||
// Indicate different AP vendor for IOT issue.
|
// Indicate different AP vendor for IOT issue.
|
||||||
//
|
//
|
||||||
@@ -46,19 +46,11 @@ static const u32 edca_setting_UL[HT_IOT_PEER_MAX] =
|
|||||||
|
|
||||||
#define RTK_UL_EDCA 0xa44f
|
#define RTK_UL_EDCA 0xa44f
|
||||||
#define RTK_DL_EDCA 0x5e4322
|
#define RTK_DL_EDCA 0x5e4322
|
||||||
/*---------------------------Define Local Constant---------------------------*/
|
|
||||||
|
|
||||||
|
|
||||||
/*------------------------Define global variable-----------------------------*/
|
|
||||||
// Debug variable ?
|
|
||||||
dig_t dm_digtable;
|
dig_t dm_digtable;
|
||||||
// For Dynamic Rx Path Selection by Signal Strength
|
// For Dynamic Rx Path Selection by Signal Strength
|
||||||
DRxPathSel DM_RxPathSelTable;
|
DRxPathSel DM_RxPathSelTable;
|
||||||
/*------------------------Define global variable-----------------------------*/
|
|
||||||
|
|
||||||
|
|
||||||
/*------------------------Define local variable------------------------------*/
|
|
||||||
/*------------------------Define local variable------------------------------*/
|
|
||||||
|
|
||||||
|
|
||||||
/*--------------------Define export function prototype-----------------------*/
|
/*--------------------Define export function prototype-----------------------*/
|
||||||
@@ -95,11 +87,6 @@ extern void dm_gpio_change_rf_callback(struct work_struct *work);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*--------------------Define export function prototype-----------------------*/
|
|
||||||
|
|
||||||
|
|
||||||
/*---------------------Define local function prototype-----------------------*/
|
|
||||||
// DM --> Rate Adaptive
|
// DM --> Rate Adaptive
|
||||||
static void dm_check_rate_adaptive(struct net_device *dev);
|
static void dm_check_rate_adaptive(struct net_device *dev);
|
||||||
|
|
||||||
@@ -108,20 +95,12 @@ static void dm_init_bandwidth_autoswitch(struct net_device *dev);
|
|||||||
static void dm_bandwidth_autoswitch( struct net_device *dev);
|
static void dm_bandwidth_autoswitch( struct net_device *dev);
|
||||||
|
|
||||||
// DM --> TX power control
|
// DM --> TX power control
|
||||||
//static void dm_initialize_txpower_tracking(struct net_device *dev);
|
|
||||||
|
|
||||||
static void dm_check_txpower_tracking(struct net_device *dev);
|
static void dm_check_txpower_tracking(struct net_device *dev);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//static void dm_txpower_reset_recovery(struct net_device *dev);
|
|
||||||
|
|
||||||
|
|
||||||
// DM --> BB init gain restore
|
// DM --> BB init gain restore
|
||||||
#ifndef RTL8192U
|
#ifndef RTL8192U
|
||||||
static void dm_bb_initialgain_restore(struct net_device *dev);
|
static void dm_bb_initialgain_restore(struct net_device *dev);
|
||||||
|
|
||||||
|
|
||||||
// DM --> BB init gain backup
|
// DM --> BB init gain backup
|
||||||
static void dm_bb_initialgain_backup(struct net_device *dev);
|
static void dm_bb_initialgain_backup(struct net_device *dev);
|
||||||
#endif
|
#endif
|
||||||
@@ -143,37 +122,29 @@ static void dm_check_edca_turbo(struct net_device *dev);
|
|||||||
// DM --> HW RF control
|
// DM --> HW RF control
|
||||||
static void dm_check_rfctrl_gpio(struct net_device *dev);
|
static void dm_check_rfctrl_gpio(struct net_device *dev);
|
||||||
|
|
||||||
#ifndef RTL8190P
|
|
||||||
//static void dm_gpio_change_rf(struct net_device *dev);
|
|
||||||
#endif
|
|
||||||
// DM --> Check PBC
|
// DM --> Check PBC
|
||||||
static void dm_check_pbc_gpio(struct net_device *dev);
|
static void dm_check_pbc_gpio(struct net_device *dev);
|
||||||
|
|
||||||
|
|
||||||
// DM --> Check current RX RF path state
|
// DM --> Check current RX RF path state
|
||||||
static void dm_check_rx_path_selection(struct net_device *dev);
|
static void dm_check_rx_path_selection(struct net_device *dev);
|
||||||
static void dm_init_rxpath_selection(struct net_device *dev);
|
static void dm_init_rxpath_selection(struct net_device *dev);
|
||||||
static void dm_rxpath_sel_byrssi(struct net_device *dev);
|
static void dm_rxpath_sel_byrssi(struct net_device *dev);
|
||||||
|
|
||||||
|
|
||||||
// DM --> Fsync for broadcom ap
|
// DM --> Fsync for broadcom ap
|
||||||
static void dm_init_fsync(struct net_device *dev);
|
static void dm_init_fsync(struct net_device *dev);
|
||||||
static void dm_deInit_fsync(struct net_device *dev);
|
static void dm_deInit_fsync(struct net_device *dev);
|
||||||
|
|
||||||
//Added by vivi, 20080522
|
|
||||||
static void dm_check_txrateandretrycount(struct net_device *dev);
|
static void dm_check_txrateandretrycount(struct net_device *dev);
|
||||||
|
|
||||||
/*---------------------Define local function prototype-----------------------*/
|
|
||||||
|
|
||||||
/*---------------------Define of Tx Power Control For Near/Far Range --------*/ //Add by Jacken 2008/02/18
|
/*---------------------Define of Tx Power Control For Near/Far Range --------*/ //Add by Jacken 2008/02/18
|
||||||
static void dm_init_dynamic_txpower(struct net_device *dev);
|
static void dm_init_dynamic_txpower(struct net_device *dev);
|
||||||
static void dm_dynamic_txpower(struct net_device *dev);
|
static void dm_dynamic_txpower(struct net_device *dev);
|
||||||
|
|
||||||
|
|
||||||
// DM --> For rate adaptive and DIG, we must send RSSI to firmware
|
// DM --> For rate adaptive and DIG, we must send RSSI to firmware
|
||||||
static void dm_send_rssi_tofw(struct net_device *dev);
|
static void dm_send_rssi_tofw(struct net_device *dev);
|
||||||
static void dm_ctstoself(struct net_device *dev);
|
static void dm_ctstoself(struct net_device *dev);
|
||||||
/*---------------------------Define function prototype------------------------*/
|
|
||||||
//================================================================================
|
//================================================================================
|
||||||
// HW Dynamic mechanism interface.
|
// HW Dynamic mechanism interface.
|
||||||
//================================================================================
|
//================================================================================
|
||||||
|
Reference in New Issue
Block a user