* [PATCH] nl80211: introduce NL80211_SCAN_FLAG_DISCOVERY_MODE
@ 2013-10-27 15:54 Vladimir Kondratiev
2013-10-28 14:37 ` Johannes Berg
0 siblings, 1 reply; 3+ messages in thread
From: Vladimir Kondratiev @ 2013-10-27 15:54 UTC (permalink / raw)
To: Johannes Berg
Cc: Vladimir Kondratiev, linux-wireless, Luis R . Rodriguez,
John W . Linville, Jouni Malinen
for the DMG (60GHz) networks, there is new scan parameter added in the 802.11 spec -
DiscoveryMode. This parameter defines whether station performing active scan shall
generate special form of DMG beacons. In particular, this flag used in the P2P
discovery.
Introduce flag to support this feature.
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
---
include/uapi/linux/nl80211.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index fde2c02..469ed2b 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -3808,11 +3808,18 @@ enum nl80211_connect_failed_reason {
* dangerous because will destroy stations performance as a lot of frames
* will be lost while scanning off-channel, therefore it must be used only
* when really needed
+ * @NL80211_SCAN_FLAG_DISCOVERY_MODE: scan to use discovery mode, as in
+ * 802.11 spec for DMG (60GHz) networks in clause:
+ * 10.1.3.4 DMG Beacon generation before network initialization
+ * If set, station should transmit special form of DMG beacons when
+ * performing active scan. In 60GHz networks, this feature used
+ * in the P2P discovery procedure.
*/
enum nl80211_scan_flags {
NL80211_SCAN_FLAG_LOW_PRIORITY = 1<<0,
NL80211_SCAN_FLAG_FLUSH = 1<<1,
NL80211_SCAN_FLAG_AP = 1<<2,
+ NL80211_SCAN_FLAG_DISCOVERY_MODE = 1<<3,
};
/**
--
1.8.3.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] nl80211: introduce NL80211_SCAN_FLAG_DISCOVERY_MODE
2013-10-27 15:54 [PATCH] nl80211: introduce NL80211_SCAN_FLAG_DISCOVERY_MODE Vladimir Kondratiev
@ 2013-10-28 14:37 ` Johannes Berg
2013-10-28 15:00 ` Johannes Berg
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2013-10-28 14:37 UTC (permalink / raw)
To: Vladimir Kondratiev
Cc: linux-wireless, Luis R . Rodriguez, John W . Linville,
Jouni Malinen
On Sun, 2013-10-27 at 17:54 +0200, Vladimir Kondratiev wrote:
> for the DMG (60GHz) networks, there is new scan parameter added in the 802.11 spec -
> DiscoveryMode. This parameter defines whether station performing active scan shall
> generate special form of DMG beacons. In particular, this flag used in the P2P
> discovery.
Max 72 chars per line please.
> + * @NL80211_SCAN_FLAG_DISCOVERY_MODE: scan to use discovery mode, as in
"scan to use" - did you mean "scan using"?
Also what about a feature flag? Though I suppose this should be
supported by all 60GHz devices (and only those)?
johannes
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] nl80211: introduce NL80211_SCAN_FLAG_DISCOVERY_MODE
2013-10-28 14:37 ` Johannes Berg
@ 2013-10-28 15:00 ` Johannes Berg
0 siblings, 0 replies; 3+ messages in thread
From: Johannes Berg @ 2013-10-28 15:00 UTC (permalink / raw)
To: Vladimir Kondratiev
Cc: linux-wireless, Luis R . Rodriguez, John W . Linville,
Jouni Malinen
Ok, so you can't even get your own email address right - I'll ignore you
for a few weeks until you maybe get it right.
johannes
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-10-28 15:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-27 15:54 [PATCH] nl80211: introduce NL80211_SCAN_FLAG_DISCOVERY_MODE Vladimir Kondratiev
2013-10-28 14:37 ` Johannes Berg
2013-10-28 15:00 ` Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox