AWMN @ oZoNet

You are here: Home > Mirrors > RegDomain/CountryCode

RegDomain/CountryCode


Regdomain und Countrycode

Was wir wollen bzw. dürfen:
Frequenzband In- or Outdoor Max. Output Power Max. EIRP Document
ISM 2.4-2.483GHz Indoor and Outdoor 100mW NA ETS 300-328
UNII 5.15-5.35GHz Indoor NA 200mW ETS 300-328
UNII 5.470-5.725GHz In- and Outdoor NA 1000mW ETS 300-328
UNII 5.725-5.825GHz In- and Outdoor NA 25mW ETS 300-328
Achtung: Bei Einsatz von OFDM veringert sich der zulässige Grenzwert auf ca. 66mW EIRP.
$ modprobe ath_pci countrycode=276 outdoor=1
Diese "countrycodes" können bei http://www.unicode.org/onlinedat/countries.html eingesehen werden. Sie sind im EEPROM der Karte gespeichert und können "nicht" überschrieben werden.

IBM Karte, regdomain 0x61, outdoor 1

$ iwlist ath0 chan
ath0 255 channels in total; available frequencies :
Channel 34 : 5.17 GHz
Channel 36 : 5.18 GHz
Channel 38 : 5.19 GHz
Channel 40 : 5.2 GHz
Channel 42 : 5.21 GHz
Channel 44 : 5.22 GHz
Channel 46 : 5.23 GHz
Channel 48 : 5.24 GHz
Channel 52 : 5.26 GHz
Channel 56 : 5.28 GHz
Channel 60 : 5.3 GHz
Channel 64 : 5.32 GHz
Channel 100 : 5.5 GHz
Channel 104 : 5.52 GHz
Channel 108 : 5.54 GHz
Channel 112 : 5.56 GHz
Channel 116 : 5.58 GHz
Channel 120 : 5.6 GHz
Channel 124 : 5.62 GHz
Channel 128 : 5.64 GHz
Channel 132 : 5.66 GHz
Channel 136 : 5.68 GHz
Channel 140 : 5.7 GHz
Channel 149 : 5.745 GHz
Channel 153 : 5.765 GHz
Channel 157 : 5.785 GHz
Channel 161 : 5.805 GHz
Channel 165 : 5.825 GHz
Current Frequency=5.785 GHz (Channel 157)

Toshiba Karte, regdomain 0x00

$ iwlist ath0 chan
ath0 255 channels in total; available frequencies :
Channel 36 : 5.18 GHz
Channel 40 : 5.2 GHz
Channel 42 : 5.21 GHz
Channel 44 : 5.22 GHz
Channel 48 : 5.24 GHz
Channel 50 : 5.25 GHz
Channel 52 : 5.26 GHz
Channel 56 : 5.28 GHz
Channel 58 : 5.29 GHz
Channel 60 : 5.3 GHz
Channel 64 : 5.32 GHz
Channel 149 : 5.745 GHz
Channel 152 : 5.76 GHz
Channel 153 : 5.765 GHz
Channel 157 : 5.785 GHz
Channel 160 : 5.8 GHz
Channel 161 : 5.805 GHz
Channel 165 : 5.825 GHz
Current Frequency=5.3 GHz (Channel 60)

Toshiba Karte, regdomain 0x00, countrycode 276

$ iwlist ath0 chan
ath0 255 channels in total; available frequencies :
Channel 36 : 5.18 GHz
Channel 40 : 5.2 GHz
Channel 44 : 5.22 GHz
Channel 48 : 5.24 GHz
Channel 52 : 5.26 GHz
Channel 56 : 5.28 GHz
Channel 60 : 5.3 GHz
Channel 64 : 5.32 GHz
Channel 100 : 5.5 GHz
Channel 104 : 5.52 GHz
Channel 108 : 5.54 GHz
Channel 112 : 5.56 GHz
Channel 116 : 5.58 GHz
Channel 120 : 5.6 GHz
Channel 124 : 5.62 GHz
Channel 128 : 5.64 GHz
Channel 132 : 5.66 GHz
Channel 136 : 5.68 GHz
Channel 140 : 5.7 GHz
Current Frequency=5.62 GHz (Channel 124)

Toshiba Karte, regdomain 0x64

$ iwpriv ath0 turbo 0
$ iwlist ath0 chan
ath0 255 channels in total; available frequencies :
Channel 36 : 5.18 GHz
Channel 40 : 5.2 GHz
Channel 42 : 5.21 GHz
Channel 44 : 5.22 GHz
Channel 48 : 5.24 GHz
Channel 50 : 5.25 GHz
Channel 52 : 5.26 GHz
Channel 56 : 5.28 GHz
Channel 58 : 5.29 GHz
Channel 60 : 5.3 GHz
Channel 64 : 5.32 GHz
Channel 149 : 5.745 GHz
Channel 152 : 5.76 GHz
Channel 153 : 5.765 GHz
Channel 157 : 5.785 GHz
Channel 160 : 5.8 GHz
Channel 161 : 5.805 GHz
Channel 165 : 5.825 GHz
Current Frequency=5.21 GHz (Channel 42)

$ iwpriv ath0 turbo 1
$ iwlist ath0 chan
ath0 255 channels in total; available frequencies :
Channel 42 : 5.21 GHz
Channel 50 : 5.25 GHz
Channel 58 : 5.29 GHz
Channel 152 : 5.76 GHz
Channel 160 : 5.8 GHz
Current Frequency=5.21 GHz (Channel 42)

#- Set WLAN Standard...

$ iwpriv ath0 mode X

X: 0=802.11a/b/g
1=802.11a
2=802.11b
3=802.11g


#- MAC-based filtering:
#- Make the list a whitelist and add a mac-addr...

$ iwpriv ath0 maccmd X
X: 1=whitelist
2=blacklist
3=clear the list

$ iwpriv ath0 mode master essid test
$ ifconfig ath0 up
$ iwpriv ath0 addmac 00:01:02:03:04:05


# 108 MBit/s Turbo Mode (perhaps)
iwpriv ath0 turbo 1

# diversity off
echo "0" > /proc/sys/dev/ath0/diversity

# set TX-output to main on toshiba cards
echo "2" > /proc/sys/dev/ath0/txantenna

# get all stations
cat /proc/sys/net/wlan0/associated_sta


BONDING WIFI

* linux kernel module bonding

gcc -O2 -s -o ifenslave ifenslave.c

modprobe bonding mode=0 miimon=100

ifconfig ath0 down
ifconfig ath1 down

ifconfig bond0 hw ether FE:ED:DE:AD:BE:EF
ifconfig bond0 192.168.0.1 netmask 255.255.255.0 up

./ifenslave bond0 ath0
./ifenslave bond0 ath1

* TEQL (Trivial / True Link Equalizer)

tc qdisc add dev ath1 root teql0
tc qdisc add dev ath0 root teql0

ip link set dev teql0 up

4.3. How do I interpret iwconfig's Signal Strength figures?

The signal strength figures reported by iwconfig et al. are composed of the RSSI, a slash (/) and the noise floor. They should not be read as being fractional, instead, read (say) 20/96 as "An RSSI of 20dBm relative to a noise floor of 96dBm". The figure for RSSI is averaged over the last 10 received frames, and due to a bug which means that the driver doesn't reset when the channel changes, the RSSI is not reliable during scanning - it's fine the rest of the time, though.

For a more detailed discussion of where the figures come from and why they are used, read on. Note that a small amount of communications understanding might be handy in the following discussion. For a brief discussion of what dBm means read my small explanation.

Why RSSI is used in the ath driver.

The 802.11 standard is designed such that the MAC and PHY layers are independent, allowing various different modulation schemes to use the same MAC layer. Communication between the management sublayers (called MLME and PLME) of the MAC and PHY layers is done using lists called service parameter lists who's members include (for the receiver side of things) received frame length, RSSI, and datarate. The lack of any absolute values for signal strength or noise floor mean that there is little choice in what to display - hence the value RSSI is used. There's a good aricle on this at wildpackets.com, and another, more detailed paper by the same person on connect802.com.
For more informaion on 802.11 Service Parameter Lists, and SAPs, try this search.

Why is the noise floor assumed to be a constant?

At a constant temperature, the thermal noise at any frequency looking into a 50? load is -174dBm/Hz (since [the noise power] N = kTRB [where k is Boltzmann's constant, T is the temperature in Kelvin, B is the system bandwidth], and thermal noise has a constant spectrum). For a 20Mhz OFDM channel we have -174 + 10log10(20x106), or -101.7dBm thermal noise at the antenna. After including an additional 5dBm noise from the amplifier chain, we have -96dBm for the noise floor inside the radio.

So, what does all this mean?

In general, an RSSI of 10 or less represents a weak signal although the chips can often decode low bit-rate signals down to -94dBm. An RSSI of 20 or so is decent. An rssi of 40 or more is very strong and will easily support both 54MBit/s and 108MBit/s operation. Don't be surprised if you get very different figures across invocations of iwconfig (or whichever iw tool), the RSSI will change with time due to interference, channel fading etc.

Wellenlängenmultiplex:
Splitter/Diplexer/...
noch mehr davon...
Channel Triplexer
Channel Triplexer Datasheet

Kommerizelle Hersteller von Routersoftwaresystemen:
Wireless LAN at 2,3-2,5 and 5,1-6,1 GHz


IEEE 802.11a/h and TPC/DFC

Note that TPC and DFS became mandatory for 5.250-5.350 GHz for any submittals
after Jan 20 2005 in the US. It becomes mandatory for any equipment sold or
manufactured Jan 20, 2006. (Its already mandatory for 5.470-5.725GHz.)
This *might* drive an implementation in madwifi.


Patching the Atheros EEPROM

Patching HowTo
 I'm not sure what madWiFi is looking for, but useful values include: 0  
(wildcarded), 0x10 (FCC), 0x20 (DOC), 0x30 (ETSI), 0x31 (Spain), 0x32
(France), 0x40 (MKK-Japan), and 0xFF (debug). Most "universal/worldwide"

cards use zero as the value, some 0xFF.


madwifi radiotap

Formula to set up slottime, acktimeout, ctstimeout for 5Ghz band

http://www.maco.sk/wireless/802.11a/madwifi.txt
function outdoorparam() {
var d;
var slot;
var ack;
d = document.door.DISTANCE.value;
if (d < 100) {
document.door.DISTANCE.value = 100;
alert('Only the distance is beyond 100 meters, it is neccessary to adjust the following parameters');
return false;
}
slot = 9+ Math.floor(d/300)+((d%300)?1:0);
ack = slot *2 +3;
alert("Recommended slottime: " + slot + " ;acknowdege timeout: " + ack + "; cts timeout:"+ack);
return true;
}



what this expression means in javascript? x = ((d%300)?1:0);
??
if d is divisible by 300 it x becomes 0 otherwise 1
hmm, if d is dividable by 300 x becomes 0 ? right ?
yes
it's the same actually as x = (d%300) && 1 || 0
thank you very much
if that is clearer...



-802.11f ? Inter Access Point Protocol support
Which is supported in hostapd and which I'm testing...

-Load balancing
Is there anyway to implement this ? Maybe with iproute2? Or any other
suggestions??


Upcoming standards:

-802.11r - Fast Roaming
Is there any support for clients with multimedia applications running that can
roam without interruptions like VoWLAN ?

-802.11s - MESH Networking (mainly WDS)
There are some posts on the Gmane forum aboout the 4 address solution, but
anyone knows someone that succeeded to implemented it or that did some test ??
I really want to get this up and running to counter the hostap project,
because the Hostap supports fot the WDS (still without security) but Intersil
Prism II is hard to find these days....

I found another solution on this newsgroup too which is called parp-route, but
don't know how this works or if it has the same capabilties...
Has someone set this up already who can help me with this?

-802.11t - Wireless Performance Prediction
What about this upcoming standard and madwifi?

Did you run
sysctl -w dev.ath0.rxfilter=0x1ff
?

That should set the filter to accept everything. You probably don't want
packets that didn't pass the crc check, so you might have to run
sysctl -w dev.ath0.rxfilter=0xff


nach oben