From owner-freebsd-wireless@freebsd.org Fri May 10 17:46:29 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4128E15A8DC1 for ; Fri, 10 May 2019 17:46:29 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BCF068419E for ; Fri, 10 May 2019 17:46:27 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm1-x333.google.com with SMTP id i3so2612096wml.4 for ; Fri, 10 May 2019 10:46:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KGGquY+s8J84TyeaKT1wdFN4QjwTllZ9/GPftJaYRpY=; b=NF7dgmAzlQNfjaOnyvcEMYWvT2S9ZPPsRPSTs/nkPuNWM/2jSq/nvw11MvEqQXkdxA kyh50FZoSTesg/yIumOI9Z4q8UGzxbNFw4ZJmB/81laFfC0FtJ/KIvdjsGgZ2D7l9MtQ VDQRZU+b7EL84aYDOEdr5c4OpBI2Rmn4stZFEhBnbIbg5THnPO50kO7CrdfRme85gFJc FjNTlPuPtAgiG+IQRmWx0axPs7w/seUpbXYuKxdzNIAG1SBpz/8HeUF+ogmihYYTXcrE RUOhoVgQPoMZ45/uCEM6mDegUNwsWjAZWGH2f6j3Sj/xuF4STaUva3MbFEdCa5HU8x0X 5EUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KGGquY+s8J84TyeaKT1wdFN4QjwTllZ9/GPftJaYRpY=; b=rCDCcnlO4Rjlmli7Pc3p63X2XCekXKXhEyd92OrHiuTfA8vQFS0d0L294fi6qHh37O rxP+6Jj2+ePJOHXTQQZaKEvyYNwS9FtRsREczAWgoPJVvKAqzF4HZbMV3jGnNqyneOpa tJRVL7i0msQlQ3QwnjE63B4dcJYyE8+OLo3/TI3McKdEA1I1HJPtSN7aprSAS+VFJZW8 A3R8DTEW1fSVzloJ0GjJ6V33AFxRA56b5glGpB7AON8MW2j+fw3tcKg3bV60OqvBkoNm X+4/nvYUKeRtFRUbDqeZKtdclYvkan2o4pnJIuWzriXbSyrUe1uAcM/2OQlDOx9Wl/7S LeMg== X-Gm-Message-State: APjAAAXttTRbVD4AZeV9sDxXFo7nHvkwZLS/gZPuOQuVDSj+GRCIxnOA 0gkbb0scUuNcyJRyiQPd6buRzYa9efA/T4C2PAgBtw== X-Google-Smtp-Source: APXvYqyeLGL2aM2jxMc96kKH9NFzFgdjca7adzxC7wSDL+jhJCwtjtcaP/bMzgRJ7enyds/wxb/ik3KqxhDRdmUwx0k= X-Received: by 2002:a1c:7e87:: with SMTP id z129mr8284795wmc.145.1557510386569; Fri, 10 May 2019 10:46:26 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Adrian Chadd Date: Fri, 10 May 2019 10:45:56 -0700 Message-ID: Subject: Re: TDMA Wireless status? To: Stephen Patrick Cc: "freebsd-wireless@freebsd.org" X-Rspamd-Queue-Id: BCF068419E X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=NF7dgmAz; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of adrianchadd@gmail.com designates 2a00:1450:4864:20::333 as permitted sender) smtp.mailfrom=adrianchadd@gmail.com X-Spamd-Result: default: False [-5.62 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.96)[-0.960,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-2.65)[ip: (-8.71), ipnet: 2a00:1450::/32(-2.23), asn: 15169(-2.27), country: US(-0.06)]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; SUBJECT_ENDS_QUESTION(1.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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: Fri, 10 May 2019 17:46:29 -0000 I'm too busy right now! sorry! -a On Fri, 10 May 2019 at 10:09, Stephen Patrick wrote: > That sounds really interesting! > > Is anyone - your or others - interested in pursuing this work further? > We are very interested - > > Look forward to hearing more, > Best regards > > Stephen > > > On Thu, 9 May 2019 at 19:55, Adrian Chadd wrote: > >> hi! >> >> Ok, so the 30 second version: >> >> * the AR54xx, AR91xx and later 11n chips had some changes to the >> resolution of the timers that Sam used to control transmit timing and >> windows; that should all work fine; >> * there's no rate control right now, it's "stuff as many frames into the >> queue and let the hardware transmit what it can when it can"; that isn't >> optimal but it works fine; >> * Sam didn't publish code to support >1 STA but I don't think it'd be >> hard to add that support. >> >> SO, out of the box the basic TDMA bits work. But! >> >> The important gotcha - on the AR9380 and later chips the DMA engine logic >> changed. The "FIFO" model uses a FIFO of TX descriptor lists. The earlier >> model just had TX descriptor list that you would append to. Unfortunately >> when they added that they changed the ungate to ungate a single FIFO entry, >> rather than run the DMA engine until all the txop timers had completed. >> >> So for example if you pushed in eight individual packets into 8 FIFO >> slots in the voice queue and then you got a voice TxOP, you may notice >> you're only getting a /single/ FIFO slot - ie, one packet - each TxOP. >> >> This shows up when doing TDMA because, unfortunately, the TDMA TX uses >> the TxOP window to control how long each TDMA burst is. So if you only fill >> in a couple of frames per FIFO slot, it will only transmit a couple frames >> per TXOP window. I did some hackery in if_ath_tx_edma.c to try and build up >> larger lists of frames to send to the hardware and it proved that i can hit >> the theoretical max. But it's not optimal, because say you only send 3/4 of >> your frame list in a single FIFO slot. Well, the next TXOP it'll only send >> the last 1/4 and then stop until the next TXOP when it'll grab the next >> FIFO slot. So, the "right" behaviour would be to push roughly a TXOP worth >> of frames into a FIFO slot and hope that you're mostly hitting the >> theoretical maximum. >> >> I never got around to implementing AMPDU on it because, well, I got busy >> with life. AMPDU is a bit of a pain because we'd have to implement delayed >> block-ack in net80211 and .. again, I never got around to it. It's not >> impossible, but someone's gonna have to do it. (ie, you'd send A-MPDU >> bursts during your TxOP and then there would be either a delayed block-ack >> response in the next burst from the receiver, or it would use its beacon >> interval to piggyback the delayed block ack on.) >> >> I hope that helps! >> >> >> >> -adrian >> >> >> On Thu, 25 Apr 2019 at 04:20, Stephen Patrick >> wrote: >> >>> Hello Adrian! >>> >>> Yes, we're certainly very interested. >>> >>> Ideally, looking for a developer who could assist in making this real & >>> working. >>> >>> Look forward to hearing more, >>> Best regards >>> >>> Stephen >>> >>> >>> On Sat, 13 Apr 2019 at 19:46, Adrian Chadd >>> wrote: >>> >>>> Hi, >>>> >>>> There's some work done on the ath(4) hardware for 11a parts done by Sam >>>> Leffler. I fixed it for 11n parts. It's in FreeBSD-HEAD. >>>> >>>> I figured out how to get it mostly working on the AR93xx/AR94xx parts >>>> too but it turns out there are some significant hardware changes in how the >>>> MAC schedules packets that a whole lot of work needs to be done to get >>>> effective TDMA on those parts. >>>> >>>> If you're interested in it I can brain dump where I was at with it! >>>> >>>> >>>> -adrian >>>> >>>> On Fri, 12 Apr 2019 at 01:51, Stephen Patrick >>>> wrote: >>>> >>>>> Thanks Adrian, >>>>> >>>>> We are interested in "long range outdoor" (10-20km) with high gain >>>>> antennas. >>>>> Do you know "Mikrotik Nstreme/NV2" and "Ubiquity Airmax" ? >>>>> Those have framing/polling done in software - wrapped around the >>>>> wireless driver. >>>>> Is there equivalent developed in FreeBSD? >>>>> >>>>> Best regards >>>>> >>>>> Stephen >>>>> >>>>> >>>>> On Thu, 11 Apr 2019 at 20:52, Adrian Chadd >>>>> wrote: >>>>> >>>>>> hi! >>>>>> >>>>>> I know that a lot of the 11ac chips do TDMA but the vendors keep the >>>>>> implementation and knobs close to their chest. We don't have any public >>>>>> APIs for it. Sorry :( >>>>>> >>>>>> >>>>>> -a >>>>>> >>>>>> >>>>>> On Thu, 11 Apr 2019 at 10:23, Stephen Patrick >>>>>> wrote: >>>>>> >>>>>>> Dear sirs, >>>>>>> >>>>>>> Is this feature working for point-to-point, and point-to-multipoint >>>>>>> long >>>>>>> range links? >>>>>>> 802.11ac chipsets/modes supported? >>>>>>> >>>>>>> Best regards >>>>>>> >>>>>>> Stephen >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> *Stephen Patrick* >>>>>>> >>>>>>> *Director* >>>>>>> >>>>>>> Wireless Excellence Limited >>>>>>> The Oxford Science Park >>>>>>> G6, Magdalen Centre, Robert Robinson Avenue >>>>>>> Oxford OX4 4GA - United Kingdom >>>>>>> >>>>>>> CAUTION - This message is confidential and may contain privileged >>>>>>> information intended only for the use of the addressee named above. >>>>>>> If you >>>>>>> are not the intended recipient of this message you are hereby >>>>>>> notified that >>>>>>> any use, dissemination, distribution or reproduction of this message >>>>>>> is >>>>>>> prohibited. If you have received this message in error please notify >>>>>>> Wireless Excellence immediately. Any views expressed in this message >>>>>>> are >>>>>>> those of the individual sender and may not necessarily reflect the >>>>>>> views of >>>>>>> Wireless Excellence Ltd. >>>>>>> _______________________________________________ >>>>>>> freebsd-wireless@freebsd.org mailing list >>>>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>>>> To unsubscribe, send any mail to " >>>>>>> freebsd-wireless-unsubscribe@freebsd.org" >>>>>>> >>>>>> >>>>> >>>>> -- >>>>> >>>>> *Stephen Patrick* >>>>> >>>>> *Director* >>>>> >>>>> >>>>> Wireless Excellence Limited >>>>> The Oxford Science Park >>>>> G6, Magdalen Centre, Robert Robinson Avenue >>>>> Oxford OX4 4GA - United Kingdom >>>>> >>>>> Tel: +44 (0) 870 4959169 Mob: +44 (0)7802 425581 >>>>> Email: stephen@cablefree.net Skype: stephenjpatrick Google: >>>>> cablefree.stephen >>>>> >>>>> [image: Facebook] [image: >>>>> Linkedin] [image: >>>>> RSS] [image: Youtube] >>>>> [image: Flickr] >>>>> [image: Twitter] >>>>> >>>>> >>>>> CAUTION - This message is confidential and may contain privileged >>>>> information intended only for the use of the addressee named above. If you >>>>> are not the intended recipient of this message you are hereby notified that >>>>> any use, dissemination, distribution or reproduction of this message is >>>>> prohibited. If you have received this message in error please notify >>>>> Wireless Excellence immediately. Any views expressed in this message are >>>>> those of the individual sender and may not necessarily reflect the views of >>>>> Wireless Excellence Ltd. >>>>> >>>> >>> >>> -- >>> >>> *Stephen Patrick* >>> >>> *Director* >>> >>> >>> Wireless Excellence Limited >>> The Oxford Science Park >>> G6, Magdalen Centre, Robert Robinson Avenue >>> Oxford OX4 4GA - United Kingdom >>> >>> Tel: +44 (0) 870 4959169 Mob: +44 (0)7802 425581 >>> Email: stephen@cablefree.net Skype: stephenjpatrick Google: >>> cablefree.stephen >>> >>> [image: Facebook] [image: >>> Linkedin] [image: >>> RSS] [image: Youtube] >>> [image: Flickr] >>> [image: Twitter] >>> >>> >>> CAUTION - This message is confidential and may contain privileged >>> information intended only for the use of the addressee named above. If you >>> are not the intended recipient of this message you are hereby notified that >>> any use, dissemination, distribution or reproduction of this message is >>> prohibited. If you have received this message in error please notify >>> Wireless Excellence immediately. Any views expressed in this message are >>> those of the individual sender and may not necessarily reflect the views of >>> Wireless Excellence Ltd. >>> >> > > -- > > *Stephen Patrick* > > *Director* > > > Wireless Excellence Limited > The Oxford Science Park > G6, Magdalen Centre, Robert Robinson Avenue > Oxford OX4 4GA - United Kingdom > > Tel: +44 (0) 870 4959169 Mob: +44 (0)7802 425581 > Email: stephen@cablefree.net Skype: stephenjpatrick Google: > cablefree.stephen > > [image: Facebook] [image: Linkedin] > [image: RSS] > [image: Youtube] > [image: Flickr] > [image: Twitter] > > > CAUTION - This message is confidential and may contain privileged > information intended only for the use of the addressee named above. If you > are not the intended recipient of this message you are hereby notified that > any use, dissemination, distribution or reproduction of this message is > prohibited. If you have received this message in error please notify > Wireless Excellence immediately. Any views expressed in this message are > those of the individual sender and may not necessarily reflect the views of > Wireless Excellence Ltd. >