On 11/08/2011 10:52 AM, Johannes Berg wrote:
From: Johannes Berg<johannes.berg@xxxxxxxxx> Just add API to get the channel& report it. Trivial really. Signed-off-by: Johannes Berg<johannes.berg@xxxxxxxxx> --- I'm not sure why this is so hard that the aircrack people couldn't figure out what to do ... include/net/cfg80211.h | 5 +++++ net/mac80211/cfg.c | 8 ++++++++ net/wireless/wext-compat.c | 12 ++++++++++++ 3 files changed, 25 insertions(+) --- a/include/net/cfg80211.h 2011-11-08 19:37:45.000000000 +0100 +++ b/include/net/cfg80211.h 2011-11-08 19:49:33.000000000 +0100 @@ -1342,6 +1342,9 @@ struct cfg80211_gtk_rekey_data { * doesn't verify much. Note, however, that the passed netdev may be * %NULL as well if the user requested changing the channel for the * device itself, or for a monitor interface. + * @get_channel: Get the current operating channel, should return %NULL if + * there's no signal defined operating channel if for example the
Do you mean "no single defined" ? Thanks, Ben -- Ben Greear <greearb@xxxxxxxxxxxxxxx> Candela Technologies Inc http://www.candelatech.com -- 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