From owner-freebsd-wireless@freebsd.org Fri Oct 28 02:17:12 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 652E4C23C15 for ; Fri, 28 Oct 2016 02:17:12 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-oi0-x22c.google.com (mail-oi0-x22c.google.com [IPv6:2607:f8b0:4003:c06::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1EF0E379 for ; Fri, 28 Oct 2016 02:17:12 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-oi0-x22c.google.com with SMTP id y2so92397338oie.0 for ; Thu, 27 Oct 2016 19:17:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=VIE5lPuCQcq6ae3tY9b7Amzmuo4Cc67sezftqGBHCTY=; b=L+GZhccwXXk8RZYPl5HuRSGbr0VQRYEInQIQOXEfO2ozZyRdYbgUDCRvI9Q3VJPSLL 1dewvIGXE6uWMcO+RR+1larK7x1JN7APYXHTrSKFskV2iPklZv4TxjB3c/h6WEijDWXy stVp5Y2uaRDBgnEPI8gk5SoLVAf1CxWqy1yyU6Bd2iJ1lSMcZCZKj2qprnL+MPh97xjv F6ET8CQMnJjreS1gEtcJyYV6kkgwMwcLlBWXpkRC+kRFE6UtvjBAz18ryv426mFZNc2z xEmMh6PZTN33fgvQgDKH2J0UXbeAyiPb2VAg5f1pgluuVNlY0OyyTBOKXJ7KqHGG2z0l +YIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=VIE5lPuCQcq6ae3tY9b7Amzmuo4Cc67sezftqGBHCTY=; b=DVCdHUeLrwcQtUeOT8SGOvefbD26dEkP/OTMCWlG09WYlJBHxdblPb59qCwjI1hD0V EGyZfleq062vsh2SdQUSAv1HI5bgIwuELAo9VUZYcsMWrsC6PvXURAamIR8aDfITM2if sI8F2R4fNVYIMrln0JkdO7sRT4mOWEHqOkcJNw14ydwRjLaRZ2NYFu0mbmyJ0YqxjDzT +IDvWa65s7b8y4caBC85Oo2smb1tF2nXLbYUn7x6sUMjNkXGiMM4RMgBgSywVY/QxQN/ SwWDymZFhDCPP7VYWcK756nyBc7aV9ehkq0i/DjjOzj9DoqmfOEWpv2GefQXYtSTz7zU HT2g== X-Gm-Message-State: ABUngvdPKeUREk8ZmMbWzHBKCJR8NOepQ0llOnhaQ1MwC9juoMoH2uKK9R7b7AJLiQd01VeUyFj9ylaEhBKQmQ== X-Received: by 10.107.192.130 with SMTP id q124mr9187454iof.129.1477621031188; Thu, 27 Oct 2016 19:17:11 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.36.39.134 with HTTP; Thu, 27 Oct 2016 19:17:10 -0700 (PDT) From: Adrian Chadd Date: Thu, 27 Oct 2016 19:17:10 -0700 X-Google-Sender-Auth: FKHO0rFb83zoIptlbuSm7ZReBWA Message-ID: Subject: net80211 reviews - 11n IBSS work and crypto offload work To: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 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, 28 Oct 2016 02:17:12 -0000 hiya, I have two new commit reviews: * https://reviews.freebsd.org/D8364 - initial crypto offload for IV/MMIC stripping * https://reviews.freebsd.org/D8365 - IBSS HT awareness The crypto offload is only the initial work - there's some more work to do: * the input path needs to be taught that the ENCRYPTED RX flag is set by FC1_PROTECTED isn't - and that IVs, etc have been stripped * the decrypt modules need to handle key being NULL, so they can just check mbuf flags, etc * the output crypto path needs to be taught to not include CCMP/TKIP IVs. I don't know about WEP IVs yet. The IBSS 11n stuff works well enough in local tests. There are other crashes that happen that happen with normal non-11n - mostly around nodes disappearing/reappearing and states getting out of whack. The ieee80211_ht.c code is just in general missing locking. :( thanks, -adrian