diff options
author | Seth Forshee <seth.forshee@canonical.com> | 2012-08-01 20:58:42 (GMT) |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-08-02 13:30:49 (GMT) |
commit | 03f6b0843ad6512f27bc2e48f04c21065311e03e (patch) | |
tree | 607cffb37a59419093cc3bfe6b08bc83365e822d /drivers/hwmon/amc6821.c | |
parent | dd4c9260e7f23f2e951cbfb2726e468c6d30306c (diff) | |
download | linux-fsl-qoriq-03f6b0843ad6512f27bc2e48f04c21065311e03e.tar.xz |
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 <seth.forshee@canonical.com>
Tested-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/hwmon/amc6821.c')
0 files changed, 0 insertions, 0 deletions