diff options
author | Alexander Simon <an.alexsimon@googlemail.com> | 2011-11-30 10:56:32 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-12-06 16:05:24 -0500 |
commit | 54858ee5bf659f80a784303e41ee8898fd163f98 (patch) | |
tree | 46901bbd75f8dacfe9677e8d17085508d918d325 /include/linux/nl80211.h | |
parent | 2b50b8f58803f4c8521c6aa5401ed01cd36a1f77 (diff) |
nl80211: Parse channel type attribute in an ibss join request
Prepare cfg80211 for IBSS HT:
* extend cfg80211 ibss struct with channel_type
* Check if extension channel can be used
* Export can_beacon_sec_chan for use in mac80211 (will be called
from ibss.c later).
Signed-off-by: Alexander Simon <an.alexsimon@googlemail.com>
[siwu@hrz.tu-chemnitz.de: Updates]
* fix cfg80211_can_beacon_ext_chan comment
* remove implicit channel_type enum assumptions
* remove radar channel flags check
* add HT IBSS feature flag
* reword commit message
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/nl80211.h')
-rw-r--r-- | include/linux/nl80211.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h index f51e3bf93a9..a18760684fc 100644 --- a/include/linux/nl80211.h +++ b/include/linux/nl80211.h | |||
@@ -2785,9 +2785,11 @@ enum nl80211_ap_sme_features { | |||
2785 | * @NL80211_FEATURE_SK_TX_STATUS: This driver supports reflecting back | 2785 | * @NL80211_FEATURE_SK_TX_STATUS: This driver supports reflecting back |
2786 | * TX status to the socket error queue when requested with the | 2786 | * TX status to the socket error queue when requested with the |
2787 | * socket option. | 2787 | * socket option. |
2788 | * @NL80211_FEATURE_HT_IBSS: This driver supports IBSS with HT datarates. | ||
2788 | */ | 2789 | */ |
2789 | enum nl80211_feature_flags { | 2790 | enum nl80211_feature_flags { |
2790 | NL80211_FEATURE_SK_TX_STATUS = 1 << 0, | 2791 | NL80211_FEATURE_SK_TX_STATUS = 1 << 0, |
2792 | NL80211_FEATURE_HT_IBSS = 1 << 1, | ||
2791 | }; | 2793 | }; |
2792 | 2794 | ||
2793 | /** | 2795 | /** |