WLAN
Wireless LAN (WLAN) is a technology based on the IEEE 802.11 standard that operates at the physical and data link layers of the OSI model which allows the connection of wireless devices. In OSDX, the WLAN configuration is defined by two elements, Controllers and Interfaces. Controllers model the physical related characteristics of the wireless link while interfaces focus on the logical ones.
Regulatory domains
A regulatory domain defines a set of restrictions applicable to WLAN capable devices. Due to the existing regulations, all OSDX WLAN capable devices are shipped with predefined regulatory domain that cannot be changed through of configuration. The following table shows all the regulatory domains supported by OSDX devices.
Regulatory domain |
Default country |
Description |
|---|---|---|
|
|
European Telecommunications Standards Institute |
|
|
Federal Communications Commission |
|
|
Norma Oficial Mexicana |
|
|
Rest of the world |
Use the following table to find out the regulatory domain that applies for your target country.
Country list:
Country code |
Country name |
Regulatory domain |
|---|---|---|
|
Namibia |
|
|
Afghanistan |
|
|
Albania |
|
|
Algeria |
|
|
American Samoa |
|
|
Andorra |
|
|
Anguilla |
|
|
Argentina |
|
|
Armenia |
|
|
Aruba |
|
|
Australia |
|
|
Austria |
|
|
Azerbaijan |
|
|
Bahamas |
|
|
Bahrain |
|
|
Bangladesh |
|
|
Barbados |
|
|
Belarus |
|
|
Belgium |
|
|
Belize |
|
|
Bermuda |
|
|
Bhutan |
|
|
Bolivia |
|
|
Bosnia and Herzegovina |
|
|
Brazil |
|
|
Brunei Darussalam |
|
|
Bulgaria |
|
|
Burkina Faso |
|
|
Cambodia |
|
|
Canada |
|
|
Cayman Islands |
|
|
Central African Republic |
|
|
Chad |
|
|
Chile |
|
|
China |
|
|
Christmas Island |
|
|
Colombia |
|
|
Costa Rica |
|
|
Croatia |
|
|
Cyprus |
|
|
Czechia |
|
|
Denmark |
|
|
Dominica |
|
|
Dominican Republic |
|
|
Ecuador |
|
|
Egypt |
|
|
El Salvador |
|
|
Estonia |
|
|
Ethiopia |
|
|
Finland |
|
|
France |
|
|
French Guiana |
|
|
French Polynesia |
|
|
Georgia |
|
|
Germany |
|
|
Ghana |
|
|
Greece |
|
|
Greenland |
|
|
Grenada |
|
|
Guadeloupe |
|
|
Guam |
|
|
Guatemala |
|
|
Guyana |
|
|
Haiti |
|
|
Honduras |
|
|
Hong Kong |
|
|
Hungary |
|
|
Iceland |
|
|
India |
|
|
Indonesia |
|
|
Iraq |
|
|
Ireland |
|
|
Israel |
|
|
Italy |
|
|
Cote D’Ivoire |
|
|
Jamaica |
|
|
Japan |
|
|
Jordan |
|
|
Kazakhstan |
|
|
Kenya |
|
|
Republic of Korea |
|
|
Kuwait |
|
|
Latvia |
|
|
Lebanon |
|
|
Lesotho |
|
|
Liechtenstein |
|
|
Lithuania |
|
|
Luxembourg |
|
|
Macau |
|
|
North Macedonia |
|
|
Malawi |
|
|
Malaysia |
|
|
Maldives |
|
|
Malta |
|
|
Marshall Islands |
|
|
Martinique |
|
|
Mauritania |
|
|
Mauritius |
|
|
Mayotte |
|
|
Mexico |
|
|
Federated States of Micronesia |
|
|
Republic of Moldova |
|
|
Monaco |
|
|
Mongolia |
|
|
Montenegro |
|
|
Morocco |
|
|
Nepal |
|
|
Netherlands |
|
|
New Zealand |
|
|
Nicaragua |
|
|
Nigeria |
|
|
Norway |
|
|
Northern Mariana Islands |
|
|
Oman |
|
|
Pakistan |
|
|
Palau |
|
|
Panama |
|
|
Papua New Guinea |
|
|
Paraguay |
|
|
Peru |
|
|
Philippines |
|
|
Poland |
|
|
Portugal |
|
|
Puerto Rico |
|
|
Qatar |
|
|
Reunion |
|
|
Romania |
|
|
Russia Federation |
|
|
Rwanda |
|
|
Saint Barthelemy |
|
|
Saint Kitts and Nevis |
|
|
Saint Lucia |
|
|
Saint Martin |
|
|
Saint Pierre and Miquelon |
|
|
Saint Vincent and the Grenadines |
|
|
Samoa |
|
|
Saudi Arabia |
|
|
Senegal |
|
|
Serbia |
|
|
Singapore |
|
|
Slovakia |
|
|
Slovenia |
|
|
South Africa |
|
|
Spain |
|
|
Sri Lanka |
|
|
Suriname |
|
|
Sweden |
|
|
Switzerland |
|
|
Taiwan |
|
|
Tanzania |
|
|
Togo |
|
|
Thailand |
|
|
Trinidad and Tobago |
|
|
Tunisia |
|
|
Turkey |
|
|
Turks and Caicos |
|
|
Uganda |
|
|
Ukraine |
|
|
United Arab Emirates |
|
|
United Kingdom |
|
|
United States of America |
|
|
Uruguay |
|
|
Uzbekistan |
|
|
Vanuatu |
|
|
Venezuela |
|
|
Vietnam |
|
|
Virgin Islands |
|
|
Wallis and Futuna |
|
|
Yemen |
|
|
Zimbabwe |
|
All information about the device regulatory domain can be obtained by mean of the following CLI command:
admin@osdx$ controllers wlan show regdomain
Regulatory Domain: etsi (European Telecommunications Standards Institute)
Allowed countries: AD,AL,AT,BA,BE,BG,CH,CY,CZ,DE,DK,EE,ES,FI,FR,GB,GR,HR,HU,IE,IS,IT,LI,LT,LU,LV,MC,MD,ME,MK,MT,NL,NO,PL,PT,RO,RS,SE,SI,SK,TR
Default country: ES (Spain)
--------------------------------------------------------------------------------------------------------
Freq. range Channels per bandwidth Max. EIRP Flags
--------------------------------------------------------------------------------------------------------
2402MHz - 2482MHz 20MHz: 1,2,3,4,5,6,7,8,9,10,11,12,13 20dBm -
40MHz: 1,2,3,4,5,6,7,8,9,10,11,12,13
5170MHz - 5250MHz 20MHz: 36,40,44,48 23dBm indoor
40MHz: 36,40,44,48
80MHz: 36,40,44,48
5250MHz - 5330MHz 20MHz: 52,56,60,64 23dBm dfs,indoor
40MHz: 52,56,60,64
80MHz: 52,56,60,64
5490MHz - 5730MHz 20MHz: 100,104,108,112,116,120,124,128,132,136,140,144 30dBm dfs,indoor/outdoor
40MHz: 100,104,108,112,116,120,124,128,132,136,140,144
80MHz: 100,104,108,112,116,120,124,128,132,136,140,144
5735MHz - 5875MHz 20MHz: 149,153,157,161,165,169,173 14dBm indoor/outdoor
40MHz: 149,153,157,161,165,169
80MHz: 149,153,157,161
Since the ROW domain groups countries with different regulations, it’s possible to filter out the results by country to see what is relevant in a specific area.
Controllers
Physical-related parameters and common interface ones are configured by mean of the WLAN controllers. All WLAN controllers are pre-allocated during boot-up, meaning the creation and deletion actions are not supported. Depending on the characteristics of the associated radio module, some parameters will only accept a specific set values. OSDX provides a command that lists all the relevant information from the CLI.
admin@osdx$ controllers wlan show capabilities
Radio: wifi0
Type: physical
Phy: phy0
Bands: 5GHz
Bandwidths: 20MHz,40MHz,80MHz
Modes: 802.11a,802.11n,802.11ac,802.11ax
Supported channels: 36,40,44,48,52,56,60,64,100,104,108,112,116,120,124,128,132,136,140,144,149,153,157,161,165
Spatial streams: 2
Max. TX power: 16dBm (39.8mW)
Max. stations: 64
Max. interfaces: 3
HT capabilities: SMPS-DYNAMIC,GF,TX-STBC,DSSS_CCK-40,LSIG-TXOP-PROT
VHT capabilities: MAX-MPDU-11454,RXLDPC,TX-STBC-2BY1,RX-STBC-123,SU-BEAMFORMER,SU-BEAMFORMEE,SOUNDING-DIMENSION-2,MAX-A-MPDU-LEN-EXP7
Radio: wifi1
Type: virtual
Base radio: wifi0
Bands: 2.4GHz
Bandwidths: 20MHz,40MHz
Modes: 802.11g,802.11n,802.11ax
Supported channels: 1,2,3,4,5,6,7,8,9,10,11,12,13,14
HT capabilities: SMPS-DYNAMIC,GF,TX-STBC,DSSS_CCK-40,LSIG-TXOP-PROT
VHT capabilities: MAX-MPDU-3895
A radio interface can be either virtual or physical. This provides an unified configuration interface in devices with a single phy sharing the same limitations (like the number of interfaces or stations) between all WLAN interfaces.
Auto-channel selection
OSDX devices implements an automatic mechanism for selecting the best channel in an WLAN environment. The main purpose of this procedure is to avoid using channels with heavy utilization or interferences that may degrade the overall performance.
In order to select the best channel, the device must perform 5 scans in the configured band to gather enought survey date to make the decision. Then, an interference factor is built for each channel which will be later used to find the one with the lower value:
Where:
noise floor or nf is the sum off all the noise sources of the channel.
minimum noise floor is the smaller noise floor observed during all measurements.
busy time is the time unable to transmit because the channel was busy (used by another device).
active time is time spent on channel during scan.
tx time is the time spent transmitting data.
Note that the coefficient of 2 reflects the way radiation decreases as the square of the distance from the antenna
Interfaces
Network-specific parameters are configured under the interface wlan section, with
phy and type being mandatory. The maximum number of interfaces allowed depends
on the platform and can be checked using the show capabilities command
described in the Controllers section.
Warning
Some restrictions apply to devices that use the nxp wireless driver. In such case,
WLAN interfaces will be pre-allocated allowing only a specific phy and type
when configured.
Interface |
Phy |
Band |
Type |
|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
There are two types of WLAN interfaces supported by all wireless capable devices:
access-point and station. These two types are described in the following
sections.
Once the device has at least one interface configured on top of a controller, the
status of the device can be check using the show status command.
admin@osdx# run controllers wlan show status
Radio: wifi0
MAC Address: xx:xx:xx:xx:xx:xx
Status: up
Band: 5GHz
Channel: 36
Bandwidth: 20MHz
Tx-Power: 16dBm
Radio: wifi1
MAC Address: xx:xx:xx:xx:xx:xx
Status: up
Band: 2.4GHz
Channel: 11
Bandwidth: 20MHz
Tx-Power: 16dBm
Access-point
This type implements the infrastructure mode where wireless devices connect to an access-point that forwards the packets between the connected stations and the wired network. Note that the access-point is the center point for all communications (unlike what happens with the ad-hoc mode, where connections between stations are point-to-point).
Security
All OSDX WLAN capable devices support the following security modes for the access-point role:
mode |
akms |
security framework |
unicast ciphers |
pmf |
|---|---|---|---|---|
none |
||||
WPA personal |
|
|
|
|
WPA2 personal |
|
|
|
|
WPA/WPA2 personal |
|
|
|
|
WPA3 personal |
|
|
|
|
WPA2/WPA3 personal |
|
|
|
|
WPA enterprise |
|
|
|
|
WPA2 enterprise |
|
|
|
|
WPA/WPA2 enterprise |
|
|
|
|
WPA3 enterprise |
|
|
|
|
WPA2/WPA3 enterprise |
|
|
|
|
Note that some security modes may call for additional parameters to be configured. On such cases, the CLI will report an error message to inform the user about the problem.
A complete list of examples can be found here
Station
This type implements the station or client mode where the interface connects to
an access point operating in infrastructure mode to provide connectivity through
the air.
Client mode is configured via networks. A network is just a set of rules
that is evaluated when looking for a valid target so the first valid one with the
highest priority is used. The network priority is identified by mean of the index
and is evaluated in descending order (1 being the highest priority and 16 the
lowest). This configuration method gives the administrator a lot of flexibility when
working in complex deployments allowing the interface to connect to different networks
based on many conditions.
Warning
Note that only 1 interface in station mode per radio is supported in OSDX.
The security configuration is almost the same as the one described under the Access-point
section. The only difference is that the owe-transition mode is not allowed,
since it doesn’t make sense in station mode. For example, the following
excerpt shows how to configure an interface in station mode using WPA3 personal
security:
set interfaces wlan wlan0 phy wifi1
set interfaces wlan wlan0 type station network 1 security akm sae
set interfaces wlan wlan0 type station network 1 security pmf required
set interfaces wlan wlan0 type station network 1 security psk-passphrase 1234567890
set interfaces wlan wlan0 type station network 1 ssid test_24ghz
Eap methods MSCHAPv2, TTL, TTLS (with MD5, MSCHAPv2 and TTL)
and PEAP (with MD5 with MSCHAPv2) are also supported. On the next example,
a station will try to connect to a network with WPA3 Enterprise security using the
TTLS-TTL EAP method (that is, a TTL tunnel with certificates). Make sure the device
has the ca.pem, client.pem and client.key certificates in the
/config/auth/certificates folder.
set interfaces wlan wlan0 phy wifi0
set interfaces wlan wlan0 type station network 1 security akm cnsa
set interfaces wlan wlan0 type station network 1 security ca-certificate 'running://auth/certificates/ca.pem'
set interfaces wlan wlan0 type station network 1 security client-certificate 'running://auth/certificates/client.pem'
set interfaces wlan wlan0 type station network 1 security client-private-key 'running://auth/certificates/client.key'
set interfaces wlan wlan0 type station network 1 security client-private-password whatever
set interfaces wlan wlan0 type station network 1 security eap-method ttls inner-method tls
set interfaces wlan wlan0 type station network 1 security framework rsn
set interfaces wlan wlan0 type station network 1 security identity user
set interfaces wlan wlan0 type station network 1 security pmf required
set interfaces wlan wlan0 type station network 1 ssid test_radius
Examples
Here, you can find different examples of these options.
Command Summary
Configuration commands
controllers wlan radios <txt> auto-channel-selection blocked-channels <txt>interfaces wlan <txt> dhcp client fallback <ipv4cidr|ipv6cidr>interfaces wlan <txt> dhcp client receive default-router disableinterfaces wlan <txt> dhcp client receive default-router distance <u32>interfaces wlan <txt> dhcp client send dhcp-client-identifierinterfaces wlan <txt> dhcp client send dhcp-client-identifier base-macinterfaces wlan <txt> dhcp client send dhcp-client-identifier serial-numberinterfaces wlan <txt> dhcp client send dhcp-client-identifier string <id>interfaces wlan <txt> dhcp client send vendor-class-identifierinterfaces wlan <txt> dhcp client send vendor-class-identifier string <id>interfaces wlan <txt> ip igmp last-member-query-interval <u32>interfaces wlan <txt> ip ospf authentication encrypted-password <password>interfaces wlan <txt> ip ospf authentication message-digest <id>interfaces wlan <txt> ip ospf authentication message-digest <id> encrypted-password <password>interfaces wlan <txt> ip ospf authentication message-digest <id> password <txt>interfaces wlan <txt> ip rip authentication encrypted-password <password>interfaces wlan <txt> ip rip authentication message-digest <u32>interfaces wlan <txt> ip rip authentication message-digest <u32> encrypted-password <password>interfaces wlan <txt> ip rip authentication message-digest <u32> password <txt>interfaces wlan <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32>interfaces wlan <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32> encrypted-password <password>interfaces wlan <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32> password <txt>interfaces wlan <txt> ipv6 ospfv3 authentication md5 <u32> encrypted-password <password>interfaces wlan <txt> ipv6 ospfv3 authentication md5 <u32> password <txt>interfaces wlan <txt> ipv6 ripng split-horizon poison-reverseinterfaces wlan <txt> ipv6 router-advert cur-hop-limit <u32>interfaces wlan <txt> ipv6 router-advert default-lifetime <u32>interfaces wlan <txt> ipv6 router-advert default-preference <txt>interfaces wlan <txt> ipv6 router-advert other-config-flag <txt>interfaces wlan <txt> ipv6 router-advert prefix <ipv6net> autonomous-flag <txt>interfaces wlan <txt> ipv6 router-advert prefix <ipv6net> on-link-flag <txt>interfaces wlan <txt> ipv6 router-advert prefix <ipv6net> preferred-lifetime <u32|id>interfaces wlan <txt> ipv6 router-advert prefix <ipv6net> valid-lifetime <u32|id>interfaces wlan <txt> ipv6 router-advert reachable-time <u32>interfaces wlan <txt> ipv6 router-advert retrans-timer <u32>interfaces wlan <txt> traffic nat destination rule <u32> address <ipv4|ipv4net|ipv4range|id>interfaces wlan <txt> traffic nat destination rule <u32> description <txt>interfaces wlan <txt> traffic nat destination rule <u32> loginterfaces wlan <txt> traffic nat destination rule <u32> log level <txt>interfaces wlan <txt> traffic nat destination rule <u32> log prefix <txt>interfaces wlan <txt> traffic nat destination rule <u32> network <ipv4net>interfaces wlan <txt> traffic nat destination rule <u32> port <u32|id>interfaces wlan <txt> traffic nat destination rule <u32> protocol <txt>interfaces wlan <txt> traffic nat destination rule <u32> selector <txt>interfaces wlan <txt> traffic nat source rule <u32> address <ipv4|ipv4net|ipv4range|id>interfaces wlan <txt> traffic nat source rule <u32> description <txt>interfaces wlan <txt> traffic nat source rule <u32> log level <txt>interfaces wlan <txt> traffic nat source rule <u32> log prefix <txt>interfaces wlan <txt> traffic nat source rule <u32> network <ipv4net>interfaces wlan <txt> traffic nat source rule <u32> port <u32|id>interfaces wlan <txt> traffic nat source rule <u32> protocol <txt>interfaces wlan <txt> traffic nat source rule <u32> selector <txt>interfaces wlan <txt> traffic policy in <txt> priority <txt>interfaces wlan <txt> traffic policy local-in <txt> priority <txt>interfaces wlan <txt> traffic policy local-out <txt> priority <txt>interfaces wlan <txt> traffic policy out <txt> priority <txt>interfaces wlan <txt> type access-point disable-broadcast-ssidinterfaces wlan <txt> type access-point disable-rates 802.11a <txt>interfaces wlan <txt> type access-point disable-rates 802.11g <txt>interfaces wlan <txt> type access-point dot11k radio-resource-managementinterfaces wlan <txt> type access-point dot11r fast-transitioninterfaces wlan <txt> type access-point dot11r fast-transition over-the-airinterfaces wlan <txt> type access-point dot11r fast-transition over-the-dsinterfaces wlan <txt> type access-point dot11v network-assisted-roaminginterfaces wlan <txt> type access-point mac-filter allow-mac <anymacaddr>interfaces wlan <txt> type access-point max-clients hard-limit <u32>interfaces wlan <txt> type access-point security aaa accounting <id>interfaces wlan <txt> type access-point security aaa authentication <id>interfaces wlan <txt> type access-point security akm dot1x-256interfaces wlan <txt> type access-point security akm ft-dot1xinterfaces wlan <txt> type access-point security akm none transitioninterfaces wlan <txt> type access-point security akm none transition wlan-ifc <txt>interfaces wlan <txt> type access-point security akm owe transitioninterfaces wlan <txt> type access-point security akm owe transition wlan-ifc <txt>interfaces wlan <txt> type access-point security akm psk-256interfaces wlan <txt> type access-point security encrypted-passphrase <password>interfaces wlan <txt> type access-point security group-rekeyinginterfaces wlan <txt> type access-point security group-rekeying interval <u32>interfaces wlan <txt> type access-point security group-rekeying strict <bool>interfaces wlan <txt> type access-point security nas-identifier <txt>interfaces wlan <txt> type access-point security opportunistic-key-cachinginterfaces wlan <txt> type access-point security pairwise-ciphersinterfaces wlan <txt> type access-point security pairwise-ciphers aes-ccmpinterfaces wlan <txt> type access-point security pairwise-ciphers aes-ccmp-256interfaces wlan <txt> type access-point security pairwise-ciphers aes-gcmp-128interfaces wlan <txt> type access-point security pairwise-ciphers aes-gcmp-256interfaces wlan <txt> type access-point security pairwise-ciphers tkipinterfaces wlan <txt> type access-point security pmf optionalinterfaces wlan <txt> type access-point security pmf requiredinterfaces wlan <txt> type access-point security psk-passphrase <txt>interfaces wlan <txt> type access-point security wpav1 pairwise-ciphersinterfaces wlan <txt> type access-point security wpav1 pairwise-ciphers aes-ccmpinterfaces wlan <txt> type access-point security wpav1 pairwise-ciphers tkipinterfaces wlan <txt> type station network <u32> bssid <macaddr>interfaces wlan <txt> type station network <u32> security akminterfaces wlan <txt> type station network <u32> security akm cnsainterfaces wlan <txt> type station network <u32> security akm dot1xinterfaces wlan <txt> type station network <u32> security akm dot1x-256interfaces wlan <txt> type station network <u32> security akm ft-dot1xinterfaces wlan <txt> type station network <u32> security akm ft-pskinterfaces wlan <txt> type station network <u32> security akm ft-saeinterfaces wlan <txt> type station network <u32> security akm noneinterfaces wlan <txt> type station network <u32> security akm oweinterfaces wlan <txt> type station network <u32> security akm pskinterfaces wlan <txt> type station network <u32> security akm psk-256interfaces wlan <txt> type station network <u32> security akm saeinterfaces wlan <txt> type station network <u32> security ca-certificate <file>interfaces wlan <txt> type station network <u32> security client-certificate <file>interfaces wlan <txt> type station network <u32> security client-private-key <file>interfaces wlan <txt> type station network <u32> security client-private-password <txt>interfaces wlan <txt> type station network <u32> security eap-methodinterfaces wlan <txt> type station network <u32> security eap-method mschapv2interfaces wlan <txt> type station network <u32> security eap-method peapinterfaces wlan <txt> type station network <u32> security eap-method peap inner-methodinterfaces wlan <txt> type station network <u32> security eap-method peap inner-method md5interfaces wlan <txt> type station network <u32> security eap-method peap inner-method mschapv2interfaces wlan <txt> type station network <u32> security eap-method tlsinterfaces wlan <txt> type station network <u32> security eap-method ttlsinterfaces wlan <txt> type station network <u32> security eap-method ttls inner-methodinterfaces wlan <txt> type station network <u32> security eap-method ttls inner-method md5interfaces wlan <txt> type station network <u32> security eap-method ttls inner-method mschapv2interfaces wlan <txt> type station network <u32> security eap-method ttls inner-method tlsinterfaces wlan <txt> type station network <u32> security encrypted-passphrase <password>interfaces wlan <txt> type station network <u32> security frameworkinterfaces wlan <txt> type station network <u32> security framework rsninterfaces wlan <txt> type station network <u32> security framework wpav1interfaces wlan <txt> type station network <u32> security identity <txt>interfaces wlan <txt> type station network <u32> security pairwise-ciphersinterfaces wlan <txt> type station network <u32> security pairwise-ciphers aes-ccmpinterfaces wlan <txt> type station network <u32> security pairwise-ciphers aes-ccmp-256interfaces wlan <txt> type station network <u32> security pairwise-ciphers aes-gcmp-128interfaces wlan <txt> type station network <u32> security pairwise-ciphers aes-gcmp-256interfaces wlan <txt> type station network <u32> security pairwise-ciphers tkipinterfaces wlan <txt> type station network <u32> security passphrase <txt>interfaces wlan <txt> type station network <u32> security pmfinterfaces wlan <txt> type station network <u32> security pmf optionalinterfaces wlan <txt> type station network <u32> security pmf required