Return-path: Received: from mail-we0-f169.google.com ([74.125.82.169]:64893 "EHLO mail-we0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932070AbaETRgo (ORCPT ); Tue, 20 May 2014 13:36:44 -0400 Received: by mail-we0-f169.google.com with SMTP id u56so891542wes.0 for ; Tue, 20 May 2014 10:36:43 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <546412005.18351359.1400528308190.JavaMail.root@zimbra65-e11.priv.proxad.net> From: Thomas Pedersen Date: Tue, 20 May 2014 10:36:23 -0700 Message-ID: (sfid-20140520_193647_812763_698927EA) Subject: Re: 802.11s mode without HWMP To: Henning Rogge Cc: "linux-wireless@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Henning, On Tue, May 20, 2014 at 5:32 AM, Henning Rogge wrote: > Hi, > > after spending a day reading through the 802.11s implementation of > Linux I have to admit I am lost... > > I am using 802.11s bridged to ethernet on both wlan interfaces and it > works very well. > > Unfortunately the cfg802.11 is not telling me which ethernet mac > address is behind which wifi mac address, something that has to be > known to the kernel to forward the bridged ethernet frames. > > Is there a trick to get this information or is this just a missing > functionality in the cfg80211 API (or the "iw mpath ..." > commands) ? mac80211 keeps a separate table for bridged endpoints (mpp_paths). Unfortunately this table currently isn't exported by the cfg80211 mpath_dump API. If you really need access to this information from cfg80211 / userspace, then the quickest thing for now would be to hack in support for iterating over both tables. I'm not really sure why the decision was made to go with 2 different path tables (see 79617dee for the initial implementation), but it seems the cleaner approach would be to merge these and stick with the existing mpath_dump commands. -- thomas