Date: Wed, 18 Feb 2015 09:28:38 -0800 From: Adrian Chadd <adrian@freebsd.org> To: bh <u8j9@163.com>, "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org> Subject: Re: TDMA slot(bh) Message-ID: <CAJ-VmomWjqN%2BMApR7HvnR-ZSF1zt_%2B04Qdt7hz13JRtBTo-9Tg@mail.gmail.com> In-Reply-To: <l7kgf6bacsg7lewlevy8mlan.1424278958665@email.android.com> References: <l7kgf6bacsg7lewlevy8mlan.1424278958665@email.android.com>
index | next in thread | previous in thread | raw e-mail
Yup. DBA gates the actual beacon transmit - if there's no beacon in the slot, then it's fine. SWBA is the software timer that fires just before DBA, so the software stack has a chance to program the hardware with a beacon and let the hardware get the packet DMA -> TX FIFO setup all correctly so that when it's DBA time (ie, time to /transmit/ the beacon), it's already ready to go. -adrian On 18 February 2015 at 09:09, bh <u8j9@163.com> wrote: > Dear Adrian > In ath_intr , there are a variable which decrease every swba, so when the variable swbaintalval is zero, ap will send beacon .So I think the period of swba is slot time, ap will send beacon every five slot, the beacon interval is five slottime? > > Adrian Chadd <adrian@freebsd.org>编写: > >>On 18 February 2015 at 07:55, bh <u8j9@163.com> wrote: >>> Dear >>> The default slotcnt=2 , becntival=5.For ap it will generate SWBA every slot,it will send beacon every five slots, beacause ap fire the DBA timer in every slot, so it will send data package in every slot. Is my above understanding correct? >> >>It generates SWBA every beacon interval, which is calculated in >>ath_tdma_bintvalsetup(). >> >>Master stations beacon 20 times a second with the default config >>specified by the wiki. >> >> >>-adrianhelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomWjqN%2BMApR7HvnR-ZSF1zt_%2B04Qdt7hz13JRtBTo-9Tg>
