From: proski Date: Wed, 11 May 2011 15:17:22 +0000 (+0000) Subject: Move packet_size_bins[] from the header, it doesn't belong there X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=3c697998808c69f4b3c0bd9075031aa2fd03210b;p=madwifi%2F.git Move packet_size_bins[] from the header, it doesn't belong there git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4141 0192ed92-7a03-0410-a25b-9323aeb14dbd --- 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 {