aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/p54/p54.h
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@web.de>2009-01-09 15:06:06 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 16:00:19 -0500
commit3cd08b383b2efe163272045afc415c75afc9e9c5 (patch)
treed3877f19282efb5257ca1876687dcda9c31f0144 /drivers/net/wireless/p54/p54.h
parent63f2dc9f2fd63c8b66f49c53cd26236f3f0785fd (diff)
p54: upgrade memrecord to p54_tx_info
mac80211 reserves 24 bytes in skb->cb for the driver. So far, we only used them to keep track of used and free device memory. But p54spi will need a slice of it, as well as the stuck frame detection. 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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/p54/p54.h b/drivers/net/wireless/p54/p54.h
index ce9333877926..a06c2a676dfe 100644
--- a/drivers/net/wireless/p54/p54.h
+++ b/drivers/net/wireless/p54/p54.h
@@ -44,6 +44,16 @@ enum p54_control_frame_types {
44 P54_CONTROL_TYPE_BT_OPTIONS = 35 44 P54_CONTROL_TYPE_BT_OPTIONS = 35
45}; 45};
46 46
47/* provide 16 bytes for the transport back-end */
48#define P54_TX_INFO_DATA_SIZE 16
49
50/* stored in ieee80211_tx_info's rate_driver_data */
51struct p54_tx_info {
52 u32 start_addr;
53 u32 end_addr;
54 void *data[P54_TX_INFO_DATA_SIZE / sizeof(void *)];
55};
56
47#define P54_MAX_CTRL_FRAME_LEN 0x1000 57#define P54_MAX_CTRL_FRAME_LEN 0x1000
48 58
49#define P54_HDR_FLAG_CONTROL BIT(15) 59#define P54_HDR_FLAG_CONTROL BIT(15)