mac80211: implement a timer to send RANN action frames
[safe/jmp/linux-2.6] / net / mac80211 / rc80211_minstrel.h
index 9a90a6a..38bf416 100644 (file)
@@ -16,6 +16,7 @@ struct minstrel_rate {
        unsigned int perfect_tx_time;
        unsigned int ack_time;
 
+       int sample_limit;
        unsigned int retry_count;
        unsigned int retry_count_cts;
        unsigned int retry_count_rtscts;
@@ -32,7 +33,6 @@ struct minstrel_rate {
 
        /* per-rate throughput */
        u32 cur_tp;
-       u32 throughput;
 
        u64 succ_hist;
        u64 att_hist;
@@ -57,6 +57,7 @@ struct minstrel_sta_info {
 
        int n_rates;
        struct minstrel_rate *r;
+       bool prev_sample;
 
        /* sampling table */
        u8 *sample_table;