]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: vt6656: remove code placeholders
authorAndres More <more.andres@gmail.com>
Tue, 19 Mar 2013 01:33:51 +0000 (20:33 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 18:06:09 +0000 (11:06 -0700)
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>
66 files changed:
drivers/staging/vt6656/80211hdr.h
drivers/staging/vt6656/80211mgr.c
drivers/staging/vt6656/80211mgr.h
drivers/staging/vt6656/aes_ccmp.c
drivers/staging/vt6656/aes_ccmp.h
drivers/staging/vt6656/baseband.c
drivers/staging/vt6656/baseband.h
drivers/staging/vt6656/bssdb.c
drivers/staging/vt6656/bssdb.h
drivers/staging/vt6656/card.c
drivers/staging/vt6656/card.h
drivers/staging/vt6656/channel.c
drivers/staging/vt6656/channel.h
drivers/staging/vt6656/control.c
drivers/staging/vt6656/control.h
drivers/staging/vt6656/datarate.c
drivers/staging/vt6656/datarate.h
drivers/staging/vt6656/device.h
drivers/staging/vt6656/dpc.c
drivers/staging/vt6656/dpc.h
drivers/staging/vt6656/firmware.c
drivers/staging/vt6656/firmware.h
drivers/staging/vt6656/hostap.h
drivers/staging/vt6656/int.c
drivers/staging/vt6656/int.h
drivers/staging/vt6656/iocmd.h
drivers/staging/vt6656/iowpa.h
drivers/staging/vt6656/iwctl.h
drivers/staging/vt6656/key.c
drivers/staging/vt6656/key.h
drivers/staging/vt6656/mac.c
drivers/staging/vt6656/mac.h
drivers/staging/vt6656/main_usb.c
drivers/staging/vt6656/mib.c
drivers/staging/vt6656/mib.h
drivers/staging/vt6656/michael.c
drivers/staging/vt6656/michael.h
drivers/staging/vt6656/power.c
drivers/staging/vt6656/power.h
drivers/staging/vt6656/rc4.h
drivers/staging/vt6656/rf.c
drivers/staging/vt6656/rf.h
drivers/staging/vt6656/rndis.h
drivers/staging/vt6656/rxtx.c
drivers/staging/vt6656/rxtx.h
drivers/staging/vt6656/srom.h
drivers/staging/vt6656/tcrc.c
drivers/staging/vt6656/tcrc.h
drivers/staging/vt6656/tether.c
drivers/staging/vt6656/tether.h
drivers/staging/vt6656/tkip.c
drivers/staging/vt6656/tkip.h
drivers/staging/vt6656/usbpipe.c
drivers/staging/vt6656/usbpipe.h
drivers/staging/vt6656/wcmd.c
drivers/staging/vt6656/wcmd.h
drivers/staging/vt6656/wctl.c
drivers/staging/vt6656/wctl.h
drivers/staging/vt6656/wmgr.c
drivers/staging/vt6656/wmgr.h
drivers/staging/vt6656/wpa.c
drivers/staging/vt6656/wpa.h
drivers/staging/vt6656/wpa2.c
drivers/staging/vt6656/wpa2.h
drivers/staging/vt6656/wpactl.c
drivers/staging/vt6656/wpactl.h

index 198fc954930afa4379e9464e7b1d0588f65d003d..2b42f8a7cc2c0a07a7ff7ed9e6dc8fd638e82b3e 100644 (file)
@@ -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__ */
index 6a74c15c95db7a353f76feae9bea2b15deeded6f..fd951699214f8a52eb3c3931df700fdcc9df496d 100644 (file)
 #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  --------------------------*/
 
 
 /*+
index c8cc1d124f54f1beeb6cad2c50e97cd6cf4d62fc..4bd5bf2d8ce6ec1185da4e5d024592f74e72ac6a 100644 (file)
@@ -33,7 +33,6 @@
 
 #include "80211hdr.h"
 
-/*---------------------  Export Definitions -------------------------*/
 
 #define WLAN_MIN_ARRAY          1
 
 #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(
index 31855e8c010bb2d376d0c02adbfe5bd0ce58fb92..61883316a264415412d6500d6518447bde495095 100644 (file)
 #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)
 {
index d4192526484f65d43258ce008870e73b0da3c329..775d8c23575d08e5f382e83239add24e389cf1cc 100644 (file)
 #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__ */
index 93e297841f8d98e23cf1a9e61f70334d6ec96e78..c02e8e2f5ae78c74902f676c0e82a40fc02bb330 100644 (file)
 #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
  *
index f3f58b56a2117ff9e1e12fd1b83aa309ef62796c..6474055b09d87a5f6e6c1199b037d337e4bd7c04 100644 (file)
@@ -36,7 +36,6 @@
 #include "tether.h"
 #include "device.h"
 
-/*---------------------  Export Definitions -------------------------*/
 
 #define PREAMBLE_LONG   0
 #define PREAMBLE_SHORT  1
 #define TOP_RATE_1M         0x00100000
 
 
-/*---------------------  Export Types  ------------------------------*/
 
-/*---------------------  Export Macros ------------------------------*/
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 unsigned int
 BBuGetFrameTime(
index f47cd3e0b1eec77864ef43cfbd8d45e2ea70f735..101417e1660c0b6816c6e64830a5f1944a64e4fb 100644 (file)
 #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  --------------------------*/
 
 
 
index f003fbebb7a6cc0ce225f4552760f44792b9379a..562f8f033b414a17792190ecf117fca3cfe4673b 100644 (file)
@@ -36,7 +36,6 @@
 #include "card.h"
 #include "mib.h"
 
-/*---------------------  Export Definitions -------------------------*/
 
 #define MAX_NODE_NUM             64
 #define MAX_BSS_NUM              42
 #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);
index da1447b356804a9149614a1dbc5df1a301b95f69..e8ba5e4905dcb0973d73f86ebc85ea545cdec0dd 100644 (file)
 #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
  *
index 25d5aa2930cd883c104ffa136db1443a58d52bf3..e17d3d69084994595d6e48f6ab482945b736a0a4 100644 (file)
@@ -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);
index 9421c5dc60a60f0ed70bda66317ecdcb31b9af6b..542cc6fd949e64a2ae6ecfe0d1742d233ebd0923 100644 (file)
 #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
index aceb29aeb18b79c2e79aad59ae6bd0cd9feb4ece..d6bd1df0238634820159cbc9f0a445413117a159 100644 (file)
@@ -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);
index 743ef5fb7fe748f00cc5fd6f65163ecf179c0e80..eda0de3c2a5891dc9fb9eda695c8cf221655961f 100644 (file)
 #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)
index 2a4e283613c810ded40b51f148bdecda63fc4eeb..d286b33b99e6851af29731d92bb1d048dd9b7692 100644 (file)
@@ -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)
 #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);
index e118213192192ca2115b43fdbf5a40ac5015aa23..bfc4ae75477b90fc88fcaaf6630ddb0ba1b109d0 100644 (file)
 #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  --------------------------*/
 
 
 /*+
index d86e537176d0be50f61a6338202f463b4a8105ca..cfeffd9d26edab2e25159d9c0ad69b846f9db5c1 100644 (file)
@@ -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 */
 #define RATE_AUTO      12
 #define MAX_RATE       12
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
 
-/*---------------------  Export Types  ------------------------------*/
 
 
-/*---------------------  Export Functions  --------------------------*/
 
 
 
index f3fd17a0f0d9166fc56148cfd6e0a29c8eb5c5a6..e3f858a00b3d1f1f5f9c228e5602cfd006b11690 100644 (file)
@@ -77,7 +77,6 @@
 #include "key.h"
 #include "card.h"
 
-/*---------------------  Export Definitions -------------------------*/
 #define VNT_USB_VENDOR_ID                     0x160a
 #define VNT_USB_PRODUCT_ID                    0x3184
 
 
 #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);
 
index 617155df09ddb8db41236ee4c6e56461fc8861a5..675b609a32e3e5d74b9041591bb4f4678888ce46 100644 (file)
 #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  --------------------------*/
 
 /*+
  *
index 933df02f6dd0056d5c27bbe14bb54deaa17e8157..8f2f9325b9af603be2e3a353fa9a5cc8a9bf5606 100644 (file)
 #include "device.h"
 #include "wcmd.h"
 
-/*---------------------  Export Definitions -------------------------*/
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 void RXvWorkItem(void *Context);
 
index d5d99fbaf9a355a590e4e6323d8475c1e1f45b30..cb4a65af754d4ecd645b1f523e26456d29e94079 100644 (file)
@@ -35,7 +35,6 @@
 #include "control.h"
 #include "rndis.h"
 
-/*---------------------  Static Definitions -------------------------*/
 
 static int          msglevel                =MSG_LEVEL_INFO;
 //static int          msglevel                =MSG_LEVEL_DEBUG;
@@ -45,15 +44,10 @@ static int          msglevel                =MSG_LEVEL_INFO;
 
 #define FIRMWARE_CHUNK_SIZE    0x400
 
-/*---------------------  Static Classes  ----------------------------*/
 
-/*---------------------  Static Variables  --------------------------*/
 
-/*---------------------  Static Functions  --------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 
 int FIRMWAREbDownload(struct vnt_private *pDevice)
index dff516281b41640d9a68581606a0438c82ec4b73..60468e64eb650a557d2dab6861afc3a169b0f8ec 100644 (file)
 
 #include "device.h"
 
-/*---------------------  Export Definitions -------------------------*/
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 int FIRMWAREbDownload(struct vnt_private *);
 int FIRMWAREbBrach2Sram(struct vnt_private *);
index f5656cd96a8f307d8d2004058a7b280101ba6a02..ba093b97da2271a93dda8f3e4c0059f85e5f3343 100644 (file)
@@ -31,7 +31,6 @@
 
 #include "device.h"
 
-/*---------------------  Export Definitions -------------------------*/
 
 #define WLAN_RATE_1M    BIT0
 #define WLAN_RATE_2M    BIT1
 #define WLAN_RATE_54M   BIT11
 
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 #ifndef ETH_P_PAE
 #define ETH_P_PAE 0x888E /* Port Access Entity (IEEE 802.1X) */
index ed2222fd43b19969fcdd541f4335fb204296e135..ab3937cf7ac0c54ea86bec8aea60218fed0dee88 100644 (file)
 #include "bssdb.h"
 #include "usbpipe.h"
 
-/*---------------------  Static Definitions -------------------------*/
 static int msglevel = MSG_LEVEL_INFO; /* MSG_LEVEL_DEBUG */
 
-/*---------------------  Static Classes  ----------------------------*/
 
-/*---------------------  Static Variables  --------------------------*/
 
-/*---------------------  Static Functions  --------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 /*+
  *
index 13e1a6a6158b07d94c6458e1614fe47af950f83b..a34b3d8588919d1cb56610199c6413183803bfca 100644 (file)
@@ -32,7 +32,6 @@
 
 #include "device.h"
 
-/*---------------------  Export Definitions -------------------------*/
 typedef struct tagSINTData {
        u8 byTSR0;
        u8 byPkt0;
@@ -57,11 +56,8 @@ typedef struct tagSINTData {
 } __attribute__ ((__packed__))
 SINTData, *PSINTData;
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 void INTvWorkItem(struct vnt_private *);
 void INTnsProcessData(struct vnt_private *);
index dab089ac5cc9eb998c8dfa5dab3028c85d921e71..b75ce1ee03c5a03a7cd60cadae8b0dffcdfe229e 100644 (file)
@@ -29,7 +29,6 @@
 #ifndef __IOCMD_H__
 #define __IOCMD_H__
 
-/*---------------------  Export Definitions -------------------------*/
 
 // ioctl Command code
 #define MAGIC_CODE                      0x3142
@@ -430,12 +429,8 @@ struct viawget_hostapd_param {
        } u;
 } __packed;
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Types  ------------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 #endif /* __IOCMD_H__ */
index 2522ddec718d3dd3f930097d80841ec2b8bdda88..bf28ac3b7e885587dd44f643f5b5c596db66d125 100644 (file)
@@ -29,7 +29,6 @@
 #ifndef __IOWPA_H__
 #define __IOWPA_H__
 
-/*---------------------  Export Definitions -------------------------*/
 
 #define WPA_IE_LEN 64
 
@@ -130,12 +129,8 @@ struct viawget_scan_result {
        int maxrate;
 } __packed;
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Types  ------------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 #endif /* __IOWPA_H__ */
index b594a10db318440944b453c04013e43189fa2f85..2d13153e99314cda3b773e81bbc71f2d01bb47a3 100644 (file)
 
 #include "device.h"
 
-/*---------------------  Export Definitions -------------------------*/
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 struct iw_statistics *iwctl_get_wireless_stats(struct net_device *dev);
 
index 18305192cfa7b8e977c866094daeffb63de74c89..7d9299a84d55845e97f240f77e8fa22f5072d924 100644 (file)
 #include "rndis.h"
 #include "control.h"
 
-/*---------------------  Static Definitions -------------------------*/
 
-/*---------------------  Static Classes  ----------------------------*/
 
-/*---------------------  Static Variables  --------------------------*/
 static int          msglevel                =MSG_LEVEL_INFO;
 //static int          msglevel                =MSG_LEVEL_DEBUG;
-/*---------------------  Static Functions  --------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Static Definitions -------------------------*/
 
-/*---------------------  Static Classes  ----------------------------*/
 
-/*---------------------  Static Variables  --------------------------*/
 
-/*---------------------  Static Functions  --------------------------*/
 static void s_vCheckKeyTableValid(struct vnt_private *pDevice,
        PSKeyManagement pTable)
 {
@@ -96,7 +87,6 @@ static void s_vCheckKeyTableValid(struct vnt_private *pDevice,
 }
 
 
-/*---------------------  Export Functions  --------------------------*/
 
 
 /*
index a7101d7e64243ad57d53c9ca56bc665e058dec99..6e81841effc63bfd8d433a07057dcab27e73820f 100644 (file)
@@ -33,7 +33,6 @@
 #include "tether.h"
 #include "80211mgr.h"
 
-/*---------------------  Export Definitions -------------------------*/
 #define MAX_GROUP_KEY       4
 #define MAX_KEY_TABLE       11
 #define MAX_KEY_LEN         32
@@ -86,15 +85,10 @@ typedef struct tagSKeyManagement
     SKeyTable   KeyTable[MAX_KEY_TABLE];
 } SKeyManagement, *PSKeyManagement;
 
-/*---------------------  Export Types  ------------------------------*/
 
-/*---------------------  Export Macros ------------------------------*/
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 void KeyvInitTable(struct vnt_private *, PSKeyManagement pTable);
 
index 30dcdcc68d2e30963cb3542a7b409516918e5cf5..cb61e7222bc82b39b8e556052ec4e5671b221ebc 100644 (file)
 #include "rndis.h"
 #include "control.h"
 
-/*---------------------  Static Definitions -------------------------*/
 //static int          msglevel                =MSG_LEVEL_DEBUG;
 static int          msglevel                =MSG_LEVEL_INFO;
-/*---------------------  Static Classes  ----------------------------*/
 
-/*---------------------  Static Variables  --------------------------*/
 
-/*---------------------  Static Functions  --------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 
 
index 32ac58793f199810681567cafaf503f56af7f6dc..819ccbe607ac4b9d102e9d31c5b858c4962b4cd2 100644 (file)
@@ -37,7 +37,6 @@
 #include "device.h"
 #include "tmacro.h"
 
-/*---------------------  Export Definitions -------------------------*/
 
 #define REV_ID_VT3253_A0    0x00
 #define REV_ID_VT3253_A1    0x01
 #define MAC_REVISION_A1     0x01
 
 
-/*---------------------  Export Types  ------------------------------*/
 
-/*---------------------  Export Macros ------------------------------*/
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 void MACvSetMultiAddrByHash(struct vnt_private *, u8);
 void MACvWriteMultiAddr(struct vnt_private *, u32, u8);
index cf8a50e3279d193914ead32db091503ff0dfaecd..052e50fde5301f8a3199c330e4c62313cd1a5e52 100644 (file)
@@ -72,7 +72,6 @@
 #include "int.h"
 #include "iowpa.h"
 
-/*---------------------  Static Definitions -------------------------*/
 /* static int msglevel = MSG_LEVEL_DEBUG; */
 static int          msglevel                =MSG_LEVEL_INFO;
 
@@ -208,7 +207,6 @@ static const long frequency_list[] = {
 static const struct iw_handler_def     iwctl_handler_def;
 */
 
-/*---------------------  Static Functions  --------------------------*/
 
 static int vt6656_probe(struct usb_interface *intf,
                        const struct usb_device_id *id);
@@ -250,9 +248,7 @@ static void usb_device_reset(struct vnt_private *pDevice);
 
 
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 
 static void
@@ -965,7 +961,6 @@ int device_alloc_frag_buf(struct vnt_private *pDevice,
 }
 
 
-/*-----------------------------------------------------------------*/
 
 static int  device_open(struct net_device *dev)
 {
index 3ab028bc03d4b5980704172781741058882ccf9c..590fa1f30b5d58477e5ff9afe9cbf52292fad498 100644 (file)
 #include "wctl.h"
 #include "baseband.h"
 
-/*---------------------  Static Definitions -------------------------*/
 static int          msglevel                =MSG_LEVEL_INFO;
-/*---------------------  Static Classes  ----------------------------*/
 
-/*---------------------  Static Variables  --------------------------*/
 
-/*---------------------  Static Functions  --------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 
 
index cc8089ec035008cbe486fe1a50483594b311f8b9..28cedf1bfd02aa84c7d24a5a74172a440f7c52f6 100644 (file)
@@ -32,7 +32,6 @@
 #include "tether.h"
 #include "desc.h"
 
-/*---------------------  Export Definitions -------------------------*/
 
 
 //
@@ -366,11 +365,8 @@ typedef struct tagSStatCounter {
 
 } SStatCounter, *PSStatCounter;
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 void STAvClearAllCounter(PSStatCounter pStatistic);
 
index 1a8ae920f1e70ef944b9432ea8306cd873a2cfb0..ee1fdb01ae9959774da7ef4c55ffad54b920005d 100644 (file)
 #include "tmacro.h"
 #include "michael.h"
 
-/*---------------------  Static Definitions -------------------------*/
 
-/*---------------------  Static Variables  --------------------------*/
 
-/*---------------------  Static Functions  --------------------------*/
 /*
  * static u32 s_dwGetUINT32(u8 * p);         Get u32 from
  *                                                     4 bytes LSByte first
@@ -60,13 +57,11 @@ static void s_vSetKey(u32 dwK0, u32 dwK1);
 static void s_vAppendByte(u8 b);       /* Add a single byte to the internal
                                         * message */
 
-/*---------------------  Export Variables  --------------------------*/
 static u32  L, R;              /* Current state */
 static u32  K0, K1;            /* Key */
 static u32  M;         /* Message accumulator (single word) */
 static unsigned int   nBytesInM;       /* # bytes in M */
 
-/*---------------------  Export Functions  --------------------------*/
 
 /*
 static u32 s_dwGetUINT32 (u8 * p)
index 56331ccfc1dbe5d89142f49a1d6846f2ae52d9df..d5604c890c20670538dd59f7fee0bebada94920d 100644 (file)
@@ -33,9 +33,7 @@
 
 #include <linux/types.h>
 
-/*---------------------  Export Definitions -------------------------*/
 
-/*---------------------  Export Types  ------------------------------*/
 
 void MIC_vInit(u32 dwK0, u32 dwK1);
 
@@ -48,7 +46,6 @@ void MIC_vAppend(u8 * src, unsigned int nBytes);
 // This also resets the message to empty.
 void MIC_vGetMIC(u32 * pdwL, u32 * pdwR);
 
-/*---------------------  Export Macros ------------------------------*/
 
 // Rotation functions on 32 bit values
 #define ROL32(A, n) \
index 94c2acde268cfabbe6c84315c842639850b4669a..31f2b8b18c27a5dcacec866a94fb1e847e81d33b 100644 (file)
 #include "control.h"
 #include "rndis.h"
 
-/*---------------------  Static Definitions -------------------------*/
 
-/*---------------------  Static Classes  ----------------------------*/
 
-/*---------------------  Static Variables  --------------------------*/
 static int msglevel = MSG_LEVEL_INFO;
-/*---------------------  Static Functions  --------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 /*
  *
index 879b10c0d42e6ce1e7c2f8fc2d67754f64e5baea..38edff6f13cef09a9126f718a385430b1e604930 100644 (file)
 #define __POWER_H__
 
 
-/*---------------------  Export Definitions -------------------------*/
 #define     C_PWBT                   1000      // micro sec. power up before TBTT
 #define     PS_FAST_INTERVAL         1         // Fast power saving listen interval
 #define     PS_MAX_INTERVAL          4         // MAX power saving listen interval
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
 
-/*---------------------  Export Types  ------------------------------*/
 
 
-/*---------------------  Export Functions  --------------------------*/
 
 /*  PSDevice pDevice */
 /*  PSDevice hDeviceContext */
index fe613f819aef516dea79b139eac15e59fceb8032..d376e1adcc1c119af73591a4d829d2f9d0541f0c 100644 (file)
@@ -32,8 +32,6 @@
 
 #include <linux/types.h>
 
-/*---------------------  Export Definitions -------------------------*/
-/*---------------------  Export Types  ------------------------------*/
 typedef struct {
     unsigned int ux;
     unsigned int uy;
index 114217a6c7472c2613533427308fa3694b581eb1..9389f7dd5ba87c02d56aa7586e72e2217477e20e 100644 (file)
@@ -41,7 +41,6 @@
 
 static int          msglevel                =MSG_LEVEL_INFO;
 //static int          msglevel                =MSG_LEVEL_DEBUG;
-/*---------------------  Static Definitions -------------------------*/
 #define BY_AL2230_REG_LEN     23 //24bit
 #define CB_AL2230_INIT_SEQ    15
 #define AL2230_PWR_IDX_LEN    64
@@ -62,9 +61,7 @@ static int          msglevel                =MSG_LEVEL_INFO;
 #define VT3342_PWR_IDX_LEN    64
 //}}
 
-/*---------------------  Static Classes  ----------------------------*/
 
-/*---------------------  Static Variables  --------------------------*/
 
 
 
@@ -673,9 +670,7 @@ const u32 dwAL2230PowerTable[AL2230_PWR_IDX_LEN] = {
     0x0407F900+(BY_AL2230_REG_LEN<<3)+IFREGCTL_REGW
     };
 
-/*---------------------  Static Functions  --------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
 //{{ RobertYu:20050103, Channel 11a Number To Index
 // 4.9G => Ch 183, 184, 185, 187, 188, 189, 192, 196  (Value:15 ~ 22)
@@ -708,7 +703,6 @@ const u8 RFaby11aChannelIndex[200] = {
 };
 //}} RobertYu
 
-/*---------------------  Export Functions  --------------------------*/
 
 /*
  * Description: Write to IF/RF, by embedded programming
index aa0b007a4e9b23940e0710063a3fe4207ac38317..7cd120ae89626f0e9216ef06653ac5aa0e1143c1 100644 (file)
@@ -32,7 +32,6 @@
 
 #include "device.h"
 
-/*---------------------  Export Definitions -------------------------*/
 //
 // Baseband RF pair definition in eeprom (Bits 6..0)
 //
 
 
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 extern const u8 RFaby11aChannelIndex[200];
-/*---------------------  Export Functions  --------------------------*/
 
 int IFRFbWriteEmbedded(struct vnt_private *, u32 dwData);
 int RFbSetPower(struct vnt_private *, u32 uRATE, u32 uCH);
index 2c67583cfef94de14625fe12c5fe657eec4497fb..96fc2685f980d205ceb63d8b3edcbdea0df53927 100644 (file)
@@ -31,7 +31,6 @@
 #ifndef __RNDIS_H__
 #define __RNDIS_H__
 
-/*---------------------  Export Definitions -------------------------*/
 #define MESSAGE_TYPE_READ               0x01
 #define MESSAGE_TYPE_WRITE              0x00
 #define MESSAGE_TYPE_LOCK_OR            0x02
@@ -70,7 +69,6 @@
 #define VIAUSB20_PACKET_HEADER          0x04
 
 
-/*---------------------  Export Classes  ----------------------------*/
 
 typedef struct _CMD_MESSAGE
 {
@@ -150,12 +148,9 @@ typedef struct _CMD_CHANGE_BBTYPE
     u16        wRSPINF_a[9];
 } CMD_CHANGE_BBTYPE, *PCMD_CHANGE_BBTYPE;
 
-/*---------------------  Export Macros -------------------------*/
 
 #define EXCH_WORD(w) ((u16)((u16)(w)<<8) | (u16)((u16)(w)>>8))
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 #endif /* _RNDIS_H_ */
index b7e14e373a0aa8fb5764c134bb2b120f87a611a6..57a5cdb2c51dafa6b4cada644bc274adc46abf3c 100644 (file)
 #include "usbpipe.h"
 #include "iocmd.h"
 
-/*---------------------  Static Definitions -------------------------*/
 
-/*---------------------  Static Classes  ----------------------------*/
 
-/*---------------------  Static Variables  --------------------------*/
 static int          msglevel                = MSG_LEVEL_INFO;
 
-/*---------------------  Static Functions  --------------------------*/
 
-/*---------------------  Static Definitions -------------------------*/
 
 const u16 wTimeStampOff[2][MAX_RATE] = {
         {384, 288, 226, 209, 54, 43, 37, 31, 28, 25, 24, 23}, // Long Preamble
@@ -104,7 +99,6 @@ const u16 wFB_Opt1[2][5] = {
 #define DATADUR_A_F0    12
 #define DATADUR_A_F1    13
 
-/*---------------------  Static Functions  --------------------------*/
 
 static void s_vSaveTxPktInfo(struct vnt_private *pDevice, u8 byPktNum,
        u8 *pbyDestAddr, u16 wPktLength, u16 wFIFOCtl);
@@ -157,7 +151,6 @@ static unsigned int s_uGetRTSCTSDuration(struct vnt_private *pDevice,
        int bNeedAck, u8 byFBOption);
 
 
-/*---------------------  Export Variables  --------------------------*/
 
 static void *s_vGetFreeContext(struct vnt_private *pDevice)
 {
index e27640cda90c6fa4e2f1828818dc4d7e7c5421b2..a26031943f463a1ae71dadd2c3675a7ef63ab22b 100644 (file)
@@ -32,9 +32,7 @@
 #include "device.h"
 #include "wcmd.h"
 
-/*---------------------  Export Definitions -------------------------*/
 
-/*---------------------  Export Classes  ----------------------------*/
 
 //
 // RTS buffer header
@@ -660,9 +658,7 @@ typedef struct tagSBEACON_BUFFER
 } BEACON_BUFFER, *PBEACON_BUFFER;
 
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 void vDMA0_tx_80211(struct vnt_private *, struct sk_buff *skb);
 int nsDMA_tx_packet(struct vnt_private *, u32 uDMAIdx, struct sk_buff *skb);
index 48e10c45a182b283764ef0b9b7f88438a301dd30..8f9296d10c002b8c15fec8e50abcc41b1a412fe1 100644 (file)
@@ -30,7 +30,6 @@
 #ifndef __SROM_H__
 #define __SROM_H__
 
-/*---------------------  Export Definitions -------------------------*/
 
 #define EEP_MAX_CONTEXT_SIZE    256
 
@@ -78,7 +77,6 @@
 //
 #define EEP_RADIOCTL_ENABLE 0x80
 
-/*---------------------  Export Types  ------------------------------*/
 
 // AT24C02 eeprom contents
 //      2048 bits = 256 bytes = 128 words
@@ -114,12 +112,8 @@ typedef struct tagSSromReg {
     u8    abyCIS[128];                // 0x80 (u16)
 } SSromReg, *PSSromReg;
 
-/*---------------------  Export Macros ------------------------------*/
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 #endif /* __EEPROM_H__ */
index 1fe043c402ff57c74e28e2eb7fd56a23b0114384..fa1d7486d6720e4444fe3e3932f10c8451273e08 100644 (file)
 
 #include "tcrc.h"
 
-/*---------------------  Static Definitions -------------------------*/
 
-/*---------------------  Static Classes  ----------------------------*/
 
-/*---------------------  Static Variables  --------------------------*/
 
 /* 32-bit CRC table */
 static const u32 s_adwCrc32Table[256] = {
@@ -109,9 +106,7 @@ static const u32 s_adwCrc32Table[256] = {
     0xB40BBE37L, 0xC30C8EA1L, 0x5A05DF1BL, 0x2D02EF8DL
 };
 
-/*---------------------  Static Functions  --------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
 
 
index c45a63af190255476697109e2d60b59d96c7c82e..98edcdd97553d20df25ad79c3bf85687fef4bc38 100644 (file)
 
 #include <linux/types.h>
 
-/*---------------------  Export Definitions -------------------------*/
 
-/*---------------------  Export Types  ------------------------------*/
 
-/*---------------------  Export Macros ------------------------------*/
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 u32 CRCdwCrc32(u8 * pbyData, unsigned int cbByte, u32 dwCrcSeed);
 u32 CRCdwGetCrc32(u8 * pbyData, unsigned int cbByte);
index ed99289940ea5b8db5b9607dd3dee7548117b442..b780349588d14e3936ad0d3acc9b45afe60555f3 100644 (file)
 #include "tcrc.h"
 #include "tether.h"
 
-/*---------------------  Static Definitions -------------------------*/
 
-/*---------------------  Static Classes  ----------------------------*/
 
-/*---------------------  Static Variables  --------------------------*/
 
-/*---------------------  Static Functions  --------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
 
 
index 4ecca753ab68b1999b6d1403862658754c231f00..15434c98d2ce6900f65b72aa0ea3b89aa244a125 100644 (file)
@@ -31,7 +31,6 @@
 
 #include <linux/if_ether.h>
 
-/*---------------------  Export Definitions -------------------------*/
 //
 // constants
 //
@@ -114,13 +113,9 @@ typedef struct tagS802_3Header {
 } __attribute__ ((__packed__))
 S802_3Header, *PS802_3Header;
 
-/*---------------------  Export Macros ------------------------------*/
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 u8 ETHbyGetHashIndexByCrc32(u8 * pbyMultiAddr);
 //u8 ETHbyGetHashIndexByCrc(u8 * pbyMultiAddr);
index 0389e888195c3101b5e79a0c4329ac1bf41c6e2b..f315656c88b103c7af1c26ace1bde5771300045e 100644 (file)
 #include "tmacro.h"
 #include "tkip.h"
 
-/*---------------------  Static Definitions -------------------------*/
 
-/*---------------------  Static Classes  ----------------------------*/
 
-/*---------------------  Static Variables  --------------------------*/
 
-/*---------------------  Static Functions  --------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Static Definitions -------------------------*/
 
-/*---------------------  Static Classes  ----------------------------*/
 
-/*---------------------  Static Variables  --------------------------*/
 
 /* The Sbox is reduced to 2 16-bit wide tables, each with 256 entries. */
 /* The 2nd table is the same as the 1st but with the upper and lower   */
@@ -128,9 +120,7 @@ const u8 TKIP_Sbox_Upper[256] = {
 
 //STKIPKeyManagement  sTKIPKeyTable[MAX_TKIP_KEY];
 
-/*---------------------  Static Functions  --------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
 /************************************************************/
 /* tkip_sbox()                                              */
index 2b247d225de119841f6925956962b5fb8276bbc9..5182fd956e144497987c09f11a2a4ab04ad1dd9d 100644 (file)
 
 #include "tether.h"
 
-/*---------------------  Export Definitions -------------------------*/
 #define TKIP_KEY_LEN        16
 
-/*---------------------  Export Types  ------------------------------*/
 
-/*---------------------  Export Macros ------------------------------*/
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 void TKIPvMixKey(
     u8 *   pbyTKey,
index 00fd0f8a58c26cdc6920aab3504d3fbb2b31237b..62e80ed0ca971fd4363ef0baa8f502082cb54cf2 100644 (file)
@@ -45,7 +45,6 @@
 #include "desc.h"
 #include "device.h"
 
-/*---------------------  Static Definitions -------------------------*/
 //endpoint def
 //endpoint 0: control
 //endpoint 1: interrupt
@@ -62,20 +61,15 @@ static int          msglevel                =MSG_LEVEL_INFO;
 #define URB_ASYNC_UNLINK    0
 #endif
 
-/*---------------------  Static Classes  ----------------------------*/
 
-/*---------------------  Static Variables  --------------------------*/
 
-/*---------------------  Static Functions  --------------------------*/
 static void s_nsInterruptUsbIoCompleteRead(struct urb *urb);
 static void s_nsBulkInUsbIoCompleteRead(struct urb *urb);
 static void s_nsBulkOutIoCompleteWrite(struct urb *urb);
 static void s_nsControlInUsbIoCompleteRead(struct urb *urb);
 static void s_nsControlInUsbIoCompleteWrite(struct urb *urb);
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 int PIPEnsControlOutAsyn(struct vnt_private *pDevice, u8 byRequest,
        u16 wValue, u16 wIndex, u16 wLength, u8 *pbyBuffer)
index e277bb4f038651e6dac4b4c500f4bc32ae975a1a..5b1a288926ba163cc12c69eb85172467f18a11c5 100644 (file)
 
 #include "device.h"
 
-/*---------------------  Export Definitions -------------------------*/
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 int PIPEnsControlOut(struct vnt_private *, u8 byRequest, u16 wValue,
                u16 wIndex, u16 wLength, u8 *pbyBuffer);
index 18e1d5bf5f60de38b29b7703387a8f2b29451a42..d6db8d5c4f61eee209cc037869391ee136b40a63 100644 (file)
 #include "channel.h"
 #include "iowpa.h"
 
-/*---------------------  Static Definitions -------------------------*/
 
 
 
 
-/*---------------------  Static Classes  ----------------------------*/
 
-/*---------------------  Static Variables  --------------------------*/
 static int          msglevel                =MSG_LEVEL_INFO;
 //static int          msglevel                =MSG_LEVEL_DEBUG;
-/*---------------------  Static Functions  --------------------------*/
 
 static void s_vProbeChannel(struct vnt_private *);
 
@@ -79,9 +75,7 @@ static int s_bCommandComplete(struct vnt_private *);
 
 static int s_bClearBSSID_SCAN(struct vnt_private *);
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 /*
  * Description:
index 22878b9cedd6ef58c2960922e8126f3f70e7575b..a37ea0d47e6a94d6f71322b2e0091ea1e70bb847 100644 (file)
@@ -32,7 +32,6 @@
 #include "80211hdr.h"
 #include "80211mgr.h"
 
-/*---------------------  Export Definitions -------------------------*/
 
 
 
@@ -104,13 +103,9 @@ typedef enum tagCMD_STATE {
     WLAN_CMD_IDLE
 } CMD_STATE, *PCMD_STATE;
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Types  ------------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 struct vnt_private;
 
 void vResetCommandTimer(struct vnt_private *);
index c53bed32b02a9c7bc27884b109aaada985449c18..433dcb1882dc0cca4ff738b12b6b99da4aea63b5 100644 (file)
 #include "card.h"
 #include "tmacro.h"
 
-/*---------------------  Static Definitions -------------------------*/
 
-/*---------------------  Static Classes  ----------------------------*/
 
-/*---------------------  Static Variables  --------------------------*/
 // static int          msglevel                =MSG_LEVEL_INFO;
-/*---------------------  Static Functions  --------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
 
 
index 0ba41ee6181e1c81b188640ce6be23e17d09dbc3..de5af1a7b7e7889da4b3a9ca3118e4b3b9ee6f82 100644 (file)
@@ -32,7 +32,6 @@
 #include "tether.h"
 #include "device.h"
 
-/*---------------------  Export Definitions -------------------------*/
 
 #define IS_TYPE_DATA(pMACHeader)                                                        \
     ((((struct ieee80211_hdr *) pMACHeader)->frame_control & TYPE_802_11_MASK) == TYPE_802_11_DATA)
         (uVar)++;                                   \
 }
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 bool WCTLbIsDuplicate(PSCache pCache, struct ieee80211_hdr *pMACHeader);
 bool WCTLbHandleFragment(struct vnt_private *, struct ieee80211_hdr *pMACHeader, unsigned int cbFrameLength, bool bWEP, bool bExtIV);
index f36cb112682ae391cf89baea257b46c03052a347..fc436ee7f90a9444cf965db75933cea271dcf1ee 100644 (file)
 #include "control.h"
 #include "rndis.h"
 
-/*---------------------  Static Definitions -------------------------*/
 
 
 
-/*---------------------  Static Classes  ----------------------------*/
 
-/*---------------------  Static Variables  --------------------------*/
 static int          msglevel                =MSG_LEVEL_INFO;
 //static int          msglevel                =MSG_LEVEL_DEBUG;
 
-/*---------------------  Static Functions  --------------------------*/
 
 static int ChannelExceedZoneType(struct vnt_private *, u8 byCurrChannel);
 
@@ -197,9 +193,7 @@ s_bCipherMatch (
 
 static void Encyption_Rebuild(struct vnt_private *, PKnownBSS pCurr);
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 /*+
  *
index 11cbcc07c6b8e2857b8fc954184f38ae447a8c0f..409d8d09adfb08fb806ad7fca3ac120d824b8d7b 100644 (file)
@@ -41,7 +41,6 @@
 #include "wpa2.h"
 #include "card.h"
 
-/*---------------------  Export Definitions -------------------------*/
 
 
 
 #define DEFAULT_IBSS_CHANNEL            6  //2.4G
 
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Types  ------------------------------*/
 //mike define: make timer  to expire after desired times
 #define timer_expire(timer, next_tick) mod_timer(&timer, RUN_AT(next_tick))
 
@@ -383,9 +379,7 @@ struct vnt_manager {
 
 };
 
-/*---------------------  Export Macros ------------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 void vMgrObjectInit(struct vnt_private *pDevice);
 
index 919d969ae8f80055426c18eef4fe5de041c5403e..9486d0dea0a6f5a9be67181b311bf7fa3853dc4f 100644 (file)
@@ -41,7 +41,6 @@
 #include "wpa.h"
 #include "80211mgr.h"
 
-/*---------------------  Static Variables  --------------------------*/
 static int          msglevel                =MSG_LEVEL_INFO;
 
 const u8 abyOUI00[4] = { 0x00, 0x50, 0xf2, 0x00 };
index 21b34567bbe7cd88bc9a22411d0b24834ca2cb81..24b97acf0d6fe8867570e46450879a275a7947f7 100644 (file)
@@ -33,7 +33,6 @@
 
 #include "80211hdr.h"
 
-/*---------------------  Export Definitions -------------------------*/
 
 #define WPA_NONE            0
 #define WPA_WEP40           1
 #define WPA_REPLAYBITSSHIFT 2
 #define WPA_REPLAYBITS      0x03
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Types  ------------------------------*/
 
 
-/*---------------------  Export Functions  --------------------------*/
 
 void
 WPA_ClearRSN(
index 004869ab221e33b02fa07ae2a2d29365049a3a06..0122bac5a1f6528109f94b3c659d23523f2fd97b 100644 (file)
 #include "device.h"
 #include "wpa2.h"
 
-/*---------------------  Static Definitions -------------------------*/
 static int          msglevel                =MSG_LEVEL_INFO;
 //static int          msglevel                =MSG_LEVEL_DEBUG;
-/*---------------------  Static Classes  ----------------------------*/
 
-/*---------------------  Static Variables  --------------------------*/
 
 const u8 abyOUIGK[4]      = { 0x00, 0x0F, 0xAC, 0x00 };
 const u8 abyOUIWEP40[4]   = { 0x00, 0x0F, 0xAC, 0x01 };
@@ -51,11 +48,8 @@ const u8 abyOUI8021X[4]   = { 0x00, 0x0F, 0xAC, 0x01 };
 const u8 abyOUIPSK[4]     = { 0x00, 0x0F, 0xAC, 0x02 };
 
 
-/*---------------------  Static Functions  --------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 /*+
  *
index 5b3b9ff5a46678837dba3cff60b54a2df49191d3..92afd3928b60a481df54a1ec2de923dce0a023db 100644 (file)
@@ -35,7 +35,6 @@
 #include "80211hdr.h"
 #include "bssdb.h"
 
-/*---------------------  Export Definitions -------------------------*/
 #define MAX_PMKID_CACHE         16
 
 typedef struct tagsPMKIDInfo {
@@ -49,13 +48,9 @@ typedef struct tagSPMKIDCache {
 } SPMKIDCache, *PSPMKIDCache;
 
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Types  ------------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 void WPA2_ClearRSN(PKnownBSS pBSSNode);
 void WPA2vParseRSN(PKnownBSS pBSSNode, PWLAN_IE_RSN pRSN);
index 669fb1654adb724fbdcf056b0cdfea9993e8c1c4..20b83b6a5b5114c25767e4fd6436211b48d7f449 100644 (file)
 #include "rndis.h"
 #include "rf.h"
 
-/*---------------------  Static Definitions -------------------------*/
 
-/*---------------------  Static Classes  ----------------------------*/
 
-/*---------------------  Static Variables  --------------------------*/
 static int msglevel = MSG_LEVEL_INFO;
 
-/*---------------------  Static Functions  --------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
 
 /*
index 2235ee97012e16a30991e9054f535f01af586e96..ea05de34226d2ee52694e47aee1ce23a39ba07f7 100644 (file)
@@ -32,7 +32,6 @@
 #include "device.h"
 #include "iowpa.h"
 
-/*---------------------  Export Definitions -------------------------*/
 
 
 //WPA related
@@ -46,11 +45,8 @@ typedef enum { WPA_ALG_NONE, WPA_ALG_WEP, WPA_ALG_TKIP, WPA_ALG_CCMP } wpa_alg;
 
 typedef unsigned long long NDIS_802_11_KEY_RSC;
 
-/*---------------------  Export Classes  ----------------------------*/
 
-/*---------------------  Export Variables  --------------------------*/
 
-/*---------------------  Export Functions  --------------------------*/
 
 int wpa_set_keys(struct vnt_private *, void *ctx);