On Tue, 2011-04-12 at 11:07 +0000, Alexander Simon wrote: > skb = dev_alloc_skb(sdata->local->hw.extra_tx_headroom + > - 36 /* bitrates */ + > - 34 /* SSID */ + > - 3 /* DS params */ + > - 4 /* IBSS params */ + > - params->ie_len); > + sizeof(struct ieee80211_hdr_3addr) + > + 12 /* struct ieee80211_mgmt.u.beacon */ + > + 2 + IEEE80211_MAX_SSID_LEN /* max SSID */ + You have a tendency to mess up the coding style. Also what if the IBSS is created with HT40+ and then joins, can it join HT40-? Is the channel type "advisory" like the frequency? Can it join HT20 IBSS as well? 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