> In the current implementation, in case that the AP supports spectrum > management, the supported channels information element added to the > association and re-association frames includes only the channels that where > in the same band as that of the operating channel of the AP. > However, the 80211-2012 specification defines in 8.4.2.20 that the supported > channels information element should contain a list of the channel subbands > in which the station is capable to operate. > > + > + if (first_chan == 0) { > + /* first subband */ > + first_chan = chan; > + count = 1; > + } else if (first_chan + count == chan) { > + /* continue the subband. > + * TODO: this is really only useful for 2.4, > + * need to add spacing considerations for > other > + * bands as well (the definition of a subband > + * in the 802.11 spec. is a bit vague). > + */ Any suggestions on how to better handle this? Thanks in advance :) Ilan. -- 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