mirror of
https://github.com/proski/madwifi
synced 2024-11-22 06:21:47 +03:00
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
This commit is contained in:
parent
ea28c77afc
commit
3c69799880
@ -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_smoothing_rate = 95; /* ewma percentage (out of 100) */
|
||||||
static int ath_sample_rate = 10; /* use x% of transmission time
|
static int ath_sample_rate = 10; /* use x% of transmission time
|
||||||
* sending at a different bit-rate */
|
* 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 *);
|
static void ath_rate_ctl_reset(struct ath_softc *, struct ieee80211_node *);
|
||||||
|
|
||||||
|
@ -74,7 +74,6 @@ struct rate_stats {
|
|||||||
* size buckets
|
* size buckets
|
||||||
*/
|
*/
|
||||||
#define NUM_PACKET_SIZE_BINS 3
|
#define NUM_PACKET_SIZE_BINS 3
|
||||||
static int packet_size_bins[NUM_PACKET_SIZE_BINS] = {250, 1600, 3000};
|
|
||||||
|
|
||||||
/* per-node state */
|
/* per-node state */
|
||||||
struct sample_node {
|
struct sample_node {
|
||||||
|
Loading…
Reference in New Issue
Block a user