diff options
author | Christian Lamparter <chunkeey@web.de> | 2008-09-03 16:25:20 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-08 14:00:17 -0400 |
commit | e0a58eacf540c65763288c81caa74013f62d7234 (patch) | |
tree | af544e422208519cf49ce6c45d4db8427b6fcaeb /drivers/net/wireless/p54/p54.h | |
parent | 0b7dcd9652c8d6b2a0dd04f3a3e6ca0574560042 (diff) |
p54: set_filter refactoring
p54_set_filter has a way too many unnecessary "magic" parameters and values.
This patch axes all superfluous parameters and gives most of the magic values appropriate names.
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/p54/p54.h')
-rw-r--r-- | drivers/net/wireless/p54/p54.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/p54/p54.h b/drivers/net/wireless/p54/p54.h index cd2a39f544b1..fd54b273cd9b 100644 --- a/drivers/net/wireless/p54/p54.h +++ b/drivers/net/wireless/p54/p54.h | |||
@@ -63,6 +63,7 @@ struct p54_common { | |||
63 | struct mutex conf_mutex; | 63 | struct mutex conf_mutex; |
64 | u8 mac_addr[ETH_ALEN]; | 64 | u8 mac_addr[ETH_ALEN]; |
65 | u8 bssid[ETH_ALEN]; | 65 | u8 bssid[ETH_ALEN]; |
66 | __le16 filter_type; | ||
66 | struct pda_iq_autocal_entry *iq_autocal; | 67 | struct pda_iq_autocal_entry *iq_autocal; |
67 | unsigned int iq_autocal_len; | 68 | unsigned int iq_autocal_len; |
68 | struct pda_channel_output_limit *output_limit; | 69 | struct pda_channel_output_limit *output_limit; |
@@ -70,6 +71,7 @@ struct p54_common { | |||
70 | struct pda_pa_curve_data *curve_data; | 71 | struct pda_pa_curve_data *curve_data; |
71 | u16 rxhw; | 72 | u16 rxhw; |
72 | u8 version; | 73 | u8 version; |
74 | u8 rx_antenna; | ||
73 | unsigned int tx_hdr_len; | 75 | unsigned int tx_hdr_len; |
74 | void *cached_vdcf; | 76 | void *cached_vdcf; |
75 | unsigned int fw_var; | 77 | unsigned int fw_var; |