From owner-freebsd-wireless@freebsd.org Mon Aug 29 05:08:00 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 55BE6BC5339 for ; Mon, 29 Aug 2016 05:08:00 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (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 318ABE9B for ; Mon, 29 Aug 2016 05:08:00 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x231.google.com with SMTP id e63so85355342ith.1 for ; Sun, 28 Aug 2016 22:08:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=ZRdaV0Hy6eMLuUU3XGexevWNfXSdH0T1aFN/Mrzn6Sg=; b=nTPwpwAMpkSMczJy76vwdbhpcw5k9aQxP7mtYwrU8JmURk/AATRNfzfF1p7JW3GARG JEg9LLr6s6coxVyI93sp2OXCsk37xgfI78LehrDSI8Jy88IJnnaY/IkgPMPXM/rSKLur oGr5dYa05Cp/q4/0Y6TX0rNJuxHSUEUG+SYvgZzrpQKVBlsiTUBGJ+HzWJNn5eqlVUgO 6j7aP2SLMUfCGmk2nL/DC3UT4fIpthoWSwYou/uYkYUy0aoyy8URwGwsZ02AUk+0CiPK CeJNuHPQeyry76U0I0rSBU1CHqcybotkUV9j+LLSud00yzoCvRXFAjLqT/zb3jkCkgrO oeRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=ZRdaV0Hy6eMLuUU3XGexevWNfXSdH0T1aFN/Mrzn6Sg=; b=e0gvA36xD6bAM5LO7jwHdBcPyRuvj91OHCqgd9IksuCKyM87t1WsqAIMQsFTEaG+hi QIJLAI72uUyxMsAmS3OFFdun9LmhS0mkT/fxvLN1+5vkfLIPY/kaqp1goQxrFicKDnZa 45Ib6bwxx8yGNPfS9Nw3LJKHOg16QKjqYRX2zVIVHnB+MOhCdDn0hRCCYErfCmw3pPui W8iVigUw6v/e3kSR7oXQNQAvP+e/AI+BKjNwSa/RpkUGhoxr4IWnOCIBepES2IsR6cIQ VqKd4SN7DQQn5xdi6+YsPg/210Cnt7pL3LQuFtyTdaENxmXLkAkX5Hlw8k/MnH23xqc1 EAtA== X-Gm-Message-State: AE9vXwPW7H2Qesnn/KA3t0l/gq5z4LHp4c6qiFtJS2/R+z0Ad8kKs4F39l0zEbuvt03eZ0U3PmGJs693iPxteQ== X-Received: by 10.36.73.195 with SMTP id e64mr12092185itd.80.1472447279405; Sun, 28 Aug 2016 22:07:59 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.36.141.129 with HTTP; Sun, 28 Aug 2016 22:07:58 -0700 (PDT) From: Adrian Chadd Date: Sun, 28 Aug 2016 22:07:58 -0700 X-Google-Sender-Auth: 565Y1-ltVq-RHkg8QZdy8Xcxklo Message-ID: Subject: WDS/DWDS experiments - an update To: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 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: Mon, 29 Aug 2016 05:08:00 -0000 hiya, I've started digging into what FreeBSD WDS is at. Yes, it's because I now need it at home. :-) * there's two kinds of WDS - static and dynamic * I'm playing with dynamic WDS for now * with dynamic WDS, the STA/AP has a normal association with (ifconfig wlanX dwds) and then the AP side creates a VAP for each seen DWDS source * .. ie, a MAC address behind the STA. * Then, 'wlanwds' is supposed to watch the AP parent interface, and then plumb up the WDS VAP, insert it into the bridge, etc, when it comes up. So, a bunch of stuff doesn't work out of the box anymore! * firstly, there's no longer a parent interface - but we still have to provide it (eg 'ath0'.) It should be okay, but I need to dig into it some more. * I can somehow make the ath driver run out of RX buffers when DWDS is enabled - I'll dig into what's going on. * It is correctly receiving DWDS frames on the WDS VAP, and sending them back out, but it's not making it through to the parent interface and out to the station again. * And, there's no 'node' plumbed up in ifconfig wlan0 or ifconfig wlanX (WDS VAP) list sta. I need to go see what's going on there - the rate control code needs it at least; other state like A-MPDU will need it too. Next, I'll try the static WDS (wdslegacy) and see if I can at least plumb things up with that. Maybe I'll get lucky. -adrian