aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/p54/p54common.h
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@web.de>2008-10-14 21:55:37 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-10-31 19:00:31 -0400
commit0fdd7c5d2defe8c6873eb8a40a880eb0dc59573d (patch)
tree359d04aaef41ce6d2fda22c3e487c90f59adbc46 /drivers/net/wireless/p54/p54common.h
parentb88b15dfbddc8837569c6dea49348791357de4aa (diff)
p54: broken out edcf changes
This patch series hopefully increases p54's "longterm" stability. 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.h28
1 files changed, 13 insertions, 15 deletions
diff --git a/drivers/net/wireless/p54/p54common.h b/drivers/net/wireless/p54/p54common.h
index 22af41c7dab6..2cb3885c0210 100644
--- a/drivers/net/wireless/p54/p54common.h
+++ b/drivers/net/wireless/p54/p54common.h
@@ -7,8 +7,12 @@
7 * Copyright (c) 2006, Michael Wu <flamingice@sourmilk.net> 7 * Copyright (c) 2006, Michael Wu <flamingice@sourmilk.net>
8 * Copyright (c) 2007, Christian Lamparter <chunkeey@web.de> 8 * Copyright (c) 2007, Christian Lamparter <chunkeey@web.de>
9 * 9 *
10 * Based on the islsm (softmac prism54) driver, which is: 10 * Based on:
11 * Copyright 2004-2006 Jean-Baptiste Note <jbnote@gmail.com>, et al. 11 * - the islsm (softmac prism54) driver, which is:
12 * Copyright 2004-2006 Jean-Baptiste Note <jbnote@gmail.com>, et al.
13 *
14 * - LMAC API interface header file for STLC4560 (lmac_longbow.h)
15 * Copyright (C) 2007 Conexant Systems, Inc.
12 * 16 *
13 * This program is free software; you can redistribute it and/or modify 17 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License version 2 as 18 * it under the terms of the GNU General Public License version 2 as
@@ -286,21 +290,15 @@ struct p54_tx_control_led {
286 __le16 duration; 290 __le16 duration;
287} __attribute__ ((packed)); 291} __attribute__ ((packed));
288 292
289struct p54_tx_vdcf_queues { 293struct p54_edcf {
290 __le16 aifs; 294 u8 flags;
291 __le16 cwmin;
292 __le16 cwmax;
293 __le16 txop;
294} __attribute__ ((packed));
295
296struct p54_tx_control_vdcf {
297 u8 padding;
298 u8 slottime; 295 u8 slottime;
299 u8 magic1; 296 u8 sifs;
300 u8 magic2; 297 u8 eofpad;
301 struct p54_tx_vdcf_queues queue[8]; 298 struct p54_edcf_queue_param queue[8];
302 u8 pad2[4]; 299 u8 mapping[4];
303 __le16 frameburst; 300 __le16 frameburst;
301 __le16 round_trip_delay;
304} __attribute__ ((packed)); 302} __attribute__ ((packed));
305 303
306struct p54_statistics { 304struct p54_statistics {