This file is indexed.

/lib/firmware/carl9170fw/carlfw/include/config.h is in linux-firmware 1.127.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */

#include "generated/autoconf.h"
#include "version.h"
#include "types.h"
#include "compiler.h"
#include "fwcmd.h"
#include "hw.h"

#ifndef __CARL9170FW_CONFIG_H
#define __CARL9170FW_CONFIG_H

#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)

#if GCC_VERSION < 40400
# error "This firmware will not work if it is compiled with gcc versions < 4.4"
# error "See: http://gcc.gnu.org/gcc-4.4/changes.html / Caveats No. 4"
#endif

#if ((defined CONFIG_CARL9170FW_PRINTF) &&			\
	(!defined CONFIG_CARL9170FW_DEBUG_USB) &&		\
	(!defined CONFIG_CARL9170FW_DEBUG_UART))
# warning "You have disabled all debug message transports."
# warning "However CONFIG_CARL9170FW_PRINTF is still set..."
# warning "Which is a waste of firmware space, if you ask me."
#endif

#define CARL9170_TX_STATUS_NUM		(CARL9170_RSP_TX_STATUS_NUM)
#define CARL9170_INT_RQ_CACHES		16
#define AR9170_INT_MAGIC_HEADER_SIZE	12
#define CARL9170_TBTT_DELTA		(CARL9170_PRETBTT_KUS + 1)

#define CARL9170_GPIO_MASK		(AR9170_GPIO_PORT_WPS_BUTTON_PRESSED)

#ifdef CONFIG_CARL9170FW_VIFS_NUM
#define CARL9170_INTF_NUM		(1 + CONFIG_CARL9170FW_VIFS_NUM)
#else
#define CARL9170_INTF_NUM		(1)
#endif /* CONFIG_CARL9170FW_VIFS_NUM */

#define CONFIG_CARL9170FW_BACK_REQS_NUM	4

static inline void __config_check(void)
{
	BUILD_BUG_ON(!CARL9170_TX_STATUS_NUM);
	BUILD_BUG_ON(CARL9170_INTF_NUM < 1);
	BUILD_BUG_ON(CARL9170_INTF_NUM >= AR9170_MAX_VIRTUAL_MAC);
}

#endif /* __CARL9170FW_CONFIG_H */