From: Seth Forshee Date: Wed, 1 Aug 2012 20:58:42 +0000 (-0500) Subject: cfg80211: add channel flag to prohibit OFDM operation X-Git-Tag: v3.6-rc2~24^2~30^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03f6b0843ad6512f27bc2e48f04c21065311e03e;p=pandora-kernel.git cfg80211: add channel flag to prohibit OFDM operation Currently the only way for wireless drivers to tell whether or not OFDM is allowed on the current channel is to check the regulatory information. However, this requires hodling cfg80211_mutex, which is not visible to the drivers. Other regulatory restrictions are provided as flags in the channel definition, so let's do similarly with OFDM. This patch adds a new flag, IEEE80211_CHAN_NO_OFDM, to tell drivers that OFDM on a channel is not allowed. This flag is set on any channels for which regulatory indicates that OFDM is prohibited. Signed-off-by: Seth Forshee Tested-by: Arend van Spriel Signed-off-by: Johannes Berg --- Reading git-diff-tree failed