Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41423
b: refs/heads/master
c: a88556a
h: refs/heads/master
i:
  41421: 5c3f687
  41419: df89f8a
  41415: 0aa4f62
  41407: 6b9b73b
v: v3
  • Loading branch information
John W. Linville committed Nov 28, 2006
1 parent c4d4cf4 commit e129a22
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a68077defb3337342981a0d3a4df3380496a8a87
refs/heads/master: a88556a4b24baff99f5d2a2a05202c4aca44ea05
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/zd1211rw/zd_ieee80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ struct cck_plcp_header {
u8 service;
__le16 length;
__le16 crc16;
};
} __attribute__((packed));

static inline u8 zd_cck_plcp_header_rate(const struct cck_plcp_header *header)
{
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/zd1211rw/zd_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ struct zd_rt_hdr {
u8 rt_rate;
u16 rt_channel;
u16 rt_chbitmask;
};
} __attribute__((packed));

static void fill_rt_header(void *buffer, struct zd_mac *mac,
const struct ieee80211_rx_stats *stats,
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/zd1211rw/zd_mac.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ struct zd_ctrlset {
struct rx_length_info {
__le16 length[3];
__le16 tag;
};
} __attribute__((packed));

#define RX_LENGTH_INFO_TAG 0x697e

Expand All @@ -93,7 +93,7 @@ struct rx_status {
u8 signal_quality_ofdm;
u8 decryption_type;
u8 frame_status;
};
} __attribute__((packed));

/* rx_status field decryption_type */
#define ZD_RX_NO_WEP 0
Expand Down
14 changes: 7 additions & 7 deletions trunk/drivers/net/wireless/zd1211rw/zd_usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,17 @@ enum control_requests {
struct usb_req_read_regs {
__le16 id;
__le16 addr[0];
};
} __attribute__((packed));

struct reg_data {
__le16 addr;
__le16 value;
};
} __attribute__((packed));

struct usb_req_write_regs {
__le16 id;
struct reg_data reg_writes[0];
};
} __attribute__((packed));

enum {
RF_IF_LE = 0x02,
Expand All @@ -101,7 +101,7 @@ struct usb_req_rfwrite {
/* RF2595: 24 */
__le16 bit_values[0];
/* (CR203 & ~(RF_IF_LE | RF_CLK | RF_DATA)) | (bit ? RF_DATA : 0) */
};
} __attribute__((packed));

/* USB interrupt */

Expand All @@ -118,20 +118,20 @@ enum usb_int_flags {
struct usb_int_header {
u8 type; /* must always be 1 */
u8 id;
};
} __attribute__((packed));

struct usb_int_regs {
struct usb_int_header hdr;
struct reg_data regs[0];
};
} __attribute__((packed));

struct usb_int_retry_fail {
struct usb_int_header hdr;
u8 new_rate;
u8 _dummy;
u8 addr[ETH_ALEN];
u8 ibss_wakeup_dest;
};
} __attribute__((packed));

struct read_regs_int {
struct completion completion;
Expand Down

0 comments on commit e129a22

Please sign in to comment.