hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/net/wireless/quantenna/qtnfmac/shm_ipc.h
....@@ -1,18 +1,5 @@
1
-/*
2
- * Copyright (c) 2015-2016 Quantenna Communications, Inc.
3
- * All rights reserved.
4
- *
5
- * This program is free software; you can redistribute it and/or
6
- * modify it under the terms of the GNU General Public License
7
- * as published by the Free Software Foundation; either version 2
8
- * of the License, or (at your option) any later version.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU General Public License for more details.
14
- *
15
- */
1
+/* SPDX-License-Identifier: GPL-2.0+ */
2
+/* Copyright (c) 2015-2016 Quantenna Communications. All rights reserved. */
163
174 #ifndef _QTN_FMAC_SHM_IPC_H_
185 #define _QTN_FMAC_SHM_IPC_H_
....@@ -32,7 +19,7 @@
3219 };
3320
3421 struct qtnf_shm_ipc_rx_callback {
35
- void (*fn)(void *arg, const u8 *buf, size_t len);
22
+ void (*fn)(void *arg, const u8 __iomem *buf, size_t len);
3623 void *arg;
3724 };
3825
....@@ -50,8 +37,6 @@
5037 size_t tx_timeout_count;
5138
5239 u8 waiting_for_ack;
53
-
54
- u8 rx_data[QTN_IPC_MAX_DATA_SZ] __aligned(sizeof(u32));
5540
5641 struct qtnf_shm_ipc_int interrupt;
5742 struct qtnf_shm_ipc_rx_callback rx_callback;