.. | .. |
---|
1 | | -/* Copyright (c) 2014 Broadcom Corporation |
---|
2 | | - * |
---|
3 | | - * Permission to use, copy, modify, and/or distribute this software for any |
---|
4 | | - * purpose with or without fee is hereby granted, provided that the above |
---|
5 | | - * copyright notice and this permission notice appear in all copies. |
---|
6 | | - * |
---|
7 | | - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
---|
8 | | - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
---|
9 | | - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY |
---|
10 | | - * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
---|
11 | | - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION |
---|
12 | | - * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
---|
13 | | - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
---|
| 1 | +// SPDX-License-Identifier: ISC |
---|
| 2 | +/* |
---|
| 3 | + * Copyright (c) 2014 Broadcom Corporation |
---|
14 | 4 | */ |
---|
15 | 5 | #ifndef BRCMFMAC_COMMON_H |
---|
16 | 6 | #define BRCMFMAC_COMMON_H |
---|
.. | .. |
---|
59 | 49 | bool iapp; |
---|
60 | 50 | bool ignore_probe_fail; |
---|
61 | 51 | struct brcmfmac_pd_cc *country_codes; |
---|
| 52 | + const char *board_type; |
---|
62 | 53 | union { |
---|
63 | 54 | struct brcmfmac_sdio_pd sdio; |
---|
64 | 55 | } bus; |
---|
.. | .. |
---|
74 | 65 | /* Sets dongle media info (drv_version, mac address). */ |
---|
75 | 66 | int brcmf_c_preinit_dcmds(struct brcmf_if *ifp); |
---|
76 | 67 | |
---|
| 68 | +#ifdef CONFIG_DMI |
---|
| 69 | +void brcmf_dmi_probe(struct brcmf_mp_device *settings, u32 chip, u32 chiprev); |
---|
| 70 | +#else |
---|
| 71 | +static inline void |
---|
| 72 | +brcmf_dmi_probe(struct brcmf_mp_device *settings, u32 chip, u32 chiprev) {} |
---|
| 73 | +#endif |
---|
| 74 | + |
---|
| 75 | +u8 brcmf_map_prio_to_prec(void *cfg, u8 prio); |
---|
| 76 | + |
---|
| 77 | +u8 brcmf_map_prio_to_aci(void *cfg, u8 prio); |
---|
| 78 | + |
---|
77 | 79 | #endif /* BRCMFMAC_COMMON_H */ |
---|