On Tue, 2012-06-12 at 11:44 -0700, Bing Zhao wrote: > Hi Johannes, > > Thanks for your comment. > > > > Parse HT IE from cfg80211 and set HT capabilities accordingly > > > to FW. If HT IE is missing, 11n would be disabled in FW. > > > > No objections, but it might be worthwhile to extend the APIs to not > have > > to parse this? > > If I understand it correctly, we can probably do something like this: > > 1) add new variables "const u8 *ht_cap" and "size_t ht_cap_len" to > struct cfg80211_ap_settings > 2) parse WLAN_EID_HT_CAPABILITY in nl80211_start_ap() and update > ht_cap/ht_cap_len accordingly > 3) drivers (mwifiex, etc.) make use of ht_cap/ht_cap_len directly in > start_ap() handler > > Regardless we have to parse HT_CAP IE from beacon.tail, either in > driver start_up handler, or inside of cfg80211/nl80211. Please let me > know if above change is OK for you. I don't think I'd bother doing the above change. I was thinking that the supplicant/hostapd would give it in separate attributes, but I guess it doesn't. 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