diff options
Diffstat (limited to 'drivers/net/wireless/p54/p54.h')
-rw-r--r-- | drivers/net/wireless/p54/p54.h | 10 |
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 */ | ||
51 | struct 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) |