diff options
Diffstat (limited to 'drivers/net/wireless/p54/p54.h')
-rw-r--r-- | drivers/net/wireless/p54/p54.h | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/drivers/net/wireless/p54/p54.h b/drivers/net/wireless/p54/p54.h index 7a3bf759a40e..eb69b904f651 100644 --- a/drivers/net/wireless/p54/p54.h +++ b/drivers/net/wireless/p54/p54.h | |||
@@ -14,17 +14,17 @@ | |||
14 | * published by the Free Software Foundation. | 14 | * published by the Free Software Foundation. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | enum control_frame_types { | 17 | enum p54_control_frame_types { |
18 | P54_CONTROL_TYPE_SETUP = 0, | 18 | P54_CONTROL_TYPE_SETUP = 0, |
19 | P54_CONTROL_TYPE_CHANNEL_CHANGE, | 19 | P54_CONTROL_TYPE_SCAN, |
20 | P54_CONTROL_TYPE_FREQDONE, | 20 | P54_CONTROL_TYPE_TRAP, |
21 | P54_CONTROL_TYPE_DCFINIT, | 21 | P54_CONTROL_TYPE_DCFINIT, |
22 | P54_CONTROL_TYPE_ENCRYPTION, | 22 | P54_CONTROL_TYPE_RX_KEYCACHE, |
23 | P54_CONTROL_TYPE_TIM, | 23 | P54_CONTROL_TYPE_TIM, |
24 | P54_CONTROL_TYPE_POWERMGT, | 24 | P54_CONTROL_TYPE_PSM, |
25 | P54_CONTROL_TYPE_FREEQUEUE, | 25 | P54_CONTROL_TYPE_TXCANCEL, |
26 | P54_CONTROL_TYPE_TXDONE, | 26 | P54_CONTROL_TYPE_TXDONE, |
27 | P54_CONTROL_TYPE_PING, | 27 | P54_CONTROL_TYPE_BURST, |
28 | P54_CONTROL_TYPE_STAT_READBACK, | 28 | P54_CONTROL_TYPE_STAT_READBACK, |
29 | P54_CONTROL_TYPE_BBP, | 29 | P54_CONTROL_TYPE_BBP, |
30 | P54_CONTROL_TYPE_EEPROM_READBACK, | 30 | P54_CONTROL_TYPE_EEPROM_READBACK, |
@@ -37,15 +37,20 @@ enum control_frame_types { | |||
37 | P54_CONTROL_TYPE_XBOW_SYNTH_CFG, | 37 | P54_CONTROL_TYPE_XBOW_SYNTH_CFG, |
38 | P54_CONTROL_TYPE_CCE_QUIET, | 38 | P54_CONTROL_TYPE_CCE_QUIET, |
39 | P54_CONTROL_TYPE_PSM_STA_UNLOCK, | 39 | P54_CONTROL_TYPE_PSM_STA_UNLOCK, |
40 | P54_CONTROL_TYPE_PCS, | ||
41 | P54_CONTROL_TYPE_BT_BALANCER = 28, | ||
42 | P54_CONTROL_TYPE_GROUP_ADDRESS_TABLE = 30, | ||
43 | P54_CONTROL_TYPE_ARPTABLE = 31, | ||
44 | P54_CONTROL_TYPE_BT_OPTIONS = 35 | ||
40 | }; | 45 | }; |
41 | 46 | ||
42 | struct p54_control_hdr { | 47 | struct p54_hdr { |
43 | __le16 magic1; | 48 | __le16 flags; |
44 | __le16 len; | 49 | __le16 len; |
45 | __le32 req_id; | 50 | __le32 req_id; |
46 | __le16 type; /* enum control_frame_types */ | 51 | __le16 type; /* enum p54_control_frame_types */ |
47 | u8 retry1; | 52 | u8 rts_tries; |
48 | u8 retry2; | 53 | u8 tries; |
49 | u8 data[0]; | 54 | u8 data[0]; |
50 | } __attribute__ ((packed)); | 55 | } __attribute__ ((packed)); |
51 | 56 | ||