You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
staging: vt6656: remove code placeholders
Removed comments from coding template. sed -i '/^\/\*---/d' drivers/staging/vt6656/*.[ch] Signed-off-by: Andres More <more.andres@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
1cac4a4b2a
commit
00d0603cbd
@@ -28,7 +28,6 @@
|
||||
#ifndef __80211HDR_H__
|
||||
#define __80211HDR_H__
|
||||
|
||||
/*--------------------- Export Definitions -------------------------*/
|
||||
|
||||
/* bit type */
|
||||
#define BIT0 0x00000001
|
||||
@@ -323,10 +322,7 @@ typedef union tagUWLAN_80211HDR {
|
||||
|
||||
} UWLAN_80211HDR, *PUWLAN_80211HDR;
|
||||
|
||||
/*--------------------- Export Classes ----------------------------*/
|
||||
|
||||
/*--------------------- Export Variables --------------------------*/
|
||||
|
||||
/*--------------------- Export Functions --------------------------*/
|
||||
|
||||
#endif /* __80211HDR_H__ */
|
||||
|
||||
@@ -59,24 +59,18 @@
|
||||
#include "80211hdr.h"
|
||||
#include "wpa.h"
|
||||
|
||||
/*--------------------- Static Definitions -------------------------*/
|
||||
|
||||
|
||||
|
||||
/*--------------------- Static Classes ----------------------------*/
|
||||
|
||||
/*--------------------- Static Variables --------------------------*/
|
||||
|
||||
static int msglevel = MSG_LEVEL_INFO;
|
||||
/*static int msglevel =MSG_LEVEL_DEBUG;*/
|
||||
/*--------------------- Static Functions --------------------------*/
|
||||
|
||||
|
||||
|
||||
/*--------------------- Export Variables --------------------------*/
|
||||
|
||||
|
||||
/*--------------------- Export Functions --------------------------*/
|
||||
|
||||
|
||||
/*+
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
|
||||
#include "80211hdr.h"
|
||||
|
||||
/*--------------------- Export Definitions -------------------------*/
|
||||
|
||||
#define WLAN_MIN_ARRAY 1
|
||||
|
||||
@@ -212,11 +211,8 @@
|
||||
#define MEASURE_MODE_INCAPABLE 0x02
|
||||
#define MEASURE_MODE_REFUSED 0x04
|
||||
|
||||
/*--------------------- Export Classes ----------------------------*/
|
||||
|
||||
/*--------------------- Export Variables --------------------------*/
|
||||
|
||||
/*--------------------- Export Types ------------------------------*/
|
||||
|
||||
/* Information Element types */
|
||||
|
||||
@@ -719,7 +715,6 @@ typedef struct tagWLAN_FR_DEAUTHEN {
|
||||
|
||||
} WLAN_FR_DEAUTHEN, *PWLAN_FR_DEAUTHEN;
|
||||
|
||||
/*--------------------- Export Functions --------------------------*/
|
||||
|
||||
void
|
||||
vMgrEncodeBeacon(
|
||||
|
||||
@@ -33,11 +33,8 @@
|
||||
#include "device.h"
|
||||
#include "80211hdr.h"
|
||||
|
||||
/*--------------------- Static Definitions -------------------------*/
|
||||
|
||||
/*--------------------- Static Classes ----------------------------*/
|
||||
|
||||
/*--------------------- Static Variables --------------------------*/
|
||||
|
||||
/*
|
||||
* SBOX Table
|
||||
@@ -100,11 +97,8 @@ u8 dot3_table[256] = {
|
||||
0x0b, 0x08, 0x0d, 0x0e, 0x07, 0x04, 0x01, 0x02, 0x13, 0x10, 0x15, 0x16, 0x1f, 0x1c, 0x19, 0x1a
|
||||
};
|
||||
|
||||
/*--------------------- Static Functions --------------------------*/
|
||||
|
||||
/*--------------------- Export Variables --------------------------*/
|
||||
|
||||
/*--------------------- Export Functions --------------------------*/
|
||||
|
||||
static void xor_128(u8 *a, u8 *b, u8 *out)
|
||||
{
|
||||
|
||||
@@ -30,15 +30,10 @@
|
||||
#ifndef __AES_H__
|
||||
#define __AES_H__
|
||||
|
||||
/*--------------------- Export Definitions -------------------------*/
|
||||
|
||||
/*--------------------- Export Types ------------------------------*/
|
||||
|
||||
/*--------------------- Export Classes ----------------------------*/
|
||||
|
||||
/*--------------------- Export Variables --------------------------*/
|
||||
|
||||
/*--------------------- Export Functions --------------------------*/
|
||||
bool AESbGenCCMP(u8 * pbyRxKey, u8 * pbyFrame, u16 wFrameSize);
|
||||
|
||||
#endif /* __AES_CCMP_H__ */
|
||||
|
||||
@@ -47,23 +47,15 @@
|
||||
#include "datarate.h"
|
||||
#include "rndis.h"
|
||||
|
||||
/*--------------------- Static Definitions -------------------------*/
|
||||
static int msglevel =MSG_LEVEL_INFO;
|
||||
//static int msglevel =MSG_LEVEL_DEBUG;
|
||||
|
||||
/*--------------------- Static Classes ----------------------------*/
|
||||
|
||||
/*--------------------- Static Variables --------------------------*/
|
||||
|
||||
/*--------------------- Static Functions --------------------------*/
|
||||
|
||||
/*--------------------- Export Variables --------------------------*/
|
||||
|
||||
/*--------------------- Static Definitions -------------------------*/
|
||||
|
||||
/*--------------------- Static Classes ----------------------------*/
|
||||
|
||||
/*--------------------- Static Variables --------------------------*/
|
||||
|
||||
|
||||
u8 abyVT3184_AGC[] = {
|
||||
@@ -658,7 +650,6 @@ u8 abyVT3184_VT3226D0[] = {
|
||||
const u16 awcFrameTime[MAX_RATE] =
|
||||
{10, 20, 55, 110, 24, 36, 48, 72, 96, 144, 192, 216};
|
||||
|
||||
/*--------------------- Static Functions --------------------------*/
|
||||
|
||||
/*
|
||||
static
|
||||
@@ -674,7 +665,6 @@ void
|
||||
s_vClearSQ3Value(PSDevice pDevice);
|
||||
*/
|
||||
|
||||
/*--------------------- Export Variables --------------------------*/
|
||||
/*
|
||||
* Description: Calculate data frame transmitting time
|
||||
*
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include "tether.h"
|
||||
#include "device.h"
|
||||
|
||||
/*--------------------- Export Definitions -------------------------*/
|
||||
|
||||
#define PREAMBLE_LONG 0
|
||||
#define PREAMBLE_SHORT 1
|
||||
@@ -84,15 +83,10 @@
|
||||
#define TOP_RATE_1M 0x00100000
|
||||
|
||||
|
||||
/*--------------------- Export Types ------------------------------*/
|
||||
|
||||
/*--------------------- Export Macros ------------------------------*/
|
||||
|
||||
/*--------------------- Export Classes ----------------------------*/
|
||||
|
||||
/*--------------------- Export Variables --------------------------*/
|
||||
|
||||
/*--------------------- Export Functions --------------------------*/
|
||||
|
||||
unsigned int
|
||||
BBuGetFrameTime(
|
||||
|
||||
@@ -58,14 +58,11 @@
|
||||
#include "rndis.h"
|
||||
#include "iowpa.h"
|
||||
|
||||
/*--------------------- Static Definitions -------------------------*/
|
||||
|
||||
|
||||
|
||||
|
||||
/*--------------------- Static Classes ----------------------------*/
|
||||
|
||||
/*--------------------- Static Variables --------------------------*/
|
||||
static int msglevel =MSG_LEVEL_INFO;
|
||||
//static int msglevel =MSG_LEVEL_DEBUG;
|
||||
|
||||
@@ -88,16 +85,13 @@ const u16 awHWRetry1[5][5] = {
|
||||
|
||||
|
||||
|
||||
/*--------------------- Static Functions --------------------------*/
|
||||
|
||||
static void s_vCheckSensitivity(struct vnt_private *pDevice);
|
||||
static void s_vCheckPreEDThreshold(struct vnt_private *pDevice);
|
||||
static void s_uCalculateLinkQual(struct vnt_private *pDevice);
|
||||
|
||||
/*--------------------- Export Variables --------------------------*/
|
||||
|
||||
|
||||
/*--------------------- Export Functions --------------------------*/
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include "card.h"
|
||||
#include "mib.h"
|
||||
|
||||
/*--------------------- Export Definitions -------------------------*/
|
||||
|
||||
#define MAX_NODE_NUM 64
|
||||
#define MAX_BSS_NUM 42
|
||||
@@ -67,12 +66,9 @@
|
||||
#define MAX_WPA_IE_LEN 64
|
||||
|
||||
|
||||
/*--------------------- Export Classes ----------------------------*/
|
||||
|
||||
/*--------------------- Export Variables --------------------------*/
|
||||
|
||||
|
||||
/*--------------------- Export Types ------------------------------*/
|
||||
|
||||
|
||||
//
|
||||
// IEEE 802.11 Structures and definitions
|
||||
@@ -223,7 +219,6 @@ typedef struct tagKnownNodeDB {
|
||||
|
||||
} KnownNodeDB, *PKnownNodeDB;
|
||||
|
||||
/*--------------------- Export Functions --------------------------*/
|
||||
|
||||
PKnownBSS BSSpSearchBSSList(struct vnt_private *, u8 *pbyDesireBSSID,
|
||||
u8 *pbyDesireSSID, CARD_PHY_TYPE ePhyType);
|
||||
|
||||
@@ -60,28 +60,21 @@
|
||||
#include "rndis.h"
|
||||
#include "control.h"
|
||||
|
||||
/*--------------------- Static Definitions -------------------------*/
|
||||
|
||||
//static int msglevel =MSG_LEVEL_DEBUG;
|
||||
static int msglevel =MSG_LEVEL_INFO;
|
||||
|
||||
|
||||
/*--------------------- Static Definitions -------------------------*/
|
||||
|
||||
/*--------------------- Static Classes ----------------------------*/
|
||||
|
||||
/*--------------------- Static Variables --------------------------*/
|
||||
//const u16 cwRXBCNTSFOff[MAX_RATE] =
|
||||
//{17, 34, 96, 192, 34, 23, 17, 11, 8, 5, 4, 3};
|
||||
|
||||
const u16 cwRXBCNTSFOff[MAX_RATE] =
|
||||
{192, 96, 34, 17, 34, 23, 17, 11, 8, 5, 4, 3};
|
||||
|
||||
/*--------------------- Static Functions --------------------------*/
|
||||
|
||||
/*--------------------- Export Variables --------------------------*/
|
||||
|
||||
/*--------------------- Export Functions --------------------------*/
|
||||
/*
|
||||
* Description: Set NIC media channel
|
||||
*
|
||||
|
||||
@@ -30,9 +30,7 @@
|
||||
#define __CARD_H__
|
||||
#include "device.h"
|
||||
|
||||
/*--------------------- Export Definitions -------------------------*/
|
||||
|
||||
/*--------------------- Export Classes ----------------------------*/
|
||||
|
||||
/* init card type */
|
||||
|
||||
@@ -54,9 +52,7 @@ typedef enum _CARD_OP_MODE {
|
||||
#define CB_MAX_CHANNEL_5G 42 /* add channel9(5045MHz), 41==>42 */
|
||||
#define CB_MAX_CHANNEL (CB_MAX_CHANNEL_24G+CB_MAX_CHANNEL_5G)
|
||||
|
||||
/*--------------------- Export Variables --------------------------*/
|
||||
|
||||
/*--------------------- Export Functions --------------------------*/
|
||||
struct vnt_private;
|
||||
|
||||
void CARDbSetMediaChannel(struct vnt_private *pDevice, u32 uConnectionChannel);
|
||||
|
||||
@@ -39,13 +39,10 @@
|
||||
#include "channel.h"
|
||||
#include "rf.h"
|
||||
|
||||
/*--------------------- Static Definitions -------------------------*/
|
||||
static int msglevel = MSG_LEVEL_INFO;
|
||||
//static int msglevel =MSG_LEVEL_DEBUG;
|
||||
|
||||
/*--------------------- Static Classes ----------------------------*/
|
||||
|
||||
/*--------------------- Export Definitions -------------------------*/
|
||||
|
||||
|
||||
static SChannelTblElement sChannelTbl[CB_MAX_CHANNEL+1] =
|
||||
@@ -368,7 +365,6 @@ static struct
|
||||
/* 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 */
|
||||
};
|
||||
|
||||
/*--------------------- Export function -------------------------*/
|
||||
/************************************************************************
|
||||
* Country Channel Valid
|
||||
* Input: CountryCode, ChannelNum
|
||||
|
||||
@@ -32,9 +32,7 @@
|
||||
|
||||
#include "device.h"
|
||||
|
||||
/*--------------------- Export Definitions -------------------------*/
|
||||
|
||||
/*--------------------- Export Classes ----------------------------*/
|
||||
|
||||
typedef struct tagSChannelTblElement {
|
||||
u8 byChannelNumber;
|
||||
@@ -42,9 +40,7 @@ typedef struct tagSChannelTblElement {
|
||||
bool bValid;
|
||||
} SChannelTblElement, *PSChannelTblElement;
|
||||
|
||||
/*--------------------- Export Variables --------------------------*/
|
||||
|
||||
/*--------------------- Export Functions --------------------------*/
|
||||
|
||||
bool ChannelValid(unsigned int CountryCode, unsigned int ChannelNum);
|
||||
void CHvInitChannelTable(struct vnt_private *pDevice);
|
||||
|
||||
@@ -43,18 +43,12 @@
|
||||
#include "control.h"
|
||||
#include "rndis.h"
|
||||
|
||||
/*--------------------- Static Definitions -------------------------*/
|
||||
/* static int msglevel =MSG_LEVEL_INFO; */
|
||||
/* static int msglevel =MSG_LEVEL_DEBUG; */
|
||||
/*--------------------- Static Classes ----------------------------*/
|
||||
|
||||
/*--------------------- Static Variables --------------------------*/
|
||||
|
||||
/*--------------------- Static Functions --------------------------*/
|
||||
|
||||
/*--------------------- Export Variables --------------------------*/
|
||||
|
||||
/*--------------------- Export Functions --------------------------*/
|
||||
|
||||
void ControlvWriteByte(struct vnt_private *pDevice, u8 reg, u8 reg_off,
|
||||
u8 data)
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
#include "device.h"
|
||||
#include "usbpipe.h"
|
||||
|
||||
/*--------------------- Export Definitions -------------------------*/
|
||||
|
||||
#define CONTROLnsRequestOut(Device, Request, Value, Index, Length, Buffer) \
|
||||
PIPEnsControlOut(Device, Request, Value, Index, Length, Buffer)
|
||||
@@ -44,11 +43,8 @@
|
||||
#define CONTROLnsRequestIn(Device, Request, Value, Index, Length, Buffer) \
|
||||
PIPEnsControlIn(Device, Request, Value, Index, Length, Buffer)
|
||||
|
||||
/*--------------------- Export Classes ----------------------------*/
|
||||
|
||||
/*--------------------- Export Variables --------------------------*/
|
||||
|
||||
/*--------------------- Export Functions --------------------------*/
|
||||
|
||||
void ControlvWriteByte(struct vnt_private *pDevice, u8 reg, u8 reg_off,
|
||||
u8 data);
|
||||
|
||||
@@ -43,16 +43,13 @@
|
||||
#include "srom.h"
|
||||
#include "rf.h"
|
||||
|
||||
/*--------------------- Static Definitions -------------------------*/
|
||||
|
||||
|
||||
|
||||
|
||||
/*--------------------- Static Classes ----------------------------*/
|
||||
|
||||
|
||||
|
||||
/*--------------------- Static Variables --------------------------*/
|
||||
|
||||
/* static int msglevel = MSG_LEVEL_DEBUG; */
|
||||
static int msglevel =MSG_LEVEL_INFO;
|
||||
@@ -63,7 +60,6 @@ const u8 acbyIERate[MAX_RATE] =
|
||||
#define AUTORATE_TXFAIL_CNT 0x0064
|
||||
#define AUTORATE_TIMEOUT 10
|
||||
|
||||
/*--------------------- Static Functions --------------------------*/
|
||||
|
||||
void s_vResetCounter(PKnownNodeDB psNodeDBTable);
|
||||
|
||||
@@ -78,10 +74,8 @@ void s_vResetCounter(PKnownNodeDB psNodeDBTable)
|
||||
}
|
||||
}
|
||||
|
||||
/*--------------------- Export Variables --------------------------*/
|
||||
|
||||
|
||||
/*--------------------- Export Functions --------------------------*/
|
||||
|
||||
|
||||
/*+
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
#define __DATARATE_H__
|
||||
|
||||
|
||||
/*--------------------- Export Definitions -------------------------*/
|
||||
|
||||
#define FALLBACK_PKT_COLLECT_TR_H 50 /* pkts */
|
||||
#define FALLBACK_PKT_COLLECT_TR_L 10 /* pkts */
|
||||
@@ -57,15 +56,11 @@
|
||||
#define RATE_AUTO 12
|
||||
#define MAX_RATE 12
|
||||
|
||||
/*--------------------- Export Classes ----------------------------*/
|
||||
|
||||
/*--------------------- Export Variables --------------------------*/
|
||||
|
||||
|
||||
/*--------------------- Export Types ------------------------------*/
|
||||
|
||||
|
||||
/*--------------------- Export Functions --------------------------*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -77,7 +77,6 @@
|
||||
#include "key.h"
|
||||
#include "card.h"
|
||||
|
||||
/*--------------------- Export Definitions -------------------------*/
|
||||
#define VNT_USB_VENDOR_ID 0x160a
|
||||
#define VNT_USB_PRODUCT_ID 0x3184
|
||||
|
||||
@@ -141,7 +140,6 @@
|
||||
|
||||
#define PRIVATE_Message 0
|
||||
|
||||
/*--------------------- Export Types ------------------------------*/
|
||||
|
||||
#define DBG_PRT(l, p, args...) { if (l <= msglevel) printk(p, ##args); }
|
||||
#define PRINT_K(p, args...) { if (PRIVATE_Message) printk(p, ##args); }
|
||||
@@ -840,7 +838,6 @@ struct vnt_private {
|
||||
#define MP_IS_READY(_M) (((_M)->Flags & \
|
||||
(fMP_DISCONNECTED | fMP_RESET_IN_PROGRESS | fMP_HALT_IN_PROGRESS | fMP_INIT_IN_PROGRESS | fMP_SURPRISE_REMOVED)) == 0)
|
||||
|
||||
/*--------------------- Export Functions --------------------------*/
|
||||
|
||||
int device_alloc_frag_buf(struct vnt_private *, PSDeFragControlBlock pDeF);
|
||||
|
||||
|
||||
@@ -56,11 +56,8 @@
|
||||
#include "datarate.h"
|
||||
#include "usbpipe.h"
|
||||
|
||||
/*--------------------- Static Definitions -------------------------*/
|
||||
|
||||
/*--------------------- Static Classes ----------------------------*/
|
||||
|
||||
/*--------------------- Static Variables --------------------------*/
|
||||
//static int msglevel =MSG_LEVEL_DEBUG;
|
||||
static int msglevel =MSG_LEVEL_INFO;
|
||||
|
||||
@@ -68,11 +65,8 @@ const u8 acbyRxRate[MAX_RATE] =
|
||||
{2, 4, 11, 22, 12, 18, 24, 36, 48, 72, 96, 108};
|
||||
|
||||
|
||||
/*--------------------- Static Functions --------------------------*/
|
||||
|
||||
/*--------------------- Static Definitions -------------------------*/
|
||||
|
||||
/*--------------------- Static Functions --------------------------*/
|
||||
|
||||
static u8 s_byGetRateIdx(u8 byRate);
|
||||
|
||||
@@ -102,7 +96,6 @@ static int s_bHostWepRxEncryption(struct vnt_private *pDevice, u8 *pbyFrame,
|
||||
u32 FrameSize, u8 *pbyRsr, int bOnFly, PSKeyItem pKey, u8 *pbyNewRsr,
|
||||
s32 *pbExtIV, u16 *pwRxTSC15_0, u32 *pdwRxTSC47_16);
|
||||
|
||||
/*--------------------- Export Variables --------------------------*/
|
||||
|
||||
/*+
|
||||
*
|
||||
|
||||
@@ -32,13 +32,9 @@
|
||||
#include "device.h"
|
||||
#include "wcmd.h"
|
||||
|
||||
/*--------------------- Export Definitions -------------------------*/
|
||||
|
||||
/*--------------------- Export Classes ----------------------------*/
|
||||
|
||||
/*--------------------- Export Variables --------------------------*/
|
||||
|
||||
/*--------------------- Export Functions --------------------------*/
|
||||
|
||||
void RXvWorkItem(void *Context);
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user