On Wed, Jul 1, 2009 at 8:05 AM, Vania Toperich<vaniat@xxxxxxxxxx> wrote: > Hi, > > I am wondering how to configure monitor mode parameters for ath9k, > specifically if N is using channel bonding and which one, lower or > higher. > > Thanks for help. I haven't tried this myself with monitor but it should work using iw: iw dev <devname> set freq <freq> [HT20|HT40+|HT40-] iw phy <phyname> set freq <freq> [HT20|HT40+|HT40-] When done please help expand the documentation on the iw wiki: http://wireless.kernel.org/en/users/Documentation/iw Note that not all channels will be usable with HT40- or HT40+. If the channel is disabled then you won't be able to use HT40. Then on certain band edges you won't be able to use an extension channel towards the end. This is obvious but in case you become confused for any mac80211 driver you can specifically check the ht40 allow map through debugfs. For example, I get: mcgrof@pogo ~ $ sudo mount -t debugfs debugfs /sys/kernel/debug/ mcgrof@pogo ~ $ cat /sys/kernel/debug/ieee80211/phy0/ht40allow_map 2412 HT40 + 2417 HT40 + 2422 HT40 + 2427 HT40 + 2432 HT40 -+ 2437 HT40 -+ 2442 HT40 -+ 2447 HT40 - 2452 HT40 - 2457 HT40 - 2462 HT40 - 2467 Disabled 2472 Disabled 2484 Disabled This stuff went in through debugfs and not through a channel flag as Johannes wants to replaces this stuff later so we preferred to not add it as exported userspace API, so you can only count on this being there for the meantime. Luis -- 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