From owner-freebsd-wireless@freebsd.org Sun Mar 5 01:25:24 2017 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 B8F53CED6E0 for ; Sun, 5 Mar 2017 01:25:24 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) (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 77A4611E2 for ; Sun, 5 Mar 2017 01:25:24 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-wm0-f48.google.com with SMTP id n11so39995865wma.1 for ; Sat, 04 Mar 2017 17:25:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=/oGwCP5myyXiLnCtl9V4njnjmuRF17XwT5QOY2O1QMg=; b=oe7/wNhCmHcCZ7BkhPl2D5dWhlD7KaW+LVDU03dfOMRLLLk7r40pewBMNykpcGATe7 fzxZ4f02qZHxH4KnXL7G+EM/s+4Ut6k0CczMGdXSdGRJhW0JNA0iKfRDANS6UcLwjCNx zCGuZYm7ow0U9FtZfmyeDjP4w8vijZRdddvT+h29eIkeKSj3/N3vOaAp+7VeVi77E+mE Na5KOspXBai8e+8m34pnl8OnQ1K8rCw3IiPNs8Vo1IsJzJMHYC/L/063ZvCU0qWqlnJU CeK8y5q53q0WD5wotIbGx36xhvr2owB2msltScmUM4RcU/cCWnk3YR50maEh6gOBmsfM 6k2g== X-Gm-Message-State: AMke39kaL9vdepANMDcOGEZwq3iXZQARzPteTqrYWXM289em0ftOzzoz2NyrvG7+rjj88w== X-Received: by 10.28.172.68 with SMTP id v65mr7874000wme.49.1488676631900; Sat, 04 Mar 2017 17:17:11 -0800 (PST) Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com. [74.125.82.50]) by smtp.gmail.com with ESMTPSA id u198sm8942109wmf.9.2017.03.04.17.17.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Mar 2017 17:17:11 -0800 (PST) Received: by mail-wm0-f50.google.com with SMTP id t193so40120397wmt.1 for ; Sat, 04 Mar 2017 17:17:11 -0800 (PST) X-Received: by 10.28.213.142 with SMTP id m136mr8462218wmg.90.1488676631627; Sat, 04 Mar 2017 17:17:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.134.113 with HTTP; Sat, 4 Mar 2017 17:17:11 -0800 (PST) From: Mateusz Piotrowski <0mp@freebsd.org> Date: Sun, 5 Mar 2017 02:17:11 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Doing 802.11ac drivers for GSoC 2017 To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Sun, 05 Mar 2017 01:25:24 -0000 Hi, Recently, I've tried installing FreeBSD on Lenovo Yoga 3 14. It turned out that its wireless device (which uses 802.11ac) support is not there yet according to [1] and [2]. Additionally, Adrian@'s presentation from BSDCan 2012 [3] says "802.11ac support? .. it's rapidly approaching, it should be thought about!" :). Is there any book/website/tutorial which shows how to develop network drivers for FreeBSD? I think that developing a 802.11ac driver seems to be a fine project for Google Summer of Code. On the other hand, I have little experience with drivers so far so it might be a better idea to focus on implementing only a part of required functionalities. Do you think that providing additional support for 802.11ac is good for a GSoC project? Thanks/Cheers! --Mateusz [1]: https://wiki.freebsd.org/WiFi [2]: https://en.wikipedia.org/wiki/IEEE_802.11 [3]: https://www.bsdcan.org/2012/schedule/attachments/207_BSDCan%202012%20-%20802.11%20status%20update.pdf From owner-freebsd-wireless@freebsd.org Sun Mar 5 01:26:11 2017 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 6BBE3CED703 for ; Sun, 5 Mar 2017 01:26:11 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wr0-x234.google.com (mail-wr0-x234.google.com [IPv6:2a00:1450:400c:c0c::234]) (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 044881226; Sun, 5 Mar 2017 01:26:11 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wr0-x234.google.com with SMTP id g10so95261267wrg.2; Sat, 04 Mar 2017 17:26:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=W5wq+ZIkgkJ3IKqfxK22IGTYdtKz5gxd/rsLKlsH3OE=; b=YIN3FR4qB0oSVXypkvNAUaGb3rDkYrWCRAVKgu7U7/HnU8I39Z3n41pkDo7ce5RDVt 6gqA9TYHxISpWVA0lNy01wWQuY6GIqEm5kpoghKy1WqITsoRVDyHWi1S6BhP9DOESArJ nQ3B5HRYBk9vJSVWfpWRzMXh1d2vGF7RMtiYzDyj0TeUxTSGu/4pmkomU91vfaCd1e38 fBI1pihTtfhZ0GpXN6Pf6phAcgiWribE8dPzrxRzIORxy4cgPNI5n//gKxD5LjDzjMbA nHGIYA15+bSrZav7hnCK3Q6ZbldBxzmCMI+PKrPaDw6Q4QKJtlrZRP15YY58CyGW+K9m ibUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=W5wq+ZIkgkJ3IKqfxK22IGTYdtKz5gxd/rsLKlsH3OE=; b=GncHt0D2apm12gViU7dC7Cq84tKKaqi0dQD1uecSi5fIY0dJtKNcrQX+0XWM20p/4Z hPIY6HiXn9kTC67PMf4N1lEs4z5Dwqe7H7eQ2QHvUGXZciA1fEFC0unppQaDGuj3E+T3 lk8APZKFYTiU59ZWwyKGY5+gIsWg7boCfbyInDFIydNLzmOQVz4wMO84i8PTMwvQpkvR eMotkYNz8QmTAqwDm5Hn3uExK8i7Tg42qc0k3H/2dyk2Ro6x6ra5thJLxByUlwqHoQXw 06ePESU3UXPprR9aoOwPT9UscBpyLjmsUY7n7D227FO+FJ+xJ/hJZbQ/obCuw6PhrQtu xN3Q== X-Gm-Message-State: AMke39ltEL9c9NEfR9zwgtGhBI3GzuzQfCk+wWkgc+Pih/ewW7wQdRFfN8TkVA6d+sQWGQUSaMmoEHlDaNPfYA== X-Received: by 10.223.183.6 with SMTP id l6mr8296786wre.60.1488677169298; Sat, 04 Mar 2017 17:26:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.128.133 with HTTP; Sat, 4 Mar 2017 17:26:08 -0800 (PST) In-Reply-To: References: From: Adrian Chadd Date: Sat, 4 Mar 2017 17:26:08 -0800 Message-ID: Subject: Re: Doing 802.11ac drivers for GSoC 2017 To: Mateusz Piotrowski <0mp@freebsd.org> Cc: "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: Sun, 05 Mar 2017 01:26:11 -0000 hiya! Which chipset is it! porting a driver is a big task, but it all depends on what it is! -adrian On 4 March 2017 at 17:17, Mateusz Piotrowski <0mp@freebsd.org> wrote: > Hi, > > Recently, I've tried installing FreeBSD on Lenovo Yoga 3 14. It turned out > that > its wireless device (which uses 802.11ac) support is not there yet > according to > [1] and [2]. Additionally, Adrian@'s presentation from BSDCan 2012 [3] says > "802.11ac support? .. it's rapidly approaching, it should be thought > about!" :). > > Is there any book/website/tutorial which shows how to develop network > drivers > for FreeBSD? > > I think that developing a 802.11ac driver seems to be a fine project for > Google > Summer of Code. On the other hand, I have little experience with drivers so > far > so it might be a better idea to focus on implementing only a part of > required > functionalities. Do you think that providing additional support for > 802.11ac is > good for a GSoC project? > > Thanks/Cheers! > > --Mateusz > > [1]: https://wiki.freebsd.org/WiFi > [2]: https://en.wikipedia.org/wiki/IEEE_802.11 > [3]: > https://www.bsdcan.org/2012/schedule/attachments/207_BSDCan%202012%20-%20802.11%20status%20update.pdf > _______________________________________________ > 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" From owner-freebsd-wireless@freebsd.org Sun Mar 5 02:01:31 2017 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 9204ACEDFF1 for ; Sun, 5 Mar 2017 02:01:31 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) (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 292271F9E for ; Sun, 5 Mar 2017 02:01:30 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-wm0-f45.google.com with SMTP id n11so40405473wma.0 for ; Sat, 04 Mar 2017 18:01:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Mu0zh+YLbNmJNm/28M8q/85RmjDjfdG2z7XiiKaXKgI=; b=ZcE083u32vnZg5Z53FXxKM/Wu3JP1hZOZBdtQcLu7UOnmypS2xP/q+XINZ+88iJNAB VeLRhJBO3vaK5u0nbhB3vJHgmfRIXOzoefUhXqe/ysKOl5LMu3CP7Xe3+HQK/mqarbfe P1ZvfY7FgoOzhNo/Vl6t+ZhK1q+h6c5/4oYWQLfiXA6+Q2vR1pO9UJ4UNF+KOi43un9f Fg8crKVqXg2DZ5yYT8VNNITnPdNB+Z1zNSu7mHxFBTcepmZ52vAhB3NUuoqLQ25GXwdh kt2bEe066S74y6oASirqiqyofTIPGA9VPhecSs0D9lc4ciWdvTfu0ZmNi6Z7/w70hmpM vK0A== X-Gm-Message-State: AMke39lhrLc4mbz+/6k5EJyDMYwgo1TBahEeqtNGEUrshov0PnfVq11Bu03REGlhjKSXsA== X-Received: by 10.28.198.132 with SMTP id w126mr8304021wmf.69.1488678855618; Sat, 04 Mar 2017 17:54:15 -0800 (PST) Received: from mail-wr0-f169.google.com (mail-wr0-f169.google.com. [209.85.128.169]) by smtp.gmail.com with ESMTPSA id i203sm8988728wmf.12.2017.03.04.17.54.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Mar 2017 17:54:15 -0800 (PST) Received: by mail-wr0-f169.google.com with SMTP id g10so95410905wrg.2 for ; Sat, 04 Mar 2017 17:54:14 -0800 (PST) X-Received: by 10.223.130.214 with SMTP id 80mr9124069wrc.43.1488678854802; Sat, 04 Mar 2017 17:54:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.134.113 with HTTP; Sat, 4 Mar 2017 17:54:14 -0800 (PST) In-Reply-To: References: From: Mateusz Piotrowski <0mp@freebsd.org> Date: Sun, 5 Mar 2017 02:54:14 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Doing 802.11ac drivers for GSoC 2017 To: Adrian Chadd Cc: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Sun, 05 Mar 2017 02:01:31 -0000 Hi, I'm not quite sure where should I look for the information. I'm on Linux at the moment and here's the output of several commands: `lshw -class network`: description: Wireless interface product: Wireless 3160 vendor: Intel Corporation ... capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=iwlwifi driverversion=4.8.0-40-generic firmware=17.352738.0 ip=192.168.1.105 latency=0 link=yes multicast=yes wireless=IEEE 802.11 resources: irq:52 memory:e4000000-e4001fff `lspci -vv -s 02:00.0`: 02:00.0 Network controller: Intel Corporation Wireless 3160 (rev 93) Subsystem: Intel Corporation Dual Band Wireless AC 3160 ... Kernel driver in use: iwlwifi Kernel modules: iwlwifi Thanks! :) ! --Mateusz On 5 March 2017 at 02:26, Adrian Chadd wrote: > hiya! > > Which chipset is it! > > porting a driver is a big task, but it all depends on what it is! > > > > -adrian > > > On 4 March 2017 at 17:17, Mateusz Piotrowski <0mp@freebsd.org> wrote: > > Hi, > > > > Recently, I've tried installing FreeBSD on Lenovo Yoga 3 14. It turned > out > > that > > its wireless device (which uses 802.11ac) support is not there yet > > according to > > [1] and [2]. Additionally, Adrian@'s presentation from BSDCan 2012 [3] > says > > "802.11ac support? .. it's rapidly approaching, it should be thought > > about!" :). > > > > Is there any book/website/tutorial which shows how to develop network > > drivers > > for FreeBSD? > > > > I think that developing a 802.11ac driver seems to be a fine project for > > Google > > Summer of Code. On the other hand, I have little experience with drivers > so > > far > > so it might be a better idea to focus on implementing only a part of > > required > > functionalities. Do you think that providing additional support for > > 802.11ac is > > good for a GSoC project? > > > > Thanks/Cheers! > > > > --Mateusz > > > > [1]: https://wiki.freebsd.org/WiFi > > [2]: https://en.wikipedia.org/wiki/IEEE_802.11 > > [3]: > > https://www.bsdcan.org/2012/schedule/attachments/207_ > BSDCan%202012%20-%20802.11%20status%20update.pdf > > _______________________________________________ > > 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" > From owner-freebsd-wireless@freebsd.org Sun Mar 5 02:01:46 2017 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 4311ECF701F for ; Sun, 5 Mar 2017 02:01:46 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (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 CE2251FF5; Sun, 5 Mar 2017 02:01:45 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm0-x22b.google.com with SMTP id n11so40217428wma.1; Sat, 04 Mar 2017 18:01:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=H1GBOFaqW3gUa8q9lVpmtnoK+aRGdIc0r/PVf6ywp+U=; b=NKF38B7G1FAi917w07+7kkjxv+NIocEVu9oVzizfEbPfBMgU85OePV1gLJLMz0sbHG gaNi8vIy9jGTLETKK2NbLdslt8BBO3qgtmcY6lpghJYW/4nRwug11UeIpNEPO4X06MFh w02zN51mwjStHx97JcsO6pirpHCpLFaZu1PY9IvwX5++Mv1++Anr1Z4YeHNpIgU8dtza WiiBJfJRw6JUrR8FDhcdtpsiGJMd9w+K1bgYY0pWKg5iZkHjDU64ayk/9+FrnFHKPBhk eGrdQxvH20Cx+tg1tDcMrvJOPi+SZbA6JjdwrpjXdTfMLIrZz0UQiXZUs1DLcB3CSJQ4 CtUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=H1GBOFaqW3gUa8q9lVpmtnoK+aRGdIc0r/PVf6ywp+U=; b=extFYDTBNxbtg8G4IS5wnNgUPWRWUPkskc1ANXV5NgeGmBtvoxW2uElbcNOffxcHIJ yIb3q55Xvt94GVdynp2lrQixinxLmXR8O4GbjQ/Fl+MATbly4U4lJJez20IqP0grnqdx h4QRtuVm3mM8CaPwEfn/rqlw2nAdJGEfOFbr6znSpPGrttEOI8ExE0rFXbzFvhHoZPry ILdBn4Xbb+Y3TfBTrZJKDXUkcpM8Ji8lUGngN+hXt0KJx9AB6KTHhE/6f4wxQpywXUcK jte6cK4Nqh1rq11nS7CdqIBJ9E/uR0QLjsKayTlOhgL3CBzPT00tSwQeri4ZZ8VLX5Ai o9ng== X-Gm-Message-State: AMke39nCJkOsLWtkaz4o1c9AvkzhVDyShknooF9cnhG5goxBebtnjmB2jk/b1HBhkIulTGp/9aIlgFRuH7nKSA== X-Received: by 10.28.107.13 with SMTP id g13mr8018512wmc.105.1488679303215; Sat, 04 Mar 2017 18:01:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.128.133 with HTTP; Sat, 4 Mar 2017 18:01:42 -0800 (PST) In-Reply-To: References: From: Adrian Chadd Date: Sat, 4 Mar 2017 18:01:42 -0800 Message-ID: Subject: Re: Doing 802.11ac drivers for GSoC 2017 To: Mateusz Piotrowski <0mp@freebsd.org> Cc: "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: Sun, 05 Mar 2017 02:01:46 -0000 hi! Ok! So there's already a driver, iwm, and hopefully slowly it'll grow 11n and 11ac support. Right now it just supports 11a and 11bg. I'm updating our driver to sync with dragonflybsd and hopefully that'll pull in intel 3160 support if it's not already working! The good news here though is you don't have to start from a blank slate as we already have a working driver. :) So, if you'd like to propose say, adding 11n and maybe 11ac to iwm, then I could be on board with that. We'd want to check with the other maintainers though since they may have some plans too :) -adrian On 4 March 2017 at 17:54, Mateusz Piotrowski <0mp@freebsd.org> wrote: > Hi, > > I'm not quite sure where should I look for the information. I'm on Linux at > the moment and here's the output of several commands: > > `lshw -class network`: > > description: Wireless interface > product: Wireless 3160 > vendor: Intel Corporation > ... > capabilities: pm msi pciexpress bus_master cap_list ethernet physical > wireless > configuration: broadcast=yes driver=iwlwifi > driverversion=4.8.0-40-generic firmware=17.352738.0 ip=192.168.1.105 > latency=0 link=yes multicast=yes wireless=IEEE 802.11 > resources: irq:52 memory:e4000000-e4001fff > > > `lspci -vv -s 02:00.0`: > > 02:00.0 Network controller: Intel Corporation Wireless 3160 (rev 93) > Subsystem: Intel Corporation Dual Band Wireless AC 3160 > ... > Kernel driver in use: iwlwifi > Kernel modules: iwlwifi > > Thanks! :) ! > > --Mateusz > > > On 5 March 2017 at 02:26, Adrian Chadd wrote: >> >> hiya! >> >> Which chipset is it! >> >> porting a driver is a big task, but it all depends on what it is! >> >> >> >> -adrian >> >> >> On 4 March 2017 at 17:17, Mateusz Piotrowski <0mp@freebsd.org> wrote: >> > Hi, >> > >> > Recently, I've tried installing FreeBSD on Lenovo Yoga 3 14. It turned >> > out >> > that >> > its wireless device (which uses 802.11ac) support is not there yet >> > according to >> > [1] and [2]. Additionally, Adrian@'s presentation from BSDCan 2012 [3] >> > says >> > "802.11ac support? .. it's rapidly approaching, it should be thought >> > about!" :). >> > >> > Is there any book/website/tutorial which shows how to develop network >> > drivers >> > for FreeBSD? >> > >> > I think that developing a 802.11ac driver seems to be a fine project for >> > Google >> > Summer of Code. On the other hand, I have little experience with drivers >> > so >> > far >> > so it might be a better idea to focus on implementing only a part of >> > required >> > functionalities. Do you think that providing additional support for >> > 802.11ac is >> > good for a GSoC project? >> > >> > Thanks/Cheers! >> > >> > --Mateusz >> > >> > [1]: https://wiki.freebsd.org/WiFi >> > [2]: https://en.wikipedia.org/wiki/IEEE_802.11 >> > [3]: >> > >> > https://www.bsdcan.org/2012/schedule/attachments/207_BSDCan%202012%20-%20802.11%20status%20update.pdf >> > _______________________________________________ >> > 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" > > From owner-freebsd-wireless@freebsd.org Sun Mar 5 10:06:14 2017 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 53E5ACF96C6 for ; Sun, 5 Mar 2017 10:06:14 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-wr0-f171.google.com (mail-wr0-f171.google.com [209.85.128.171]) (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 E49AC1CBE for ; Sun, 5 Mar 2017 10:06:13 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-wr0-f171.google.com with SMTP id l37so98622944wrc.1 for ; Sun, 05 Mar 2017 02:06:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=WxhSFla6xktXeXPeUCd4UCGJT+hCnVY8FY2Y54WDVnc=; b=uT1iNEVP4mzaDat4az7crOenykANvnHUKVq25aPrXU/6zAmcW1PtQN4wW2+MaA68um sU2oNboay8AynQEGGcOga3k1zbVmDSWYc5zWvNn/2RuRI991MF9PRGOR1KivsSn5Vilt dc8OD7Wen9GHWYhRFqO2Z4N6RC04fxtOLtIHi5D8wm6UgbBtrojYKsluoixfXzHIxcK7 u/eIEL3aH6C/aKEpjZIpwbCtxNV5a8br/g+wIK1LvrhD5mcl9AI0BTzAE76lSKJkSOiF yEx/bk0iR8Cyfiz4nqSABljOlskEV0SSEynCxAgiGDCWg0DBzWJIuZ3g7fsr/jfwmCUi NmKw== X-Gm-Message-State: AMke39kJNiWBUCMIBBK/vG6aqXaVbvcdcSMuLBscUUdCgzjuZe0j5r+bf22lC9EZ94KQQA== X-Received: by 10.223.153.17 with SMTP id x17mr9700540wrb.55.1488708365517; Sun, 05 Mar 2017 02:06:05 -0800 (PST) Received: from mail-wr0-f175.google.com (mail-wr0-f175.google.com. [209.85.128.175]) by smtp.gmail.com with ESMTPSA id x133sm10289085wme.22.2017.03.05.02.06.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Mar 2017 02:06:05 -0800 (PST) Received: by mail-wr0-f175.google.com with SMTP id u48so98583810wrc.0 for ; Sun, 05 Mar 2017 02:06:05 -0800 (PST) X-Received: by 10.223.139.68 with SMTP id v4mr10625564wra.70.1488708365103; Sun, 05 Mar 2017 02:06:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.134.113 with HTTP; Sun, 5 Mar 2017 02:06:04 -0800 (PST) In-Reply-To: References: From: Mateusz Piotrowski <0mp@freebsd.org> Date: Sun, 5 Mar 2017 11:06:04 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Doing 802.11ac drivers for GSoC 2017 To: Adrian Chadd Cc: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Sun, 05 Mar 2017 10:06:14 -0000 Hi! On 5 March 2017 at 03:01, Adrian Chadd wrote: > hi! > > Ok! So there's already a driver, iwm, and hopefully slowly it'll grow > 11n and 11ac support. Right now it just supports 11a and 11bg. I'm > updating our driver to sync with dragonflybsd and hopefully that'll > pull in intel 3160 support if it's not already working! The good news > here though is you don't have to start from a blank slate as we > already have a working driver. :) > Oh! That's pretty cool I guess. > So, if you'd like to propose say, adding 11n and maybe 11ac to iwm, > then I could be on board with that. Could you kindly suggest me a reference to learn about the driver development? The whole idea sounds great but I'm not sure how am I supposed to start. I've only browsed the web (without much success) and scanned through Kevin's rtwn-rtl8192eu.diff [4] (as one of the wifi interfaces I use benefits from it). Or should my reading list consist m mainly of what I can find in the FreeBSD source code? > We'd want to check with the other > maintainers though since they may have some plans too :) > Sure! --Mateusz [4]: https://people.freebsd.org/~kevlo/rtwn-rtl8192eu.diff From owner-freebsd-wireless@freebsd.org Sun Mar 5 21:00:14 2017 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 9279CCFA47D for ; Sun, 5 Mar 2017 21:00:14 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 891D9139A for ; Sun, 5 Mar 2017 21:00:14 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v25L01Gw038950 for ; Sun, 5 Mar 2017 21:00:14 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201703052100.v25L01Gw038950@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-wireless@FreeBSD.org Subject: Problem reports for freebsd-wireless@FreeBSD.org that need special attention Date: Sun, 05 Mar 2017 21:00:14 +0000 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: Sun, 05 Mar 2017 21:00:14 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 206801 | iwn(4) page fault on netif restart Open | 154598 | [ath] Atheros 5424/2424 can't connect to WPA netw Open | 163312 | [panic] [ath] kernel panic: page fault with ath0 Open | 166190 | [ath] TX hangs and frames stuck in TX queue Open | 166357 | [ath] 802.11n TX stall when the first frame in th Open | 169362 | [ath] AR5416: radar pulse PHY errors sometimes in Open | 169433 | [iwn] iwn(4) doesn't support 6235 chip. Open | 211689 | panic with lagg failover wireless ath and iwm 8 problems total for which you should take action. From owner-freebsd-wireless@freebsd.org Mon Mar 6 18:05:57 2017 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 A7864CFB164; Mon, 6 Mar 2017 18:05:57 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-ot0-x229.google.com (mail-ot0-x229.google.com [IPv6:2607:f8b0:4003:c0f::229]) (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 7087F1519; Mon, 6 Mar 2017 18:05:57 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: by mail-ot0-x229.google.com with SMTP id i1so118562661ota.3; Mon, 06 Mar 2017 10:05:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=ersgqQ5YCWC0FgQq4V12GgNTdUEfr/8kmKYKUfOksw0=; b=mLzBgkhBhLCoMpeCH06BAzAgUU42N3ne7FaxLmyx6ALOrcwM4cmojYZkHIrLkFP0u3 Yv7nVIG3OiRaHlAbf5jTMJTzlt1TJeT+mAsrQr+Bc8l12ZmPkXNngIg5R4tILH7oHxN4 ZwZHnOWP97vrBCv3W0XoQ18JbYGcvKDco8v6Gn5IglTzXb3DHUnRpOydKee6h6WQ1rY9 0CWxGpUcLZmN1HuFwG62Aox5IXrQ2Mj66YHoHSDIImwk3iLFdAE6x0BFr3ovXIk4356e 7d0bzDpFQjg0R3c+9PiyjSSFVwcoSmchbVSZ4vvo0l62jfRc+55n8u4nRirKmWML9C6G FGIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=ersgqQ5YCWC0FgQq4V12GgNTdUEfr/8kmKYKUfOksw0=; b=ZK2Jy5CQlWXi5ueUdZZjge1VffxPGjTku1/Ol/RLB13bDFmR32ovtlbwILhjIX7min Mc+c1RDeInrfZquPz/SxQOwY+nAh6cl/ObRDzqamNaQEqyh7KVpF3e9wh8wPblZ1teSs w9b5dPG6nEgCeiHiMEUmrhyVyU4UE5t5abOLsKu3dGArgsvrqUk8Tt+P8E+5Isi4cZTJ DReWs4ZTY/PdB8PddsEn2Ws16X2MESGgdQ44Pk8Wo47YZ55C4StXzf9sagjioy5qI0Vi CqHieS+r/1rLuzyUKR1IrPWnbjXidqAcz3RVBRUyMFO4ynGjAnBhVGFEJOsGaD1/z+LH igmw== X-Gm-Message-State: AMke39l//VLIn1qvHKxOP/A0f50fWU63a/4+p2CmYUNMoq7xJ47WLnouDfp1Uyq8mo9Dl0TCVheRcrZbbW7hrw== X-Received: by 10.157.44.243 with SMTP id e48mr8405497otd.70.1488823556596; Mon, 06 Mar 2017 10:05:56 -0800 (PST) MIME-Version: 1.0 Sender: tomek.cedro@gmail.com Received: by 10.157.18.211 with HTTP; Mon, 6 Mar 2017 10:05:36 -0800 (PST) From: Tomasz CEDRO Date: Mon, 6 Mar 2017 19:05:36 +0100 X-Google-Sender-Auth: JLeALaeQo0xbr8f1M9Edvb1WIPA Message-ID: Subject: IWN 6200 FW To: FreeBSD Questions Mailing List , 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: Mon, 06 Mar 2017 18:05:57 -0000 Hello world! :-) I just got the Panasonic CF-F9 laptop with Intel Centrino 6200 WiFi card. Card is invisible by default on the raw system. I guess I need to put somewhere a dedicated firmware for this particular card..? I just wonder why there are other firmware modules available but not for this particular card? Would that be possible to add this firmware so interface is visible on a bare base system? Best regards, Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-wireless@freebsd.org Thu Mar 9 06:57:37 2017 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 F1193D0437A for ; Thu, 9 Mar 2017 06:57:37 +0000 (UTC) (envelope-from freebsd-wifi@sentry.org) Received: from shadow.sentry.org (shadow.sentry.org [220.233.87.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "shadow.sentry.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 98A5D1925 for ; Thu, 9 Mar 2017 06:57:36 +0000 (UTC) (envelope-from freebsd-wifi@sentry.org) Received: from shadow.sentry.org (localhost [127.0.0.1]) by shadow.sentry.org (8.15.2/8.15.2) with ESMTP id v296tVNP040436 for ; Thu, 9 Mar 2017 17:55:31 +1100 (AEDT) (envelope-from freebsd-wifi@sentry.org) To: freebsd-wireless@freebsd.org From: Trev Subject: Mac Mini late 2009 BCM4321 issues :) Message-ID: <6e188362-fad7-4dee-967b-1280ebe8978e@sentry.org> Date: Thu, 9 Mar 2017 17:55:31 +1100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (shadow.sentry.org [127.0.0.1]); Thu, 09 Mar 2017 17:55:31 +1100 (AEDT) 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: Thu, 09 Mar 2017 06:57:38 -0000 1A, uname -a shows: FreeBSD citadel.sentry.org 11.0-STABLE FreeBSD 11.0-STABLE #0 \ r314907M: Thu Mar 9 04:26:47 AEDT 2017 \ root@citadel.sentry.org:/usr/obj/usr/src/sys/GENERIC amd64 1B. dmesg shows: siba_bwn0: \ mem 0xd3200000-0xd3203fff at device 0.0 on pci3 siba_bwn0: warn: multiple PCI(E) cores siba_bwn0: unsupported coreid (USB 1.1 Host) bwn0 on siba_bwn0 bwn0: WLAN (chipid 0x4321 rev 12) PHY (analog 5 type 4 rev 2) \ RADIO (manuf 0x17f ver 0x2055 rev 4) bwn0: DMA (64 bits) bwn0: Note: compiled with BWN_GPL_PHY; includes GPLv2 code bwn0: Using 1 MSI messages 2. wpa_supplicant.conf contains: network={ ssid="WLAN24G" psk="my_password" } 3, wlan0 is created with: ifconfig wlan0 create wlandev bwn0 wlanaddr 48:02:2a:63:4e:c1 \ inet 192.168.1.99 channel 3 Note: Unless I specify a wlanaddr then wlan0 is created with a mac address of ff:ff:ff:ff:ff:ff 4. ifconfig wlan0 shows: wlan0: flags=8c02 metric 0 mtu 1500 ether 48:02:2a:63:4e:c1 inet 192.168.1.99 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::4a02:2aff:fe63:4ec1%wlan0 prefixlen 64 tentative scopeid 0x3 nd6 options=21 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid "" channel 3 (2422 MHz 11g) regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss 7 scanvalid 60 protmode CTS wme groups: wlan 5. ifconfig wlan0 scan shows (among others): SSID/MESH ID BSSID CHAN RATE S:N INT CAPS WLAN24G 34:31:c4:bc:d0:21 3 54M -77:-95 100 EPS HTCAP WME ATH RSN 5. wpa_supplicant -dd -i wlan0 -c /etc/wpa_supplicant.conf produces: wpa_supplicant v2.5 Successfully initialized wpa_supplicant Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' Line: 5 - start of a new network block ssid - hexdump_ascii(len=7): 57 4c 41 4e 32 34 47 WLAN24G PSK (ASCII passphrase) - hexdump_ascii(len=16): [REMOVED] PSK (from passphrase) - hexdump(len=32): [REMOVED] Priority group 0 id=0 ssid='WLAN24G' wpa_driver_bsd_capa: drivercaps=0x0581e801,cryptocaps=0x00000000 Add interface wlan0 to a new radio N/A wlan0: Own MAC address: 48:02:2a:63:4e:c1 bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=0 bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=1 bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=2 bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=3 wpa_driver_bsd_set_countermeasures: enabled=0 wlan0: RSN: flushing PMKID list in the driver wlan0: Setting scan request: 0.100000 sec wlan0: WPS: UUID based on MAC address: dbcf9172-a2c4-5074-bfc2-05bfaecc535f ENGINE: Loading dynamic engine ENGINE: Loading dynamic engine EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: Supplicant port status: Unauthorized EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED wlan0: Added interface wlan0 wlan0: State: DISCONNECTED -> DISCONNECTED wlan0: State: DISCONNECTED -> SCANNING wlan0: Starting AP scan for wildcard SSID wlan0: Add radio work 'scan'@0x801ce4000 wlan0: First radio work item in the queue - schedule start immediately wlan0: Starting radio work 'scan'@0x801ce4000 after 0.000012 second wait wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 wlan0: Event SCAN_RESULTS (3) received Received 868 bytes of scan results (4 BSSes) wlan0: BSS: Start scan result update 1 wlan0: BSS: Add new id 0 BSSID 48:02:2a:61:6a:24 SSID 'router-2' freq 2422 wlan0: BSS: Add new id 1 BSSID 48:02:2a:63:4e:c0 SSID 'router-3' freq 2422 wlan0: BSS: Add new id 2 BSSID 34:31:c4:bc:d0:21 SSID 'WLAN24G' freq 2422 wlan0: BSS: Add new id 3 BSSID 44:33:4c:b5:d3:68 SSID 'router-4' freq 2422 BSS: last_scan_res_used=4/32 wlan0: New scan results available (own=0 ext=0) wlan0: Radio work 'scan'@0x801ce4000 done in 0.212149 seconds wlan0: Selecting BSS from priority group 0 wlan0: 0: 48:02:2a:61:6a:24 ssid='router-2' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-66 freq=2422 wlan0: skip - SSID mismatch wlan0: 1: 48:02:2a:63:4e:c0 ssid='router-3' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-69 freq=2422 wlan0: skip - SSID mismatch wlan0: 2: 34:31:c4:bc:d0:21 ssid='WLAN24G' wpa_ie_len=0 rsn_ie_len=20 caps=0x31 level=-77 freq=2422 wlan0: selected based on RSN IE wlan0: selected BSS 34:31:c4:bc:d0:21 ssid='WLAN24G' wlan0: Considering connect request: reassociate: 0 selected: 34:31:c4:bc:d0:21 bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_state: SCANNING ssid=0x801c45000 current_ssid=0x0 wlan0: Request association with 34:31:c4:bc:d0:21 wlan0: Add radio work 'connect'@0x801ce4000 wlan0: First radio work item in the queue - schedule start immediately wlan0: Starting radio work 'connect'@0x801ce4000 after 0.000009 second wait wlan0: Trying to associate with 34:31:c4:bc:d0:21 (SSID='WLAN24G' freq=2422 MHz) FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=0): wlan0: Cancelling scan request wlan0: WPA: clearing own WPA/RSN IE wlan0: Automatic auth_alg selection: 0x1 RSN: PMKSA cache search - network_ctx=0x801c45000 try_opportunistic=0 RSN: Search for BSSID 34:31:c4:bc:d0:21 RSN: No PMKSA cache entry found wlan0: RSN: using IEEE 802.11i/D9.0 wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2 wlan0: WPA: clearing AP WPA IE WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 wlan0: WPA: using GTK CCMP wlan0: WPA: using PTK CCMP wlan0: WPA: using KEY_MGMT WPA-PSK WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 wlan0: State: SCANNING -> ASSOCIATING Limit connection to BSSID 34:31:c4:bc:d0:21 freq=2422 MHz based on scan results (bssid_set=0) wpa_driver_bsd_associate: ssid 'WLAN24G' wpa ie len 22 pairwise 16 group 16 key mgmt 2 wpa_driver_bsd_set_drop_unencrypted: enabled=1 bsd_set_opt_ie: set WPA+RSN ie (len 22) wpa_driver_bsd_associate: set PRIVACY 1 wlan0: Setting authentication timeout: 10 sec 0 usec EAPOL: External notification - EAP success=0 EAPOL: External notification - EAP fail=0 EAPOL: External notification - portControl=Auto EAPOL: disable timer tick wlan0: Authentication with 34:31:c4:bc:d0:21 timed out. Added BSSID 34:31:c4:bc:d0:21 into blacklist wlan0: WPA: Clear old PMK and PTK wlan0: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=34:31:c4:bc:d0:21 reason=3 state=ASSOCIATING wlan0: Event DEAUTH (12) received wlan0: Deauthentication notification wlan0: * reason 3 (locally generated) Deauthentication frame IE(s) - hexdump(len=0): [NULL] wlan0: CTRL-EVENT-DISCONNECTED bssid=34:31:c4:bc:d0:21 reason=3 locally_generated=1 wlan0: Auto connect enabled: try to reconnect (wps=0/0 wpa_state=5) wlan0: Setting scan request: 0.100000 sec wlan0: Radio work 'connect'@0x801ce4000 done in 10.022229 seconds [etc] and never manages to associate successfully. Any ideas? Thanks, TREV. From owner-freebsd-wireless@freebsd.org Thu Mar 9 07:01:22 2017 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 EB211D045A1 for ; Thu, 9 Mar 2017 07:01:22 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (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 787881C0B for ; Thu, 9 Mar 2017 07:01:22 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm0-x235.google.com with SMTP id t189so48187422wmt.1 for ; Wed, 08 Mar 2017 23:01:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0UotUjrzq5p2/S8PFVkCMDGiS6SYRe/6BWvrExSE4hM=; b=gtiWEGJuncXsao1vz4oaanvjKhunrCGIdyLkp4kHiez07zWiHpW2DMNelOb+DDEjN1 Jvs1siP/Hai0cA0wt9PdDNZD9/QRp9enl8u8Q0tNYLIqq/8ZcFhZeYMfAqw2Tp9dxSJ4 6SdAcZr2mZnLavxghOoIL1Kzpq9PvzsY/aPgnzAH4t5q8R7BeptMU7t+sKp8/5d1GNSw jpNyW5ZFMejdpKVG3zETOUzUQxm4DFm+vC2kfA1FYQ5P0KatWMyE82UOaMrEh3SUiQmm oaaVS4dB9zYY4K0aDQHv/5hI32Kr7pGACR/ycqZGOHMupCJw+idStkNCawyZQkRbLZql RsEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=0UotUjrzq5p2/S8PFVkCMDGiS6SYRe/6BWvrExSE4hM=; b=cw2uQtM4DPkjBBqoPnVCvfl0jmUemiFD0zq3Ek5sC751TbzFtNeOximf6m71WP1ER/ ZxXxc21kPqxU8oXr0NwwbJajX9Q7A+56twe3/UCKiuzeltASI64saApP+2XVAP5t3GkF dQK7nB6R+bqEiGyeI+M5w+M+K5ga8AbrJEld95j3EGtOi8ICu0N0VXJpbkj3+upmWGEy SWGxeygdpkXf477PCfZ/lhXFkzTwLD4V4wWWqxJhw3lLNCbqPxdLnUUme1GLKXelfYUI LDxMMYqb+0R2rUh2N6NDqXDN8nkB9kMmb4F9n+otnVQfHnBpDVaRRA8vyd78faR3J25K WlKQ== X-Gm-Message-State: AMke39lIDS3+S8v41Dz0S/hT5lXGM5N3CLpFj0XunSsw15IhI8+ga6KFl4QUXOpOCT0fRS07kOXVG+AJhG+aWw== X-Received: by 10.28.107.14 with SMTP id g14mr27850338wmc.106.1489042880068; Wed, 08 Mar 2017 23:01:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.128.133 with HTTP; Wed, 8 Mar 2017 23:01:19 -0800 (PST) In-Reply-To: <6e188362-fad7-4dee-967b-1280ebe8978e@sentry.org> References: <6e188362-fad7-4dee-967b-1280ebe8978e@sentry.org> From: Adrian Chadd Date: Wed, 8 Mar 2017 23:01:19 -0800 Message-ID: Subject: Re: Mac Mini late 2009 BCM4321 issues :) To: Trev Cc: "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: Thu, 09 Mar 2017 07:01:23 -0000 hiya, CAn you try freebsd-head? I'm sure I fixed bwn enough to work in freebsd-head. I don't know how things could've broken in freebsd-11 though! -adrian On 8 March 2017 at 22:55, Trev wrote: > 1A, uname -a shows: > > FreeBSD citadel.sentry.org 11.0-STABLE FreeBSD 11.0-STABLE #0 \ > r314907M: Thu Mar 9 04:26:47 AEDT 2017 \ > root@citadel.sentry.org:/usr/obj/usr/src/sys/GENERIC amd64 > > > 1B. dmesg shows: > > siba_bwn0: \ > mem 0xd3200000-0xd3203fff at device 0.0 on pci3 > siba_bwn0: warn: multiple PCI(E) cores > siba_bwn0: unsupported coreid (USB 1.1 Host) > bwn0 on siba_bwn0 > bwn0: WLAN (chipid 0x4321 rev 12) PHY (analog 5 type 4 rev 2) \ > RADIO (manuf 0x17f ver 0x2055 rev 4) > bwn0: DMA (64 bits) > bwn0: Note: compiled with BWN_GPL_PHY; includes GPLv2 code > bwn0: Using 1 MSI messages > > > 2. wpa_supplicant.conf contains: > > network={ > ssid="WLAN24G" > psk="my_password" > } > > > 3, wlan0 is created with: > > ifconfig wlan0 create wlandev bwn0 wlanaddr 48:02:2a:63:4e:c1 \ > inet 192.168.1.99 channel 3 > > Note: Unless I specify a wlanaddr then wlan0 is created with a mac address > of ff:ff:ff:ff:ff:ff > > > 4. ifconfig wlan0 shows: > > wlan0: flags=8c02 metric 0 mtu 1500 > ether 48:02:2a:63:4e:c1 > inet 192.168.1.99 netmask 0xffffff00 broadcast 192.168.1.255 > inet6 fe80::4a02:2aff:fe63:4ec1%wlan0 prefixlen 64 tentative scopeid > 0x3 > nd6 options=21 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > ssid "" channel 3 (2422 MHz 11g) > regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss > 7 > scanvalid 60 protmode CTS wme > groups: wlan > > > 5. ifconfig wlan0 scan shows (among others): > SSID/MESH ID BSSID CHAN RATE S:N INT CAPS > WLAN24G 34:31:c4:bc:d0:21 3 54M -77:-95 100 EPS HTCAP WME > ATH RSN > > > 5. wpa_supplicant -dd -i wlan0 -c /etc/wpa_supplicant.conf produces: > > wpa_supplicant v2.5 > Successfully initialized wpa_supplicant > Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver > 'default' ctrl_interface 'N/A' bridge 'N/A' > Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' > Reading configuration file '/etc/wpa_supplicant.conf' > Line: 5 - start of a new network block > ssid - hexdump_ascii(len=7): > 57 4c 41 4e 32 34 47 WLAN24G > PSK (ASCII passphrase) - hexdump_ascii(len=16): [REMOVED] > PSK (from passphrase) - hexdump(len=32): [REMOVED] > Priority group 0 > id=0 ssid='WLAN24G' > wpa_driver_bsd_capa: drivercaps=0x0581e801,cryptocaps=0x00000000 > Add interface wlan0 to a new radio N/A > wlan0: Own MAC address: 48:02:2a:63:4e:c1 > bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0 > bsd_del_key: key_idx=0 > bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0 > bsd_del_key: key_idx=1 > bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0 > bsd_del_key: key_idx=2 > bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0 > bsd_del_key: key_idx=3 > wpa_driver_bsd_set_countermeasures: enabled=0 > wlan0: RSN: flushing PMKID list in the driver > wlan0: Setting scan request: 0.100000 sec > wlan0: WPS: UUID based on MAC address: dbcf9172-a2c4-5074-bfc2-05bfaecc535f > ENGINE: Loading dynamic engine > ENGINE: Loading dynamic engine > EAPOL: SUPP_PAE entering state DISCONNECTED > EAPOL: Supplicant port status: Unauthorized > EAPOL: KEY_RX entering state NO_KEY_RECEIVE > EAPOL: SUPP_BE entering state INITIALIZE > EAP: EAP entering state DISABLED > wlan0: Added interface wlan0 > wlan0: State: DISCONNECTED -> DISCONNECTED > wlan0: State: DISCONNECTED -> SCANNING > wlan0: Starting AP scan for wildcard SSID > wlan0: Add radio work 'scan'@0x801ce4000 > wlan0: First radio work item in the queue - schedule start immediately > wlan0: Starting radio work 'scan'@0x801ce4000 after 0.000012 second wait > wpa_driver_bsd_set_wpa: enabled=1 > wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 > wlan0: Event SCAN_RESULTS (3) received > Received 868 bytes of scan results (4 BSSes) > wlan0: BSS: Start scan result update 1 > wlan0: BSS: Add new id 0 BSSID 48:02:2a:61:6a:24 SSID 'router-2' freq 2422 > wlan0: BSS: Add new id 1 BSSID 48:02:2a:63:4e:c0 SSID 'router-3' freq 2422 > wlan0: BSS: Add new id 2 BSSID 34:31:c4:bc:d0:21 SSID 'WLAN24G' freq 2422 > wlan0: BSS: Add new id 3 BSSID 44:33:4c:b5:d3:68 SSID 'router-4' freq 2422 > BSS: last_scan_res_used=4/32 > wlan0: New scan results available (own=0 ext=0) > wlan0: Radio work 'scan'@0x801ce4000 done in 0.212149 seconds > wlan0: Selecting BSS from priority group 0 > wlan0: 0: 48:02:2a:61:6a:24 ssid='router-2' wpa_ie_len=0 rsn_ie_len=20 > caps=0x11 level=-66 freq=2422 > wlan0: skip - SSID mismatch > wlan0: 1: 48:02:2a:63:4e:c0 ssid='router-3' wpa_ie_len=0 rsn_ie_len=20 > caps=0x11 level=-69 freq=2422 > wlan0: skip - SSID mismatch > wlan0: 2: 34:31:c4:bc:d0:21 ssid='WLAN24G' wpa_ie_len=0 rsn_ie_len=20 > caps=0x31 level=-77 freq=2422 > wlan0: selected based on RSN IE > wlan0: selected BSS 34:31:c4:bc:d0:21 ssid='WLAN24G' > wlan0: Considering connect request: reassociate: 0 selected: > 34:31:c4:bc:d0:21 bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 > wpa_state: SCANNING ssid=0x801c45000 current_ssid=0x0 > wlan0: Request association with 34:31:c4:bc:d0:21 > wlan0: Add radio work 'connect'@0x801ce4000 > wlan0: First radio work item in the queue - schedule start immediately > wlan0: Starting radio work 'connect'@0x801ce4000 after 0.000009 second wait > wlan0: Trying to associate with 34:31:c4:bc:d0:21 (SSID='WLAN24G' freq=2422 > MHz) > FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=0): > wlan0: Cancelling scan request > wlan0: WPA: clearing own WPA/RSN IE > wlan0: Automatic auth_alg selection: 0x1 > RSN: PMKSA cache search - network_ctx=0x801c45000 try_opportunistic=0 > RSN: Search for BSSID 34:31:c4:bc:d0:21 > RSN: No PMKSA cache entry found > wlan0: RSN: using IEEE 802.11i/D9.0 > wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2 > wlan0: WPA: clearing AP WPA IE > WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac > 04 01 00 00 0f ac 02 00 00 > wlan0: WPA: using GTK CCMP > wlan0: WPA: using PTK CCMP > wlan0: WPA: using KEY_MGMT WPA-PSK > WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 > 00 0f ac 04 01 00 00 0f ac 02 00 00 > wlan0: State: SCANNING -> ASSOCIATING > Limit connection to BSSID 34:31:c4:bc:d0:21 freq=2422 MHz based on scan > results (bssid_set=0) > wpa_driver_bsd_associate: ssid 'WLAN24G' wpa ie len 22 pairwise 16 group 16 > key mgmt 2 > wpa_driver_bsd_set_drop_unencrypted: enabled=1 > bsd_set_opt_ie: set WPA+RSN ie (len 22) > wpa_driver_bsd_associate: set PRIVACY 1 > wlan0: Setting authentication timeout: 10 sec 0 usec > EAPOL: External notification - EAP success=0 > EAPOL: External notification - EAP fail=0 > EAPOL: External notification - portControl=Auto > EAPOL: disable timer tick > wlan0: Authentication with 34:31:c4:bc:d0:21 timed out. > Added BSSID 34:31:c4:bc:d0:21 into blacklist > wlan0: WPA: Clear old PMK and PTK > wlan0: Request to deauthenticate - bssid=00:00:00:00:00:00 > pending_bssid=34:31:c4:bc:d0:21 reason=3 state=ASSOCIATING > wlan0: Event DEAUTH (12) received > wlan0: Deauthentication notification > wlan0: * reason 3 (locally generated) > Deauthentication frame IE(s) - hexdump(len=0): [NULL] > wlan0: CTRL-EVENT-DISCONNECTED bssid=34:31:c4:bc:d0:21 reason=3 > locally_generated=1 > wlan0: Auto connect enabled: try to reconnect (wps=0/0 wpa_state=5) > wlan0: Setting scan request: 0.100000 sec > wlan0: Radio work 'connect'@0x801ce4000 done in 10.022229 seconds > [etc] > > and never manages to associate successfully. > > Any ideas? > > Thanks, > TREV. > _______________________________________________ > 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"