On Tue, 2009-04-07 at 09:23 -0700, Luis R. Rodriguez wrote: > > This patch is not sufficient -- you also need to modify > > ieee80211_send_assoc. Otherwise we end up telling the AP that we support > > HT40, but tuning the hardware to HT20. > > Like this? > > switch (ht_info->ht_param & IEEE80211_HT_PARAM_CHA_SEC_OFFSET) { > case IEEE80211_HT_PARAM_CHA_SEC_ABOVE: > if (flags & IEEE80211_CHAN_NO_HT40PLUS) { > cap &= ~IEEE80211_HT_CAP_SUP_WIDTH_20_40; > cap &= ~IEEE80211_HT_CAP_SGI_40; > } > break; > case IEEE80211_HT_PARAM_CHA_SEC_BELOW: > if (flags & IEEE80211_CHAN_NO_HT40MINUS) { > cap &= ~IEEE80211_HT_CAP_SUP_WIDTH_20_40; > cap &= ~IEEE80211_HT_CAP_SGI_40; > } Yeah, that looks ok. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html