freewtp/conf/wtp.conf

151 lines
2.4 KiB
Plaintext
Raw Normal View History

2013-05-03 22:28:06 +02:00
# WTP configuration file
version = "1.0";
application: {
2013-07-25 22:16:08 +02:00
standalone = true;
2013-06-16 12:09:57 +02:00
2013-05-03 22:28:06 +02:00
name = "wtp 1";
location = "Ufficio";
binding = "802.11";
tunnelmode: {
nativeframe = false;
ethframe = false;
2013-09-22 22:28:59 +02:00
localbridging = true;
2013-05-03 22:28:06 +02:00
};
mactype = "localmac";
boardinfo: {
idvendor = 123456;
element = (
{ name = "model"; value = "1.0"; },
{ name = "serial"; value = "2.0"; },
{ name = "id"; value = "3.0"; },
{ name = "revision"; value = "4.0"; },
{ name = "macaddress"; type = "interface"; value = "eth1"; }
);
};
descriptor: {
encryption = [
"802.11_AES",
"802.11_TKIP"
];
info = (
{ idvendor = 23456; type = "hardware"; value = "abcde"; },
{ idvendor = 33457; type = "software"; value = "fghil"; },
{ idvendor = 43458; type = "boot"; value = "mnopq"; },
{ idvendor = 53459; type = "other"; value = "qwert"; }
);
};
ecn = "limited";
timer: {
statistics = 120;
};
dtls: {
enable = true;
dtlspolicy: {
cleardatachannel = true;
dtlsdatachannel = true;
};
type = "x509";
presharedkey: {
2013-05-27 23:10:49 +02:00
identity = "prova";
pskkey = "123456";
2013-05-03 22:28:06 +02:00
};
x509: {
calist = "/etc/capwap/ca.crt";
certificate = "/etc/capwap/wtp.crt";
privatekey = "/etc/capwap/wtp.key";
privatekeypassword = "";
2013-12-20 23:14:34 +01:00
};
};
wlan: {
prefix = "ap";
2013-05-03 22:28:06 +02:00
};
2013-09-22 22:28:59 +02:00
radio = (
{
device = "phy0";
enabled = true;
driver = "nl80211";
mode = "g";
country = "IT";
outdoor = false;
rtsthreshold = 2347;
shortretry = 7;
longretry = 4;
shortpreamble = true;
fragmentationthreshold = 2346;
txmsdulifetime = 512;
rxmsdulifetime = 512;
maxbssid = 4;
2013-09-24 19:14:27 +02:00
dtimperiod = 1;
2013-09-22 22:28:59 +02:00
beaconperiod = 100;
antenna = {
diversity = false;
combiner = "omni";
selection = [ "internal" ];
};
multidomaincapability = {
firstchannel = 1;
numberchannels = 11;
maxtxpower = 100;
};
supportedrates = [
12, 18, 24, 36, 48, 72, 96, 108
];
txpower = {
current = 100;
supported = [ 100 ];
};
}
);
2013-05-03 22:28:06 +02:00
network: {
#binding = "eth1";
mtu = 1500;
2013-06-16 12:09:57 +02:00
2013-05-03 22:28:06 +02:00
transport = "udp";
ipv4 = true;
ipv6 = false;
ipdualstack = true;
};
acdiscovery: {
2013-09-22 22:28:59 +02:00
search = true;
2013-05-03 22:28:06 +02:00
host = [
"127.0.0.1"
];
};
acprefered: {
host = [
"127.0.0.1"
];
};
};
logging: {
enable = true;
level = "debug";
output = (
{ mode = "stdout"; }
);
};