remove unused HAL_OPMODE
[open-ath9k-htc-firmware.git] / target_firmware / wlan / ah.h
index 68a7da10b9404553dd367d58c47f1b86e7655888..33613e863958e5a3de60fe78ceea4eacbccfb9ec 100755 (executable)
@@ -75,19 +75,10 @@ typedef enum {
        HAL_CAP_VEOL        = 0,
        HAL_CAP_BSSIDMASK   = 1,
        HAL_CAP_TSF_ADJUST  = 2,
-       HAL_CAP_RX_STBC     = 3,
-       HAL_CAP_TX_STBC     = 4,
        HAL_CAP_HT          = 5,
        HAL_CAP_RTS_AGGR_LIMIT = 6,
 } HAL_CAPABILITY_TYPE;
 
-typedef enum {
-       HAL_M_STA       = 1,
-       HAL_M_IBSS      = 0,
-       HAL_M_HOSTAP    = 6,
-       HAL_M_MONITOR   = 8,
-} HAL_OPMODE;
-
 typedef enum {
        HAL_TX_QUEUE_INACTIVE   = 0,
        HAL_TX_QUEUE_DATA   = 1,
@@ -415,12 +406,12 @@ struct ath_hal
                                                   HAL_11N_RATE_SERIES series[],
                                                   a_uint32_t nseries, a_uint32_t flags);
        void      __ahdecl(*ah_set11nAggrFirst)(struct ath_hal *ah,
-                                               struct ath_desc *ds, a_uint32_t aggrLen,
+                                               struct ath_tx_desc *ds, a_uint32_t aggrLen,
                                                a_uint32_t numDelims);
        void      __ahdecl(*ah_set11nAggrMiddle)(struct ath_hal *ah,
-                                                struct ath_desc *ds, a_uint32_t numDelims);
+                                                struct ath_tx_desc *ds, a_uint32_t numDelims);
        void      __ahdecl(*ah_set11nAggrLast)(struct ath_hal *ah,
-                                              struct ath_desc *ds);
+                                              struct ath_tx_desc *ds);
        void      __ahdecl(*ah_clr11nAggr)(struct ath_hal *ah,
                                           struct ath_tx_desc *ds);
        void      __ahdecl(*ah_set11nBurstDuration)(struct ath_hal *ah,
@@ -440,7 +431,7 @@ struct ath_hal
        HAL_BOOL  __ahdecl(*ah_fillTxDesc)(struct ath_hal *, struct ath_tx_desc *,
                                           a_uint32_t segLen, HAL_BOOL firstSeg,
                                           HAL_BOOL lastSeg, const struct ath_tx_desc *);
-       HAL_BOOL  __ahdecl (*ah_fillKeyTxDesc) (struct ath_hal *, struct ath_desc *, HAL_KEY_TYPE);
+       HAL_BOOL  __ahdecl (*ah_fillKeyTxDesc) (struct ath_hal *, struct ath_tx_desc *, HAL_KEY_TYPE);
        HAL_STATUS __ahdecl(*ah_procTxDesc)(struct ath_hal *, struct ath_tx_desc *);
        void            __ahdecl(*ah_getTxIntrQueue)(struct ath_hal *, a_uint32_t *);
        void       __ahdecl(*ah_reqTxIntrDesc)(struct ath_hal *, struct ath_desc*);