fix compile warnings for gcc 6.2.0
[open-ath9k-htc-firmware.git] / target_firmware / wlan / if_athrate.h
index 1ca50b1d7b17c502f2cb0f0a7c4d28fac51ea670..068902012dce335ba0c2784524f42304145afad7 100755 (executable)
 #ifndef _ATH_RATECTRL_H_
 #define _ATH_RATECTRL_H_
 
-struct ath_softc;
 struct ath_softc_tgt;
 struct ath_node;
 struct ath_node_target;
 struct ath_desc;
 struct ieee80211vap;
 struct ieee80211com_target;
+struct ath_tx_desc;
 
 struct ath_ratectrl {
        size_t  arc_space;      /* space required for per-node state */
@@ -82,7 +82,6 @@ struct ath_rc_series {
  * Attach/detach a rate control module.
  */
 struct ath_ratectrl *ath_rate_attach(struct ath_softc_tgt *);
-void ath_rate_detach(struct ath_ratectrl *);
 
 /*
  * Return the transmit info for a data packet.  If multi-rate state
@@ -114,4 +113,10 @@ void ath_rate_tx_complete(struct ath_softc_tgt *, struct ath_node_target *,
 void ath_rate_stateupdate(struct ath_softc_tgt *sc, struct ath_node_target *an, 
                          enum ath_rc_cwmode cwmode);
 
+
+void ath_tx_status_update_rate(struct ath_softc_tgt *sc,
+                              struct ath_rc_series rcs[],
+                              int series,
+                              WMI_TXSTATUS_EVENT *txs);
+
 #endif /* _ATH_RATECTRL_H_ */