diff options
Diffstat (limited to 'drivers/staging/cw1200/wsm.h')
-rw-r--r-- | drivers/staging/cw1200/wsm.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/staging/cw1200/wsm.h b/drivers/staging/cw1200/wsm.h index 9b33a6e2b83..76b9253fa94 100644 --- a/drivers/staging/cw1200/wsm.h +++ b/drivers/staging/cw1200/wsm.h @@ -540,6 +540,13 @@ struct wsm_hdr { __le16 id; }; +#define WSM_TX_SEQ_MAX (7) +#define WSM_TX_SEQ(seq) \ + ((seq & WSM_TX_SEQ_MAX) << 13) +#define WSM_TX_LINK_ID_MAX (0x0F) +#define WSM_TX_LINK_ID(link_id) \ + ((link_id & WSM_TX_LINK_ID_MAX) << 6) + /* ******************************************************************** */ /* WSM capcbility */ @@ -701,6 +708,8 @@ struct wsm_tx_confirm { /* The total time in microseconds that the frame spent in */ /* the WLAN device before transmission was started. */ /* [out] */ u32 txQueueDelay; + + /* [out]*/ u32 link_id; }; /* 3.15 */ |