| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * This file is part of wlcore |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * 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 | | - * |
|---|
| 20 | 6 | */ |
|---|
| 21 | 7 | |
|---|
| 22 | 8 | #ifndef __WLCORE_H__ |
|---|
| .. | .. |
|---|
| 199 | 185 | struct wl1271_if_operations *if_ops; |
|---|
| 200 | 186 | |
|---|
| 201 | 187 | int irq; |
|---|
| 188 | + int wakeirq; |
|---|
| 202 | 189 | |
|---|
| 203 | 190 | int irq_flags; |
|---|
| 191 | + int wakeirq_flags; |
|---|
| 204 | 192 | |
|---|
| 205 | 193 | spinlock_t wl_lock; |
|---|
| 206 | 194 | |
|---|
| .. | .. |
|---|
| 318 | 306 | bool watchdog_recovery; |
|---|
| 319 | 307 | |
|---|
| 320 | 308 | /* Reg domain last configuration */ |
|---|
| 321 | | - u32 reg_ch_conf_last[2] __aligned(8); |
|---|
| 309 | + DECLARE_BITMAP(reg_ch_conf_last, 64); |
|---|
| 322 | 310 | /* Reg domain pending configuration */ |
|---|
| 323 | | - u32 reg_ch_conf_pending[2]; |
|---|
| 311 | + DECLARE_BITMAP(reg_ch_conf_pending, 64); |
|---|
| 324 | 312 | |
|---|
| 325 | 313 | /* Pointer that holds DMA-friendly block for the mailbox */ |
|---|
| 326 | 314 | void *mbox; |
|---|