|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
|
|
|
*
|
|
|
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
|
|
*
|
|
@@ -35,7 +35,7 @@
|
|
|
*
|
|
|
*
|
|
|
* This file was automatically generated by 'framesc'
|
|
|
- * Thu Nov 3 15:54:51 2016 from the following file(s):
|
|
|
+ * Fri Jan 6 16:25:25 2017 from the following file(s):
|
|
|
*
|
|
|
* dot11f.frms
|
|
|
*
|
|
@@ -544,6 +544,83 @@ void dot11f_pack_ff_vht_user_position_array(tpAniSirGlobal,
|
|
|
uint8_t *);
|
|
|
|
|
|
|
|
|
+typedef struct sDot11fFfaddba_param_set {
|
|
|
+ uint16_t amsdu_supp:1;
|
|
|
+ uint16_t policy:1;
|
|
|
+ uint16_t tid:4;
|
|
|
+ uint16_t buff_size:10;
|
|
|
+} tDot11fFfaddba_param_set;
|
|
|
+
|
|
|
+#define DOT11F_FF_ADDBA_PARAM_SET_LEN (2)
|
|
|
+
|
|
|
+void dot11f_unpack_ff_addba_param_set(tpAniSirGlobal, uint8_t *,
|
|
|
+ tDot11fFfaddba_param_set *);
|
|
|
+
|
|
|
+void dot11f_pack_ff_addba_param_set(tpAniSirGlobal, tDot11fFfaddba_param_set *,
|
|
|
+ uint8_t *);
|
|
|
+
|
|
|
+#define ADDBA_PARAM_SET_AMSDU_SUPP_OFFSET 0
|
|
|
+#define ADDBA_PARAM_SET_AMSDU_SUPP_WIDTH 1
|
|
|
+#define ADDBA_PARAM_SET_POLICY_OFFSET 1
|
|
|
+#define ADDBA_PARAM_SET_POLICY_WIDTH 1
|
|
|
+#define ADDBA_PARAM_SET_TID_OFFSET 2
|
|
|
+#define ADDBA_PARAM_SET_TID_WIDTH 4
|
|
|
+#define ADDBA_PARAM_SET_BUFF_SIZE_OFFSET 6
|
|
|
+#define ADDBA_PARAM_SET_BUFF_SIZE_WIDTH 10
|
|
|
+
|
|
|
+typedef struct sDot11fFfba_start_seq_ctrl {
|
|
|
+ uint16_t frag_number:4;
|
|
|
+ uint16_t ssn:12;
|
|
|
+} tDot11fFfba_start_seq_ctrl;
|
|
|
+
|
|
|
+#define DOT11F_FF_BA_START_SEQ_CTRL_LEN (2)
|
|
|
+
|
|
|
+void dot11f_unpack_ff_ba_start_seq_ctrl(tpAniSirGlobal, uint8_t *,
|
|
|
+ tDot11fFfba_start_seq_ctrl *);
|
|
|
+
|
|
|
+void dot11f_pack_ff_ba_start_seq_ctrl(tpAniSirGlobal,
|
|
|
+ tDot11fFfba_start_seq_ctrl *,
|
|
|
+ uint8_t *);
|
|
|
+
|
|
|
+
|
|
|
+#define BA_START_SEQ_CTRL_FRAG_NUMBER_OFFSET 0
|
|
|
+#define BA_START_SEQ_CTRL_FRAG_NUMBER_WIDTH 4
|
|
|
+#define BA_START_SEQ_CTRL_SSN_OFFSET 4
|
|
|
+#define BA_START_SEQ_CTRL_SSN_WIDTH 12
|
|
|
+
|
|
|
+typedef struct sDot11fFfba_timeout {
|
|
|
+ uint16_t timeout;
|
|
|
+} tDot11fFfba_timeout;
|
|
|
+
|
|
|
+#define DOT11F_FF_BA_TIMEOUT_LEN (2)
|
|
|
+
|
|
|
+void dot11f_unpack_ff_ba_timeout(tpAniSirGlobal, uint8_t *,
|
|
|
+ tDot11fFfba_timeout *);
|
|
|
+
|
|
|
+void dot11f_pack_ff_ba_timeout(tpAniSirGlobal, tDot11fFfba_timeout *,
|
|
|
+ uint8_t *);
|
|
|
+
|
|
|
+typedef struct sDot11fFfdelba_param_set {
|
|
|
+ uint16_t reserved:11;
|
|
|
+ uint16_t initiator:1;
|
|
|
+ uint16_t tid:4;
|
|
|
+} tDot11fFfdelba_param_set;
|
|
|
+
|
|
|
+#define DOT11F_FF_DELBA_PARAM_SET_LEN (2)
|
|
|
+
|
|
|
+void dot11f_unpack_ff_delba_param_set(tpAniSirGlobal, uint8_t *,
|
|
|
+ tDot11fFfdelba_param_set *);
|
|
|
+
|
|
|
+void dot11f_pack_ff_delba_param_set(tpAniSirGlobal, tDot11fFfdelba_param_set *,
|
|
|
+ uint8_t *);
|
|
|
+
|
|
|
+#define DELBA_PARAM_SET_RESERVED_OFFSET 0
|
|
|
+#define DELBA_PARAM_SET_RESERVED_WIDTH 11
|
|
|
+#define DELBA_PARAM_SET_INITIATOR_OFFSET 11
|
|
|
+#define DELBA_PARAM_SET_INITIATOR_WIDTH 1
|
|
|
+#define DELBA_PARAM_SET_TID_OFFSET 12
|
|
|
+#define DELBA_PARAM_SET_TID_WIDTH 4
|
|
|
+
|
|
|
typedef struct sDot11fFfext_chan_switch_ann_action {
|
|
|
uint32_t switch_mode:8;
|
|
|
uint32_t op_class:8;
|
|
@@ -593,7 +670,7 @@ void dot11f_unpack_ff_p2p_action_subtype(tpAniSirGlobal, uint8_t *,
|
|
|
|
|
|
void dot11f_pack_ff_p2p_action_subtype(tpAniSirGlobal,
|
|
|
tDot11fFfp2p_action_subtype *,
|
|
|
- uint8_t *);
|
|
|
+ uint8_t *);
|
|
|
|
|
|
|
|
|
/*********************************************************************
|
|
@@ -9307,13 +9384,98 @@ uint32_t dot11f_get_packed_wmm_del_ts_size(tpAniSirGlobal pCtx,
|
|
|
} /* End extern "C". */
|
|
|
#endif /* C++ */
|
|
|
|
|
|
+typedef struct sDot11faddba_req{
|
|
|
+ tDot11fFfCategory Category;
|
|
|
+ tDot11fFfAction Action;
|
|
|
+ tDot11fFfDialogToken DialogToken;
|
|
|
+ tDot11fFfaddba_param_set addba_param_set;
|
|
|
+ tDot11fFfba_timeout ba_timeout;
|
|
|
+ tDot11fFfba_start_seq_ctrl ba_start_seq_ctrl;
|
|
|
+} tDot11faddba_req;
|
|
|
+
|
|
|
+#define DOT11F_ADDBA_REQ (46)
|
|
|
+
|
|
|
+#ifdef __cplusplus
|
|
|
+extern "C" {
|
|
|
+#endif /* C++ */
|
|
|
+
|
|
|
+uint32_t dot11f_unpack_addba_req(tpAniSirGlobal pCtx,
|
|
|
+ uint8_t *pBuf, uint32_t nBuf,
|
|
|
+ tDot11faddba_req * pFrm);
|
|
|
+uint32_t dot11f_pack_addba_req(tpAniSirGlobal pCtx,
|
|
|
+ tDot11faddba_req *pFrm, uint8_t *pBuf,
|
|
|
+ uint32_t nBuf, uint32_t *pnConsumed);
|
|
|
+uint32_t dot11f_get_packed_addba_req_size(tpAniSirGlobal pCtx,
|
|
|
+ tDot11faddba_req *pFrm,
|
|
|
+ uint32_t *pnNeeded);
|
|
|
+
|
|
|
+#ifdef __cplusplus
|
|
|
+} /* End extern "C". */
|
|
|
+#endif /* C++ */
|
|
|
+
|
|
|
+typedef struct sDot11faddba_rsp{
|
|
|
+ tDot11fFfCategory Category;
|
|
|
+ tDot11fFfAction Action;
|
|
|
+ tDot11fFfDialogToken DialogToken;
|
|
|
+ tDot11fFfStatus Status;
|
|
|
+ tDot11fFfaddba_param_set addba_param_set;
|
|
|
+ tDot11fFfba_timeout ba_timeout;
|
|
|
+} tDot11faddba_rsp;
|
|
|
+
|
|
|
+#define DOT11F_ADDBA_RSP (47)
|
|
|
+
|
|
|
+#ifdef __cplusplus
|
|
|
+extern "C" {
|
|
|
+#endif /* C++ */
|
|
|
+
|
|
|
+uint32_t dot11f_unpack_addba_rsp(tpAniSirGlobal pCtx,
|
|
|
+ uint8_t *pBuf, uint32_t nBuf,
|
|
|
+ tDot11faddba_rsp * pFrm);
|
|
|
+uint32_t dot11f_pack_addba_rsp(tpAniSirGlobal pCtx,
|
|
|
+ tDot11faddba_rsp *pFrm, uint8_t *pBuf,
|
|
|
+ uint32_t nBuf, uint32_t *pnConsumed);
|
|
|
+uint32_t dot11f_get_packed_addba_rsp_size(tpAniSirGlobal pCtx,
|
|
|
+ tDot11faddba_rsp *pFrm,
|
|
|
+ uint32_t *pnNeeded);
|
|
|
+
|
|
|
+#ifdef __cplusplus
|
|
|
+} /* End extern "C". */
|
|
|
+#endif /* C++ */
|
|
|
+
|
|
|
+typedef struct sDot11fdelba_req{
|
|
|
+ tDot11fFfCategory Category;
|
|
|
+ tDot11fFfAction Action;
|
|
|
+ tDot11fFfdelba_param_set delba_param_set;
|
|
|
+ tDot11fFfReason Reason;
|
|
|
+} tDot11fdelba_req;
|
|
|
+
|
|
|
+#define DOT11F_DELBA_REQ (48)
|
|
|
+
|
|
|
+#ifdef __cplusplus
|
|
|
+extern "C" {
|
|
|
+#endif /* C++ */
|
|
|
+
|
|
|
+uint32_t dot11f_unpack_delba_req(tpAniSirGlobal pCtx,
|
|
|
+ uint8_t *pBuf, uint32_t nBuf,
|
|
|
+ tDot11fdelba_req * pFrm);
|
|
|
+uint32_t dot11f_pack_delba_req(tpAniSirGlobal pCtx,
|
|
|
+ tDot11fdelba_req *pFrm, uint8_t *pBuf,
|
|
|
+ uint32_t nBuf, uint32_t *pnConsumed);
|
|
|
+uint32_t dot11f_get_packed_delba_req_size(tpAniSirGlobal pCtx,
|
|
|
+ tDot11fdelba_req *pFrm,
|
|
|
+ uint32_t *pnNeeded);
|
|
|
+
|
|
|
+#ifdef __cplusplus
|
|
|
+} /* End extern "C". */
|
|
|
+#endif /* C++ */
|
|
|
+
|
|
|
typedef struct sDot11fext_channel_switch_action_frame{
|
|
|
tDot11fFfCategory Category;
|
|
|
tDot11fFfAction Action;
|
|
|
tDot11fFfext_chan_switch_ann_action ext_chan_switch_ann_action;
|
|
|
} tDot11fext_channel_switch_action_frame;
|
|
|
|
|
|
-#define DOT11F_EXT_CHANNEL_SWITCH_ACTION_FRAME (46)
|
|
|
+#define DOT11F_EXT_CHANNEL_SWITCH_ACTION_FRAME (49)
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
extern "C" {
|
|
@@ -9340,7 +9502,7 @@ typedef struct sDot11fht2040_bss_coexistence_mgmt_action_frame{
|
|
|
tDot11fIEht2040_bss_intolerant_report ht2040_bss_intolerant_report;
|
|
|
} tDot11fht2040_bss_coexistence_mgmt_action_frame;
|
|
|
|
|
|
-#define DOT11F_HT2040_BSS_COEXISTENCE_MGMT_ACTION_FRAME (47)
|
|
|
+#define DOT11F_HT2040_BSS_COEXISTENCE_MGMT_ACTION_FRAME (50)
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
extern "C" {
|
|
@@ -9361,16 +9523,16 @@ uint32_t dot11f_get_packed_ht2040_bss_coexistence_mgmt_action_frameSize(tpAniSir
|
|
|
#endif /* C++ */
|
|
|
|
|
|
typedef struct sDot11fp2p_oper_chan_change_confirm{
|
|
|
- tDot11fFfCategory Category;
|
|
|
+ tDot11fFfCategory Category;
|
|
|
tDot11fFfp2p_action_oui p2p_action_oui;
|
|
|
tDot11fFfp2p_action_subtype p2p_action_subtype;
|
|
|
tDot11fFfDialogToken DialogToken;
|
|
|
- tDot11fIEHTCaps HTCaps;
|
|
|
- tDot11fIEVHTCaps VHTCaps;
|
|
|
- tDot11fIEOperatingMode OperatingMode;
|
|
|
+ tDot11fIEHTCaps HTCaps;
|
|
|
+ tDot11fIEVHTCaps VHTCaps;
|
|
|
+ tDot11fIEOperatingMode OperatingMode;
|
|
|
} tDot11fp2p_oper_chan_change_confirm;
|
|
|
|
|
|
-#define DOT11F_P2P_OPER_CHAN_CHANGE_CONFIRM (48)
|
|
|
+#define DOT11F_P2P_OPER_CHAN_CHANGE_CONFIRM (51)
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
extern "C" {
|