| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * This file is part of wl1271 |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 5 | 6 | * Copyright (C) 2009 Nokia Corporation |
|---|
| 6 | 7 | * |
|---|
| 7 | 8 | * Contact: Luciano Coelho <luciano.coelho@nokia.com> |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is free software; you can redistribute it and/or |
|---|
| 10 | | - * modify it under the terms of the GNU General Public License |
|---|
| 11 | | - * version 2 as published by the Free Software Foundation. |
|---|
| 12 | | - * |
|---|
| 13 | | - * This program is distributed in the hope that it will be useful, but |
|---|
| 14 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 15 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 16 | | - * General Public License for more details. |
|---|
| 17 | | - * |
|---|
| 18 | | - * You should have received a copy of the GNU General Public License |
|---|
| 19 | | - * along with this program; if not, write to the Free Software |
|---|
| 20 | | - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA |
|---|
| 21 | | - * 02110-1301 USA |
|---|
| 22 | | - * |
|---|
| 23 | 9 | */ |
|---|
| 24 | 10 | |
|---|
| 25 | 11 | #ifndef __CMD_H__ |
|---|
| .. | .. |
|---|
| 79 | 65 | int wl1271_cmd_set_ap_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, |
|---|
| 80 | 66 | u16 action, u8 id, u8 key_type, |
|---|
| 81 | 67 | u8 key_size, const u8 *key, u8 hlid, u32 tx_seq_32, |
|---|
| 82 | | - u16 tx_seq_16); |
|---|
| 68 | + u16 tx_seq_16, bool is_pairwise); |
|---|
| 83 | 69 | int wl12xx_cmd_set_peer_state(struct wl1271 *wl, struct wl12xx_vif *wlvif, |
|---|
| 84 | 70 | u8 hlid); |
|---|
| 85 | 71 | int wl12xx_roc(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 role_id, |
|---|
| .. | .. |
|---|
| 223 | 209 | __le16 id; |
|---|
| 224 | 210 | __le16 status; |
|---|
| 225 | 211 | /* payload */ |
|---|
| 226 | | - u8 data[0]; |
|---|
| 212 | + u8 data[]; |
|---|
| 227 | 213 | } __packed; |
|---|
| 228 | 214 | |
|---|
| 229 | 215 | #define WL1271_CMD_MAX_PARAMS 572 |
|---|