aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271.h')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271.h b/drivers/net/wireless/wl12xx/wl1271.h
index 41de47caa201..0deb4fdf916b 100644
--- a/drivers/net/wireless/wl12xx/wl1271.h
+++ b/drivers/net/wireless/wl12xx/wl1271.h
@@ -110,6 +110,9 @@ enum {
110#define WL1271_FW_NAME "wl1271-fw.bin" 110#define WL1271_FW_NAME "wl1271-fw.bin"
111#define WL1271_NVS_NAME "wl1271-nvs.bin" 111#define WL1271_NVS_NAME "wl1271-nvs.bin"
112 112
113#define WL1271_TX_SECURITY_LO16(s) ((u16)((s) & 0xffff))
114#define WL1271_TX_SECURITY_HI32(s) ((u32)(((s) >> 16) & 0xffffffff))
115
113/* NVS data structure */ 116/* NVS data structure */
114#define WL1271_NVS_SECTION_SIZE 468 117#define WL1271_NVS_SECTION_SIZE 468
115 118
@@ -419,8 +422,7 @@ struct wl1271 {
419 422
420 /* Security sequence number counters */ 423 /* Security sequence number counters */
421 u8 tx_security_last_seq; 424 u8 tx_security_last_seq;
422 u16 tx_security_seq_16; 425 s64 tx_security_seq;
423 u32 tx_security_seq_32;
424 426
425 /* FW Rx counter */ 427 /* FW Rx counter */
426 u32 rx_counter; 428 u32 rx_counter;