forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
kernel/drivers/net/wireless/intel/iwlwifi/fw/api/tdls.h
....@@ -8,6 +8,7 @@
88 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
99 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
1010 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH
11
+ * Copyright(c) 2018 Intel Corporation
1112 *
1213 * This program is free software; you can redistribute it and/or modify
1314 * it under the terms of version 2 of the GNU General Public License as
....@@ -30,6 +31,7 @@
3031 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
3132 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
3233 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH
34
+ * Copyright(c) 2018 Intel Corporation
3335 * All rights reserved.
3436 *
3537 * Redistribution and use in source and binary forms, with or without
....@@ -111,6 +113,17 @@
111113 } __packed; /* TDLS_STA_CHANNEL_SWITCH_FRAME_API_S_VER_1 */
112114
113115 /**
116
+ * struct iwl_tdls_channel_switch_cmd_tail - tail of iwl_tdls_channel_switch_cmd
117
+ *
118
+ * @timing: timing related data for command
119
+ * @frame: channel-switch request/response template, depending to switch_type
120
+ */
121
+struct iwl_tdls_channel_switch_cmd_tail {
122
+ struct iwl_tdls_channel_switch_timing timing;
123
+ struct iwl_tdls_channel_switch_frame frame;
124
+} __packed;
125
+
126
+/**
114127 * struct iwl_tdls_channel_switch_cmd - TDLS channel switch command
115128 *
116129 * The command is sent to initiate a channel switch and also in response to
....@@ -119,15 +132,13 @@
119132 * @switch_type: see &enum iwl_tdls_channel_switch_type
120133 * @peer_sta_id: station id of TDLS peer
121134 * @ci: channel we switch to
122
- * @timing: timing related data for command
123
- * @frame: channel-switch request/response template, depending to switch_type
135
+ * @tail: command tail
124136 */
125137 struct iwl_tdls_channel_switch_cmd {
126138 u8 switch_type;
127139 __le32 peer_sta_id;
128140 struct iwl_fw_channel_info ci;
129
- struct iwl_tdls_channel_switch_timing timing;
130
- struct iwl_tdls_channel_switch_frame frame;
141
+ struct iwl_tdls_channel_switch_cmd_tail tail;
131142 } __packed; /* TDLS_STA_CHANNEL_SWITCH_CMD_API_S_VER_1 */
132143
133144 /**