forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
kernel/drivers/net/wireless/ti/wlcore/wlcore.h
....@@ -1,22 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * This file is part of wlcore
34 *
45 * Copyright (C) 2011 Texas Instruments Inc.
5
- *
6
- * This program is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU General Public License
8
- * version 2 as published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful, but
11
- * WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
- * General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU General Public License
16
- * along with this program; if not, write to the Free Software
17
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18
- * 02110-1301 USA
19
- *
206 */
217
228 #ifndef __WLCORE_H__
....@@ -199,8 +185,10 @@
199185 struct wl1271_if_operations *if_ops;
200186
201187 int irq;
188
+ int wakeirq;
202189
203190 int irq_flags;
191
+ int wakeirq_flags;
204192
205193 spinlock_t wl_lock;
206194
....@@ -318,9 +306,9 @@
318306 bool watchdog_recovery;
319307
320308 /* Reg domain last configuration */
321
- u32 reg_ch_conf_last[2] __aligned(8);
309
+ DECLARE_BITMAP(reg_ch_conf_last, 64);
322310 /* Reg domain pending configuration */
323
- u32 reg_ch_conf_pending[2];
311
+ DECLARE_BITMAP(reg_ch_conf_pending, 64);
324312
325313 /* Pointer that holds DMA-friendly block for the mailbox */
326314 void *mbox;