From owner-freebsd-wireless@FreeBSD.ORG Tue Mar 13 15:01:13 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7909106564A for ; Tue, 13 Mar 2012 15:01:12 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pz0-f45.google.com (mail-pz0-f45.google.com [209.85.210.45]) by mx1.freebsd.org (Postfix) with ESMTP id BD8918FC0A for ; Tue, 13 Mar 2012 15:01:12 +0000 (UTC) Received: by dadp14 with SMTP id p14so2097133dad.18 for ; Tue, 13 Mar 2012 08:01:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=20MnPOG2Vw7SvHcFpwd/k8SKGEVWQJPP/rxHfoQLx80=; b=MZH1aGrylH/5R5SkFG0caAHr+STa1nyxEtkAjhDOxkPnhYDWx/C4PC1ZCXMq7JMKju tFA40NYct2Hl2azhG+ELoLLqzd9ETFgDKWAmPWE3y5CW5GWKT9kA7tzXEtHsYXjfpWoJ XkT2H0hEZ3/Ff/v0sEgEOq+qsLuFdDS+nNW25xzSP95xtjIgpiwT96BxPXgDmkKfIkyA 4CZ/ALvG7TZFPkCM6qP65TmbYmw4dVTkxBuaW2ti+5vi6ZsTORtzuWnzzoi0OQF2OMQ6 MalgfO3h/UTDdZWgy/aUAWDshtY9cUwh2kKvw0Ll8BzPZoMiQd3oMkilxZ6n8ehtOOUV 7jUQ== MIME-Version: 1.0 Received: by 10.68.240.135 with SMTP id wa7mr6477460pbc.7.1331650872288; Tue, 13 Mar 2012 08:01:12 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.143.33.5 with HTTP; Tue, 13 Mar 2012 08:01:12 -0700 (PDT) In-Reply-To: <4ef315ef.141dd.1360bee4368.Coremail.saint_bxg@126.com> References: <4ef315ef.141dd.1360bee4368.Coremail.saint_bxg@126.com> Date: Tue, 13 Mar 2012 08:01:12 -0700 X-Google-Sender-Auth: U1H30ZnEBspwa_qHc3OgskYw7CA Message-ID: From: Adrian Chadd To: saint Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: Freebsd9.0 TDMA: stuck beacon problem X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2012 15:01:13 -0000 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 : > Hi Adrian: > =A0 =A0This is Michael. > =A0 =A0I'm trying to implement TDMA connection with two Atheros cards(AR5= 416 and AR9285) working on freebsd 9.0-release. > =A0 =A0After reading the handbook, I added the build option IEEE80211_SUP= PORT_TDMA, and modified loader.conf as: > if_ath_load=3D"YES" > if_ath_pci_load=3D"YES" > =A0 =A0I rebuilt and reinstalled the kernel, reboot ... > =A0 =A0After that, the ath driver can be loaded and I could configure two= cards as adhoc mode and connect each other successfully. =A0:) > =A0 =A0But, when I configured the card as tdma mode and set it as a maste= r(tdmaslot 0), a few seconds later, the screen was full of: > "ath0: stuck beacon; resetting( bmiss count 4)" > > > =A0 =A0config commands: > ifconfig wlan0 create wlandev ath0 wlanmode tdma > ifconfig wlan0 ssid freebsd-tdma tdmaslotlen 2500 tdmaslot 0 > ifconfig wlan0 up =A0(after this, "ath0: stuck beacon..." appears) > > > =A0 =A0If I set the card as a slave( tdmaslot 1), no these output message= s. :( > =A0 =A0I tried to find the result from the code, it pointed to ath_hal_nu= mtxpending(). (That means there are still frames pending in the QCU(AR5416)= ). But I didn't know why. > =A0 =A0I searched it on the internet, many people experienced it, but non= e of them was the same case as mine. > > > =A0 =A0Then I reinstalled the OS with freebsd8.2-release. There was no "a= th0: stuck beacon..." =A0:) > =A0 =A0But under freebsd8.2, I could not connect two cards as tdma mode e= ither(no beacons send out). Oh~~ :(:( > =A0 =A0Card not support? OS not support? TDMA not support in 9.0 release? > =A0 =A0Could 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.or= g"