diff --git a/ath_rate/sample/sample.c b/ath_rate/sample/sample.c index b5da64c..1485079 100644 --- a/ath_rate/sample/sample.c +++ b/ath_rate/sample/sample.c @@ -124,6 +124,7 @@ static char *dev_info = "ath_rate_sample"; static int ath_smoothing_rate = 95; /* ewma percentage (out of 100) */ static int ath_sample_rate = 10; /* use x% of transmission time * sending at a different bit-rate */ +static int packet_size_bins[NUM_PACKET_SIZE_BINS] = {250, 1600, 3000}; static void ath_rate_ctl_reset(struct ath_softc *, struct ieee80211_node *); diff --git a/ath_rate/sample/sample.h b/ath_rate/sample/sample.h index 2bed32c..d78361c 100644 --- a/ath_rate/sample/sample.h +++ b/ath_rate/sample/sample.h @@ -74,7 +74,6 @@ struct rate_stats { * size buckets */ #define NUM_PACKET_SIZE_BINS 3 -static int packet_size_bins[NUM_PACKET_SIZE_BINS] = {250, 1600, 3000}; /* per-node state */ struct sample_node {