aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/hostcmd.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2007-12-18 02:01:37 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:07:51 -0500
commit5844d12ea30bacae9224db6561a16e86ad31c6e5 (patch)
tree2487845a1cc973a9a81511497b48dcef7e0e93d9 /drivers/net/wireless/libertas/hostcmd.h
parentf15ebb63b36eca5fa68fabd04ab2f7840bc67205 (diff)
libertas: convert SUBSCRIBE_EVENT to a direct command
Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/hostcmd.h')
-rw-r--r--drivers/net/wireless/libertas/hostcmd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/hostcmd.h b/drivers/net/wireless/libertas/hostcmd.h
index fffec11d0655..be325eda6a4b 100644
--- a/drivers/net/wireless/libertas/hostcmd.h
+++ b/drivers/net/wireless/libertas/hostcmd.h
@@ -156,6 +156,8 @@ struct cmd_ds_802_11_reset {
156}; 156};
157 157
158struct cmd_ds_802_11_subscribe_event { 158struct cmd_ds_802_11_subscribe_event {
159 struct cmd_header hdr;
160
159 __le16 action; 161 __le16 action;
160 __le16 events; 162 __le16 events;
161 163
@@ -164,7 +166,7 @@ struct cmd_ds_802_11_subscribe_event {
164 * 40 bytes. However, future firmware might add additional TLVs, so I 166 * 40 bytes. However, future firmware might add additional TLVs, so I
165 * bump this up a bit. 167 * bump this up a bit.
166 */ 168 */
167 u8 tlv[128]; 169 uint8_t tlv[128];
168}; 170};
169 171
170/* 172/*
@@ -728,7 +730,6 @@ struct cmd_ds_command {
728 struct cmd_ds_bt_access bt; 730 struct cmd_ds_bt_access bt;
729 struct cmd_ds_fwt_access fwt; 731 struct cmd_ds_fwt_access fwt;
730 struct cmd_ds_get_tsf gettsf; 732 struct cmd_ds_get_tsf gettsf;
731 struct cmd_ds_802_11_subscribe_event subscribe_event;
732 struct cmd_ds_802_11_beacon_control bcn_ctrl; 733 struct cmd_ds_802_11_beacon_control bcn_ctrl;
733 } params; 734 } params;
734} __attribute__ ((packed)); 735} __attribute__ ((packed));