Re: [PATCH 1/2] cfg80211: 802.11p OCB mode handling

2014-10-31 Thread Johannes Berg
On Fri, 2014-10-31 at 16:12 +0100, Rostislav Lisovy wrote: > On Fri, 2014-10-31 at 14:13 +0100, Johannes Berg wrote: > > On Thu, 2014-10-30 at 11:42 +0100, Rostislav Lisovy wrote: > > > @@ -2093,6 +2102,7 @@ enum nl80211_iftype { > > > NL80211_IFTYPE_P2P_CLIENT, > > > NL80211_IFTYPE_P2P_GO, > >

Re: [PATCH 1/2] cfg80211: 802.11p OCB mode handling

2014-10-31 Thread Rostislav Lisovy
On Fri, 2014-10-31 at 14:13 +0100, Johannes Berg wrote: > On Thu, 2014-10-30 at 11:42 +0100, Rostislav Lisovy wrote: > > @@ -2093,6 +2102,7 @@ enum nl80211_iftype { > > NL80211_IFTYPE_P2P_CLIENT, > > NL80211_IFTYPE_P2P_GO, > > NL80211_IFTYPE_P2P_DEVICE, > > + NL80211_IFTYPE_OCB, > >

Re: [PATCH 1/2] cfg80211: 802.11p OCB mode handling

2014-10-31 Thread Johannes Berg
On Thu, 2014-10-30 at 11:42 +0100, Rostislav Lisovy wrote: > --- a/include/net/mac80211.h > +++ b/include/net/mac80211.h > @@ -263,6 +263,7 @@ struct ieee80211_vif_chanctx_switch { > * @BSS_CHANGED_BANDWIDTH: The bandwidth used by this interface changed, > * note that this is only called whe

[PATCH 1/2] cfg80211: 802.11p OCB mode handling

2014-10-30 Thread Rostislav Lisovy
This patch adds new iface type (NL80211_IFTYPE_OCB) representing the OCB (Outside the Context of a BSS) mode. When establishing a connection to the network a cfg80211_join_ocb function is called (particular nl80211_command is added as well). A mandatory parameters during the ocb_join operation are