fix compile warnings for gcc 6.2.0
[open-ath9k-htc-firmware.git] / target_firmware / wlan / ratectrl.h
index 97ee9a6e0cd4a025414e0a2f6f536a0f1691ec03..020d9df54d336648064bea1be3521503f20486e2 100755 (executable)
@@ -80,7 +80,6 @@ typedef u_int8_t        WLAN_PHY;
  * a null arg because we know it's not needed.
  */
 #define A_MS_TICKGET()  OS_GETUPTIME(NULL)
-#define A_MEM_ZERO(p,s) OS_MEMZERO(p,s)
 
 #define WLAN_PHY_OFDM   IEEE80211_T_OFDM
 #define WLAN_PHY_TURBO  IEEE80211_T_TURBO
@@ -118,10 +117,8 @@ enum {
 
 #ifdef MAGPIE_MERLIN  
 #define MAX_TX_RATE_TBL         46
-#define MAX_TX_RATE_PHY         48
 #else
 #define MAX_TX_RATE_TBL         54//46
-#define MAX_TX_RATE_PHY         56//48
 #endif
 
 /*
@@ -287,4 +284,17 @@ struct fusion_rate_info {
 
 void ar5416AttachRateTables(struct atheros_softc *sc);
 
+void ath_rate_node_update(struct ath_softc_tgt *sc,
+                         struct ath_node_target *an,
+                         a_int32_t isnew,
+                         a_uint32_t capflag,
+                         struct ieee80211_rate *rs);
+
+
+void ath_rate_newstate(struct ath_softc_tgt *sc,
+                      struct ieee80211vap_target *vap,
+                      enum ieee80211_state state,
+                      a_uint32_t capflag,
+                      struct ieee80211_rate *rs);
+
 #endif /* _RATECTRL_H_ */