Commit c6b16e19 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: remove dead code datarate

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 31207615
......@@ -11,7 +11,6 @@ vt6656_stage-y += main_usb.o \
rxtx.o \
dpc.o \
power.o \
datarate.o \
key.o \
rf.o \
usbpipe.o \
......
......@@ -40,7 +40,6 @@
#include "baseband.h"
#include "rf.h"
#include "usbpipe.h"
#include "datarate.h"
static u8 abyVT3184_AGC[] = {
0x00, //0
......
......@@ -54,7 +54,6 @@
#include "rf.h"
#include "power.h"
#include "key.h"
#include "datarate.h"
#include "usbpipe.h"
//const u16 cwRXBCNTSFOff[MAX_RATE] =
......
......@@ -36,7 +36,6 @@
#include <linux/kernel.h>
#include "device.h"
#include "datarate.h"
#include "channel.h"
#include "rf.h"
......
This diff is collapsed.
/*
* Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
*
* File: datarate.h
*
* Purpose: Handles the auto fallback & data rates functions
*
* Author: Lyndon Chen
*
* Date: July 16, 2002
*
*/
#ifndef __DATARATE_H__
#define __DATARATE_H__
#define FALLBACK_PKT_COLLECT_TR_H 50 /* pkts */
#define FALLBACK_PKT_COLLECT_TR_L 10 /* pkts */
#define FALLBACK_POLL_SECOND 5 /* 5 sec */
#define FALLBACK_RECOVER_SECOND 30 /* 30 sec */
#define FALLBACK_THRESHOLD 15 /* percent */
#define UPGRADE_THRESHOLD 5 /* percent */
#define UPGRADE_CNT_THRD 3 /* times */
#define RETRY_TIMES_THRD_H 2 /* times */
#define RETRY_TIMES_THRD_L 1 /* times */
void RATEvParseMaxRate(struct vnt_private *, PWLAN_IE_SUPP_RATES pItemRates,
PWLAN_IE_SUPP_RATES pItemExtRates, int bUpdateBasicRate,
u16 *pwMaxBasicRate, u16 *pwMaxSuppRate, u16 *pwSuppRate,
u8 *pbyTopCCKRate, u8 *pbyTopOFDMRate);
void RATEvTxRateFallBack(struct vnt_private *pDevice,
PKnownNodeDB psNodeDBTable);
u8
RATEuSetIE(
PWLAN_IE_SUPP_RATES pSrcRates,
PWLAN_IE_SUPP_RATES pDstRates,
unsigned int uRateLen
);
u16
RATEwGetRateIdx(
u8 byRate
);
#endif /* __DATARATE_H__ */
......@@ -43,7 +43,6 @@
#include "mac.h"
#include "baseband.h"
#include "rf.h"
#include "datarate.h"
#include "usbpipe.h"
//static int msglevel =MSG_LEVEL_DEBUG;
......
......@@ -57,7 +57,6 @@
#include "rxtx.h"
#include "bssdb.h"
#include "dpc.h"
#include "datarate.h"
#include "rf.h"
#include "firmware.h"
#include "usbpipe.h"
......
......@@ -39,7 +39,6 @@
#include "rf.h"
#include "baseband.h"
#include "usbpipe.h"
#include "datarate.h"
#define BY_AL2230_REG_LEN 23 //24bit
#define CB_AL2230_INIT_SEQ 15
......
......@@ -49,7 +49,6 @@
#include "bssdb.h"
#include "mac.h"
#include "rf.h"
#include "datarate.h"
#include "usbpipe.h"
static int msglevel = MSG_LEVEL_INFO;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment