diff options
author | Arik Nemtsov <arik@wizery.com> | 2010-10-16 18:53:48 +0200 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-01-24 22:11:48 +0200 |
commit | beb6c880720073c233633c45792a4bb5d5fedbd5 (patch) | |
tree | 303f38897f1b94c59b1fa7c5098a8e374ca1003f /drivers/net/wireless/wl12xx/rx.h | |
parent | ae113b57826b40f1962a6e2417efd757b638e6a9 (diff) |
wl12xx: Add AP related definitions to HOST-FW interface
Change structures in a non-destructive manner. This means no
changes in size or location of existing members used by STA.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Reviewed-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/rx.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/rx.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/net/wireless/wl12xx/rx.h b/drivers/net/wireless/wl12xx/rx.h index f695553f31e..8d048b36bbb 100644 --- a/drivers/net/wireless/wl12xx/rx.h +++ b/drivers/net/wireless/wl12xx/rx.h @@ -86,8 +86,9 @@ /* * RX Descriptor status * - * Bits 0-2 - status - * Bits 3-7 - reserved + * Bits 0-2 - error code + * Bits 3-5 - process_id tag (AP mode FW) + * Bits 6-7 - reserved */ #define WL1271_RX_DESC_STATUS_MASK 0x07 @@ -110,7 +111,10 @@ struct wl1271_rx_descriptor { u8 snr; __le32 timestamp; u8 packet_class; - u8 process_id; + union { + u8 process_id; /* STA FW */ + u8 hlid; /* AP FW */ + } __packed; u8 pad_len; u8 reserved; } __packed; |