Searched refs:NUM_PACKET_SIZE_BINS (Results 1 – 3 of 3) sorted by relevance
79 #define NUM_PACKET_SIZE_BINS 7 macro81 static const int packet_size_bins[NUM_PACKET_SIZE_BINS] = { 250, 1600, 4096, 8192, 16384, 32768, 6…98 struct rate_stats stats[NUM_PACKET_SIZE_BINS][SAMPLE_MAXRATES];99 int last_sample_rix[NUM_PACKET_SIZE_BINS];101 int current_sample_rix[NUM_PACKET_SIZE_BINS]; 102 int packets_sent[NUM_PACKET_SIZE_BINS];104 int current_rix[NUM_PACKET_SIZE_BINS];105 int packets_since_switch[NUM_PACKET_SIZE_BINS];106 int ticks_since_switch[NUM_PACKET_SIZE_BINS];108 int packets_since_sample[NUM_PACKET_SIZE_BINS];[all …]
247 #if NUM_PACKET_SIZE_BINS > 1 in size_to_bin()251 #if NUM_PACKET_SIZE_BINS > 2 in size_to_bin()255 #if NUM_PACKET_SIZE_BINS > 3 in size_to_bin()259 #if NUM_PACKET_SIZE_BINS > 4 in size_to_bin()263 #if NUM_PACKET_SIZE_BINS > 5 in size_to_bin()267 #if NUM_PACKET_SIZE_BINS > 6 in size_to_bin()271 #if NUM_PACKET_SIZE_BINS > 7 in size_to_bin()275 #if NUM_PACKET_SIZE_BINS > 8 in size_to_bin()278 return NUM_PACKET_SIZE_BINS-1; in size_to_bin()1373 for (y = 0; y < NUM_PACKET_SIZE_BINS; y++) { in ath_rate_ctl_reset()[all …]
122 for (y = 0; y < NUM_PACKET_SIZE_BINS; y++) { in ath_sample_stats()155 for (y = 0; y < NUM_PACKET_SIZE_BINS; y++) { in ath_sample_stats()