Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2015 08:41:31 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        =?UTF-8?B?5a2Q5paH?= <u8j9@163.com>
Cc:        "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: TDMA slot(bh)
Message-ID:  <CAJ-VmokAYYdp3xyvxTqwy5GoEjMKLtw0P20T-4wcDipWNZqQRQ@mail.gmail.com>
In-Reply-To: <4e2942f9.fdd.14b9dd49b7e.Coremail.u8j9@163.com>
References:  <l7kgf6bacsg7lewlevy8mlan.1424278958665@email.android.com> <CAJ-VmomWjqN%2BMApR7HvnR-ZSF1zt_%2B04Qdt7hz13JRtBTo-9Tg@mail.gmail.com> <4e2942f9.fdd.14b9dd49b7e.Coremail.u8j9@163.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The whole point here is that DBA is used to control the start of the
slot times, and SWBA is used to only send out actual beacon frames in
multiples of that.

normally you'd have SWBA be just before DBA, and and they'd have the
same interval.

Here DBA is used primarily to gate the start of the slot time for that
particular device, and it only bothers sending the beacon frame every
'tdmaswba' DBA intervals. The beacons are used to announce that the
device is there and to update RTT estimates; it's not doing anything
like gating broadcast traffic.



-adrian


On 18 February 2015 at 09:55, =E5=AD=90=E6=96=87 <u8j9@163.com> wrote:
> Dear Adrian
>    In HAL_INT_SWBA handler of ath_intr funtion . What means tdmaswba? I f=
ound the tdmaswba default is five  and when it decrease to zero ,the ap  wi=
ll send out the beacon package. From here I fell every SWBA is the start of=
 the slot?
>
>
>
>
> --
> =E5=8F=91=E8=87=AA=E6=88=91=E7=9A=84=E7=BD=91=E6=98=93=E9=82=AE=E7=AE=B1=
=E6=89=8B=E6=9C=BA=E6=99=BA=E8=83=BD=E7=89=88
>
>
> =E5=9C=A8 2015-02-19 01:28:38=EF=BC=8C"Adrian Chadd" <adrian@freebsd.org>=
 =E5=86=99=E9=81=93=EF=BC=9A
>>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 th=
e period of swba is slot time,  ap will send beacon every five slot, the be=
acon interval is five slottime?
>>>
>>> Adrian Chadd <adrian@freebsd.org>=E7=BC=96=E5=86=99=EF=BC=9A
>>>
>>>>On 18 February 2015 at 07:55, bh <u8j9@163.com> wrote:
>>>>> Dear
>>>>>     The default slotcnt=3D2 , becntival=3D5.For ap  it will generate =
SWBA every  slot,it will send beacon every five slots, beacause ap fire  th=
e 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.
>>>>
>>>>
>>>>-adrian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokAYYdp3xyvxTqwy5GoEjMKLtw0P20T-4wcDipWNZqQRQ>