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/p54common.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/p54common.h')
-rw-r--r-- | drivers/net/wireless/p54/p54common.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/wireless/p54/p54common.h b/drivers/net/wireless/p54/p54common.h index c24b5cddf46b..7b4ba37abe92 100644 --- a/drivers/net/wireless/p54/p54common.h +++ b/drivers/net/wireless/p54/p54common.h | |||
@@ -214,17 +214,17 @@ struct p54_tx_control_allocdata { | |||
214 | 214 | ||
215 | struct p54_tx_control_filter { | 215 | struct p54_tx_control_filter { |
216 | __le16 filter_type; | 216 | __le16 filter_type; |
217 | u8 dst[ETH_ALEN]; | 217 | u8 mac_addr[ETH_ALEN]; |
218 | u8 src[ETH_ALEN]; | 218 | u8 bssid[ETH_ALEN]; |
219 | u8 antenna; | 219 | u8 rx_antenna; |
220 | u8 debug; | 220 | u8 rx_align; |
221 | __le32 magic3; | 221 | __le32 basic_rate_mask; |
222 | u8 rates[8]; // FIXME: what's this for? | 222 | u8 rts_rates[8]; |
223 | __le32 rx_addr; | 223 | __le32 rx_addr; |
224 | __le16 max_rx; | 224 | __le16 max_rx; |
225 | __le16 rxhw; | 225 | __le16 rxhw; |
226 | __le16 magic8; | 226 | __le16 wakeup_timer; |
227 | __le16 magic9; | 227 | __le16 unalloc; |
228 | } __attribute__ ((packed)); | 228 | } __attribute__ ((packed)); |
229 | 229 | ||
230 | struct p54_tx_control_channel { | 230 | struct p54_tx_control_channel { |