]> Pileus Git - ~andy/linux/blobdiff - drivers/net/wireless/ath/ath9k/mac.h
ath9k_hw: Add initvals and register definitions for AR946/8x chipsets.
[~andy/linux] / drivers / net / wireless / ath / ath9k / mac.h
index 8e848c4d16baf536834231633795e3c1c9382abe..2a523709ca9cc73a9e01ea88036bdab0baa5f4a2 100644 (file)
@@ -146,6 +146,7 @@ struct ath_rx_status {
        u8 rs_moreaggr;
        u8 rs_num_delims;
        u8 rs_flags;
+       bool is_mybeacon;
        u32 evm0;
        u32 evm1;
        u32 evm2;
@@ -194,7 +195,7 @@ struct ath_htc_rx_status {
 #define ATH9K_RX_DECRYPT_BUSY     0x40
 
 #define ATH9K_RXKEYIX_INVALID  ((u8)-1)
-#define ATH9K_TXKEYIX_INVALID  ((u32)-1)
+#define ATH9K_TXKEYIX_INVALID  ((u8)-1)
 
 enum ath9k_phyerr {
        ATH9K_PHYERR_UNDERRUN             = 0,  /* Transmit underrun */
@@ -643,6 +644,7 @@ enum ath9k_rx_filter {
        ATH9K_RX_FILTER_PSPOLL = 0x00004000,
        ATH9K_RX_FILTER_PHYRADAR = 0x00002000,
        ATH9K_RX_FILTER_MCAST_BCAST_ALL = 0x00008000,
+       ATH9K_RX_FILTER_CONTROL_WRAPPER = 0x00080000,
 };
 
 #define ATH9K_RATESERIES_RTS_CTS  0x0001
@@ -687,7 +689,7 @@ int ath9k_hw_setuptxqueue(struct ath_hw *ah, enum ath9k_tx_queue type,
 bool ath9k_hw_releasetxqueue(struct ath_hw *ah, u32 q);
 bool ath9k_hw_resettxqueue(struct ath_hw *ah, u32 q);
 int ath9k_hw_rxprocdesc(struct ath_hw *ah, struct ath_desc *ds,
-                       struct ath_rx_status *rs, u64 tsf);
+                       struct ath_rx_status *rs);
 void ath9k_hw_setuprxdesc(struct ath_hw *ah, struct ath_desc *ds,
                          u32 size, u32 flags);
 bool ath9k_hw_setrxabort(struct ath_hw *ah, bool set);