.. | .. |
---|
1 | 1 | /* |
---|
2 | | - * Marvell Wireless LAN device driver: utility functions |
---|
| 2 | + * NXP Wireless LAN device driver: utility functions |
---|
3 | 3 | * |
---|
4 | | - * Copyright (C) 2011-2014, Marvell International Ltd. |
---|
| 4 | + * Copyright 2011-2020 NXP |
---|
5 | 5 | * |
---|
6 | | - * This software file (the "File") is distributed by Marvell International |
---|
7 | | - * Ltd. under the terms of the GNU General Public License Version 2, June 1991 |
---|
| 6 | + * This software file (the "File") is distributed by NXP |
---|
| 7 | + * under the terms of the GNU General Public License Version 2, June 1991 |
---|
8 | 8 | * (the "License"). You may use, redistribute and/or modify this File in |
---|
9 | 9 | * accordance with the terms and conditions of the License, a copy of which |
---|
10 | 10 | * is available by writing to the Free Software Foundation, Inc., |
---|
.. | .. |
---|
36 | 36 | }; |
---|
37 | 37 | |
---|
38 | 38 | /* size/addr for mwifiex_debug_info */ |
---|
39 | | -#define item_size(n) (FIELD_SIZEOF(struct mwifiex_debug_info, n)) |
---|
| 39 | +#define item_size(n) (sizeof_field(struct mwifiex_debug_info, n)) |
---|
40 | 40 | #define item_addr(n) (offsetof(struct mwifiex_debug_info, n)) |
---|
41 | 41 | |
---|
42 | 42 | /* size/addr for struct mwifiex_adapter */ |
---|
43 | | -#define adapter_item_size(n) (FIELD_SIZEOF(struct mwifiex_adapter, n)) |
---|
| 43 | +#define adapter_item_size(n) (sizeof_field(struct mwifiex_adapter, n)) |
---|
44 | 44 | #define adapter_item_addr(n) (offsetof(struct mwifiex_adapter, n)) |
---|
45 | 45 | |
---|
46 | 46 | struct mwifiex_debug_data { |
---|