* [RFC 1/3] cfg80211: add P2P Notice of Absence attribute
@ 2013-03-14 7:32 Janusz.Dziedzic
0 siblings, 0 replies; only message in thread
From: Janusz.Dziedzic @ 2013-03-14 7:32 UTC (permalink / raw)
To: linux-wireless; +Cc: johannes
Add P2P Notice of Absence attribute structure.
Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
---
include/linux/ieee80211.h | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 4cf0c9e..2941644 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -1027,6 +1027,23 @@ enum ieee80211_p2p_attr_id {
IEEE80211_P2P_ATTR_MAX
};
+/* Notice of Absence attribute - described in P2P spec 4.1.14 */
+/* Typical max value used here */
+#define IEEE80211_P2P_NOA_DESC_MAX 4
+
+struct ieee80211_p2p_noa_desc {
+ u8 count;
+ __le32 duration;
+ __le32 interval;
+ __le32 start_time;
+} __packed;
+
+struct ieee80211_p2p_noa_attr {
+ u8 index;
+ u8 oppps_ctwindow;
+ struct ieee80211_p2p_noa_desc desc[IEEE80211_P2P_NOA_DESC_MAX];
+} __packed;
+
/**
* struct ieee80211_bar - HT Block Ack Request
*
--
1.7.9.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-03-14 7:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-14 7:32 [RFC 1/3] cfg80211: add P2P Notice of Absence attribute Janusz.Dziedzic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).