# Function -> implementation database.
#
# Purpose of this "database" is to provide an easy way to map a "function"
# (from the loc.db) to what is needed by a specific implementation.  For
# example, the wicontrol program uses the "-e" flag to specify whether or
# not WEP encryption is to be enabled or disabled, while the ancontrol
# program uses "-e" to specify which transmit WEP key to use, and uses -W
# to specify whether WEP is to be disabled, enabled, or "mixed cell".
#
# By convention, if a field is empty for a given driver, the concept is
# not supported by this mechanism.
#
# Format is that of Walt Hobbs' "RDB" implementation:  records are terminated
# by newline characters; fields are separated by tabs.  There is no "quoting"
# mechanism available to escape these.  From the first record, up to (but not
# including) the first record that does *not* begin with a '#' character are
# comment records.  The first non-comment record has the field names as the
# contents of the fields; the second has the (nominal -- used for printing)
# field widths as the field contents, and the rest of the records are data.
# Every non-comment record must have the same number of tab characters in
# it.
Driver	Program	Iface	Type	Wait	SSID	WEP	A_Typ	Name	Ad_Hoc	BSS	Key_N	Key	Status	Check	BSS_OK	Ad_Hoc_OK	Cmds
6	9	5	8	4	5	5	5	5	6	5	5	10	6	20	16	16	32
an	ancontrol	-i %s	802.11	2	-n %s	-W %d	-K %d	-l %s	-o 0	-o 1	-e %d	-v 1 -k %s	-S	^Operating mode:\s	\sassociated\W	\ssynced\W	Name Mode SSID A_Typ WEP Key Key_N
wi	wicontrol	-i %s	802.11	0	-n %s	-e %d		-s %s	-p 3	-p 1	-T %d	-k %s		^Operating mode:\s	\sassociated\W	\ssynced\W	Name Mode SSID A_Typ WEP Key Key_N
an-exp	ifconfig	%s	802.11	0	ssid %s	wepmode %s	authmode %s	station %s	media autoselect mediaopt adhoc	media autoselect	weptxkey %d	wepkey %s		^\s+status:\s	status:\sassociated	status:\ssynced	Name Mode SSID A_Typ WEP Key Key_N
