https://wiki.mikrotik.com/index.php?title=802.11n_Setup_Guide&feed=atom&action=history802.11n Setup Guide - Revision history2024-03-29T07:30:48ZRevision history for this page on the wikiMediaWiki 1.38.2https://wiki.mikrotik.com/index.php?title=802.11n_Setup_Guide&diff=13867&oldid=prevNormis: /* Updating Licence key and unlocking 802.11n */2009-10-20T06:58:17Z<p><span dir="auto"><span class="autocomment">Updating Licence key and unlocking 802.11n</span></span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 06:58, 20 October 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l24">Line 24:</td>
<td colspan="2" class="diff-lineno">Line 24:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==== Updating Licence key and unlocking 802.11n ====</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==== Updating Licence key and unlocking 802.11n ====</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Once you have completed the upgrade to v4<del style="font-weight: bold; text-decoration: none;">.03beta</del>, connect via winbox to your device then:</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Once you have completed the upgrade to v4, connect via winbox to your device then:</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>#Open the licence page via System -> Licence</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>#Open the licence page via System -> Licence</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>#Click on the "update licence key"</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>#Click on the "update licence key"</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Image:Update-mikrotik-licence-key.jpg]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Image:Update-mikrotik-licence-key.jpg]]</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Setup and Testing ==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Setup and Testing ==</div></td></tr>
</table>Normishttps://wiki.mikrotik.com/index.php?title=802.11n_Setup_Guide&diff=13866&oldid=prevNormis: no more beta2009-10-20T06:58:01Z<p>no more beta</p>
<p><b>New page</b></p><div>==== Brief Overview ====<br />
<br />
Since the release of Mikrotik v4.03beta, 802.11n draft wireless cards are now supported.<br />
This guide's purpose is to explain to those familiar with the use of regular wireless, exactly how to go about setting up an 802.11n card.<br />
<br />
== Pre-Setup ==<br />
<br />
==== Equipment ====<br />
<br />
Equipment used on my test bench:<br />
* RB411A x 2<br />
* TP-Link Wireless N MiniPCI Adapter, Atheros, 2T2R, 2.4GHz, 802.11n Draft 2.0, 802.11g/b x 2<br />
<br />
<br />
[[Image:Wlan1-tp-link.jpg]]<br />
<br />
<br />
Note: I will be doing further testing with the Mikrotik 802.11n cards and adding info when they arrive but at the time of release I already had these cards spare.<br />
<br />
==== Upgrading to v4 ====<br />
<br />
Steps to upgrading your Routerboard or x86 device are located here - [[Upgrading_RouterOS]]<br />
<br />
==== Updating Licence key and unlocking 802.11n ====<br />
<br />
Once you have completed the upgrade to v4.03beta, connect via winbox to your device then:<br />
#Open the licence page via System -> Licence<br />
#Click on the "update licence key"<br />
<br />
[[Image:Update-mikrotik-licence-key.jpg]]<br />
<br />
<br />
== Setup and Testing ==<br />
<br />
This section details how to configure your wireless 802.11n card along with an example at the end of a preconfigured setup you can attempt on your own cards.<br />
I will also go into as much detail as possible on the new options provided to the 802.11n cards and what each of these does.<br />
<br />
==== 802.11n Configuration options ====<br />
<br />
===== Winbox changable configuration options =====<br />
* '''band''' (2ghz-b/g/n | 2ghz-onlyn | 5ghz-a/n | 5ghz-onlyn | other-original a/b/g options also available)<br />
* '''ht-extension-channel''' (above-control | below-control | disabled)<br />
* '''ht-rxchains''' (0,1,2 - any combination of these)<br />
* '''ht-txchains''' (0,1,2 - any combination of these)<br />
* '''ht-ampdu-priorities''' (0,1,2,3,4,5,6,7 - any combination of these)<br />
* '''ht-guard-interval''' (any | long)<br />
<br />
These items can be viewed and changed from in winbox or terminal.<br />
<br />
===== Winbox viewable configuration options =====<br />
* '''ht-basic-mcs''' (mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7,mcs-8,mcs-9,mcs-10,mcs-11,mcs-12,mcs-13,mcs-14,mcs-15 - any combination of these)<br />
* '''ht-supported-mcs''' (mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7,mcs-8,mcs-9,mcs-10,mcs-11,mcs-12,mcs-13,mcs-14,mcs-15 - any combination of these)<br />
<br />
These previous 2 options can be changed only from terminal, but appear in winbox. <br />
(In ROS4.0beta4 they can be changed in winbox Wireless Interface window, tab "Data Rates" and set rate to "configured". Under "HT MCS" tab options are now configurable.)<br />
<br />
===== Non-Winbox viewable configuration options =====<br />
* '''ht-amsdu-limit''' (0..8192) <br />
* '''ht-amsdu-threshold''' (0..8192) <br />
<br />
These last two only appear in terminal at this time. (ROS4.0beta4 made these configurable in winbox too.)<br />
<br />
==== Winbox 802.11n configuration tabs ====<br />
<br />
[[Image:Mikrotik-ht-tab.jpg]][[Image: Mikrotik-ht-mcs-tab.jpg]]<br />
<br />
Configurable options, in depth.<br />
<br />
* '''ht-extension-channel''' (above-control | below-control | disabled)<br />
<br />
The current 802.11n draft supports a method of channel bonding for both 2.4Ghz and 5.Ghz systems. There is 1 20Mhz channel defined as the "control channel" while the secondary channel can then be set to sit above or below the control channel. Seeing as 2.4Ghz only has 3 'usable' channels (1,6,11) its recommended to use this on a 5Ghz where there are more available channels.<br />
<br />
* '''ht-rxchains''' (0,1,2 - any combination of these)<br />
* '''ht-txchains''' (0,1,2 - any combination of these)<br />
<br />
Which antenna connector to use for TX or RX. You can use one of these or multiple (depending on your antenna configuration). On MikroTik R2n and R52n card there are 2 antenna connectors and to use both of them ht-tx/rx-chains should be set to 0,1.<br />
<br />
* '''ht-ampdu-priorities''' (0,1,2,3,4,5,6,7 - any combination of these)<br />
<br />
A-MPDU (Aggregated Mac Protocol Data Unit) allows the transmissions of multiple ethernet frames to a single location as burst of up to 64kbytes<br />
This is performed on the hardware itself. It is important to understand these numbers, 0-7 correspond to packet priority for which A-MPDU will be used. For example, if you check options 0 and 6, A-MPDU will only be used on packets with a priority of 0 and 6, no other packets will be affected. A-MPDU should not be used with applications that require low latency such as VOIP since the price paid for higher throughput is increased latency.<br />
<br />
* '''ht-guard-interval''' (any | long)<br />
<br />
In 802.11n the OFDM Guard interval (GI) is decreased from 800ns to 400ns, without any futher info I am assuming that the 'any' is the new 400ns timing and 'long' is the old 800ns<br />
<br />
== Example configuration ==<br />
<br />
As above I used 2 x RB411's with 2.4ghz 802.11n cards for my test setup, here is a sample config's for each one.<br />
<br />
'''Access Point'''<br />
<pre><br />
/ip address<br />
add address=192.168.1.1/24 broadcast=192.168.1.255 comment="" disabled=no interface=wlan1 network=192.168.1.0<br />
/interface wireless<br />
set 0 ack-timeout=dynamic adaptive-noise-immunity=none allow-sharedkey=no antenna-gain=0 antenna-mode=ant-a area="" arp=enabled band=2ghz-b/g/n basic-rates-a/g=6Mbps \<br />
basic-rates-b=1Mbps comment="" compression=no country=no_country_set default-ap-tx-limit=0 default-authentication=yes default-client-tx-limit=0 default-forwarding=\<br />
yes dfs-mode=none disable-running-check=no disabled=no disconnect-timeout=3s frame-lifetime=0 frequency=2412 frequency-mode=manual-txpower hide-ssid=no \<br />
ht-ampdu-priorities=0 ht-amsdu-limit=8192 ht-amsdu-threshold=8192 ht-basic-mcs=mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7 ht-extension-channel=above-control \<br />
ht-guard-interval=any ht-rxchains=0,2 ht-supported-mcs=mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7,mcs-8,mcs-9,mcs-10,mcs-11,mcs-12,mcs-13,mcs-14,mcs-15 \<br />
ht-txchains=0,2 hw-fragmentation-threshold=disabled hw-protection-mode=none hw-protection-threshold=0 hw-retries=4 mac-address=00:1D:0F:BB:8C:66 max-station-count=\<br />
2007 mode=ap-bridge mtu=1500 name=wlan1 periodic-calibration=default periodic-calibration-interval=60 preamble-mode=both \<br />
proprietary-extensions=post-2.9.25 radio-name=001D0FBB8C66 rate-set=default scan-list=default security-profile=default ssid=abc station-bridge-clone-mac=\<br />
00:00:00:00:00:00 supported-rates-a/g=6Mbps,9Mbps,12Mbps,18Mbps,24Mbps,36Mbps,48Mbps,54Mbps supported-rates-b=1Mbps,2Mbps,5.5Mbps,11Mbps tx-power-mode=default \<br />
wds-mode=disabled wmm-support=enabled<br />
</pre><br />
<br />
'''Wireless Station'''<br />
<pre><br />
/ip address<br />
add address=192.168.1.2/24 broadcast=192.168.1.255 comment="" disabled=no interface=wlan1 network=192.168.1.0<br />
/interface wireless<br />
set 0 ack-timeout=dynamic adaptive-noise-immunity=none allow-sharedkey=no antenna-gain=0 antenna-mode=ant-a area="" arp=enabled band=2ghz-b/g/n basic-rates-a/g=6Mbps \<br />
basic-rates-b=1Mbps comment="" compression=no country=no_country_set default-ap-tx-limit=0 default-authentication=yes default-client-tx-limit=0 default-forwarding=\<br />
yes dfs-mode=none disable-running-check=no disabled=no disconnect-timeout=3s frame-lifetime=0 frequency=2412 frequency-mode=manual-txpower hide-ssid=no \<br />
ht-ampdu-priorities=0 ht-amsdu-limit=8192 ht-amsdu-threshold=8192 ht-basic-mcs=mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7 ht-extension-channel=above-control \<br />
ht-guard-interval=any ht-rxchains=0,2 ht-supported-mcs=mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7,mcs-8,mcs-9,mcs-10,mcs-11,mcs-12,mcs-13,mcs-14,mcs-15 \<br />
ht-txchains=0,2 hw-fragmentation-threshold=disabled hw-protection-mode=none hw-protection-threshold=0 hw-retries=4 mac-address=00:1D:0F:BB:8C:1E max-station-count=\<br />
2007 mode=station mtu=1500 name=wlan1 periodic-calibration=default periodic-calibration-interval=60 preamble-mode=both \<br />
proprietary-extensions=post-2.9.25 radio-name=001D0FBB8C1E rate-set=default scan-list=default security-profile=default ssid=abc station-bridge-clone-mac=\<br />
00:00:00:00:00:00 supported-rates-a/g=6Mbps,9Mbps,12Mbps,18Mbps,24Mbps,36Mbps,48Mbps,54Mbps supported-rates-b=1Mbps,2Mbps,5.5Mbps,11Mbps tx-power-mode=default \<br />
wds-mode=disabled wmm-support=enabled<br />
</pre><br />
<br />
My first test gave similar to the following results, thou I expect to improve on these shortly.<br />
<br />
[[Image:802.11n-speed-mikrotik.jpg]]<br />
<br />
== Current Optimum setup configuration ==<br />
<br />
As supplied by User:NetTraptor in the forum thread - http://forum.mikrotik.com/viewtopic.php?p=160517#p160517<br />
<br />
<pre><br />
/interface wireless security-profiles<br />
set default authentication-types="" eap-methods=passthrough group-ciphers="" \<br />
group-key-update=5m interim-update=0s management-protection=disabled \<br />
management-protection-key="" mode=none name=default \<br />
radius-eap-accounting=no radius-mac-accounting=no \<br />
radius-mac-authentication=no radius-mac-caching=disabled \<br />
radius-mac-format=XX:XX:XX:XX:XX:XX radius-mac-mode=as-username \<br />
static-algo-0=none static-algo-1=none static-algo-2=none static-algo-3=\<br />
none static-key-0="" static-key-1="" static-key-2="" static-key-3="" \<br />
static-sta-private-algo=none static-sta-private-key="" \<br />
static-transmit-key=key-0 supplicant-identity=MikroTik tls-certificate=\<br />
none tls-mode=no-certificates unicast-ciphers="" wpa-pre-shared-key="" \<br />
wpa2-pre-shared-key=""<br />
/interface wireless<br />
set 0 ack-timeout=dynamic adaptive-noise-immunity=none allow-sharedkey=no \<br />
antenna-gain=0 antenna-mode=ant-a area="" arp=enabled band=5ghz-onlyn \<br />
basic-rates-a/g="" basic-rates-b="" comment="" compression=no country=\<br />
no_country_set default-ap-tx-limit=0 default-authentication=yes \<br />
default-client-tx-limit=0 default-forwarding=yes dfs-mode=none \<br />
disable-running-check=no disabled=no disconnect-timeout=3s \<br />
frame-lifetime=0 frequency=5180 frequency-mode=manual-txpower hide-ssid=\<br />
no ht-ampdu-priorities=0,1,2,3,4,5,6,7 ht-amsdu-limit=8192 \<br />
ht-amsdu-threshold=8192 ht-basic-mcs=mcs-0 ht-extension-channel=disabled \<br />
ht-guard-interval=any ht-rxchains=0,1 ht-supported-mcs=\<br />
mcs-0,mcs-7,mcs-8,mcs-14,mcs-15 ht-txchains=0,1 \<br />
hw-fragmentation-threshold=disabled hw-protection-mode=none \<br />
hw-protection-threshold=0 hw-retries=15 mac-address=00:0C:42:3A:CF:E9 \<br />
max-station-count=2 mode=bridge mtu=1500 name=wlan1 on-fail-retry-time=\<br />
100ms periodic-calibration=disabled periodic-calibration-interval=60 \<br />
preamble-mode=short proprietary-extensions=post-2.9.25 radio-name=\<br />
000C423ACFE9 rate-set=configured scan-list=5180,5760,5320,5825 \<br />
security-profile=default ssid=awmn-2315-3665 station-bridge-clone-mac=\<br />
00:00:00:00:00:00 supported-rates-a/g="" supported-rates-b="" tx-power=3 \<br />
tx-power-mode=all-rates-fixed update-stats-interval=disabled \<br />
wds-cost-range=50-150 wds-default-bridge=none wds-default-cost=100 \<br />
wds-ignore-ssid=no wds-mode=disabled wmm-support=enabled<br />
/interface wireless manual-tx-power-table<br />
set wlan1 comment="" manual-tx-powers="1Mbps:17,2Mbps:17,5.5Mbps:17,11Mbps:17,\<br />
6Mbps:17,9Mbps:17,12Mbps:17,18Mbps:17,24Mbps:17,36Mbps:17,48Mbps:17,54Mbps\<br />
:17,HT20-1:0,HT20-2:0,HT20-3:0,HT20-4:0,HT20-5:0,HT20-6:0,HT20-7:0,HT20-8:\<br />
0,HT40-1:0,HT40-2:0,HT40-3:0,HT40-4:0,HT40-5:0,HT40-6:0,HT40-7:0,HT40-8:0"<br />
/interface wireless nstreme<br />
set wlan1 comment="" disable-csma=no enable-nstreme=yes enable-polling=yes \<br />
framer-limit=3998 framer-policy=best-fit<br />
/interface wireless align<br />
set active-mode=yes audio-max=-20 audio-min=-100 audio-monitor=\<br />
00:00:00:00:00:00 filter-mac=00:00:00:00:00:00 frame-size=300 \<br />
frames-per-second=25 receive-all=no ssid-all=no<br />
/interface wireless sniffer<br />
set channel-time=200ms file-limit=10 file-name="" memory-limit=10 \<br />
multiple-channels=no only-headers=no receive-errors=no streaming-enabled=\<br />
no streaming-max-rate=0 streaming-server=0.0.0.0<br />
/interface wireless snooper<br />
set channel-time=200ms multiple-channels=yes receive-errors=no <br />
</pre></div>Normishttps://wiki.mikrotik.com/index.php?title=802.11n_Setup_Guide&diff=12616&oldid=prevUldis: /* Winbox 802.11n configuration tabs */2009-05-27T07:16:39Z<p><span dir="auto"><span class="autocomment">Winbox 802.11n configuration tabs</span></span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 07:16, 27 May 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l81">Line 81:</td>
<td colspan="2" class="diff-lineno">Line 81:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* '''ht-txchains''' (0,1,2 - any combination of these)</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* '''ht-txchains''' (0,1,2 - any combination of these)</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">More clarification as I get it</del>.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Which antenna connector to use for TX or RX. You can use one of these or multiple (depending on your antenna configuration). On MikroTik R2n and R52n card there are 2 antenna connectors and to use both of them ht-tx/rx-chains should be set to 0,1</ins>.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* '''ht-ampdu-priorities''' (0,1,2,3,4,5,6,7 - any combination of these)</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* '''ht-ampdu-priorities''' (0,1,2,3,4,5,6,7 - any combination of these)</div></td></tr>
</table>Uldishttps://wiki.mikrotik.com/index.php?title=802.11n_Setup_Guide&diff=12615&oldid=prevNormis: supported hardware page should be used2009-05-27T06:57:37Z<p>supported hardware page should be used</p>
<p><b>New page</b></p><div>==== Brief Overview ====<br />
<br />
Since the release of Mikrotik v4.03beta, 802.11n draft wireless cards are now supported.<br />
This guide's purpose is to explain to those familiar with the use of regular wireless, exactly how to go about setting up an 802.11n card.<br />
<br />
== Pre-Setup ==<br />
<br />
==== Equipment ====<br />
<br />
Equipment used on my test bench:<br />
* RB411A x 2<br />
* TP-Link Wireless N MiniPCI Adapter, Atheros, 2T2R, 2.4GHz, 802.11n Draft 2.0, 802.11g/b x 2<br />
<br />
<br />
[[Image:Wlan1-tp-link.jpg]]<br />
<br />
<br />
Note: I will be doing further testing with the Mikrotik 802.11n cards and adding info when they arrive but at the time of release I already had these cards spare.<br />
<br />
==== Upgrading to v4.03beta ====<br />
<br />
Steps to upgrading your Routerboard or x86 device are located here - [[Upgrading_RouterOS]]<br />
<br />
The only difference to a normal install is that firstly, you will be installing a developement release of Mikrotik software.<br />
<br />
<br />
[[Image:Developement-release-download.jpg]]<br />
<br />
<br />
As you can see in this image I have selected the RB400 series to match my boards.<br />
<br />
==== Updating Licence key and unlocking 802.11n ====<br />
<br />
Once you have completed the upgrade to v4.03beta, connect via winbox to your device then:<br />
#Open the licence page via System -> Licence<br />
#Click on the "update licence key"<br />
<br />
[[Image:Update-mikrotik-licence-key.jpg]]<br />
<br />
<br />
== Setup and Testing ==<br />
<br />
This section details how to configure your wireless 802.11n card along with an example at the end of a preconfigured setup you can attempt on your own cards.<br />
I will also go into as much detail as possible on the new options provided to the 802.11n cards and what each of these does.<br />
<br />
==== 802.11n Configuration options ====<br />
<br />
===== Winbox changable configuration options =====<br />
* '''band''' (2ghz-b/g/n | 2ghz-onlyn | 5ghz-a/n | 5ghz-onlyn | other-original a/b/g options also available)<br />
* '''ht-extension-channel''' (above-control | below-control | disabled)<br />
* '''ht-rxchains''' (0,1,2 - any combination of these)<br />
* '''ht-txchains''' (0,1,2 - any combination of these)<br />
* '''ht-ampdu-priorities''' (0,1,2,3,4,5,6,7 - any combination of these)<br />
* '''ht-guard-interval''' (any | long)<br />
<br />
These items can be viewed and changed from in winbox or terminal.<br />
<br />
===== Winbox viewable configuration options =====<br />
* '''ht-basic-mcs''' (mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7,mcs-8,mcs-9,mcs-10,mcs-11,mcs-12,mcs-13,mcs-14,mcs-15 - any combination of these)<br />
* '''ht-supported-mcs''' (mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7,mcs-8,mcs-9,mcs-10,mcs-11,mcs-12,mcs-13,mcs-14,mcs-15 - any combination of these)<br />
<br />
These previous 2 options can be changed only from terminal, but appear in winbox.<br />
<br />
===== Non-Winbox viewable configuration options =====<br />
* '''ht-amsdu-limit''' (0..8192) <br />
* '''ht-amsdu-threshold''' (0..8192) <br />
<br />
These last two only appear in terminal at this time.<br />
<br />
==== Winbox 802.11n configuration tabs ====<br />
<br />
[[Image:Mikrotik-ht-tab.jpg]][[Image: Mikrotik-ht-mcs-tab.jpg]]<br />
<br />
Configurable options, in depth.<br />
<br />
* '''ht-extension-channel''' (above-control | below-control | disabled)<br />
<br />
The current 802.11n draft supports a method of channel bonding for both 2.4Ghz and 5.Ghz systems. There is 1 20Mhz channel defined as the "control channel" while the secondary channel can then be set to sit above or below the control channel. Seeing as 2.4Ghz only has 3 'usable' channels (1,6,11) its recommended to use this on a 5Ghz where there are more available channels.<br />
<br />
* '''ht-rxchains''' (0,1,2 - any combination of these)<br />
* '''ht-txchains''' (0,1,2 - any combination of these)<br />
<br />
More clarification as I get it.<br />
<br />
* '''ht-ampdu-priorities''' (0,1,2,3,4,5,6,7 - any combination of these)<br />
<br />
A-MPDU (Aggregated Mac Protocol Data Unit) allows the transmissions of multiple ethernet frames to a single location as burst of up to 64kbytes<br />
This is performed on the hardware itself. <br />
<br />
* '''ht-guard-interval''' (any | long)<br />
<br />
In 802.11n the OFDM Guard interval (GI) is decreased from 800ns to 400ns, without any futher info I am assuming that the 'any' is the new 400ns timing and 'long' is the old 800ns<br />
<br />
== Example configuration ==<br />
<br />
As above I used 2 x RB411's with 2.4ghz 802.11n cards for my test setup, here is a sample config's for each one.<br />
<br />
'''Access Point'''<br />
<pre><br />
/ip address<br />
add address=192.168.1.1/24 broadcast=192.168.1.255 comment="" disabled=no interface=wlan1 network=192.168.1.0<br />
/interface wireless<br />
set 0 ack-timeout=dynamic adaptive-noise-immunity=none allow-sharedkey=no antenna-gain=0 antenna-mode=ant-a area="" arp=enabled band=2ghz-b/g/n basic-rates-a/g=6Mbps \<br />
basic-rates-b=1Mbps comment="" compression=no country=no_country_set default-ap-tx-limit=0 default-authentication=yes default-client-tx-limit=0 default-forwarding=\<br />
yes dfs-mode=none disable-running-check=no disabled=no disconnect-timeout=3s frame-lifetime=0 frequency=2412 frequency-mode=manual-txpower hide-ssid=no \<br />
ht-ampdu-priorities=0 ht-amsdu-limit=8192 ht-amsdu-threshold=8192 ht-basic-mcs=mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7 ht-extension-channel=above-control \<br />
ht-guard-interval=any ht-rxchains=0,2 ht-supported-mcs=mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7,mcs-8,mcs-9,mcs-10,mcs-11,mcs-12,mcs-13,mcs-14,mcs-15 \<br />
ht-txchains=0,2 hw-fragmentation-threshold=disabled hw-protection-mode=none hw-protection-threshold=0 hw-retries=4 mac-address=00:1D:0F:BB:8C:66 max-station-count=\<br />
2007 mode=ap-bridge mtu=1500 name=wlan1 periodic-calibration=default periodic-calibration-interval=60 preamble-mode=both \<br />
proprietary-extensions=post-2.9.25 radio-name=001D0FBB8C66 rate-set=default scan-list=default security-profile=default ssid=abc station-bridge-clone-mac=\<br />
00:00:00:00:00:00 supported-rates-a/g=6Mbps,9Mbps,12Mbps,18Mbps,24Mbps,36Mbps,48Mbps,54Mbps supported-rates-b=1Mbps,2Mbps,5.5Mbps,11Mbps tx-power-mode=default \<br />
wds-mode=disabled wmm-support=enabled<br />
</pre><br />
<br />
'''Wireless Station'''<br />
<pre><br />
/ip address<br />
add address=192.168.1.2/24 broadcast=192.168.1.255 comment="" disabled=no interface=wlan1 network=192.168.1.0<br />
/interface wireless<br />
set 0 ack-timeout=dynamic adaptive-noise-immunity=none allow-sharedkey=no antenna-gain=0 antenna-mode=ant-a area="" arp=enabled band=2ghz-b/g/n basic-rates-a/g=6Mbps \<br />
basic-rates-b=1Mbps comment="" compression=no country=no_country_set default-ap-tx-limit=0 default-authentication=yes default-client-tx-limit=0 default-forwarding=\<br />
yes dfs-mode=none disable-running-check=no disabled=no disconnect-timeout=3s frame-lifetime=0 frequency=2412 frequency-mode=manual-txpower hide-ssid=no \<br />
ht-ampdu-priorities=0 ht-amsdu-limit=8192 ht-amsdu-threshold=8192 ht-basic-mcs=mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7 ht-extension-channel=above-control \<br />
ht-guard-interval=any ht-rxchains=0,2 ht-supported-mcs=mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7,mcs-8,mcs-9,mcs-10,mcs-11,mcs-12,mcs-13,mcs-14,mcs-15 \<br />
ht-txchains=0,2 hw-fragmentation-threshold=disabled hw-protection-mode=none hw-protection-threshold=0 hw-retries=4 mac-address=00:1D:0F:BB:8C:1E max-station-count=\<br />
2007 mode=station mtu=1500 name=wlan1 periodic-calibration=default periodic-calibration-interval=60 preamble-mode=both \<br />
proprietary-extensions=post-2.9.25 radio-name=001D0FBB8C1E rate-set=default scan-list=default security-profile=default ssid=abc station-bridge-clone-mac=\<br />
00:00:00:00:00:00 supported-rates-a/g=6Mbps,9Mbps,12Mbps,18Mbps,24Mbps,36Mbps,48Mbps,54Mbps supported-rates-b=1Mbps,2Mbps,5.5Mbps,11Mbps tx-power-mode=default \<br />
wds-mode=disabled wmm-support=enabled<br />
</pre><br />
<br />
My first test gave similar to the following results, thou I expect to improve on these shortly.<br />
[[Image:First-speed-test.jpg]]</div>Normis