blob: d3a9843a043d7a0a731c3d8d89396b2bf5513fa0 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
3# Amateur Radio protocols and AX.25 device configuration
4#
Linus Torvalds1da177e2005-04-16 15:20:36 -07005
6menuconfig HAMRADIO
Martin Schwidefsky9556fb72007-05-10 15:45:58 +02007 depends on NET && !S390
Linus Torvalds1da177e2005-04-16 15:20:36 -07008 bool "Amateur Radio support"
9 help
10 If you want to connect your Linux box to an amateur radio, answer Y
Alexander A. Klimov2be53e02020-07-13 11:02:51 +020011 here. You want to read <https://www.tapr.org/>
Ralf Baechle954b2e72007-03-24 12:54:26 -070012 and more specifically about AX.25 on Linux
13 <http://www.linux-ax25.org/>.
Linus Torvalds1da177e2005-04-16 15:20:36 -070014
15 Note that the answer to this question won't directly affect the
16 kernel: saying N will just cause the configurator to skip all
17 the questions about amateur radio.
18
19comment "Packet Radio protocols"
Ralf Baechle954b2e72007-03-24 12:54:26 -070020 depends on HAMRADIO
Linus Torvalds1da177e2005-04-16 15:20:36 -070021
22config AX25
23 tristate "Amateur Radio AX.25 Level 2 protocol"
Ralf Baechle954b2e72007-03-24 12:54:26 -070024 depends on HAMRADIO
25 help
Linus Torvalds1da177e2005-04-16 15:20:36 -070026 This is the protocol used for computer communication over amateur
27 radio. It is either used by itself for point-to-point links, or to
28 carry other protocols such as tcp/ip. To use it, you need a device
29 that connects your Linux box to your amateur radio. You can either
30 use a low speed TNC (a Terminal Node Controller acts as a kind of
31 modem connecting your computer's serial port to your radio's
32 microphone input and speaker output) supporting the KISS protocol or
33 one of the various SCC cards that are supported by the generic Z8530
34 or the DMA SCC driver. Another option are the Baycom modem serial
35 and parallel port hacks or the sound card modem (supported by their
36 own drivers). If you say Y here, you also have to say Y to one of
37 those drivers.
38
39 Information about where to get supporting software for Linux amateur
40 radio as well as information about how to configure an AX.25 port is
41 contained in the AX25-HOWTO, available from
Alexander A. Klimov2be53e02020-07-13 11:02:51 +020042 <https://www.tldp.org/docs.html#howto>. You might also want to
Mauro Carvalho Chehab20b943f2020-04-28 00:01:22 +020043 check out the file <file:Documentation/networking/ax25.rst> in the
Linus Torvalds1da177e2005-04-16 15:20:36 -070044 kernel source. More information about digital amateur radio in
45 general is on the WWW at
Alexander A. Klimov2be53e02020-07-13 11:02:51 +020046 <https://www.tapr.org/>.
Linus Torvalds1da177e2005-04-16 15:20:36 -070047
48 To compile this driver as a module, choose M here: the
49 module will be called ax25.
50
51config AX25_DAMA_SLAVE
52 bool "AX.25 DAMA Slave support"
Ralf Baechle954b2e72007-03-24 12:54:26 -070053 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -070054 depends on AX25
55 help
56 DAMA is a mechanism to prevent collisions when doing AX.25
57 networking. A DAMA server (called "master") accepts incoming traffic
58 from clients (called "slaves") and redistributes it to other slaves.
59 If you say Y here, your Linux box will act as a DAMA slave; this is
60 transparent in that you don't have to do any special DAMA
Ralf Baechle954b2e72007-03-24 12:54:26 -070061 configuration. Linux cannot yet act as a DAMA server. This option
62 only compiles DAMA slave support into the kernel. It still needs to
63 be enabled at runtime. For more about DAMA see
64 <http://www.linux-ax25.org>. If unsure, say Y.
Linus Torvalds1da177e2005-04-16 15:20:36 -070065
Ralf Baechle954b2e72007-03-24 12:54:26 -070066# placeholder until implemented
67config AX25_DAMA_MASTER
68 bool 'AX.25 DAMA Master support'
69 depends on AX25_DAMA_SLAVE && BROKEN
70 help
71 DAMA is a mechanism to prevent collisions when doing AX.25
72 networking. A DAMA server (called "master") accepts incoming traffic
73 from clients (called "slaves") and redistributes it to other slaves.
74 If you say Y here, your Linux box will act as a DAMA master; this is
75 transparent in that you don't have to do any special DAMA
76 configuration. Linux cannot yet act as a DAMA server. This option
77 only compiles DAMA slave support into the kernel. It still needs to
78 be explicitly enabled, so if unsure, say Y.
79
Linus Torvalds1da177e2005-04-16 15:20:36 -070080config NETROM
81 tristate "Amateur Radio NET/ROM protocol"
82 depends on AX25
Ralf Baechle954b2e72007-03-24 12:54:26 -070083 help
Linus Torvalds1da177e2005-04-16 15:20:36 -070084 NET/ROM is a network layer protocol on top of AX.25 useful for
85 routing.
86
87 A comprehensive listing of all the software for Linux amateur radio
88 users as well as information about how to configure an AX.25 port is
Ralf Baechle954b2e72007-03-24 12:54:26 -070089 contained in the Linux Ham Wiki, available from
90 <http://www.linux-ax25.org>. You also might want to check out the
Mauro Carvalho Chehab20b943f2020-04-28 00:01:22 +020091 file <file:Documentation/networking/ax25.rst>. More information about
Ralf Baechle954b2e72007-03-24 12:54:26 -070092 digital amateur radio in general is on the WWW at
Alexander A. Klimov2be53e02020-07-13 11:02:51 +020093 <https://www.tapr.org/>.
Linus Torvalds1da177e2005-04-16 15:20:36 -070094
95 To compile this driver as a module, choose M here: the
96 module will be called netrom.
97
98config ROSE
99 tristate "Amateur Radio X.25 PLP (Rose)"
100 depends on AX25
Ralf Baechle954b2e72007-03-24 12:54:26 -0700101 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700102 The Packet Layer Protocol (PLP) is a way to route packets over X.25
103 connections in general and amateur radio AX.25 connections in
104 particular, essentially an alternative to NET/ROM.
105
106 A comprehensive listing of all the software for Linux amateur radio
107 users as well as information about how to configure an AX.25 port is
Ralf Baechle954b2e72007-03-24 12:54:26 -0700108 contained in the Linux Ham Wiki, available from
109 <http://www.linux-ax25.org>. You also might want to check out the
Mauro Carvalho Chehab20b943f2020-04-28 00:01:22 +0200110 file <file:Documentation/networking/ax25.rst>. More information about
Ralf Baechle954b2e72007-03-24 12:54:26 -0700111 digital amateur radio in general is on the WWW at
Alexander A. Klimov2be53e02020-07-13 11:02:51 +0200112 <https://www.tapr.org/>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700113
114 To compile this driver as a module, choose M here: the
115 module will be called rose.
116
Linus Torvalds1da177e2005-04-16 15:20:36 -0700117menu "AX.25 network device drivers"
Ralf Baechle954b2e72007-03-24 12:54:26 -0700118 depends on HAMRADIO && AX25
Linus Torvalds1da177e2005-04-16 15:20:36 -0700119
120source "drivers/net/hamradio/Kconfig"
121
122endmenu