blob: 1eb3983decc3da0f9a74ef14b74a2b6899bd3ad8 [file] [log] [blame]
Johannes Berg8ca151b2013-01-24 14:25:36 +01001/******************************************************************************
2 *
3 * This file is provided under a dual BSD/GPLv2 license. When using or
4 * redistributing this file, you may do so under either license.
5 *
6 * GPL LICENSE SUMMARY
7 *
Emmanuel Grumbach51368bf2013-12-30 13:15:54 +02008 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
Johannes Berg8b4139d2014-07-24 14:05:26 +02009 * Copyright(c) 2013 - 2014 Intel Mobile Communications GmbH
Johannes Berg8ca151b2013-01-24 14:25:36 +010010 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of version 2 of the GNU General Public License as
13 * published by the Free Software Foundation.
14 *
15 * This program is distributed in the hope that it will be useful, but
16 * WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110,
23 * USA
24 *
25 * The full GNU General Public License is included in this distribution
Emmanuel Grumbach410dc5a2013-02-18 09:22:28 +020026 * in the file called COPYING.
Johannes Berg8ca151b2013-01-24 14:25:36 +010027 *
28 * Contact Information:
Emmanuel Grumbachd01c5362015-11-17 15:39:56 +020029 * Intel Linux Wireless <linuxwifi@intel.com>
Johannes Berg8ca151b2013-01-24 14:25:36 +010030 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
31 *
32 * BSD LICENSE
33 *
Emmanuel Grumbach51368bf2013-12-30 13:15:54 +020034 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
Johannes Berg8b4139d2014-07-24 14:05:26 +020035 * Copyright(c) 2013 - 2014 Intel Mobile Communications GmbH
Johannes Berg8ca151b2013-01-24 14:25:36 +010036 * All rights reserved.
37 *
38 * Redistribution and use in source and binary forms, with or without
39 * modification, are permitted provided that the following conditions
40 * are met:
41 *
42 * * Redistributions of source code must retain the above copyright
43 * notice, this list of conditions and the following disclaimer.
44 * * Redistributions in binary form must reproduce the above copyright
45 * notice, this list of conditions and the following disclaimer in
46 * the documentation and/or other materials provided with the
47 * distribution.
48 * * Neither the name Intel Corporation nor the names of its
49 * contributors may be used to endorse or promote products derived
50 * from this software without specific prior written permission.
51 *
52 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
53 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
54 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
55 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
56 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
57 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
58 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
59 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
60 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
61 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
62 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
63 *****************************************************************************/
64
65#ifndef __fw_api_sta_h__
66#define __fw_api_sta_h__
67
68/**
69 * enum iwl_sta_flags - flags for the ADD_STA host command
70 * @STA_FLG_REDUCED_TX_PWR_CTRL:
71 * @STA_FLG_REDUCED_TX_PWR_DATA:
Andrei Otcheretianski09b0ce12014-05-25 17:07:38 +030072 * @STA_FLG_DISABLE_TX: set if TX should be disabled
Johannes Berg8ca151b2013-01-24 14:25:36 +010073 * @STA_FLG_PS: set if STA is in Power Save
74 * @STA_FLG_INVALID: set if STA is invalid
75 * @STA_FLG_DLP_EN: Direct Link Protocol is enabled
76 * @STA_FLG_SET_ALL_KEYS: the current key applies to all key IDs
77 * @STA_FLG_DRAIN_FLOW: drain flow
78 * @STA_FLG_PAN: STA is for PAN interface
79 * @STA_FLG_CLASS_AUTH:
80 * @STA_FLG_CLASS_ASSOC:
81 * @STA_FLG_CLASS_MIMO_PROT:
82 * @STA_FLG_MAX_AGG_SIZE_MSK: maximal size for A-MPDU
83 * @STA_FLG_AGG_MPDU_DENS_MSK: maximal MPDU density for Tx aggregation
84 * @STA_FLG_FAT_EN_MSK: support for channel width (for Tx). This flag is
85 * initialised by driver and can be updated by fw upon reception of
86 * action frames that can change the channel width. When cleared the fw
87 * will send all the frames in 20MHz even when FAT channel is requested.
88 * @STA_FLG_MIMO_EN_MSK: support for MIMO. This flag is initialised by the
89 * driver and can be updated by fw upon reception of action frames.
90 * @STA_FLG_MFP_EN: Management Frame Protection
91 */
92enum iwl_sta_flags {
93 STA_FLG_REDUCED_TX_PWR_CTRL = BIT(3),
94 STA_FLG_REDUCED_TX_PWR_DATA = BIT(6),
95
Andrei Otcheretianski09b0ce12014-05-25 17:07:38 +030096 STA_FLG_DISABLE_TX = BIT(4),
Johannes Berg8ca151b2013-01-24 14:25:36 +010097
98 STA_FLG_PS = BIT(8),
Johannes Berg8ca151b2013-01-24 14:25:36 +010099 STA_FLG_DRAIN_FLOW = BIT(12),
100 STA_FLG_PAN = BIT(13),
101 STA_FLG_CLASS_AUTH = BIT(14),
102 STA_FLG_CLASS_ASSOC = BIT(15),
103 STA_FLG_RTS_MIMO_PROT = BIT(17),
104
105 STA_FLG_MAX_AGG_SIZE_SHIFT = 19,
106 STA_FLG_MAX_AGG_SIZE_8K = (0 << STA_FLG_MAX_AGG_SIZE_SHIFT),
107 STA_FLG_MAX_AGG_SIZE_16K = (1 << STA_FLG_MAX_AGG_SIZE_SHIFT),
108 STA_FLG_MAX_AGG_SIZE_32K = (2 << STA_FLG_MAX_AGG_SIZE_SHIFT),
109 STA_FLG_MAX_AGG_SIZE_64K = (3 << STA_FLG_MAX_AGG_SIZE_SHIFT),
110 STA_FLG_MAX_AGG_SIZE_128K = (4 << STA_FLG_MAX_AGG_SIZE_SHIFT),
111 STA_FLG_MAX_AGG_SIZE_256K = (5 << STA_FLG_MAX_AGG_SIZE_SHIFT),
112 STA_FLG_MAX_AGG_SIZE_512K = (6 << STA_FLG_MAX_AGG_SIZE_SHIFT),
113 STA_FLG_MAX_AGG_SIZE_1024K = (7 << STA_FLG_MAX_AGG_SIZE_SHIFT),
114 STA_FLG_MAX_AGG_SIZE_MSK = (7 << STA_FLG_MAX_AGG_SIZE_SHIFT),
115
116 STA_FLG_AGG_MPDU_DENS_SHIFT = 23,
117 STA_FLG_AGG_MPDU_DENS_2US = (4 << STA_FLG_AGG_MPDU_DENS_SHIFT),
118 STA_FLG_AGG_MPDU_DENS_4US = (5 << STA_FLG_AGG_MPDU_DENS_SHIFT),
119 STA_FLG_AGG_MPDU_DENS_8US = (6 << STA_FLG_AGG_MPDU_DENS_SHIFT),
120 STA_FLG_AGG_MPDU_DENS_16US = (7 << STA_FLG_AGG_MPDU_DENS_SHIFT),
121 STA_FLG_AGG_MPDU_DENS_MSK = (7 << STA_FLG_AGG_MPDU_DENS_SHIFT),
122
123 STA_FLG_FAT_EN_20MHZ = (0 << 26),
124 STA_FLG_FAT_EN_40MHZ = (1 << 26),
125 STA_FLG_FAT_EN_80MHZ = (2 << 26),
126 STA_FLG_FAT_EN_160MHZ = (3 << 26),
127 STA_FLG_FAT_EN_MSK = (3 << 26),
128
129 STA_FLG_MIMO_EN_SISO = (0 << 28),
130 STA_FLG_MIMO_EN_MIMO2 = (1 << 28),
131 STA_FLG_MIMO_EN_MIMO3 = (2 << 28),
132 STA_FLG_MIMO_EN_MSK = (3 << 28),
133};
134
135/**
136 * enum iwl_sta_key_flag - key flags for the ADD_STA host command
Max Stepanove36e5432013-08-27 19:56:13 +0300137 * @STA_KEY_FLG_NO_ENC: no encryption
138 * @STA_KEY_FLG_WEP: WEP encryption algorithm
139 * @STA_KEY_FLG_CCM: CCMP encryption algorithm
140 * @STA_KEY_FLG_TKIP: TKIP encryption algorithm
141 * @STA_KEY_FLG_EXT: extended cipher algorithm (depends on the FW support)
142 * @STA_KEY_FLG_CMAC: CMAC encryption algorithm
143 * @STA_KEY_FLG_ENC_UNKNOWN: unknown encryption algorithm
144 * @STA_KEY_FLG_EN_MSK: mask for encryption algorithmi value
Johannes Berg8ca151b2013-01-24 14:25:36 +0100145 * @STA_KEY_FLG_WEP_KEY_MAP: wep is either a group key (0 - legacy WEP) or from
146 * station info array (1 - n 1X mode)
147 * @STA_KEY_FLG_KEYID_MSK: the index of the key
148 * @STA_KEY_NOT_VALID: key is invalid
149 * @STA_KEY_FLG_WEP_13BYTES: set for 13 bytes WEP key
150 * @STA_KEY_MULTICAST: set for multical key
151 * @STA_KEY_MFP: key is used for Management Frame Protection
152 */
153enum iwl_sta_key_flag {
154 STA_KEY_FLG_NO_ENC = (0 << 0),
155 STA_KEY_FLG_WEP = (1 << 0),
156 STA_KEY_FLG_CCM = (2 << 0),
157 STA_KEY_FLG_TKIP = (3 << 0),
Max Stepanove36e5432013-08-27 19:56:13 +0300158 STA_KEY_FLG_EXT = (4 << 0),
Johannes Berg8ca151b2013-01-24 14:25:36 +0100159 STA_KEY_FLG_CMAC = (6 << 0),
160 STA_KEY_FLG_ENC_UNKNOWN = (7 << 0),
161 STA_KEY_FLG_EN_MSK = (7 << 0),
162
163 STA_KEY_FLG_WEP_KEY_MAP = BIT(3),
164 STA_KEY_FLG_KEYID_POS = 8,
165 STA_KEY_FLG_KEYID_MSK = (3 << STA_KEY_FLG_KEYID_POS),
166 STA_KEY_NOT_VALID = BIT(11),
167 STA_KEY_FLG_WEP_13BYTES = BIT(12),
168 STA_KEY_MULTICAST = BIT(14),
169 STA_KEY_MFP = BIT(15),
170};
171
172/**
173 * enum iwl_sta_modify_flag - indicate to the fw what flag are being changed
174 * @STA_MODIFY_KEY: this command modifies %key
175 * @STA_MODIFY_TID_DISABLE_TX: this command modifies %tid_disable_tx
176 * @STA_MODIFY_TX_RATE: unused
177 * @STA_MODIFY_ADD_BA_TID: this command modifies %add_immediate_ba_tid
178 * @STA_MODIFY_REMOVE_BA_TID: this command modifies %remove_immediate_ba_tid
179 * @STA_MODIFY_SLEEPING_STA_TX_COUNT: this command modifies %sleep_tx_count
180 * @STA_MODIFY_PROT_TH:
181 * @STA_MODIFY_QUEUES: modify the queues used by this station
182 */
183enum iwl_sta_modify_flag {
184 STA_MODIFY_KEY = BIT(0),
185 STA_MODIFY_TID_DISABLE_TX = BIT(1),
186 STA_MODIFY_TX_RATE = BIT(2),
187 STA_MODIFY_ADD_BA_TID = BIT(3),
188 STA_MODIFY_REMOVE_BA_TID = BIT(4),
189 STA_MODIFY_SLEEPING_STA_TX_COUNT = BIT(5),
190 STA_MODIFY_PROT_TH = BIT(6),
191 STA_MODIFY_QUEUES = BIT(7),
192};
193
194#define STA_MODE_MODIFY 1
195
196/**
197 * enum iwl_sta_sleep_flag - type of sleep of the station
198 * @STA_SLEEP_STATE_AWAKE:
199 * @STA_SLEEP_STATE_PS_POLL:
200 * @STA_SLEEP_STATE_UAPSD:
Johannes Berg3e56ead2013-02-15 22:23:18 +0100201 * @STA_SLEEP_STATE_MOREDATA: set more-data bit on
202 * (last) released frame
Johannes Berg8ca151b2013-01-24 14:25:36 +0100203 */
204enum iwl_sta_sleep_flag {
Johannes Berg3e56ead2013-02-15 22:23:18 +0100205 STA_SLEEP_STATE_AWAKE = 0,
206 STA_SLEEP_STATE_PS_POLL = BIT(0),
207 STA_SLEEP_STATE_UAPSD = BIT(1),
208 STA_SLEEP_STATE_MOREDATA = BIT(2),
Johannes Berg8ca151b2013-01-24 14:25:36 +0100209};
210
211/* STA ID and color bits definitions */
212#define STA_ID_SEED (0x0f)
213#define STA_ID_POS (0)
214#define STA_ID_MSK (STA_ID_SEED << STA_ID_POS)
215
216#define STA_COLOR_SEED (0x7)
217#define STA_COLOR_POS (4)
218#define STA_COLOR_MSK (STA_COLOR_SEED << STA_COLOR_POS)
219
220#define STA_ID_N_COLOR_GET_COLOR(id_n_color) \
221 (((id_n_color) & STA_COLOR_MSK) >> STA_COLOR_POS)
222#define STA_ID_N_COLOR_GET_ID(id_n_color) \
223 (((id_n_color) & STA_ID_MSK) >> STA_ID_POS)
224
225#define STA_KEY_MAX_NUM (16)
226#define STA_KEY_IDX_INVALID (0xff)
227#define STA_KEY_MAX_DATA_KEY_NUM (4)
228#define IWL_MAX_GLOBAL_KEYS (4)
229#define STA_KEY_LEN_WEP40 (5)
230#define STA_KEY_LEN_WEP104 (13)
231
232/**
233 * struct iwl_mvm_keyinfo - key information
234 * @key_flags: type %iwl_sta_key_flag
235 * @tkip_rx_tsc_byte2: TSC[2] for key mix ph1 detection
236 * @tkip_rx_ttak: 10-byte unicast TKIP TTAK for Rx
237 * @key_offset: key offset in the fw's key table
238 * @key: 16-byte unicast decryption key
239 * @tx_secur_seq_cnt: initial RSC / PN needed for replay check
240 * @hw_tkip_mic_rx_key: byte: MIC Rx Key - used for TKIP only
241 * @hw_tkip_mic_tx_key: byte: MIC Tx Key - used for TKIP only
242 */
243struct iwl_mvm_keyinfo {
244 __le16 key_flags;
245 u8 tkip_rx_tsc_byte2;
246 u8 reserved1;
247 __le16 tkip_rx_ttak[5];
248 u8 key_offset;
249 u8 reserved2;
250 u8 key[16];
251 __le64 tx_secur_seq_cnt;
252 __le64 hw_tkip_mic_rx_key;
253 __le64 hw_tkip_mic_tx_key;
254} __packed;
255
Sara Sharon837c4da2016-01-07 16:50:45 +0200256#define IWL_ADD_STA_STATUS_MASK 0xFF
257#define IWL_ADD_STA_BAID_MASK 0xFF00
258
Johannes Berg8ca151b2013-01-24 14:25:36 +0100259/**
Emmanuel Grumbachf9dc0002014-03-30 09:53:27 +0300260 * struct iwl_mvm_add_sta_cmd - Add/modify a station in the fw's sta table.
Johannes Berg8ca151b2013-01-24 14:25:36 +0100261 * ( REPLY_ADD_STA = 0x18 )
262 * @add_modify: 1: modify existing, 0: add new station
Emmanuel Grumbachf9dc0002014-03-30 09:53:27 +0300263 * @awake_acs:
264 * @tid_disable_tx: is tid BIT(tid) enabled for Tx. Clear BIT(x) to enable
265 * AMPDU for tid x. Set %STA_MODIFY_TID_DISABLE_TX to change this field.
Johannes Berg8ca151b2013-01-24 14:25:36 +0100266 * @mac_id_n_color: the Mac context this station belongs to
267 * @addr[ETH_ALEN]: station's MAC address
268 * @sta_id: index of station in uCode's station table
269 * @modify_mask: STA_MODIFY_*, selects which parameters to modify vs. leave
270 * alone. 1 - modify, 0 - don't change.
Johannes Berg8ca151b2013-01-24 14:25:36 +0100271 * @station_flags: look at %iwl_sta_flags
272 * @station_flags_msk: what of %station_flags have changed
Johannes Berg8ca151b2013-01-24 14:25:36 +0100273 * @add_immediate_ba_tid: tid for which to add block-ack support (Rx)
274 * Set %STA_MODIFY_ADD_BA_TID to use this field, and also set
275 * add_immediate_ba_ssn.
276 * @remove_immediate_ba_tid: tid for which to remove block-ack support (Rx)
277 * Set %STA_MODIFY_REMOVE_BA_TID to use this field
278 * @add_immediate_ba_ssn: ssn for the Rx block-ack session. Used together with
279 * add_immediate_ba_tid.
280 * @sleep_tx_count: number of packets to transmit to station even though it is
281 * asleep. Used to synchronise PS-poll and u-APSD responses while ucode
282 * keeps track of STA sleep state.
283 * @sleep_state_flags: Look at %iwl_sta_sleep_flag.
284 * @assoc_id: assoc_id to be sent in VHT PLCP (9-bit), for grp use 0, for AP
285 * mac-addr.
286 * @beamform_flags: beam forming controls
287 * @tfd_queue_msk: tfd queues used by this station
288 *
289 * The device contains an internal table of per-station information, with info
290 * on security keys, aggregation parameters, and Tx rates for initial Tx
291 * attempt and any retries (set by REPLY_TX_LINK_QUALITY_CMD).
292 *
293 * ADD_STA sets up the table entry for one station, either creating a new
294 * entry, or modifying a pre-existing one.
295 */
Emmanuel Grumbachf9dc0002014-03-30 09:53:27 +0300296struct iwl_mvm_add_sta_cmd {
Max Stepanov5a258aa2013-04-07 09:11:21 +0300297 u8 add_modify;
Johannes Berg3e56ead2013-02-15 22:23:18 +0100298 u8 awake_acs;
Max Stepanov5a258aa2013-04-07 09:11:21 +0300299 __le16 tid_disable_tx;
300 __le32 mac_id_n_color;
301 u8 addr[ETH_ALEN]; /* _STA_ID_MODIFY_INFO_API_S_VER_1 */
302 __le16 reserved2;
303 u8 sta_id;
304 u8 modify_mask;
305 __le16 reserved3;
306 __le32 station_flags;
307 __le32 station_flags_msk;
308 u8 add_immediate_ba_tid;
309 u8 remove_immediate_ba_tid;
310 __le16 add_immediate_ba_ssn;
311 __le16 sleep_tx_count;
312 __le16 sleep_state_flags;
313 __le16 assoc_id;
314 __le16 beamform_flags;
315 __le32 tfd_queue_msk;
Johannes Berg3e56ead2013-02-15 22:23:18 +0100316} __packed; /* ADD_STA_CMD_API_S_VER_7 */
Max Stepanov5a258aa2013-04-07 09:11:21 +0300317
318/**
319 * struct iwl_mvm_add_sta_key_cmd - add/modify sta key
320 * ( REPLY_ADD_STA_KEY = 0x17 )
321 * @sta_id: index of station in uCode's station table
322 * @key_offset: key offset in key storage
323 * @key_flags: type %iwl_sta_key_flag
324 * @key: key material data
325 * @key2: key material data
326 * @rx_secur_seq_cnt: RX security sequence counter for the key
327 * @tkip_rx_tsc_byte2: TSC[2] for key mix ph1 detection
328 * @tkip_rx_ttak: 10-byte unicast TKIP TTAK for Rx
329 */
330struct iwl_mvm_add_sta_key_cmd {
331 u8 sta_id;
332 u8 key_offset;
333 __le16 key_flags;
334 u8 key[16];
335 u8 key2[16];
336 u8 rx_secur_seq_cnt[16];
337 u8 tkip_rx_tsc_byte2;
338 u8 reserved;
339 __le16 tkip_rx_ttak[5];
340} __packed; /* ADD_MODIFY_STA_KEY_API_S_VER_1 */
341
342/**
Johannes Berg8ca151b2013-01-24 14:25:36 +0100343 * enum iwl_mvm_add_sta_rsp_status - status in the response to ADD_STA command
344 * @ADD_STA_SUCCESS: operation was executed successfully
345 * @ADD_STA_STATIONS_OVERLOAD: no room left in the fw's station table
346 * @ADD_STA_IMMEDIATE_BA_FAILURE: can't add Rx block ack session
347 * @ADD_STA_MODIFY_NON_EXISTING_STA: driver requested to modify a station that
348 * doesn't exist.
349 */
350enum iwl_mvm_add_sta_rsp_status {
351 ADD_STA_SUCCESS = 0x1,
352 ADD_STA_STATIONS_OVERLOAD = 0x2,
353 ADD_STA_IMMEDIATE_BA_FAILURE = 0x4,
354 ADD_STA_MODIFY_NON_EXISTING_STA = 0x8,
355};
356
357/**
358 * struct iwl_mvm_rm_sta_cmd - Add / modify a station in the fw's station table
359 * ( REMOVE_STA = 0x19 )
360 * @sta_id: the station id of the station to be removed
361 */
362struct iwl_mvm_rm_sta_cmd {
363 u8 sta_id;
364 u8 reserved[3];
365} __packed; /* REMOVE_STA_CMD_API_S_VER_2 */
366
367/**
368 * struct iwl_mvm_mgmt_mcast_key_cmd
369 * ( MGMT_MCAST_KEY = 0x1f )
370 * @ctrl_flags: %iwl_sta_key_flag
371 * @IGTK:
Johannes Berg2001a132015-06-19 10:20:10 +0200372 * @K1: unused
373 * @K2: unused
Johannes Berg8ca151b2013-01-24 14:25:36 +0100374 * @sta_id: station ID that support IGTK
375 * @key_id:
376 * @receive_seq_cnt: initial RSC/PN needed for replay check
377 */
378struct iwl_mvm_mgmt_mcast_key_cmd {
379 __le32 ctrl_flags;
380 u8 IGTK[16];
381 u8 K1[16];
382 u8 K2[16];
383 __le32 key_id;
384 __le32 sta_id;
385 __le64 receive_seq_cnt;
386} __packed; /* SEC_MGMT_MULTICAST_KEY_CMD_API_S_VER_1 */
387
388struct iwl_mvm_wep_key {
389 u8 key_index;
390 u8 key_offset;
391 __le16 reserved1;
392 u8 key_size;
393 u8 reserved2[3];
394 u8 key[16];
395} __packed;
396
397struct iwl_mvm_wep_key_cmd {
398 __le32 mac_id_n_color;
399 u8 num_keys;
400 u8 decryption_type;
401 u8 flags;
402 u8 reserved;
403 struct iwl_mvm_wep_key wep_key[0];
404} __packed; /* SEC_CURR_WEP_KEY_CMD_API_S_VER_2 */
405
Johannes Berg3e56ead2013-02-15 22:23:18 +0100406/**
407 * struct iwl_mvm_eosp_notification - EOSP notification from firmware
408 * @remain_frame_count: # of frames remaining, non-zero if SP was cut
409 * short by GO absence
410 * @sta_id: station ID
411 */
412struct iwl_mvm_eosp_notification {
413 __le32 remain_frame_count;
414 __le32 sta_id;
415} __packed; /* UAPSD_EOSP_NTFY_API_S_VER_1 */
Johannes Berg8ca151b2013-01-24 14:25:36 +0100416
417#endif /* __fw_api_sta_h__ */