📄 btconfig.h
字号:
/* * btconfig.h -- Configuration/Test defines for the Bluetooth stack * * Copyright (C) 2000, 2001 Axis Communications AB * * Author: Mattias Agren <mattias.agren@axis.com> * * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * Exceptionally, Axis Communications AB grants discretionary and * conditional permissions for additional use of the text contained * in the company's release of the AXIS OpenBT Stack under the * provisions set forth hereunder. * * Provided that, if you use the AXIS OpenBT Stack with other files, * that do not implement functionality as specified in the Bluetooth * System specification, to produce an executable, this does not by * itself cause the resulting executable to be covered by the GNU * General Public License. Your use of that executable is in no way * restricted on account of using the AXIS OpenBT Stack code with it. * * This exception does not however invalidate any other reasons why * the executable file might be covered by the provisions of the GNU * General Public License. * * $Id: btconfig.h,v 1.32 2001/07/31 19:00:28 pkj Exp $ * */#ifdef __KERNEL__#include <linux/config.h>#endif/* * When the stack is included as part of the kernel source tree, this macro * is defined, and we can use the standard Linux kernel config instead of * this next section. See Config.in in the source directory. * --gmcnutt */#ifndef CONFIG_BLUETOOTH/****************** * General * ******************//* Bluetooth HW defines used to setup different HW and to cope with limitations in HW *//* This sets current HW */#undef CONFIG_BLUETOOTH_NOINIT#undef CONFIG_BLUETOOTH_CSR#undef CONFIG_BLUETOOTH_DIGIANSWER#define CONFIG_BLUETOOTH_ERICSSON#undef CONFIG_BLUETOOTH_INFINEON_BMI#undef CONFIG_BLUETOOTH_GENERIC #undef CONFIG_BLUETOOTH_USBMODULE /* Not implemented *//* Use TCI layer or not */#undef CONFIG_BLUETOOTH_USE_TCI/* use of /proc files to read status information */#define CONFIG_BLUETOOTH_PROC/* Used to decrease overruns on serial port (see bluetooth.c) */#undef CONFIG_BLUETOOTH_USE_INBUFFER#ifdef __CRIS__#define CONFIG_BLUETOOTH_USE_SECURITY_MANAGER#else#undef CONFIG_BLUETOOTH_USE_SECURITY_MANAGER#endif#undef CONFIG_BLUETOOTH_ENABLE_MSSWITCH#undef CONFIG_BLUETOOTH_EARLY_MSSWITCH#ifdef CONFIG_BLUETOOTH_CSR/* This is set from the Makefile, so do not set it here *///#define CONFIG_BLUETOOTH_SUPPORT_BCSP#undef CONFIG_BLUETOOTH_USE_BCSP#endif/* Use testcode or not *//* This is set from the Makefile if appropriate, so do not set it here *///#undef CONFIG_BLUETOOTH_UNPLUG_TEST/*************** * HCI * ***************//* This should be defined if you are using Ericsson firmware that is older than P9A */#undef CONFIG_BLUETOOTH_SET_BAUDRATE_BLOCKING/**************** * L2CAP * ****************/#define CONFIG_BLUETOOTH_L2CAP_USE_TIMERS#undef CONFIG_BLUETOOTH_L2CAP_CONNECTIONLESS/***************** * RFCOMM * *****************//*************** * SDP * ***************/#endif /* CONFIG_BLUETOOTH *//***************************************************************************//* The following configurations cannot be set using the kernel configuration tools *//* HCI emulation enables using the stack without any bluetooth hardware. With this option defined you can test the stack by connecting two Linux machines with a nullmodem cabel. (If you are defining this you must start btd with no hw init) *///#define HCI_EMULATION/* This define is used during test of the host flow control *///#define HOST_FLOW_CTRL#ifdef __KERNEL__/* Don't define these four, they are only used for AXIS internal tests *///#define EMC_TEST//#define EMC_TEST_INITIATOR//#define EMC_LISTNER_ADDR 0x1810ce//#define EMC_TEST_DATA_SIZE 678#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -