On Thu, May 1, 2014 at 9:36 PM, Krishna Chaitanya <chaitanya.mgit@xxxxxxxxx> wrote: > > > On May 1, 2014 2:01 PM, "Arend van Spriel" <arend@xxxxxxxxxxxx> wrote: > > > > Hi Johannes, > > > > I was debugging issue with hostapd failing on setting channel when I came across this piece of code in chan.c:545:cfg80211_chandef_usable(): > > > > if (width > 20) > > prohibited_flags |= IEEE80211_CHAN_NO_OFDM; > > > > /* 5 and 10 MHz are only defined for the OFDM PHY */ > > if (width < 20) > > prohibited_flags |= IEEE80211_CHAN_NO_OFDM; > > > > I suspect the first if statement to be wrong, but what should it be? > > Looks ok to me. Basically it says that only 20MHz has a possibility of both OFDM and DSSS. Adding the list. -- 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