aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/xmit.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-08-11 09:07:14 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-08-22 14:45:58 -0400
commit2391b7e8d40e4b3be0756396c628d2323f2d0b8d (patch)
tree2841585b0b2f2cd02aa65b6e14b640e18af41f01 /drivers/net/wireless/b43/xmit.h
parente69deded2bc29e6dd176089252a11b1854012c76 (diff)
b43: rename TX header formats
Replace "old" and "new" with number of the first firmware known to use the given format. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/xmit.h')
-rw-r--r--drivers/net/wireless/b43/xmit.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/b43/xmit.h b/drivers/net/wireless/b43/xmit.h
index 42debb5cd6fa..79fc162b90ec 100644
--- a/drivers/net/wireless/b43/xmit.h
+++ b/drivers/net/wireless/b43/xmit.h
@@ -46,7 +46,7 @@ struct b43_txhdr {
46 __le32 timeout; /* Timeout */ 46 __le32 timeout; /* Timeout */
47 47
48 union { 48 union {
49 /* The new r410 format. */ 49 /* Tested with 410.2160, 478.104 and 508.* */
50 struct { 50 struct {
51 __le16 mimo_antenna; /* MIMO antenna select */ 51 __le16 mimo_antenna; /* MIMO antenna select */
52 __le16 preload_size; /* Preload size */ 52 __le16 preload_size; /* Preload size */
@@ -57,9 +57,9 @@ struct b43_txhdr {
57 __u8 rts_frame[16]; /* The RTS frame (if used) */ 57 __u8 rts_frame[16]; /* The RTS frame (if used) */
58 PAD_BYTES(2); 58 PAD_BYTES(2);
59 struct b43_plcp_hdr6 plcp; /* Main PLCP header */ 59 struct b43_plcp_hdr6 plcp; /* Main PLCP header */
60 } new_format __packed; 60 } format_410 __packed;
61 61
62 /* The old r351 format. */ 62 /* Tested with 351.126 */
63 struct { 63 struct {
64 PAD_BYTES(2); 64 PAD_BYTES(2);
65 __le16 cookie; /* TX frame cookie */ 65 __le16 cookie; /* TX frame cookie */
@@ -68,7 +68,7 @@ struct b43_txhdr {
68 __u8 rts_frame[16]; /* The RTS frame (if used) */ 68 __u8 rts_frame[16]; /* The RTS frame (if used) */
69 PAD_BYTES(2); 69 PAD_BYTES(2);
70 struct b43_plcp_hdr6 plcp; /* Main PLCP header */ 70 struct b43_plcp_hdr6 plcp; /* Main PLCP header */
71 } old_format __packed; 71 } format_351 __packed;
72 72
73 } __packed; 73 } __packed;
74} __packed; 74} __packed;