carl9170: fix total error filter bit handling
[carl9170fw.git] / include / shared / wlan.h
index ce8885ba6cc9ef493b7dc200d45f2124630c1234..24d63b583b6b08459d657055d70836c621106177 100644 (file)
@@ -74,6 +74,9 @@
 #define        AR9170_RX_STATUS_MPDU_MIDDLE            0x30
 #define        AR9170_RX_STATUS_MPDU_LAST              0x10
 
+#define        AR9170_RX_STATUS_CONT_AGGR              0x40
+#define        AR9170_RX_STATUS_TOTAL_ERROR            0x80
+
 #define        AR9170_RX_ERROR_RXTO                    0x01
 #define        AR9170_RX_ERROR_OVERRUN                 0x02
 #define        AR9170_RX_ERROR_DECRYPT                 0x04
@@ -81,7 +84,6 @@
 #define        AR9170_RX_ERROR_WRONG_RA                0x10
 #define        AR9170_RX_ERROR_PLCP                    0x20
 #define        AR9170_RX_ERROR_MMIC                    0x40
-#define        AR9170_RX_ERROR_FATAL                   0x80
 
 /* these are either-or */
 #define        AR9170_TX_MAC_PROT_RTS                  0x0001
@@ -336,7 +338,7 @@ struct ar9170_rx_head {
        u8 plcp[12];
 } __packed;
 
-#define AR9170_RX_HEAD_LEN                     12
+#define        AR9170_RX_HEAD_LEN                      12
 
 struct ar9170_rx_phystatus {
        union {
@@ -352,7 +354,7 @@ struct ar9170_rx_phystatus {
        u8 phy_err;
 } __packed;
 
-#define AR9170_RX_PHYSTATUS_LEN                        20
+#define        AR9170_RX_PHYSTATUS_LEN                 20
 
 struct ar9170_rx_macstatus {
        u8 SAidx, DAidx;
@@ -360,7 +362,7 @@ struct ar9170_rx_macstatus {
        u8 status;
 } __packed;
 
-#define AR9170_RX_MACSTATUS_LEN                        4
+#define        AR9170_RX_MACSTATUS_LEN                 4
 
 struct ar9170_rx_frame_single {
        struct ar9170_rx_head phy_head;