staging: vt6655: bssdb.h: Replace C99 // comments by /* */
authorVeronika Kabatova <veronicca114@gmail.com>
Sat, 25 Oct 2014 21:10:43 +0000 (23:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Oct 2014 08:11:13 +0000 (16:11 +0800)
Replace C99 "//" comments by "/* */"

Signed-off-by: Veronika Kabatova <veronicca114@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/bssdb.h

index 5d4dd28b62233e5388ee8339edd803bcc3c70d77..8a37a11809bbacc3ea9b5653931bfdf562ed06e4 100644 (file)
 
 #define MAX_NODE_NUM             64
 #define MAX_BSS_NUM              42
-#define LOST_BEACON_COUNT        10   // 10 sec, XP defined
-#define MAX_PS_TX_BUF            32   // sta max power saving tx buf
-#define ADHOC_LOST_BEACON_COUNT  30   // 30 sec, beacon lost for adhoc only
-#define MAX_INACTIVE_COUNT       300  // 300 sec, inactive STA node refresh
+#define LOST_BEACON_COUNT        10   /* 10 sec, XP defined */
+#define MAX_PS_TX_BUF            32   /* sta max power saving tx buf */
+#define ADHOC_LOST_BEACON_COUNT  30   /* 30 sec, beacon lost for adhoc only */
+#define MAX_INACTIVE_COUNT       300  /* 300 sec, inactive STA node refresh */
 
-#define USE_PROTECT_PERIOD       10   // 10 sec, Use protect mode check period
-#define ERP_RECOVER_COUNT        30   // 30 sec, ERP support callback check
+#define USE_PROTECT_PERIOD       10   /*10 sec, Use protect mode check period*/
+#define ERP_RECOVER_COUNT        30   /* 30 sec, ERP support callback check */
 #define BSS_CLEAR_COUNT           1
 
 #define RSSI_STAT_COUNT          10
 #define MAX_CHECK_RSSI_COUNT     8
 
-// STA dwflags
+/* STA dwflags */
 #define WLAN_STA_AUTH            BIT0
 #define WLAN_STA_ASSOC           BIT1
 #define WLAN_STA_PS              BIT2
 #define WLAN_STA_TIM             BIT3
-// permanent; do not remove entry on expiration
+/* permanent; do not remove entry on expiration */
 #define WLAN_STA_PERM            BIT4
-// If 802.1X is used, this flag is
-// controlling whether STA is authorized to
-// send and receive non-IEEE 802.1X frames
+/*
+ * If 802.1X is used, this flag is controlling whether STA is authorized
+ * to send and receive non-IEEE 802.1X frames
+ */
 #define WLAN_STA_AUTHORIZED      BIT5
 
 #define MAX_RATE            12
 
 #define MAX_WPA_IE_LEN      64
 
-//
-// IEEE 802.11 Structures and definitions
-//
+/* IEEE 802.11 Structures and definitions */
 
 typedef enum _NDIS_802_11_NETWORK_TYPE {
        Ndis802_11FH,
        Ndis802_11DS,
        Ndis802_11OFDM5,
        Ndis802_11OFDM24,
-       Ndis802_11NetworkTypeMax    // not a real type, defined as an upper bound
+       Ndis802_11NetworkTypeMax    /* defined as an upper bound */
 } NDIS_802_11_NETWORK_TYPE, *PNDIS_802_11_NETWORK_TYPE;
 
 typedef struct tagSERPObject {
@@ -87,7 +86,7 @@ typedef struct tagSRSNCapObject {
        unsigned short wRSNCap;
 } SRSNCapObject, *PSRSNCapObject;
 
-// BSS info(AP)
+/* BSS info(AP) */
 #pragma pack(1)
 typedef struct tagKnownBSS {
        bool bActive;
@@ -152,7 +151,7 @@ typedef enum tagNODE_STATE {
        NODE_ASSOC
 } NODE_STATE, *PNODE_STATE;
 
-// STA node info
+/* STA node info */
 typedef struct tagKnownNodeDB {
        bool bActive;
        unsigned char abyMACAddr[WLAN_ADDR_LEN];
@@ -163,13 +162,13 @@ typedef struct tagKnownNodeDB {
        bool bERPExist;
        bool bShortSlotTime;
        unsigned int    uInActiveCount;
-       unsigned short wMaxBasicRate;     //Get from byTopOFDMBasicRate or byTopCCKBasicRate which depends on packetTyp.
-       unsigned short wMaxSuppRate;      //Records the highest supported rate getting from SuppRates IE and ExtSuppRates IE in Beacon.
+       unsigned short wMaxBasicRate;     /* Get from byTopOFDMBasicRate or byTopCCKBasicRate which depends on packetTyp. */
+       unsigned short wMaxSuppRate;      /* Records the highest supported rate getting from SuppRates IE and ExtSuppRates IE in Beacon. */
        unsigned short wSuppRate;
-       unsigned char byTopOFDMBasicRate;//Records the highest basic rate in OFDM mode
-       unsigned char byTopCCKBasicRate; //Records the highest basic rate in CCK mode
+       unsigned char byTopOFDMBasicRate; /* Records the highest basic rate in OFDM mode */
+       unsigned char byTopCCKBasicRate;  /* Records the highest basic rate in CCK mode */
 
-       // For AP mode
+       /* For AP mode */
        struct sk_buff_head sTxPSQueue;
        unsigned short wCapInfo;
        unsigned short wListenInterval;
@@ -192,7 +191,7 @@ typedef struct tagKnownNodeDB {
        unsigned short wTSC15_0;
        unsigned int    uWepKeyLength;
        unsigned char abyWepKey[WLAN_WEPMAX_KEYLEN];
-       // Auto rate fallback vars
+       /* Auto rate fallback vars */
        bool bIsInFallback;
        unsigned int    uAverageRSSI;
        unsigned int    uRateRecoveryTimeout;
@@ -323,4 +322,4 @@ BSSvClearAnyBSSJoinRecord(
        void *hDeviceContext
 );
 
-#endif //__BSSDB_H__
+#endif /*__BSSDB_H__ */
This page took 0.026621 seconds and 5 git commands to generate.