From owner-freebsd-wireless@FreeBSD.ORG Sun May 19 21:32:44 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 61B51153 for ; Sun, 19 May 2013 21:32:44 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-x233.google.com (mail-wg0-x233.google.com [IPv6:2a00:1450:400c:c00::233]) by mx1.freebsd.org (Postfix) with ESMTP id 00C64AC7 for ; Sun, 19 May 2013 21:32:43 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id b13so4424272wgh.18 for ; Sun, 19 May 2013 14:32:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=MZ1ZkOFP90eYTkp28vgKbwaDGPLBtE8z+xPUP1dHa+g=; b=KtpLUA4Y7+k493BY0VZvJ1fvB5pbPFOTLXpQ0qPyfy5daIO80sDHJjQEHV8ekIfRJ0 oKuB0F4jjzHmu5xXlXDqCpImXQlqoZthPGnGJkaGbIMKDrIzaylOyu1IAFqFISStk4Vg LBaB58lovGyu4WYA4GFbDtPLsxvyX/CHkvjKFEUmMRjpUroerxI6yGBXdPrmPl6/KcA/ k24Abaf6Zgh0x5XMVavdICMLGhuoLqkTNjLho5QdUv+p026kyyOdoy5yLMaWvRXtusIi Vqaxo900Y2KBdPUdyit+e87b9rAbFgxkEilknclHoiAEWHC/o0P07AsivxYWN/h6Zlnb 4i6g== MIME-Version: 1.0 X-Received: by 10.180.72.227 with SMTP id g3mr8071568wiv.1.1368999163143; Sun, 19 May 2013 14:32:43 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.107.9 with HTTP; Sun, 19 May 2013 14:32:42 -0700 (PDT) Date: Sun, 19 May 2013 14:32:42 -0700 X-Google-Sender-Auth: _V9u7Ge4ub4BRFF0NluoMNj5QLo Message-ID: Subject: I (kind of) broke TDMA but it (still) does work From: Adrian Chadd To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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: Sun, 19 May 2013 21:32:44 -0000 Hi, In my recent ibss 11n work I made it automagically promote the channel selection to an 11n channel. For non-11n IBSS nodes that's ok - they won't negotiate 11n and they'll transmit at legacy rates. However, this broke TDMA. TDMA came up fine (AR5416<->AR9280) but traffic suffered. It's because I don't have MCS or A-MPDU support in the tree for this. Luckily it's easy to fix - when you create the TDMA master/slave interface, just disable 11n (add -ht to the create line.) Sam took a shortcut when he wrote the TDMA code - the whole "last_rs" thing needs to die in a fire - ie, we should just tag mbufs with the relevant receive information so we can extract it in the mgmt and TDMA slot update code. But that's going to take a bit more time to figure out. Thanks, Adrian