.. | .. |
---|
8 | 8 | * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. |
---|
9 | 9 | * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH |
---|
10 | 10 | * Copyright(c) 2016 - 2017 Intel Deutschland GmbH |
---|
| 11 | + * Copyright(c) 2018 Intel Corporation |
---|
11 | 12 | * |
---|
12 | 13 | * This program is free software; you can redistribute it and/or modify |
---|
13 | 14 | * it under the terms of version 2 of the GNU General Public License as |
---|
.. | .. |
---|
30 | 31 | * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. |
---|
31 | 32 | * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH |
---|
32 | 33 | * Copyright(c) 2016 - 2017 Intel Deutschland GmbH |
---|
| 34 | + * Copyright(c) 2018 Intel Corporation |
---|
33 | 35 | * All rights reserved. |
---|
34 | 36 | * |
---|
35 | 37 | * Redistribution and use in source and binary forms, with or without |
---|
.. | .. |
---|
111 | 113 | } __packed; /* TDLS_STA_CHANNEL_SWITCH_FRAME_API_S_VER_1 */ |
---|
112 | 114 | |
---|
113 | 115 | /** |
---|
| 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 | +/** |
---|
114 | 127 | * struct iwl_tdls_channel_switch_cmd - TDLS channel switch command |
---|
115 | 128 | * |
---|
116 | 129 | * The command is sent to initiate a channel switch and also in response to |
---|
.. | .. |
---|
119 | 132 | * @switch_type: see &enum iwl_tdls_channel_switch_type |
---|
120 | 133 | * @peer_sta_id: station id of TDLS peer |
---|
121 | 134 | * @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 |
---|
124 | 136 | */ |
---|
125 | 137 | struct iwl_tdls_channel_switch_cmd { |
---|
126 | 138 | u8 switch_type; |
---|
127 | 139 | __le32 peer_sta_id; |
---|
128 | 140 | 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; |
---|
131 | 142 | } __packed; /* TDLS_STA_CHANNEL_SWITCH_CMD_API_S_VER_1 */ |
---|
132 | 143 | |
---|
133 | 144 | /** |
---|