From owner-freebsd-wireless@FreeBSD.ORG Wed Sep 7 08:53:19 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 34C001065670; Wed, 7 Sep 2011 08:53:19 +0000 (UTC) (envelope-from paradyse@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id D1B2C8FC0A; Wed, 7 Sep 2011 08:53:18 +0000 (UTC) Received: by yib19 with SMTP id 19so5607829yib.13 for ; Wed, 07 Sep 2011 01:53:18 -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:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=Rh3mrp+O7njzdnDgNF9dEnGWWDa44/EU3nZdc2yl3MU=; b=wcbaYMozD6hvn1wQ7yQdzinOdZ2g1X1J+Zn+qYFy6MrHTRJBjntd3TRoVI+l+aNhUC oKtVVegG/MCXa5q21yM8hbQI53VsUxpKWpmhrpYyons8xVxv/N3BJY/QjHMe5Pikj0+x kuHnyXAvGNcRLBNm3PqkEuo1jdM2FYuSkzp0Y= Received: by 10.150.218.11 with SMTP id q11mr4775778ybg.11.1315385598116; Wed, 07 Sep 2011 01:53:18 -0700 (PDT) MIME-Version: 1.0 Sender: paradyse@gmail.com Received: by 10.150.178.20 with HTTP; Wed, 7 Sep 2011 01:52:58 -0700 (PDT) In-Reply-To: References: From: Kang Yin Su Date: Wed, 7 Sep 2011 16:52:58 +0800 X-Google-Sender-Auth: Lc8_IVOMtQNlRKqc4xG8Og9NMNM Message-ID: To: Adrian Chadd 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:53:19 -0000 Right. I didn't change these, 8 slots is enough for my setup and the default slot cnt can override by ifconfig. -Yin On Wed, Sep 7, 2011 at 4:42 PM, Adrian Chadd wrote: > 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: > > =A0 =A0 =A0 =A0uint8_t tdma_inuse[1]; =A0 =A0 =A0 =A0 =A0/* mask of slots= in use */ > =A0 =A0 =A0 =A0uint8_t tdma_active[1]; =A0 =A0 =A0 =A0 /* mask of active = slots */ > > And: > > ieee80211_tdma.c:#define =A0 =A0 =A0 =A0TDMA_SLOTCNT_DEFAULT =A0 =A02 > =A0/* 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 >