Message ID | 1394199475-5208-4-git-send-email-rostislav.lisovy@fel.cvut.cz (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
On Fri, 2014-03-07 at 14:37 +0100, Rostislav Lisovy wrote: > Since channels with frequencies ranging from 5850 to 5925 > are used with 5/10 MHz channels according to IEEE 802.11p, > we need a way how to keep the information about the forbidden > bandwidths. I see no reason to have this as a separate patch with the previous one. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index b1f84b0..f5ecd6c 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -109,6 +109,10 @@ enum ieee80211_band { * channel as the control or any of the secondary channels. * This may be due to the driver or due to regulatory bandwidth * restrictions. + * @IEEE80211_CHAN_NO_20MHZ: 20 MHz bandwidth is not permitted + * on this channel. + * @IEEE80211_CHAN_NO_10MHZ: 10 MHz bandwidth is not permitted + * on this channel. */ enum ieee80211_channel_flags { IEEE80211_CHAN_DISABLED = 1<<0, @@ -120,6 +124,8 @@ enum ieee80211_channel_flags { IEEE80211_CHAN_NO_OFDM = 1<<6, IEEE80211_CHAN_NO_80MHZ = 1<<7, IEEE80211_CHAN_NO_160MHZ = 1<<8, + IEEE80211_CHAN_NO_20MHZ = 1<<9, + IEEE80211_CHAN_NO_10MHZ = 1<<10, }; #define IEEE80211_CHAN_NO_HT40 \
Since channels with frequencies ranging from 5850 to 5925 are used with 5/10 MHz channels according to IEEE 802.11p, we need a way how to keep the information about the forbidden bandwidths. Signed-off-by: Rostislav Lisovy <rostislav.lisovy@fel.cvut.cz> --- include/net/cfg80211.h | 6 ++++++ 1 file changed, 6 insertions(+)