Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2012 08:01:12 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        saint <saint_bxg@126.com>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: Freebsd9.0 TDMA: stuck beacon problem
Message-ID:  <CAJ-Vmokz9CRQ%2BKu-T=G6PUgPk66oHs2gG_iVf5xvc3K3HC1v5g@mail.gmail.com>
In-Reply-To: <4ef315ef.141dd.1360bee4368.Coremail.saint_bxg@126.com>
References:  <4ef315ef.141dd.1360bee4368.Coremail.saint_bxg@126.com>

index | next in thread | previous in thread | raw e-mail

Hi!

The 11n chipset TDMA support in 8.x was unfortunately very broken (it
made the wrong assumptions about timer resolution and configuration
which changed between the AR5212-era MAC and the AR5416 11n era MAC.)

Figuring out what's wrong with TDMA is on my TODO list but I don't
have the time at the present moment, I'm afraid.

Someone popped up a few months ago and made TDMA mostly work again
with the 11n NICs but I forget whether it made it into -HEAD or not.
Maybe try TDMA on -HEAD. Don't enable 11n. That won't work. :)


Adrian

2012/3/13 saint <saint_bxg@126.com>:
> Hi Adrian:
>    This is Michael.
>    I'm trying to implement TDMA connection with two Atheros cards(AR5416 and AR9285) working on freebsd 9.0-release.
>    After reading the handbook, I added the build option IEEE80211_SUPPORT_TDMA, and modified loader.conf as:
> if_ath_load="YES"
> if_ath_pci_load="YES"
>    I rebuilt and reinstalled the kernel, reboot ...
>    After that, the ath driver can be loaded and I could configure two cards as adhoc mode and connect each other successfully.  :)
>    But, when I configured the card as tdma mode and set it as a master(tdmaslot 0), a few seconds later, the screen was full of:
> "ath0: stuck beacon; resetting( bmiss count 4)"
>
>
>    config commands:
> ifconfig wlan0 create wlandev ath0 wlanmode tdma
> ifconfig wlan0 ssid freebsd-tdma tdmaslotlen 2500 tdmaslot 0
> ifconfig wlan0 up  (after this, "ath0: stuck beacon..." appears)
>
>
>    If I set the card as a slave( tdmaslot 1), no these output messages. :(
>    I tried to find the result from the code, it pointed to ath_hal_numtxpending(). (That means there are still frames pending in the QCU(AR5416)). But I didn't know why.
>    I searched it on the internet, many people experienced it, but none of them was the same case as mine.
>
>
>    Then I reinstalled the OS with freebsd8.2-release. There was no "ath0: stuck beacon..."  :)
>    But under freebsd8.2, I could not connect two cards as tdma mode either(no beacons send out). Oh~~ :(:(
>    Card not support? OS not support? TDMA not support in 9.0 release?
>    Could you give me some advise, thanks a lot!
>
>
> Best Wishes
>
> _______________________________________________
> freebsd-wireless@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org"


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmokz9CRQ%2BKu-T=G6PUgPk66oHs2gG_iVf5xvc3K3HC1v5g>