Home
last modified time | relevance | path

Searched refs:NUM_PACKET_SIZE_BINS (Results 1 – 3 of 3) sorted by relevance

/freebsd-12.1/sys/dev/ath/ath_rate/sample/
H A Dsample.h82 #define NUM_PACKET_SIZE_BINS 2 macro
84 static const int packet_size_bins[NUM_PACKET_SIZE_BINS] = { 250, 1600 };
101 struct rate_stats stats[NUM_PACKET_SIZE_BINS][SAMPLE_MAXRATES];
102 int last_sample_rix[NUM_PACKET_SIZE_BINS];
104 int current_sample_rix[NUM_PACKET_SIZE_BINS];
105 int packets_sent[NUM_PACKET_SIZE_BINS];
107 int current_rix[NUM_PACKET_SIZE_BINS];
108 int packets_since_switch[NUM_PACKET_SIZE_BINS];
109 unsigned ticks_since_switch[NUM_PACKET_SIZE_BINS];
111 int packets_since_sample[NUM_PACKET_SIZE_BINS];
[all …]
H A Dsample.c115 #if NUM_PACKET_SIZE_BINS > 1 in size_to_bin()
119 #if NUM_PACKET_SIZE_BINS > 2 in size_to_bin()
123 #if NUM_PACKET_SIZE_BINS > 3 in size_to_bin()
127 #if NUM_PACKET_SIZE_BINS > 4 in size_to_bin()
130 return NUM_PACKET_SIZE_BINS-1; in size_to_bin()
791 for (y = size_bin+1; y < NUM_PACKET_SIZE_BINS; y++) { in update_stats()
1114 for (y = 0; y < NUM_PACKET_SIZE_BINS; y++) { in ath_rate_ctl_reset()
1266 for (y = 0; y < NUM_PACKET_SIZE_BINS; y++) { in sample_stats()
1286 for (y = 0; y < NUM_PACKET_SIZE_BINS; y++) { in sample_stats()
/freebsd-12.1/tools/tools/ath/athratestats/
H A Dmain.c124 for (y = 0; y < NUM_PACKET_SIZE_BINS; y++) { in ath_sample_stats()
157 for (y = 0; y < NUM_PACKET_SIZE_BINS; y++) { in ath_sample_stats()