remove unused variables in ah_set11nTxDesc
[open-ath9k-htc-firmware.git] / target_firmware / wlan / ah.h
index e391a9d41808f3d6a154273d9b5291d4d9d56540..6e97dfa2a05618f4a3f79a057ec74076fae2a86d 100755 (executable)
@@ -389,8 +389,7 @@ struct ath_hal
            
        HAL_BOOL  __ahdecl(*ah_abortTxDma)(struct ath_hal *);
            
-       void      __ahdecl(*ah_set11nTxDesc)(struct ath_hal *ah,
-                                            struct ath_tx_desc *ds,
+       void      __ahdecl(*ah_set11nTxDesc)(struct ath_tx_desc *ds,
                                             a_uint32_t pktLen, HAL_PKT_TYPE type,
                                             a_uint32_t txPower, a_uint32_t keyIx,
                                             HAL_KEY_TYPE keyType,
@@ -417,18 +416,16 @@ struct ath_hal
        void      __ahdecl(*ah_set11nVirtualMoreFrag)(struct ath_hal *ah,
                                                      struct ath_tx_desc *ds, a_uint32_t vmf);
            
-       HAL_BOOL  __ahdecl(*ah_setupTxDesc)(struct ath_hal *, struct ath_tx_desc *,
+       HAL_BOOL  __ahdecl(*ah_setupTxDesc)(struct ath_tx_desc *,
                                            a_uint32_t pktLen, a_uint32_t hdrLen,
                                            HAL_PKT_TYPE type, a_uint32_t txPower,
                                            a_uint32_t txRate0, a_uint32_t txTries0,
-                                           a_uint32_t keyIx, a_uint32_t antMode, a_uint32_t flags,
-                                           a_uint32_t rtsctsRate, a_uint32_t rtsctsDuration,
-                                           a_uint32_t compicvLen, a_uint32_t compivLen,
-                                           a_uint32_t comp);
-       HAL_BOOL  __ahdecl(*ah_fillTxDesc)(struct ath_hal *, struct ath_tx_desc *,
+                                           a_uint32_t keyIx, a_uint32_t flags,
+                                           a_uint32_t rtsctsRate, a_uint32_t rtsctsDuration);
+       HAL_BOOL  __ahdecl(*ah_fillTxDesc)(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_tx_desc *, HAL_KEY_TYPE);
+       HAL_BOOL  __ahdecl (*ah_fillKeyTxDesc) (struct ath_tx_desc *, HAL_KEY_TYPE);
        HAL_STATUS __ahdecl(*ah_procTxDesc)(struct ath_hal *, struct ath_tx_desc *);
        HAL_BOOL  __ahdecl(*ah_setBssIdMask)(struct ath_hal *, const a_uint8_t*);
        void      __ahdecl(*ah_setPCUConfig)(struct ath_hal *);
@@ -439,7 +436,7 @@ struct ath_hal
            
        /* Target receive Functions */
        void       __ahdecl(*ah_setRxDP)(struct ath_hal*, a_uint32_t rxdp);
-       HAL_BOOL  __ahdecl(*ah_setupRxDesc)(struct ath_hal *, struct ath_rx_desc *,
+       HAL_BOOL  __ahdecl(*ah_setupRxDesc)(struct ath_rx_desc *,
                                            a_uint32_t size, a_uint32_t flags);
        HAL_STATUS __ahdecl(*ah_procRxDesc)(struct ath_hal *, struct ath_desc *,
                                            a_uint32_t phyAddr, struct ath_desc *next, u_int64_t tsf);