]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/wireless/prism54/islpci_eth.h
b43: Add key memory dumping
[linux-2.6-omap-h63xx.git] / drivers / net / wireless / prism54 / islpci_eth.h
index 26789454067ccbc40193e3bf27f5dbae1d171487..61454d32d74d31b02456fe0c416cf2e0b5ccd3c2 100644 (file)
 #include "islpci_dev.h"
 
 struct rfmon_header {
-       u16 unk0;               /* = 0x0000 */
-       u16 length;             /* = 0x1400 */
-       u32 clock;              /* 1MHz clock */
+       __le16 unk0;            /* = 0x0000 */
+       __le16 length;          /* = 0x1400 */
+       __le32 clock;           /* 1MHz clock */
        u8 flags;
        u8 unk1;
        u8 rate;
        u8 unk2;
-       u16 freq;
-       u16 unk3;
+       __le16 freq;
+       __le16 unk3;
        u8 rssi;
        u8 padding[3];
 } __attribute__ ((packed));
@@ -47,26 +47,26 @@ struct rx_annex_header {
 #define P80211CAPTURE_VERSION 0x80211001
 
 struct avs_80211_1_header {
-       uint32_t version;
-       uint32_t length;
-       uint64_t mactime;
-       uint64_t hosttime;
-       uint32_t phytype;
-       uint32_t channel;
-       uint32_t datarate;
-       uint32_t antenna;
-       uint32_t priority;
-       uint32_t ssi_type;
-       int32_t ssi_signal;
-       int32_t ssi_noise;
-       uint32_t preamble;
-       uint32_t encoding;
+       __be32 version;
+       __be32 length;
+       __be64 mactime;
+       __be64 hosttime;
+       __be32 phytype;
+       __be32 channel;
+       __be32 datarate;
+       __be32 antenna;
+       __be32 priority;
+       __be32 ssi_type;
+       __be32 ssi_signal;
+       __be32 ssi_noise;
+       __be32 preamble;
+       __be32 encoding;
 };
 
 void islpci_eth_cleanup_transmit(islpci_private *, isl38xx_control_block *);
 int islpci_eth_transmit(struct sk_buff *, struct net_device *);
 int islpci_eth_receive(islpci_private *);
 void islpci_eth_tx_timeout(struct net_device *);
-void islpci_do_reset_and_wake(void *data);
+void islpci_do_reset_and_wake(struct work_struct *);
 
 #endif                         /* _ISL_GEN_H */