[PATCH v3 0/3] mac80211: add cleanup path for MPP table entries

2016-02-03 Thread Henning Rogge
entries to remove them when their corresponding mesh node is removed or when the MPP table entry is not used for MESH_PATH_EXPIRE time. Henning Rogge (3): mac80211: Remove MPP table entries with MPath mac80211: let unused MPP table entries timeout mac80211: Unify mesh and mpp path removal function

[PATCH v3 1/3] mac80211: Remove MPP table entries with MPath

2016-02-03 Thread Henning Rogge
Make the mesh_path_del() function remove all mpp table entries that are proxied by the removed mesh path. Signed-off-by: Henning Rogge <henning.ro...@fkie.fraunhofer.de> --- net/mac80211/mesh_pathtbl.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/net/ma

[PATCH v3 2/3] mac80211: let unused MPP table entries timeout

2016-02-03 Thread Henning Rogge
Remember the last time when a mpp table entry is used for rx or tx and remove them after MESH_PATH_EXPIRE time. Signed-off-by: Henning Rogge <henning.ro...@fkie.fraunhofer.de> --- net/mac80211/mesh_pathtbl.c | 51 + net/mac80211/rx.c

Re: [PATCH v2 3/3] mac80211: Unify mesh and mpp path removal function

2016-01-30 Thread Henning Rogge
On Sun, Jan 31, 2016 at 12:56 AM, Bob Copeland <m...@bobcopeland.com> wrote: > On Fri, Jan 29, 2016 at 11:08:58AM +0100, Henning Rogge wrote: >> @@ -951,37 +974,14 @@ enddel: >> */ >> static int mpp_path_del(struct ieee80211_sub_if_data *sdata, const u8 *addr) >&

[PATCH v2 3/3] mac80211: Unify mesh and mpp path removal function

2016-01-29 Thread Henning Rogge
mpp_path_del() and mesh_path_del() are mostly the same function. Move common code into a new static function. Signed-off-by: Henning Rogge <henning.ro...@fkie.fraunhofer.de> --- net/mac80211/mesh_pathtbl.c | 110 ++-- 1 file changed, 55 insertions(

[PATCH v2 2/3] mac80211: let unused MPP table entries timeout

2016-01-29 Thread Henning Rogge
Remember the last time when a mpp table entry is used for rx or tx and remove them after MESH_PATH_EXPIRE time. Signed-off-by: Henning Rogge <henning.ro...@fkie.fraunhofer.de> --- net/mac80211/mesh_pathtbl.c | 54 + net/mac80211/rx.c

[PATCH v2 0/3] mac80211: add cleanup path for MPP table entries

2016-01-29 Thread Henning Rogge
entries to remove them when their corresponding mesh node is removed or when the MPP table entry is not used for MESH_PATH_EXPIRE time. Henning Rogge (3): mac80211: Remove MPP table entries with MPath mac80211: let unused MPP table entries timeout mac80211: Unify mesh and mpp path removal function

[PATCH v2 1/3] mac80211: Remove MPP table entries with MPath

2016-01-29 Thread Henning Rogge
Make the mesh_path_del() function remove all mpp table entries that are proxied by the removed mesh path. Signed-off-by: Henning Rogge <henning.ro...@fkie.fraunhofer.de> --- net/mac80211/mesh_pathtbl.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/net/ma

Re: [PATCH 0/2] mac80211: add cleanup path for MPP table entries

2016-01-28 Thread Henning Rogge
On Thu, Jan 28, 2016 at 2:44 PM, Bob Copeland <m...@bobcopeland.com> wrote: > On Tue, Jan 19, 2016 at 09:04:30AM +0100, Henning Rogge wrote: >> Currently MPP table entries are only removed from memory when their >> 802.11s mesh interface goes down. This can make the kernel to

Re: [PATCH 1/2] mac80211: Remove connected MPP table entries with MPath

2016-01-26 Thread Henning Rogge
On Tue, Jan 26, 2016 at 7:36 PM, Bob Copeland wrote: > On Tue, Jan 26, 2016 at 12:41:25PM +0100, Johannes Berg wrote: >> > + mpp = node->mpath; >> > + if (ether_addr_equal(mpp->mpp, proxy)) { >> > + spin_lock(>hashwlock[i]); >> > +

Re: [PATCH 2/2] mac80211: let unused MPP table entries timeout

2016-01-24 Thread Henning Rogge
On Sat, Jan 23, 2016 at 4:15 PM, Bob Copeland <m...@bobcopeland.com> wrote: > On Sat, Jan 23, 2016 at 10:39:04AM +0100, Henning Rogge wrote: >> > FYI I have a patch set I'm testing which rewrites a big chunk of >> > the path table stuff. >> >> Does it inclu

Re: [PATCH 2/2] mac80211: let unused MPP table entries timeout

2016-01-23 Thread Henning Rogge
On Fri, Jan 22, 2016 at 9:30 PM, Bob Copeland <m...@bobcopeland.com> wrote: > On Tue, Jan 19, 2016 at 09:04:32AM +0100, Henning Rogge wrote: >> Remember the last time when a mpp table entry is used for >> rx or tx and remove them after MESH_PATH_EXPIRE time. > > FYI I h

Re: State of DFS with Mac80211/ath9k

2015-03-07 Thread Henning Rogge
On Fri, Mar 6, 2015 at 4:28 PM, Zefir Kurtisi zefir.kurt...@neratec.com wrote: On 03/06/2015 03:33 PM, Henning Rogge wrote: Is there a way to make the kernel export the pulse patterns when a radar event is detected to do some debugging what was going on? Anyway, you should compile ath9k

Re: State of DFS with Mac80211/ath9k

2015-03-06 Thread Henning Rogge
On Fri, Mar 6, 2015 at 1:24 PM, Zefir Kurtisi zefir.kurt...@neratec.com wrote: On 03/06/2015 09:04 AM, Henning Rogge wrote: [...] Second, we are seeing a huge amount of radar events on some nodes, but not on a node on the same channel in the next room. What is the status of the DFS detector

Re: State of DFS with Mac80211/ath9k

2015-03-06 Thread Henning Rogge
mean IBSS or 802.11s? Henning Rogge -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: State of DFS with Mac80211/ath9k

2015-03-06 Thread Henning Rogge
On Fri, Mar 6, 2015 at 9:38 AM, Janusz Dziedzic janusz.dzied...@tieto.com wrote: On 6 March 2015 at 09:04, Henning Rogge hro...@gmail.com wrote: First, we cannot open a Mesh interface on a DFS channel unless we open an AP interface first (and closing the AP interface before activating the mesh

State of DFS with Mac80211/ath9k

2015-03-06 Thread Henning Rogge
, is it reliable or is it still experimental. Henning Rogge -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] iw: Fix calculation of maximum supported 802.11n data rate

2014-12-12 Thread Henning Rogge
:23 +0100, Henning Rogge wrote: Fix typo in calculation, binary AND combination of low byte and high byte is always zero. Obviously - applied, thanks. johannes -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] cfg80211: fix nl80211 cmd id in nl80211_send_mpath()

2014-11-04 Thread Henning Rogge
Hi, the only reason why nobody noticed is that the iw tool does not even check the cmd field of the kernel replies it process. I wonder if iw should check the value, just to make sure bugs like this are easier to detect. Henning Rogge On Tue, Nov 4, 2014 at 4:37 PM, Johannes Berg johan

[PATCH v4 1/2] cfg80211: add ops to query mesh proxy path table

2014-09-12 Thread Henning Rogge
Add two new cfg80211 operations for querying a table with proxied mesh paths. Signed-off-by: Henning Rogge henning.ro...@fkie.fraunhofer.de --- include/net/cfg80211.h | 7 include/uapi/linux/nl80211.h | 6 +++ net/wireless/nl80211.c | 99

[PATCH v2] Add mpp get/dump commands

2014-09-12 Thread Henning Rogge
Add the mpp get and mpp dump command to query to mac80211s mesh proxy path table through nl80211. Signed-off-by: Henning Rogge henning.ro...@fkie.fraunhofer.de --- Makefile | 2 +- mpp.c | 84 +++ nl80211.h | 11 + 3 files

Re: iw: Add support for mesh proxy path dump

2014-09-11 Thread Henning Rogge
On Thu, Sep 11, 2014 at 12:19 PM, Johannes Berg johan...@sipsolutions.net wrote: This patch is line-wrapped. Let me try to resend the patch with git send-email... Henning Rogge -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a message to majord

Re: [PATCH v3 1/2] cfg80211: add ops to query mesh proxy path table

2014-09-11 Thread Henning Rogge
On Thu, Sep 11, 2014 at 12:18 PM, Johannes Berg johan...@sipsolutions.net wrote: On Fri, 2014-09-05 at 15:06 +0200, Henning Rogge wrote: Add two new cfg80211 operations for querying the content of the the mac80211s proxy path table Please use shorter line lengths, git send-email does

Re: [PATCH] cfg802111/nl80211: Add device motion indication API

2014-09-09 Thread Henning Rogge
Hi, I am curious, what is the use case for this API? Is there really 802.11 hardware that tracks its physical motion? Henning Rogge On Tue, Sep 9, 2014 at 3:07 PM, Emmanuel Grumbach emmanuel.grumb...@intel.com wrote: From: Avraham Stern avraham.st...@intel.com Add API to notify user-space