aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/fw.h
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2012-02-25 00:36:04 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-02-29 14:11:35 -0500
commit5eb02e44adc92a71bae3ff60acb1eea5ada14e93 (patch)
tree8c78ce0c14d948ea062f84df68b774cbfd21dc27 /drivers/net/wireless/mwifiex/fw.h
parent1a907b749c0ae235ab46e3ba7834e6c143f5503e (diff)
mwifiex: remove unnecessary enum MWIFIEX_802_11_WEP_STATUS
Instead of defining an 'enum', we can simply use 'u8' flag for WEP status. Rename 'wep_status' to 'wep_enabled' to match with 'wpa_enabled' and 'wpa2_enabled'. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/fw.h')
-rw-r--r--drivers/net/wireless/mwifiex/fw.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/wireless/mwifiex/fw.h b/drivers/net/wireless/mwifiex/fw.h
index 51c5417c569c..c82620094a53 100644
--- a/drivers/net/wireless/mwifiex/fw.h
+++ b/drivers/net/wireless/mwifiex/fw.h
@@ -86,11 +86,6 @@ enum MWIFIEX_802_11_PRIVACY_FILTER {
86 MWIFIEX_802_11_PRIV_FILTER_8021X_WEP 86 MWIFIEX_802_11_PRIV_FILTER_8021X_WEP
87}; 87};
88 88
89enum MWIFIEX_802_11_WEP_STATUS {
90 MWIFIEX_802_11_WEP_ENABLED,
91 MWIFIEX_802_11_WEP_DISABLED,
92};
93
94#define CAL_SNR(RSSI, NF) ((s16)((s16)(RSSI)-(s16)(NF))) 89#define CAL_SNR(RSSI, NF) ((s16)((s16)(RSSI)-(s16)(NF)))
95 90
96#define PROPRIETARY_TLV_BASE_ID 0x0100 91#define PROPRIETARY_TLV_BASE_ID 0x0100