From: Johannes Berg Date: Fri, 27 Jul 2012 17:48:26 +0000 (+0200) Subject: mac80211_hwsim: allow using channel contexts X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~17^2^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e826117142d87c5fbdfd17a053f6a33ec90b20a4;p=pandora-kernel.git mac80211_hwsim: allow using channel contexts To use mac80211_hwsim for testing channel contexts it has to support them, and for that it has to support hw scan and hw-remain-on-channel. Since it's pure software, the off-channel activities are really not off-channel but listening and sending on a second channel. Also, the multi-channel isn't really doing TDM, it's just on both channels at the same time. For testing purposes, you can specify the number of concurrent channels with a module parameter, it is set to one by default. When set to two or more, the userspace API for wmediumd is disabled as it has no provisions for multi-channel yet. Signed-off-by: Johannes Berg --- Reading git-diff-tree failed