Message ID | 1394199475-5208-2-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: > These attributes are necessary to provide a way how to > set a channel type of '5MHz' or '10MHz' from userspace. > This is necessary for future 802.11p implementation. > enum nl80211_channel_type { > NL80211_CHAN_NO_HT, > NL80211_CHAN_HT20, > NL80211_CHAN_HT40MINUS, > - NL80211_CHAN_HT40PLUS > + NL80211_CHAN_HT40PLUS, > + NL80211_CHAN_5MHZ, > + NL80211_CHAN_10MHZ, I think that this is completely unnecessary since all APIs that take channel types also take channel width with the new chandef framework. 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/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h index 91054fd..8d0e319 100644 --- a/include/uapi/linux/nl80211.h +++ b/include/uapi/linux/nl80211.h @@ -2891,12 +2891,16 @@ enum nl80211_ac { * below the control channel * @NL80211_CHAN_HT40PLUS: HT40 channel, secondary channel * above the control channel + * @NL80211_CHAN_5MHZ: normal, 5 MHz bandwidth + * @NL80211_CHAN_10MHZ: normal, 10 MHz bandwidth */ enum nl80211_channel_type { NL80211_CHAN_NO_HT, NL80211_CHAN_HT20, NL80211_CHAN_HT40MINUS, - NL80211_CHAN_HT40PLUS + NL80211_CHAN_HT40PLUS, + NL80211_CHAN_5MHZ, + NL80211_CHAN_10MHZ, }; /**
These attributes are necessary to provide a way how to set a channel type of '5MHz' or '10MHz' from userspace. This is necessary for future 802.11p implementation. Signed-off-by: Rostislav Lisovy <rostislav.lisovy@fel.cvut.cz> --- include/uapi/linux/nl80211.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)