Jouni Malinen wrote: > On Wed, Nov 26, 2008 at 10:21:12AM +0530, Sujith wrote: > > Jouni Malinen wrote: > > > + * @NL80211_ATTR_WIPHY_FREQ: frequency of the selected channel in MHz > > > + * @NL80211_ATTR_WIPHY_SEC_CHAN_OFFSET: included with NL80211_ATTR_WIPHY_FREQ > > > + * if HT40 (40 MHz channels) are allowed: > > > + * NL80211_SEC_CHAN_BELOW = secondary channel is below the primary channel > > > + * NL80211_SEC_CHAN_ABOVE = secondary channel is above the primary channel > > > > The driver needs to know if the selected channel is HT or not. > > It receives only HT20/HT40+/HT40- flags, but a HT/non-HT flag is required too. > > Yes, indeed. I added a new enum value for that: > NL82011_SEC_CHAN_NO_HT = no HT (this is the default if > NL80211_ATTR_WIPHY_SEC_CHAN_OFFSET is not included) > NL80211_SEC_CHAN_DISABLED = HT20 only > NL80211_SEC_CHAN_BELOW = HT40- > NL80211_SEC_CHAN_ABOVE = HT40+ > > The driver will then get hw.conf.ht.{enabled,sec_chan_offset} with the > needed information. That will work, thanks. Sujith -- 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