forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
kernel/drivers/net/wireless/ti/wlcore/cmd.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * This file is part of wl1271
34 *
....@@ -5,21 +6,6 @@
56 * Copyright (C) 2009 Nokia Corporation
67 *
78 * 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
- *
239 */
2410
2511 #ifndef __CMD_H__
....@@ -79,7 +65,7 @@
7965 int wl1271_cmd_set_ap_key(struct wl1271 *wl, struct wl12xx_vif *wlvif,
8066 u16 action, u8 id, u8 key_type,
8167 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);
8369 int wl12xx_cmd_set_peer_state(struct wl1271 *wl, struct wl12xx_vif *wlvif,
8470 u8 hlid);
8571 int wl12xx_roc(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 role_id,
....@@ -223,7 +209,7 @@
223209 __le16 id;
224210 __le16 status;
225211 /* payload */
226
- u8 data[0];
212
+ u8 data[];
227213 } __packed;
228214
229215 #define WL1271_CMD_MAX_PARAMS 572