aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/ieee80211.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 4cf0c9e4dd99..d10b5bba3268 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -1027,6 +1027,26 @@ enum ieee80211_p2p_attr_id {
1027 IEEE80211_P2P_ATTR_MAX 1027 IEEE80211_P2P_ATTR_MAX
1028}; 1028};
1029 1029
1030/* Notice of Absence attribute - described in P2P spec 4.1.14 */
1031/* Typical max value used here */
1032#define IEEE80211_P2P_NOA_DESC_MAX 4
1033
1034struct ieee80211_p2p_noa_desc {
1035 u8 count;
1036 __le32 duration;
1037 __le32 interval;
1038 __le32 start_time;
1039} __packed;
1040
1041struct ieee80211_p2p_noa_attr {
1042 u8 index;
1043 u8 oppps_ctwindow;
1044 struct ieee80211_p2p_noa_desc desc[IEEE80211_P2P_NOA_DESC_MAX];
1045} __packed;
1046
1047#define IEEE80211_P2P_OPPPS_ENABLE_BIT BIT(7)
1048#define IEEE80211_P2P_OPPPS_CTWINDOW_MASK 0x7F
1049
1030/** 1050/**
1031 * struct ieee80211_bar - HT Block Ack Request 1051 * struct ieee80211_bar - HT Block Ack Request
1032 * 1052 *