From owner-freebsd-net@freebsd.org Sun Aug 9 19:32:24 2015 Return-Path: Delivered-To: freebsd-net@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 66D4B99DF70 for ; Sun, 9 Aug 2015 19:32:24 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5297A819 for ; Sun, 9 Aug 2015 19:32:24 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4FF7599DF6D; Sun, 9 Aug 2015 19:32:24 +0000 (UTC) Delivered-To: net@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 4E3C299DF69; Sun, 9 Aug 2015 19:32:24 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw14.york.ac.uk (mail-gw14.york.ac.uk [144.32.129.164]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 16A07816; Sun, 9 Aug 2015 19:32:23 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from ury.york.ac.uk ([144.32.64.162]:18117) by mail-gw14.york.ac.uk with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1ZOWKN-0000w4-Tz; Sun, 09 Aug 2015 20:32:15 +0100 Date: Sun, 9 Aug 2015 20:32:15 +0100 (BST) From: Gavin Atkinson X-X-Sender: gavin@ury.york.ac.uk To: Gleb Smirnoff cc: current@FreeBSD.org, net@FreeBSD.org Subject: Re: [head up!] WiFi drivers changes In-Reply-To: <20150806151355.GL889@FreeBSD.org> Message-ID: References: <20150806151355.GL889@FreeBSD.org> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Aug 2015 19:32:24 -0000 On Thu, 6 Aug 2015, Gleb Smirnoff wrote: > As part of the "opaque ifnet project" [1], all 802.11 (WiFi) drivers > undergo change of not being an interface anymore. Historically in FreeBSD > 802.11 stack, 802.11 devices called if_attach() and created an interface. > Later this was generalized and real functioning interface is created by > net80211 stack. However, remnant of parent interface remained. If you > are running Intel Centrino wireless, then you got iwn0 interface and > wlan0 interface. However, the former doesn't do anything. You can't > assign addresses to it or modify any of it parameters. Or you can > modify them, but that affects nothing. You could, however, change the Ethernet address of the underlying interface before creating the wlanX interfaces, which woud then be used by the child interfaces. This has traditionally been the only way you could change the Ethernet interface of a wifi device - changing it after creating the wlanX interface does not work. How will this be done in the new world? Thanks, Gavin