From owner-freebsd-wireless@freebsd.org Sun Nov 29 19:12:48 2015 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 8BC41A3A469 for ; Sun, 29 Nov 2015 19:12:48 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (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 5C9EA1513 for ; Sun, 29 Nov 2015 19:12:48 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iofh3 with SMTP id h3so154532137iof.3 for ; Sun, 29 Nov 2015 11:12:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=/l3wPOaw3e6rc/QLEkYQoe7aVZP7QvY1YjQPoStg7JQ=; b=iNvzmQ11mOsKitMDOuen/1OPGXHluqbUKkIbafjGaNevjD0wgE60+d0ZyTwRt52scx PEMy05PJpdc0HVGugs9sGdSoDenHS5PpOHoGyvMS1kVr2n/lreFoY1ZVuuAnUZYdDTMJ z6wcpmhNipDoZ7ECI7YHW9C5SdBl4YkEjXWbDphG33nYROUklo1q6zbhDrTAfCMh8HY0 6fW7WsG5PVPBtX+v34VkoZN9RABgAGcKq4FVkWWroN9Phv4trG5zz8Tvjax4j6K24+Z6 Wsf1kUoDvY2dHvYUOKJaQ1RoXqIQAFvFdXt7Q6BIala3PQtvC/+ZVCB9admzQfbbasib 3yfw== MIME-Version: 1.0 X-Received: by 10.107.10.199 with SMTP id 68mr52944504iok.75.1448824367656; Sun, 29 Nov 2015 11:12:47 -0800 (PST) Received: by 10.36.217.196 with HTTP; Sun, 29 Nov 2015 11:12:47 -0800 (PST) Date: Sun, 29 Nov 2015 11:12:47 -0800 Message-ID: Subject: ibss encryption works - WPA_NONE From: Adrian Chadd To: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 29 Nov 2015 19:12:48 -0000 hiya! thanks to andriy who already did the work I set out to do last week, we have IBSS + one encryption setup (WPA_NONE.) Here's what I have in a wpa_supplicant.conf file: ap_scan=2 network={ ssid="CACHEBOY_IBSS_ENCRYPT" psk="xxxxxxxxxxxxxxxx" # set ibss mode=1 proto=WPA key_mgmt=WPA-NONE pairwise=NONE group=CCMP } Now, I tested this with ath(4) and fixed a couple of things that I actually broke a few months ago (beacon filter handling.) There are some suboptimal channel configuration configuration issues in how it selects a channel and 11n channel configuration. But, the good news is that we now do /some/ kind of encrypted IBSS. Next up is WPA-RSN encryption for IBSS, which is more along the lines of what linux supports these days. Andriy is apparently looking into the missing pieces of this. I'm going to see if urtwn + IBSS encryption interoperates with ath + IBSS encryption and report back to the list. Thanks, -adrian