From owner-svn-src-head@freebsd.org Wed May 3 07:53:16 2017 Return-Path: Delivered-To: svn-src-head@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 E54DFD5B26B; Wed, 3 May 2017 07:53:16 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (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 AEE47940; Wed, 3 May 2017 07:53:16 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v437rFhp035625; Wed, 3 May 2017 07:53:15 GMT (envelope-from adrian@FreeBSD.org) Received: (from adrian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v437rFaa035624; Wed, 3 May 2017 07:53:15 GMT (envelope-from adrian@FreeBSD.org) Message-Id: <201705030753.v437rFaa035624@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adrian set sender to adrian@FreeBSD.org using -f From: Adrian Chadd Date: Wed, 3 May 2017 07:53:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r317728 - head/tools/tools/net80211/scripts X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2017 07:53:17 -0000 Author: adrian Date: Wed May 3 07:53:15 2017 New Revision: 317728 URL: https://svnweb.freebsd.org/changeset/base/317728 Log: [net80211] add another hard-learnt lesson about DWDS setup wlanwds monitors the physical interface for DWDS requests from VAPs, but the clone is created against the physical interface. So, if you have a secondary VAP setup (with a separate, non-physical-default MAC address) which is configured for DWDS, the temporary DWDS VAPs created will have the MAC of the parent physical interface and NOT the actual cloned interface + MAC. This .. stumped me for a few minutes. Maybe I'll fix it. Maybe I won't. At least I now have DWDS+encryption working at home. Tested: * yes, with DWDS 11n repeaters now working on freebsd. Modified: head/tools/tools/net80211/scripts/setup.wdsmain Modified: head/tools/tools/net80211/scripts/setup.wdsmain ============================================================================== --- head/tools/tools/net80211/scripts/setup.wdsmain Wed May 3 05:45:43 2017 (r317727) +++ head/tools/tools/net80211/scripts/setup.wdsmain Wed May 3 07:53:15 2017 (r317728) @@ -15,6 +15,13 @@ # otherwise frames transmitted from the WDS AP to the WDS STA # will not be encrypted. # +# * Because wlanwds is running on the physical interface (for now), +# and NOT the parent VAP, it will create cloned interfaces using +# the MAC address of the physical interface. So, until that +# whole setup is fixed, please only associate DWDS to the first +# VAP on a physical interface, which shares the MAC address of +# the physical NIC. +# # $FreeBSD$ # PATH=.:$PATH