/* FIXME: legacy rates, later on .. */
 void ath_debug_stat_retries(struct ath_softc *sc, int rix,
-                           int xretries, int retries)
+                           int xretries, int retries, u8 per)
 {
        if (conf_is_ht(&sc->hw->conf)) {
                int idx = sc->cur_rate_table->info[rix].dot11rate;
 
                sc->debug.stats.n_rcstats[idx].xretries += xretries;
                sc->debug.stats.n_rcstats[idx].retries += retries;
+               sc->debug.stats.n_rcstats[idx].per = per;
        }
 }
 
        unsigned int len = 0;
        int i = 0;
 
-       len += sprintf(buf, "%7s %13s %8s %8s\n\n", "Rate", "Success",
-                      "Retries", "XRetries");
+       len += sprintf(buf, "%7s %13s %8s %8s %6s\n\n", "Rate", "Success",
+                      "Retries", "XRetries", "PER");
 
        for (i = 0; i <= 15; i++) {
                len += snprintf(buf + len, sizeof(buf) - len,
-                               "%5s%3d: %8u %8u %8u\n", "MCS", i,
+                               "%5s%3d: %8u %8u %8u %8u\n", "MCS", i,
                                sc->debug.stats.n_rcstats[i].success,
                                sc->debug.stats.n_rcstats[i].retries,
-                               sc->debug.stats.n_rcstats[i].xretries);
+                               sc->debug.stats.n_rcstats[i].xretries,
+                               sc->debug.stats.n_rcstats[i].per);
        }
 
        return simple_read_from_buffer(user_buf, count, ppos, buf, len);
 
        u32 success;
        u32 retries;
        u32 xretries;
+       u8 per;
 };
 
 struct ath_stats {
        struct ath_interrupt_stats istats;
-       struct ath_legacy_rc_stats legacy_rcstats[12]; /* max(11a,11b,11g) */
-       struct ath_11n_rc_stats n_rcstats[16]; /* 0..15 MCS rates */
+       struct ath_legacy_rc_stats legacy_rcstats[12];  /* max(11a,11b,11g) */
+       struct ath_11n_rc_stats n_rcstats[16];          /* 0..15 MCS rates */
 };
 
 struct ath9k_debug {
 void ath_debug_stat_interrupt(struct ath_softc *sc, enum ath9k_int status);
 void ath_debug_stat_rc(struct ath_softc *sc, struct sk_buff *skb);
 void ath_debug_stat_retries(struct ath_softc *sc, int rix,
-                           int xretries, int retries);
+                           int xretries, int retries, u8 per);
 
 #else
 
 }
 
 static inline void ath_debug_stat_retries(struct ath_softc *sc, int rix,
-                                         int xretries, int retries)
+                                         int xretries, int retries, u8 per)
 {
 }