mirror of https://gitee.com/openkylin/linux.git
staging: vt6656: Remove all commented macros
These macros were reported by forgotten-macros tool (https://github.com/marcosps/forgotten_macros). Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a6fadf5c53
commit
1acc0d62d0
|
@ -78,7 +78,6 @@
|
|||
#define WLAN_HDR_ADDR4_LEN 30
|
||||
#define WLAN_IEHDR_LEN 2
|
||||
#define WLAN_SSID_MAXLEN 32
|
||||
/* #define WLAN_RATES_MAXLEN 255 */
|
||||
#define WLAN_RATES_MAXLEN 16
|
||||
#define WLAN_RATES_MAXLEN_11B 4
|
||||
#define WLAN_RSN_MAXLEN 32
|
||||
|
@ -104,7 +103,6 @@
|
|||
#define WLAN_WEP40_KEYLEN 5
|
||||
#define WLAN_WEP104_KEYLEN 13
|
||||
#define WLAN_WEP232_KEYLEN 29
|
||||
/* #define WLAN_WEPMAX_KEYLEN 29 */
|
||||
#define WLAN_WEPMAX_KEYLEN 32
|
||||
#define WLAN_CHALLENGE_IE_MAXLEN 255
|
||||
#define WLAN_CHALLENGE_IE_LEN 130
|
||||
|
|
|
@ -64,8 +64,6 @@
|
|||
// send and receive non-IEEE 802.1X frames
|
||||
#define WLAN_STA_AUTHORIZED BIT5
|
||||
|
||||
//#define MAX_RATE 12
|
||||
|
||||
#define MAX_WPA_IE_LEN 64
|
||||
|
||||
|
||||
|
|
|
@ -52,7 +52,6 @@ typedef enum _CARD_OP_MODE {
|
|||
} CARD_OP_MODE, *PCARD_OP_MODE;
|
||||
|
||||
#define CB_MAX_CHANNEL_24G 14
|
||||
/* #define CB_MAX_CHANNEL_5G 24 */
|
||||
#define CB_MAX_CHANNEL_5G 42 /* add channel9(5045MHz), 41==>42 */
|
||||
#define CB_MAX_CHANNEL (CB_MAX_CHANNEL_24G+CB_MAX_CHANNEL_5G)
|
||||
|
||||
|
|
|
@ -106,10 +106,6 @@
|
|||
#define MAX_MULTICAST_ADDRESS_NUM 32
|
||||
#define MULTICAST_ADDRESS_LIST_SIZE (MAX_MULTICAST_ADDRESS_NUM * ETH_ALEN)
|
||||
|
||||
//#define OP_MODE_INFRASTRUCTURE 0
|
||||
//#define OP_MODE_ADHOC 1
|
||||
//#define OP_MODE_AP 2
|
||||
|
||||
#define DUPLICATE_RX_CACHE_LENGTH 5
|
||||
|
||||
#define NUM_KEY_ENTRY 11
|
||||
|
|
|
@ -205,11 +205,6 @@ static const long frequency_list[] = {
|
|||
};
|
||||
|
||||
|
||||
#ifndef IW_ENCODE_NOKEY
|
||||
#define IW_ENCODE_NOKEY 0x0800
|
||||
#define IW_ENCODE_MODE (IW_ENCODE_DISABLED | IW_ENCODE_RESTRICTED | IW_ENCODE_OPEN)
|
||||
#endif
|
||||
|
||||
static const struct iw_handler_def iwctl_handler_def;
|
||||
*/
|
||||
|
||||
|
|
|
@ -113,7 +113,6 @@ typedef struct tagSMib2Counter {
|
|||
} SMib2Counter, *PSMib2Counter;
|
||||
|
||||
// Value in the ifType entry
|
||||
//#define ETHERNETCSMACD 6 //
|
||||
#define WIRELESSLANIEEE80211b 6 //
|
||||
|
||||
// Value in the ifAdminStatus/ifOperStatus entry
|
||||
|
|
|
@ -72,7 +72,6 @@
|
|||
#define TYPE_CTL_ACK 0xd400
|
||||
|
||||
|
||||
//#define WEP_IV_MASK 0xFFFFFF00
|
||||
|
||||
#else //if LITTLE_ENDIAN
|
||||
//
|
||||
|
@ -111,7 +110,6 @@
|
|||
#define TYPE_CTL_ACK 0x00d4
|
||||
|
||||
|
||||
//#define WEP_IV_MASK 0x00FFFFFF
|
||||
|
||||
#endif //#ifdef __BIG_ENDIAN
|
||||
|
||||
|
|
|
@ -52,9 +52,6 @@
|
|||
//endpoint 2: read bulk
|
||||
//endpoint 3: write bulk
|
||||
|
||||
//RequestType:
|
||||
//#define REQUEST_OUT (USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE) // 0x40
|
||||
//#define REQUEST_IN (USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE ) //0xc0
|
||||
//static int msglevel =MSG_LEVEL_DEBUG;
|
||||
static int msglevel =MSG_LEVEL_INFO;
|
||||
|
||||
|
|
Loading…
Reference in New Issue