From owner-freebsd-wireless@freebsd.org Thu Jun 30 14:54:53 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 1A6DBB87483 for ; Thu, 30 Jun 2016 14:54:53 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::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 D74192179 for ; Thu, 30 Jun 2016 14:54:52 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x22c.google.com with SMTP id f6so71481469ith.0 for ; Thu, 30 Jun 2016 07:54:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=tgnDnGOEIr+J5CB/a6FAfJCnn7U+nWLfuUQY6reYkuA=; b=u6vA1Yp6hiZg6coZITEvV3EUUXYFE+q1IrfznoupdXFsVuZG3Vffx35+QQ0wqBgViL m+xiz1YEKuj8wYw5Kmot+Noi7j4Pe562zBR58copvt6nqMOhrREUIkrl5weD2FpHZTNE zBl8tXVAKwe7APtFwaJMxdwTaedX/xngwt/mkIZ6KQOJdDW0okJaKGo5kZ7er2/K+QrU fpbh5sDgg1FvpO+uHZ0WllWwatYkXD2J2VvAkmyUeOZyD69ehZ7xJt5dySOta52R52Ap RtuXJ4vIZf3LrvppA/eS6Ca8W/eplxZwZ0AEqG2+g8N96i6/HT3kOr1h6jgjrtiz3OQl bUrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=tgnDnGOEIr+J5CB/a6FAfJCnn7U+nWLfuUQY6reYkuA=; b=DFfbXjs5eg5WpwsLTmP38Y3uV8WxHGxtBbTrl4NiOp6Qyx1mXtFWaI27fXs/ACfidc wqA9GH8wtPWI41tw/xsMUGcZOP86+4ptNs3R6BLq02YK1ZmvluH3Har4ZfZIwFR6sHg+ mAPzUZmZNGfeXNGXEAEkwsULUCE4qRyF+esIPttZ5t2yPuITEimZcs46nMH2bhR++Dlq fXvN8cZO9PoKtkmE6XmHfydMBUOc2QAidJ/U9Iy/PoNOeMC17zbJMcgSNVTDMmtQdhoQ UZfxrcBAfgj1DS2d0MLggwwRJd82ITg9VCsleYrz0mo+I9i+Hyna6PxDTUms6lsj9Y7c L7nw== X-Gm-Message-State: ALyK8tJkUWchzUmrCcI5hvnbachqsma2P35STpE2ZJG4XJEAAlYSHKI4kFsbJ+TbEsessmvLvFDXrermvnvMFg== MIME-Version: 1.0 X-Received: by 10.36.200.131 with SMTP id w125mr14479938itf.80.1467298492328; Thu, 30 Jun 2016 07:54:52 -0700 (PDT) Received: by 10.36.210.212 with HTTP; Thu, 30 Jun 2016 07:54:52 -0700 (PDT) Received: by 10.36.210.212 with HTTP; Thu, 30 Jun 2016 07:54:52 -0700 (PDT) In-Reply-To: References: <20160630210043.U11465@sola.nimnet.asn.au> Date: Thu, 30 Jun 2016 07:54:52 -0700 Message-ID: Subject: Re: ath (AR9280) with nanoBSD (fwd) From: Adrian Chadd To: Felix Friedlander Cc: Ian Smith , freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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, 30 Jun 2016 14:54:53 -0000 It was to remove the wifi interface from needing to be an ifnet interface, complete with the locking and lifecycle management. Now the net80211 physical interfaces don't have to pretend to be normal network interfaces. Which is good in the long run as there's a whole bunch of functionality to implement that doesn't map cleanly to ifnet. A On Jun 30, 2016 4:06 AM, "Felix Friedlander" wrote: > > > On 30 Jun 2016, at 21:02, Ian Smith wrote: > > > > Sorry Felix, didn't notice you hadn't cc'd the list .. hoping you don't > > mind if I do, might save someone else from responding .. cheers, Ian > > Nope, that=E2=80=99s fine, I meant to but I forget all the time. > > Alpine, mutt and other CLI mail clients manage to do it automatically, so= I > wonder how the GUI clients have missed out=E2=80=A6 > > - Felix > > > > > ---------- Forwarded message ---------- > > Date: Thu, 30 Jun 2016 20:52:43 +1000 (EST) > > From: Ian Smith > > To: Felix Friedlander > > Subject: Re: ath (AR9280) with nanoBSD > > > > On Thu, 30 Jun 2016 20:28:54 +1000, Felix Friedlander wrote: > >>> On 30 Jun 2016, at 19:12, Ian Smith wrote: > >>> > >>> On Wed, 29 Jun 2016 11:51:40 -0700, Adrian Chadd wrote: > >>> > >>>> Hi, > >>>> > >>>> It's there, it just doesn't show up in ifconfig anymore. > >>>> > >>>> sysctl net.wlan.devices > >>>> > >>>> if you create the interface (ifconfig wlan0 create wlandev ath0) the= n > >>>> it'll show up! > >>> > >>> Just curious .. why was it considered a good idea not to have ifconfi= g > >>> show wireless interfaces? Won't this make for ongoing such confusion= ? > >> > >> As I understand it, it was to avoid duplication. You have to create a > >> wlanN interface to use a wireless device, so you would end up with > >> both athN and wlanN. Now ath (and every other wireless driver) don=C3= =BF=C3=BFt > >> directly appear in ifconfig, you only have one interface. > > > > Ah, that sounds fair enough. I expect there'll be something in 11.0 > > release notes about that. > > > >> I believe there is a sysctl to list the hardware devices if you want. > > > > I guess that might be net.wlan.devices :) > > > > Ok, sorry for the side-track .. > > > > cheers, Ian > >