Lines Matching refs:sample
41 __FBSDID("$FreeBSD: releng/12.0/sys/dev/ath/ath_rate/sample/sample.c 326255 2017-11-27 14:52:40Z pfg $");
82 #include <dev/ath/ath_rate/sample/sample.h>
84 #include <dev/ath/ath_rate/sample/tx_schedules.h>
98 * SampleRate reduces the number of bit-rates it must sample by
413 * Pick a good "random" bit-rate to sample other than the current one.
435 rix = sn->last_sample_rix[size_bin]+1; /* next sample rate */
436 mask = sn->ratemask &~ ((uint64_t) 1<<current_rix);/* don't sample current rate */
446 * The following code stops trying to sample
461 /* if the node is HT and the rate isn't HT, don't bother sample */
475 /* rarely sample bit-rates that fail a lot */
483 * For HT, only sample a few rates on either side of the
489 * Otherwise we'll (a) never really sample higher MCS
491 * like sample MCS8 if we're using MCS7.
506 /* Don't sample more than 2 rates higher for rates > 11M for non-HT rates */
755 "sample rate %d %s current rate %d %s",
1054 * Only update the sample time for the initial sample rix.
1069 rix0 == sn->current_sample_rix[size_bin] ? "sample" : "mrr",
1458 * Take a temporary copy of the sample node state so we can
1489 * Second TLV - sample node statistics
1527 printf("[%4u] last sample (%d %s) cur sample (%d %s) packets sent %d\n",
1534 printf("[%4u] packets since sample %d sample tt %u\n",
1618 "sample: smoothing rate for avg tx time (%%)");
1622 "sample: percent air time devoted to sampling new rates (%%)");
1626 sc, 0, ath_rate_sysctl_stats, "I", "sample: print statistics");