Re: [PATCH 3/4] mac80211: mesh: fixed HT ies in beacon template

From: Johannes Berg
Date: Wed Jun 29 2016 - 03:17:43 EST


On Tue, 2016-06-28 at 14:13 +0300, Yaniv Machani wrote:
>Â
> Ânet/mac80211/mesh.c | 33 ++++++++++++++++++++++++++++++++-
> Ânet/mac80211/util.c |ÂÂ3 ---
> Ânet/wireless/mesh.c |ÂÂ2 +-

That's not a good patch - one change is mac80211 and the other
cfg80211.

> - .ht_opmode = IEEE80211_HT_OP_MODE_PROTECTION_NONHT_MIXED,
> + .ht_opmode = IEEE80211_HT_OP_MODE_PROTECTION_NONE,
>
How are you planning to comply with 802.11 now?


The HT Protection field in a mesh STA may be set to no protection mode
only if
â All STAs detected in the primary or the secondary channel are HT
 STAs, and
â All mesh STA members of this MBSS that are one-hop neighbors of the
 transmitting mesh STA are either:
 â 20/40 MHz HT mesh STAs in a 20/40 MHz MBSS, or
 â 20 MHz HT mesh STAs in a 20 MHz MBSS.

johannes