From owner-freebsd-wireless@FreeBSD.ORG Tue Mar 13 12:30:46 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 78904106566C for ; Tue, 13 Mar 2012 12:30:46 +0000 (UTC) (envelope-from saint_bxg@126.com) Received: from m15-16.126.com (m15-16.126.com [220.181.15.16]) by mx1.freebsd.org (Postfix) with ESMTP id E0A1D8FC15 for ; Tue, 13 Mar 2012 12:30:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=Received:Date:From:To:Message-ID:Subject: MIME-Version:Content-Type; bh=jXYDyqjLqw0cyPAV0SPjSXOkoZ8ZzTC+VY tQpjaCKxw=; b=o954enYNIrv9z5rwJ+pJSsHVKCr3Y4h8u5+8nK3c7S5sCdCZG/ X7CTNQ96GJgGw/x0dEko+PzqHS1qjmqSeGhF0surbib0u5PcF7pbT/EDUIKtPi5n ZsYud1xyaHyOaCrJrtpGGbLOVLV1JonI60wyiCtZhR6AJxXjXawZJWbf8= Received: from saint_bxg ( [211.144.202.142] ) by ajax-webmail-wmsvr16 (Coremail) ; Tue, 13 Mar 2012 20:00:25 +0800 (CST) Date: Tue, 13 Mar 2012 20:00:25 +0800 (CST) From: saint To: freebsd-wireless@freebsd.org Message-ID: <4ef315ef.141dd.1360bee4368.Coremail.saint_bxg@126.com> MIME-Version: 1.0 X-Originating-IP: [211.144.202.142] X-CM-HeaderCharset: GBK X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20120307(17626.4462.4455) Copyright (c) 2002-2012 www.mailtech.cn 126com X-CM-CTRLDATA: l6hTWGZvb3Rlcl9odG09Mjc3MTo4MQ== X-CM-TRANSID: EMqowGC5WUPaNl9PNaFLAA--.1063W X-CM-SenderInfo: hvdl03pbe0wqqrswhudrp/1tbiJxxwuE1rxndf-QABsH X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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 12:30:46 -0000 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