Search Linux Wireless

[PATCH] cfg80211: Introduce critical protocol indication for p2p connection.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A reliable P2P connection needs to avoid any offload off channel
operations triggered by the host driver.Thus, indicate such
attempts to the host driver by including a new protocol id,
signifying the p2p connection.

Signed-off-by: Sunil Dutt <usdutt@xxxxxxxxxxxxxxxx>
---
 include/uapi/linux/nl80211.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index 8f01961..cae07aa 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -3894,6 +3894,7 @@ enum nl80211_protocol_features {
  * @NL80211_CRIT_PROTO_DHCP: BOOTP or DHCPv6 protocol.
  * @NL80211_CRIT_PROTO_EAPOL: EAPOL protocol.
  * @NL80211_CRIT_PROTO_APIPA: APIPA protocol.
+ * @NL80211_CRIT_PROTO_P2P: P2P protocol.
  * @NUM_NL80211_CRIT_PROTO: must be kept last.
  */
 enum nl80211_crit_proto_id {
@@ -3901,6 +3902,7 @@ enum nl80211_crit_proto_id {
 	NL80211_CRIT_PROTO_DHCP,
 	NL80211_CRIT_PROTO_EAPOL,
 	NL80211_CRIT_PROTO_APIPA,
+	NL80211_CRIT_PROTO_P2P,
 	/* add other protocols before this one */
 	NUM_NL80211_CRIT_PROTO
 };
-- 
1.8.2.1

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux