svn commit: r293022 - head/sys/net80211

Adrian Chadd adrian at freebsd.org
Mon Jan 4 16:21:59 UTC 2016


On 4 January 2016 at 07:47, John Baldwin <jhb at freebsd.org> wrote:
> On Friday, January 01, 2016 07:41:42 PM Adrian Chadd wrote:
>> yup. all  of this is ... terrible atm.
>>
>> I do need to be able to give a bounds though. :(
>
> The _sbt variants let you specify a bounds for the "fuzzy".  You
> give the deadline time as one value ('sbt') and an upper bound on
> how long to delay extra as the second ('pr').  The wait will
> timeout sometime between 'sbt' and 'sbt + pr'.
>
> Alternatively, you can leave 'pr' as 0 and encode the precision
> via the C_PREL() flags instead as described in callout(9).  (I
> think how to use sbintime_t should probably be broken out into
> a separate sbintime(9) manpage that callout(9) and other consumers
> reference rather than being buried in callout(9) to make it easier
> to figure out how to use these.  The same manpage can also talk
> about the SBT_* constants and how to generate sbintime_t values
> from known reference times.)

I dug into it a few months ago and found it was .. not quite as bounded fuzzy :(


-a


More information about the svn-src-head mailing list