use ah_getRateTable directly
[open-ath9k-htc-firmware.git] / target_firmware / wlan / ah.h
index 631f8fcfa721970c512fc60851fe939c41013c8d..6b9f2b77325adb183006958f039675efcaff9337 100755 (executable)
@@ -75,8 +75,6 @@ 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;
@@ -379,9 +377,6 @@ struct ath_hal
                                                  HAL_BOOL incTrigLevel);
            
        /* Misc Functions */
-       HAL_STATUS __ahdecl(*ah_getCapability)(struct ath_hal *,
-                                              HAL_CAPABILITY_TYPE, a_uint32_t capability,
-                                              a_uint32_t *result);
        void      __ahdecl(*ah_setDefAntenna)(struct ath_hal*, a_uint32_t);     
            
        HAL_BOOL  __ahdecl(*ah_updateCTSForBursting)(struct ath_hal *,
@@ -415,12 +410,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,
@@ -481,9 +476,6 @@ extern struct ath_hal * __ahdecl ath_hal_attach_tgt(a_uint32_t devid, HAL_SOFTC,
                                                    adf_os_device_t dev,
                                                    a_uint32_t flags, HAL_STATUS* status);
 
-extern const HAL_RATE_TABLE * __ahdecl ath_hal_getratetable(struct ath_hal *,
-                                                           a_uint32_t mode);
-
 extern a_uint16_t __ahdecl ath_hal_computetxtime(struct ath_hal *,
                                                 const HAL_RATE_TABLE *rates,
                                                 a_uint32_t frameLen,