public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: Vladimir Kondratiev <qca_vkondrat@qti.qualcomm.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Vladimir Kondratiev <qca_vkondrat@qti.qualcomm.com>,
	<linux-wireless@vger.kernel.org>,
	"Luis R . Rodriguez" <rodrigue@qca.qualcomm.com>,
	"John W . Linville" <linville@tuxdriver.com>,
	Jouni Malinen <jouni@qca.qualcomm.com>
Subject: [PATCH] nl80211: introduce NL80211_SCAN_FLAG_DISCOVERY_MODE
Date: Sun, 27 Oct 2013 17:54:41 +0200	[thread overview]
Message-ID: <1382889282-12880-1-git-send-email-qca_vkondrat@qca.qualcomm.com> (raw)

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


             reply	other threads:[~2013-10-27 15:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-27 15:54 Vladimir Kondratiev [this message]
2013-10-28 14:37 ` [PATCH] nl80211: introduce NL80211_SCAN_FLAG_DISCOVERY_MODE Johannes Berg
2013-10-28 15:00   ` Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1382889282-12880-1-git-send-email-qca_vkondrat@qca.qualcomm.com \
    --to=qca_vkondrat@qti.qualcomm.com \
    --cc=johannes@sipsolutions.net \
    --cc=jouni@qca.qualcomm.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=rodrigue@qca.qualcomm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox