2 * FST module - FST related definitions
3 * Copyright (c) 2014, Qualcomm Atheros, Inc.
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
9 #ifndef IEEE_80211_FST_DEFS_H
10 #define IEEE_80211_FST_DEFS_H
12 /* IEEE Std 802.11ad */
14 #define MB_STA_CHANNEL_ALL 0
17 SESSION_TYPE_BSS = 0, /* Infrastructure BSS */
18 SESSION_TYPE_IBSS = 1,
20 SESSION_TYPE_TDLS = 3,
24 #define SESSION_CONTROL(session_type, switch_intent) \
25 (((u8) ((session_type) & 0x7)) | ((switch_intent) ? 0x10 : 0x00))
27 #define GET_SESSION_CONTROL_TYPE(session_control) \
28 ((u8) ((session_control) & 0x7))
30 #define GET_SESSION_CONTROL_SWITCH_INTENT(session_control) \
31 (((session_control) & 0x10) >> 4)
33 /* 8.4.2.147 Session Transition element */
34 struct session_transition_ie {
47 struct fst_setup_req {
51 struct session_transition_ie stie;
52 /* Multi-band (optional) */
53 /* Wakeup Schedule (optional) */
54 /* Awake Window (optional) */
55 /* Switching Stream (optional) */
58 struct fst_setup_res {
62 struct session_transition_ie stie;
63 /* Multi-band (optional) */
64 /* Wakeup Schedule (optional) */
65 /* Awake Window (optional) */
66 /* Switching Stream (optional) */
67 /* Timeout Interval (optional) */
82 struct fst_tear_down {
87 #endif /* IEEE_80211_FST_DEFS_H */