.. | .. |
---|
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. */ |
---|
16 | 3 | |
---|
17 | 4 | #ifndef _QTN_FMAC_SHM_IPC_H_ |
---|
18 | 5 | #define _QTN_FMAC_SHM_IPC_H_ |
---|
.. | .. |
---|
32 | 19 | }; |
---|
33 | 20 | |
---|
34 | 21 | 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); |
---|
36 | 23 | void *arg; |
---|
37 | 24 | }; |
---|
38 | 25 | |
---|
.. | .. |
---|
50 | 37 | size_t tx_timeout_count; |
---|
51 | 38 | |
---|
52 | 39 | u8 waiting_for_ack; |
---|
53 | | - |
---|
54 | | - u8 rx_data[QTN_IPC_MAX_DATA_SZ] __aligned(sizeof(u32)); |
---|
55 | 40 | |
---|
56 | 41 | struct qtnf_shm_ipc_int interrupt; |
---|
57 | 42 | struct qtnf_shm_ipc_rx_callback rx_callback; |
---|