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

From: Masashi Honma
Date: Mon Jul 25 2016 - 23:42:18 EST


On 2016å07æ22æ 14:26, Masashi Honma wrote:
> On 2016å07æ14æ 05:07, Yaniv Machani wrote:
>> +
>> + /* if channel width is 20MHz - configure HT capab accordingly*/
>> + if (sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20) {
>> + cap &= ~IEEE80211_HT_CAP_SUP_WIDTH_20_40;
>> + cap &= ~IEEE80211_HT_CAP_DSSSCCK40;
>> + }
>
> I have tested this part of your patch and this works for me.
>
> Previouly, "Supported Channel Width Set bit" in HT Capabilities element
> was 1 even though disable_ht40=1 existed in wpa_supplicant.conf.
> After appllication of patch, the bit was 0.
>
>

# I retransmit this because of mail delivery errors.

I forgot to mention I have used this patch to test.
http://lists.infradead.org/pipermail/hostap/2016-July/036029.html