Improve radio configuration

This commit is contained in:
vemax78
2013-09-22 22:28:59 +02:00
parent 7dcfd657b8
commit 8ed0a76617
4 changed files with 290 additions and 53 deletions

View File

@ -14,7 +14,7 @@ application: {
tunnelmode: {
nativeframe = false;
ethframe = false;
localbridging = false;
localbridging = true;
};
mactype = "localmac";
@ -32,10 +32,6 @@ application: {
};
descriptor: {
radio = (
{ device = "phy0"; driver = "nl80211"; }
);
encryption = [
"802.11_AES",
"802.11_TKIP"
@ -78,6 +74,54 @@ application: {
};
};
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;
dtimperiod = 0;
beaconperiod = 100;
antenna = {
diversity = false;
combiner = "omni";
selection = [ "internal" ];
};
dsss = {
channel = 1;
clearchannelassessment = 0;
energydetectthreshold = 0;
};
ofdm = {
channel = 1;
bandsupported = 0;
tithreshold = 100;
};
multidomaincapability = {
firstchannel = 1;
numberchannels = 11;
maxtxpower = 100;
};
supportedrates = [
12, 18, 24, 36, 48, 72, 96, 108
];
txpower = {
current = 100;
supported = [ 100 ];
};
}
);
network: {
#binding = "eth1";
mtu = 1500;
@ -90,7 +134,7 @@ application: {
};
acdiscovery: {
search = false;
search = true;
host = [
"127.0.0.1"
];