diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2012-03-15 23:51:49 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-09 16:05:59 -0400 |
commit | 958a4a862f41eee27091b726de7ffa08c8488ce9 (patch) | |
tree | 675f958acdc7bf21cc774fd299b6d50b3819e031 /drivers/net/wireless/mwifiex/ioctl.h | |
parent | f85aae6bec67075b6f19f14adfced6f1eb9061b9 (diff) |
mwifiex: remove redundant signal handling code
1) The wrapper function mwifiex_get_signal_info() is unnecessary.
2) As noise and signal vaules in private structure already get
modified, we don't need to explicitly pass
"struct mwifiex_ds_get_signal" to get it filled.
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/ioctl.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/ioctl.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/drivers/net/wireless/mwifiex/ioctl.h b/drivers/net/wireless/mwifiex/ioctl.h index 7ca4e8234f3e..58fe05437046 100644 --- a/drivers/net/wireless/mwifiex/ioctl.h +++ b/drivers/net/wireless/mwifiex/ioctl.h | |||
@@ -85,34 +85,6 @@ struct mwifiex_ds_get_stats { | |||
85 | u32 wep_icv_error[4]; | 85 | u32 wep_icv_error[4]; |
86 | }; | 86 | }; |
87 | 87 | ||
88 | #define BCN_RSSI_AVG_MASK 0x00000002 | ||
89 | #define BCN_NF_AVG_MASK 0x00000200 | ||
90 | #define ALL_RSSI_INFO_MASK 0x00000fff | ||
91 | |||
92 | struct mwifiex_ds_get_signal { | ||
93 | /* | ||
94 | * Bit0: Last Beacon RSSI, Bit1: Average Beacon RSSI, | ||
95 | * Bit2: Last Data RSSI, Bit3: Average Data RSSI, | ||
96 | * Bit4: Last Beacon SNR, Bit5: Average Beacon SNR, | ||
97 | * Bit6: Last Data SNR, Bit7: Average Data SNR, | ||
98 | * Bit8: Last Beacon NF, Bit9: Average Beacon NF, | ||
99 | * Bit10: Last Data NF, Bit11: Average Data NF | ||
100 | */ | ||
101 | u16 selector; | ||
102 | s16 bcn_rssi_last; | ||
103 | s16 bcn_rssi_avg; | ||
104 | s16 data_rssi_last; | ||
105 | s16 data_rssi_avg; | ||
106 | s16 bcn_snr_last; | ||
107 | s16 bcn_snr_avg; | ||
108 | s16 data_snr_last; | ||
109 | s16 data_snr_avg; | ||
110 | s16 bcn_nf_last; | ||
111 | s16 bcn_nf_avg; | ||
112 | s16 data_nf_last; | ||
113 | s16 data_nf_avg; | ||
114 | }; | ||
115 | |||
116 | #define MWIFIEX_MAX_VER_STR_LEN 128 | 88 | #define MWIFIEX_MAX_VER_STR_LEN 128 |
117 | 89 | ||
118 | struct mwifiex_ver_ext { | 90 | struct mwifiex_ver_ext { |