ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / net / irda / Kconfig
1 #
2 # IrDA protocol configuration
3 #
4
5 menuconfig IRDA
6         depends on NET
7         tristate "IrDA (infrared) subsystem support"
8         ---help---
9           Say Y here if you want to build support for the IrDA (TM) protocols.
10           The Infrared Data Associations (tm) specifies standards for wireless
11           infrared communication and is supported by most laptops and PDA's.
12
13           To use Linux support for the IrDA (tm) protocols, you will also need
14           some user-space utilities like irattach.  For more information, see
15           the file <file:Documentation/networking/irda.txt>.  You also want to
16           read the IR-HOWTO, available at
17           <http://www.tldp.org/docs.html#howto>.
18
19           If you want to exchange bits of data (vCal, vCard) with a PDA, you
20           will need to install some OBEX application, such as OpenObex :
21           <http://sourceforge.net/projects/openobex/>
22
23           To compile this support as a module, choose M here: the module will
24           be called irda.
25
26 comment "IrDA protocols"
27         depends on IRDA
28
29 source "net/irda/irlan/Kconfig"
30
31 source "net/irda/irnet/Kconfig"
32
33 source "net/irda/ircomm/Kconfig"
34
35 config IRDA_ULTRA
36         bool "Ultra (connectionless) protocol"
37         depends on IRDA
38         help
39           Say Y here to support the connectionless Ultra IRDA protocol.
40           Ultra allows to exchange data over IrDA with really simple devices
41           (watch, beacon) without the overhead of the IrDA protocol (no handshaking,
42           no management frames, simple fixed header).
43           Ultra is available as a special socket : socket(AF_IRDA, SOCK_DGRAM, 1);
44
45 comment "IrDA options"
46         depends on IRDA
47
48 config IRDA_CACHE_LAST_LSAP
49         bool "Cache last LSAP"
50         depends on IRDA
51         help
52           Say Y here if you want IrLMP to cache the last LSAP used.  This
53           makes sense since most frames will be sent/received on the same
54           connection.  Enabling this option will save a hash-lookup per frame.
55
56           If unsure, say Y.
57
58 config IRDA_FAST_RR
59         bool "Fast RRs (low latency)"
60         depends on IRDA
61         ---help---
62           Say Y here is you want IrLAP to send fast RR (Receive Ready) frames
63           when acting as a primary station.
64           Disabling this option will make latency over IrDA very bad. Enabling
65           this option will make the IrDA stack send more packet than strictly
66           necessary, thus reduce your battery life (but not that much).
67
68           Fast RR will make IrLAP send out a RR frame immediately when
69           receiving a frame if its own transmit queue is currently empty. This
70           will give a lot of speed improvement when receiving much data since
71           the secondary station will not have to wait the max. turn around
72           time (usually 500ms) before it is allowed to transmit the next time.
73           If the transmit queue of the secondary is also empty, the primary will
74           start backing-off before sending another RR frame, waiting longer
75           each time until the back-off reaches the max. turn around time.
76           This back-off increase in controlled via
77           /proc/sys/net/irda/fast_poll_increase
78
79           If unsure, say Y.
80
81 config IRDA_DEBUG
82         bool "Debug information"
83         depends on IRDA
84         help
85           Say Y here if you want the IrDA subsystem to write debug information
86           to your syslog. You can change the debug level in
87           /proc/sys/net/irda/debug .
88           When this option is enabled, the IrDA also perform many extra internal
89           verifications which will usually prevent the kernel to crash in case of
90           bugs.
91
92           If unsure, say Y (since it makes it easier to find the bugs).
93
94 source "drivers/net/irda/Kconfig"
95