From owner-freebsd-wireless@FreeBSD.ORG Wed Sep 7 08:42:54 2011 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 689C6106566C for ; Wed, 7 Sep 2011 08:42:54 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gx0-f178.google.com (mail-gx0-f178.google.com [209.85.161.178]) by mx1.freebsd.org (Postfix) with ESMTP id 25DBB8FC08 for ; Wed, 7 Sep 2011 08:42:53 +0000 (UTC) Received: by gxk8 with SMTP id 8so5332171gxk.37 for ; Wed, 07 Sep 2011 01:42:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=t8WDBa2mhQAZ7TN2Jv7GN/4bFTeS/SpBWjOCtQqobdg=; b=AtV2tar8vddKC7y4glp1H6FwNqfyqynE8B4C4wUs+b52BVnFWnroWmcs8xYveBjo06 FRNro4femfTIFg6aD6XI0o+jmjnq++hB9xt1VBQCSlA18z7BUg/Rzp7psRl9Tz1s1e8S 3PX6w4VBc8gJBPr4nqgU1qzWMAk+/lqn5edAs= MIME-Version: 1.0 Received: by 10.236.173.131 with SMTP id v3mr30366791yhl.112.1315384973465; Wed, 07 Sep 2011 01:42:53 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.236.103.6 with HTTP; Wed, 7 Sep 2011 01:42:53 -0700 (PDT) In-Reply-To: References: Date: Wed, 7 Sep 2011 16:42:53 +0800 X-Google-Sender-Auth: kHyCjdNIVC3apXpL7qJWOnjpv_U Message-ID: From: Adrian Chadd To: Kang Yin Su Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: AR5416 - tdma ?? 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: Wed, 07 Sep 2011 08:42:54 -0000 On 7 September 2011 16:02, Kang Yin Su wrote: > Sure, =A0For testing >2 slot, I just comment out the line from ieee80211_= tdma.c > > =A0110://CTASSERT(TDMA_MAXSLOTS =3D=3D 2); And what about these: uint8_t tdma_inuse[1]; /* mask of slots in use */ uint8_t tdma_active[1]; /* mask of active slots */ And: ieee80211_tdma.c:#define TDMA_SLOTCNT_DEFAULT 2 /* 2x (pt-to-pt) */ Did you update these? Ie, the above bitmaps are only 8 slots wide. The above define is used for initialising tdma_slotcnt so you may have overridden it somehow using ifconfig. Thanks, Adrian