mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 19:59:34 -04:00
staging: wilc1000: remove unused macros in wilc module
Cleanup patch to remove the macros which are defined by not used. Below mentioned macros are removed: SCAN_DONE SCAN_EVENT_DONE_ABORTED WILC_WFI_RX_INTR WILC_WFI_TX_INTR WILC_WFI_TIMEOUT WILC_WFI_DWELL_PASSIVE WILC_WFI_DWELL_ACTIVE MAX_SURVEY_RESULT_FRAG_SIZE SURVEY_RESULT_LENGTH NUM_BASIC_SWITCHES NUM_FHSS_SWITCHES NUM_11N_BASIC_SWITCHES NUM_11N_HUT_SWITCHES BA_SESSION_DEFAULT_BUFFER_SIZE BA_SESSION_DEFAULT_TIMEOUT BLOCK_ACK_REQ_SIZE Signed-off-by: Ajay Singh <ajay.kathat@microchip.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
d2b1943aaa
commit
f0fb6c11ac
@@ -14,19 +14,8 @@
|
||||
|
||||
#include "wilc_wlan_if.h"
|
||||
|
||||
#define NUM_BASIC_SWITCHES 45
|
||||
#define NUM_FHSS_SWITCHES 0
|
||||
|
||||
#define NUM_RSSI 5
|
||||
|
||||
#ifdef MAC_802_11N
|
||||
#define NUM_11N_BASIC_SWITCHES 25
|
||||
#define NUM_11N_HUT_SWITCHES 47
|
||||
#else
|
||||
#define NUM_11N_BASIC_SWITCHES 0
|
||||
#define NUM_11N_HUT_SWITCHES 0
|
||||
#endif
|
||||
|
||||
#define MAC_HDR_LEN 24
|
||||
#define MAX_SSID_LEN 33
|
||||
#define FCS_LEN 4
|
||||
@@ -41,8 +30,6 @@
|
||||
#define GET_CFG 1
|
||||
|
||||
#define MAX_STRING_LEN 256
|
||||
#define MAX_SURVEY_RESULT_FRAG_SIZE MAX_STRING_LEN
|
||||
#define SURVEY_RESULT_LENGTH 44
|
||||
#define MAX_ASSOC_RESP_FRAME_SIZE MAX_STRING_LEN
|
||||
|
||||
#define MAC_CONNECTED 1
|
||||
|
||||
@@ -53,9 +53,6 @@
|
||||
#define HOST_IF_SCAN_TIMEOUT 4000
|
||||
#define HOST_IF_CONNECT_TIMEOUT 9500
|
||||
|
||||
#define BA_SESSION_DEFAULT_BUFFER_SIZE 16
|
||||
#define BA_SESSION_DEFAULT_TIMEOUT 1000
|
||||
#define BLOCK_ACK_REQ_SIZE 0x14
|
||||
#define FALSE_FRMWR_CHANNEL 100
|
||||
|
||||
#define TCP_ACK_FILTER_LINK_SPEED_THRESH 54
|
||||
|
||||
@@ -49,7 +49,6 @@
|
||||
#define PMKID_LEN 16
|
||||
#define WILC_MAX_NUM_PMKIDS 16
|
||||
#define WILC_ADD_STA_LENGTH 40
|
||||
#define SCAN_EVENT_DONE_ABORTED
|
||||
#define NUM_CONCURRENT_IFC 2
|
||||
#define DRV_HANDLER_SIZE 5
|
||||
#define DRV_HANDLER_MASK 0x000000FF
|
||||
|
||||
@@ -79,9 +79,6 @@ static const struct wiphy_wowlan_support wowlan_support = {
|
||||
.flags = WIPHY_WOWLAN_ANY
|
||||
};
|
||||
|
||||
#define WILC_WFI_DWELL_PASSIVE 100
|
||||
#define WILC_WFI_DWELL_ACTIVE 40
|
||||
|
||||
#define TCP_ACK_FILTER_LINK_SPEED_THRESH 54
|
||||
#define DEFAULT_LINK_SPEED 72
|
||||
|
||||
|
||||
@@ -9,10 +9,6 @@
|
||||
#ifndef WILC_WFI_NETDEVICE
|
||||
#define WILC_WFI_NETDEVICE
|
||||
|
||||
#define WILC_WFI_RX_INTR 0x0001
|
||||
#define WILC_WFI_TX_INTR 0x0002
|
||||
|
||||
#define WILC_WFI_TIMEOUT 5
|
||||
#define WILC_MAX_NUM_PMKIDS 16
|
||||
#define PMKID_LEN 16
|
||||
#define PMKID_FOUND 1
|
||||
|
||||
@@ -122,8 +122,6 @@ enum {
|
||||
|
||||
#define MAC_CONNECTED 1
|
||||
#define MAC_DISCONNECTED 0
|
||||
|
||||
#define SCAN_DONE TRUE
|
||||
enum {
|
||||
PASSIVE_SCAN = 0,
|
||||
ACTIVE_SCAN = 1,
|
||||
|
||||
Reference in New Issue
Block a user