xref: /openbmc/linux/net/ax25/Kconfig (revision 27bbf45eae9ca98877a2d52a92a188147cd61b07)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Amateur Radio protocols and AX.25 device configuration
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
61da177e4SLinus Torvaldsmenuconfig HAMRADIO
79556fb73SMartin Schwidefsky	depends on NET && !S390
81da177e4SLinus Torvalds	bool "Amateur Radio support"
91da177e4SLinus Torvalds	help
101da177e4SLinus Torvalds	  If you want to connect your Linux box to an amateur radio, answer Y
112be53e0eSAlexander A. Klimov	  here. You want to read <https://www.tapr.org/>
12954b2e7fSRalf Baechle	  and more specifically about AX.25 on Linux
13*71273c46SPeter Lafreniere	  <https://linux-ax25.in-berlin.de>.
141da177e4SLinus Torvalds
151da177e4SLinus Torvalds	  Note that the answer to this question won't directly affect the
161da177e4SLinus Torvalds	  kernel: saying N will just cause the configurator to skip all
171da177e4SLinus Torvalds	  the questions about amateur radio.
181da177e4SLinus Torvalds
191da177e4SLinus Torvaldscomment "Packet Radio protocols"
20954b2e7fSRalf Baechle	depends on HAMRADIO
211da177e4SLinus Torvalds
221da177e4SLinus Torvaldsconfig AX25
231da177e4SLinus Torvalds	tristate "Amateur Radio AX.25 Level 2 protocol"
24954b2e7fSRalf Baechle	depends on HAMRADIO
25954b2e7fSRalf Baechle	help
261da177e4SLinus Torvalds	  This is the protocol used for computer communication over amateur
271da177e4SLinus Torvalds	  radio. It is either used by itself for point-to-point links, or to
281da177e4SLinus Torvalds	  carry other protocols such as tcp/ip. To use it, you need a device
291da177e4SLinus Torvalds	  that connects your Linux box to your amateur radio. You can either
301da177e4SLinus Torvalds	  use a low speed TNC (a Terminal Node Controller acts as a kind of
311da177e4SLinus Torvalds	  modem connecting your computer's serial port to your radio's
321da177e4SLinus Torvalds	  microphone input and speaker output) supporting the KISS protocol or
331da177e4SLinus Torvalds	  one of the various SCC cards that are supported by the generic Z8530
341da177e4SLinus Torvalds	  or the DMA SCC driver. Another option are the Baycom modem serial
351da177e4SLinus Torvalds	  and parallel port hacks or the sound card modem (supported by their
361da177e4SLinus Torvalds	  own drivers). If you say Y here, you also have to say Y to one of
371da177e4SLinus Torvalds	  those drivers.
381da177e4SLinus Torvalds
391da177e4SLinus Torvalds	  Information about where to get supporting software for Linux amateur
401da177e4SLinus Torvalds	  radio as well as information about how to configure an AX.25 port is
411da177e4SLinus Torvalds	  contained in the AX25-HOWTO, available from
422be53e0eSAlexander A. Klimov	  <https://www.tldp.org/docs.html#howto>. You might also want to
4320b943f0SMauro Carvalho Chehab	  check out the file <file:Documentation/networking/ax25.rst> in the
441da177e4SLinus Torvalds	  kernel source. More information about digital amateur radio in
451da177e4SLinus Torvalds	  general is on the WWW at
462be53e0eSAlexander A. Klimov	  <https://www.tapr.org/>.
471da177e4SLinus Torvalds
481da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
491da177e4SLinus Torvalds	  module will be called ax25.
501da177e4SLinus Torvalds
511da177e4SLinus Torvaldsconfig AX25_DAMA_SLAVE
521da177e4SLinus Torvalds	bool "AX.25 DAMA Slave support"
53954b2e7fSRalf Baechle	default y
541da177e4SLinus Torvalds	depends on AX25
551da177e4SLinus Torvalds	help
561da177e4SLinus Torvalds	  DAMA is a mechanism to prevent collisions when doing AX.25
571da177e4SLinus Torvalds	  networking. A DAMA server (called "master") accepts incoming traffic
581da177e4SLinus Torvalds	  from clients (called "slaves") and redistributes it to other slaves.
591da177e4SLinus Torvalds	  If you say Y here, your Linux box will act as a DAMA slave; this is
601da177e4SLinus Torvalds	  transparent in that you don't have to do any special DAMA
61954b2e7fSRalf Baechle	  configuration. Linux cannot yet act as a DAMA server.  This option
62954b2e7fSRalf Baechle	  only compiles DAMA slave support into the kernel.  It still needs to
63954b2e7fSRalf Baechle	  be enabled at runtime.  For more about DAMA see
64*71273c46SPeter Lafreniere	  <https://linux-ax25.in-berlin.de>.  If unsure, say Y.
651da177e4SLinus Torvalds
66954b2e7fSRalf Baechle# placeholder until implemented
67954b2e7fSRalf Baechleconfig AX25_DAMA_MASTER
68954b2e7fSRalf Baechle	bool 'AX.25 DAMA Master support'
69954b2e7fSRalf Baechle	depends on AX25_DAMA_SLAVE && BROKEN
70954b2e7fSRalf Baechle	help
71954b2e7fSRalf Baechle	  DAMA is a mechanism to prevent collisions when doing AX.25
72954b2e7fSRalf Baechle	  networking. A DAMA server (called "master") accepts incoming traffic
73954b2e7fSRalf Baechle	  from clients (called "slaves") and redistributes it to other slaves.
74954b2e7fSRalf Baechle	  If you say Y here, your Linux box will act as a DAMA master; this is
75954b2e7fSRalf Baechle	  transparent in that you don't have to do any special DAMA
76954b2e7fSRalf Baechle	  configuration. Linux cannot yet act as a DAMA server.  This option
77954b2e7fSRalf Baechle	  only compiles DAMA slave support into the kernel.  It still needs to
78954b2e7fSRalf Baechle	  be explicitly enabled, so if unsure, say Y.
79954b2e7fSRalf Baechle
801da177e4SLinus Torvaldsconfig NETROM
811da177e4SLinus Torvalds	tristate "Amateur Radio NET/ROM protocol"
821da177e4SLinus Torvalds	depends on AX25
83954b2e7fSRalf Baechle	help
841da177e4SLinus Torvalds	  NET/ROM is a network layer protocol on top of AX.25 useful for
851da177e4SLinus Torvalds	  routing.
861da177e4SLinus Torvalds
871da177e4SLinus Torvalds	  A comprehensive listing of all the software for Linux amateur radio
881da177e4SLinus Torvalds	  users as well as information about how to configure an AX.25 port is
89954b2e7fSRalf Baechle	  contained in the Linux Ham Wiki, available from
90*71273c46SPeter Lafreniere	  <https://linux-ax25.in-berlin.de>. You also might want to check out
91*71273c46SPeter Lafreniere	  the file <file:Documentation/networking/ax25.rst>. More information
92*71273c46SPeter Lafreniere	  about digital amateur radio in general is on the WWW at
932be53e0eSAlexander A. Klimov	  <https://www.tapr.org/>.
941da177e4SLinus Torvalds
951da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
961da177e4SLinus Torvalds	  module will be called netrom.
971da177e4SLinus Torvalds
981da177e4SLinus Torvaldsconfig ROSE
991da177e4SLinus Torvalds	tristate "Amateur Radio X.25 PLP (Rose)"
1001da177e4SLinus Torvalds	depends on AX25
101954b2e7fSRalf Baechle	help
1021da177e4SLinus Torvalds	  The Packet Layer Protocol (PLP) is a way to route packets over X.25
1031da177e4SLinus Torvalds	  connections in general and amateur radio AX.25 connections in
1041da177e4SLinus Torvalds	  particular, essentially an alternative to NET/ROM.
1051da177e4SLinus Torvalds
1061da177e4SLinus Torvalds	  A comprehensive listing of all the software for Linux amateur radio
1071da177e4SLinus Torvalds	  users as well as information about how to configure an AX.25 port is
108954b2e7fSRalf Baechle	  contained in the Linux Ham Wiki, available from
109*71273c46SPeter Lafreniere	  <https://linux-ax25.in-berlin.de>.  You also might want to check out
110*71273c46SPeter Lafreniere	  the file <file:Documentation/networking/ax25.rst>. More information
111*71273c46SPeter Lafreniere	  about digital amateur radio in general is on the WWW at
1122be53e0eSAlexander A. Klimov	  <https://www.tapr.org/>.
1131da177e4SLinus Torvalds
1141da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1151da177e4SLinus Torvalds	  module will be called rose.
1161da177e4SLinus Torvalds
1171da177e4SLinus Torvaldsmenu "AX.25 network device drivers"
118954b2e7fSRalf Baechle	depends on HAMRADIO && AX25
1191da177e4SLinus Torvalds
1201da177e4SLinus Torvaldssource "drivers/net/hamradio/Kconfig"
1211da177e4SLinus Torvalds
1221da177e4SLinus Torvaldsendmenu
123