Atheros WiSOC based Hardware

Introduction

This page shows the contents and descriptions of standard and advanced wireless settings for Atheros based Routers. If you are a Broadcom or Ralink user, please refer to this page for Broadcom/Ralink wireless settings.


Introduction

This page shows the contents and descriptions of standard and advanced wireless settings for Atheros based Routers. If you are a Broadcom or Ralink user, please refer to this page for Broadcom/Ralink wireless settings.

Standard Settings

Wireless Physical Interface

Available Interfaces: ath0, ath1 (Varies by router)

If you have a dual band router ath1 will be displayed below ath0 with the same available settings. Ath0 is the 2.4GHz radio and ath1 is the 5GHz radio. If you create a VAP for 2.4GHz or 5GHz radio the VAPs will be labeled ath0.1 and ath1.1 respectively. Refer to this thread for some info about VAPs with Atheros.


Wireless Mode

Available Settings: AP, Client, Client Bridge, Adhoc, WDS Station, WDS AP

Recommended Setting: AP for most users, Client or WDS if you are more advanced and know you need it

Determines how the specific wireless interface of the router is to behave. If you want to run a normal access point which most do, AP would be your choice. Client and Client Bridge are the Atheros equivalent Broadcom’s Repeater and Repeater Bridge settings.


Wireless Network Mode

Available Settings: Disabled, Mixed, B-Only, G-Only, BG-Mixed, NG-Mixed, N-Only

Recommended Setting: NG-Mixed

Controls which 802.11 signals are being broadcast by the radio. Depending on the selected network mode your wireless channel list and maximum TX power can vary. NG-Mixed is the recommended setting for most people as you are able to use either HT20 or HT40 “properly” with this setting. There currently is a bug where 802.11b devices can still connect to and function normally with a DD-WRT router running NG-Mixed, this does not seem to degrade the WLAN’s performance. There is also a bug when B-Only is selected, the router must be rebooted after you switch to another setting or all clients will be forced to 802.11b’s max rate of 11 Mbps.


Channel Width

Available Settings: Dynamic (20/40 MHz), Turbo (40 MHz), Full (20 MHz), Half (10 MHz), Quarter (5 MHz)

Recommended Setting: Turbo (40 MHz) for most users, Full (20 MHz) if using long range (1km+) links or have over 15 other seeable APs in the area

This determines the width of the wireless channel where higher allows more bandwidth but less overlapping channels and lower allows more non-overlapping channels but less bandwidth. It is said that 40 MHz, which enables channel bonding by using 2 20 MHz wide channels together, is not neighbor friendly. This is incorrect, there is several 40 MHz APs in range and they have no effect on the performance of my WLAN compared to an area with only 20 MHz APs. Recommended setting is 40 MHz for most people, this allows your 2.4GHz 802.11n draft devices to connect at their max of 300 Mbps when signal is sufficient as well as a large throughput increase and enables Atheros Super-G*. If Full (20 MHz) is used for 802.11n clients the max connection speed will only be 130 Mbps and 802.11g clients supporting Super-G max connection speed will only be 54 Mbps.

*Note: You MUST have this setting on Turbo (40 MHz) to allow 802.11n devices (2.4GHz and 5GHz) to connect at their max!

*Note 2: 802.11a/g + Turbo (40 MHz) = Super-G !

*Super-G

This is an Atheros technology to increase the throughput of 802.11g devices. In order to utilize the Super-G feature you must have an Atheros router capable of broadcasting 40 MHz wide channels, nearly all Atheros routers support this feature, and a Super-G ready client. If you have an Atheros router and Super-G ready client, ensure your wireless network mode is on NG-Mixed or G-Only with Turbo (40 MHz) as the channel width. The client should now connect at a theoretical max of 108 Mbps, doubled that of standard 802.11g 54 Mbps. This feature reaches these speeds by channel bonding, a method that bonds two 20 MHz wide channels together, the same way 802.11n does. Maximum true throughput with a Super-G client should be around 40 ~ 50 Mbps, depending on distance, and other wireless settings.


Wireless Channel

Available Settings: 1 – 14 depending on your regulatory domain and channel width

Recommended Setting: Whatever channel is not used around you or least used

Controls when channel or frequency your WLAN uses. If you have packet loss or abnormally slow throughput switch to another channel for less interference. All routers default to either channels 1, 6, or 11, it is not recommended to use these channels as most users are inexperienced, and leave them at their defaults. Most of these channels are noisy but for any reason if there isn’t many APs around you using these channels, use them with the exception of channel 11. Refrain from using channel 11 because in most nations, channel 11 is forced to use a severely reduced transmit power, killing your range and/or throughput. Channels 1 – 10 are good for 99% of the world.


Control Channel

Available Settings: Upper, lower

Recommended Setting: Any

This setting is only valid when Turbo (40 MHz) is used for channel width. It controls if the secondary, or control channel, which is the second channel used to attain the 40 MHz width, is above or below the primary selected channel. Recent builds have fixed the selectable channels, use upper or lower depending which channel you want.


Wireless Network Name (SSID)

This is where you can choose the name of your wireless network when its being broadcast to roaming clients. You can name this anything you want.

ethels

Wireless SSID Broadcast

Available Settings: Enable, disable

Recommended Setting: Enable

Dependent on the setting above, this controls if your SSID is being broadcast or not. When disable is selected many clients still pick up the beacon and display it as “Hidden” along with the AP’s MAC address. Disabling is not recommended as it hardly does anything for security, a determined intruder can still access your network with different methods.


Advanced Settings

  • Build 14815 and newer has a tab to show or hide advanced wireless settings.

Regulatory Domain

This determines the channels available in the list for both bands (if you have a dual band router) and the maximum EIRP “legally” allowed by the FCC for the chosen country. EIRP is TX power plus antenna gain, an example.

20dBm TX power and 2dBi antenna gain has an EIRP of 22dBm. 22dBm TX power and 0dBi antenna gain also has an EIRP of 22dBm.

Maximum EIRP varies by nation and your max TX power will be capped by the regulatory domain if you have a powerful radio. For example, Canada’s max EIRP is 36dBm, with Canada selected and antenna gain at 0dBi. The radios will never go above 36dBm.


TX Power

Recommended Setting: Highest dBm your radios/regulatory domain support

Transmit power (TX) is the amount of “current” or “juice” going to the antennas, it is NOT the output power FROM the antennas, as that is EIRP. Usually more TX power is better as it allows clients further away to “hear” your AP. Assuming the clients also have near equal TX power so the AP can “hear” them back. If TX power is increased too much excess noise can develop and reduce throughput or even range, but with Atheros this does not seem to be much of a problem as most Atheros radios work very well at their max TX power. Maximum TX power is controlled by the radios (power control*), regulatory domain, wireless channel used, and wireless channel width. The default value for most routers currently is 20dBm.

*power control

A feature which controls the max TX-Power by the SNR & link speed. The better the link quality the low the TX-Power will be. See Vendor/Device specs for a detailed information.


Currently Madwifi Driver does not correctly set the TX power that is selected by the user on Atheros Devices that use the 9 series chipset.

Antenna Gain

Recommended Setting: dBi value of the antenna(s) used on the router

Antenna gain is amount of “gain” or “boost” of signal that the antenna provides. Its a bit complicated but remember this, antennas are not amplifiers. They do not magnify the signal, but instead “focus” the signal in certain directions, yes even omni-directional antennas do it. The higher the gain the better as it increases EIRP which somewhat helps extend range and significantly helps sensitivity. With high sensitivity, the AP is able to hear “faint” clients, clients that may have a low TX power or are just simply very far away. Set this to the correct value of the antennas used on your router, it does do a difference, small, but its there.


Protection Mode

Available Settings: None, CTS, RTS/CTS

Recommended Setting: None

This setting controls whether the clear to send/request to send mechanism is enabled or disabled. When enabled, a RTS/CTS handshake must be completed before data can be transmitted. Sometimes helpful in noisy environments it ensures all clients “take turns” communicating with each other or the AP, if disabled sometimes packet collisions can occur causing a drop in throughput due to retransmission overhead. This is a setting to experiment with if you have high TX/RX packet errors especially in a short time. Most users should leave this set to none for max throughput, enabling RTS/CTS when not needed generates more overhead, most people should not need to enable this on the AP as the AP can already see all the clients connected to it. It is more beneficial to be enabled on the clients’ NIC card in an Ad-Hoc environment, and only the more expensive NIC cards offer this feature.


RTS Threshold

Available Settings: Enable, Disable

Recommended Setting: Disable

Only valid if RTS/CTS is enabled, this setting sets the maximum packet size before it is fragmented into smaller packets, if you still have high TX/RX errors with RTS/CTS enabled and RTS Threshold at it’s default, try lowering it by 10. Lowering it too much can further create overhead and reduce throughput. Leaving this on the default setting 2346 essentially disables the RTS feature and only leaves CTS enabled as most packets don’t exceed 2346 bytes.


Transmission Minimum & Maximum Rate

Available Settings (B-Only): Auto, 1 Mbps, 2 Mbps, 5.5 Mbps, 11 Mbps

Available Settings (G-Only HT20): Auto, 6 Mbps, 9 Mbps, 12 Mbps, 18 Mbps, 24 Mbps, 36 Mbps, 48 Mbps, 54 Mbps

Available Settings (G-Only HT40): Auto, 12 Mbps, 18 Mbps, 24 Mbps, 36 Mbps, 48 Mbps, 72 Mbps, 96 Mbps, 108 Mbps

Available Settings (BG-Mixed ): Auto, 1 Mbps, 2 Mbps, 5.5 Mbps, 6 Mbps, 9 Mbps, 11 Mbps, 12 Mbps, 18 Mbps, 24 Mbps, 36 Mbps, 48 Mbps, 54 Mbps

Available Settings (NG-Mixed HT20 or 40): Auto, 1 Mbps, 2 Mbps, 5.5 Mbps, 11 Mbps

Available Settings (N-Only 2.4GHz HT20 or 40): Auto, 1 Mbps, 2 Mbps, 5.5 Mbps, 11 Mbps

Available Settings (Mixed HT20): Auto, 1 Mbps, 2 Mbps, 5.5 Mbps, 6 Mbps, 9 Mbps, 11 Mbps, 12 Mbps, 18 Mbps, 24 Mbps, 36 Mbps, 48 Mbps, 54 Mbps

Available Settings (Mixed HT40): Auto, 12 Mbps, 18 Mbps, 24 Mbps, 36 Mbps, 48 Mbps, 54 Mbps, 72 Mbps, 96 Mbps, 108 Mbps

Recommended Setting: Auto

This setting controls the minimum and maximum theoretical rates for connected clients, on certain wireless network modes such as NG-Mixed this setting does not work properly, if at all. It is recommended to leave this setting on Auto.


Short Preamble

Available Settings: Enable, Disable

Recommended Setting: Enable

If you have 802.11b clients in your network try enabling this, if they have problems connecting or with performance then leave it disabled. Preamble is at the head or front of the PLCP which devices need in order to start transferring data. The long preamble ensure compatibility with legacy 802.11b devices but can slightly reduce throughput at high data rates. The support for short preamble which is reducing the header’s size by 50%, down to 9 bytes, is optional for 802.11b. 802.11g and newer all support short preamble, so if you do not have and 802.11b devices in your network you can enable this for a small throughput increase.


TX & RX Antenna Chains

Available Settings: 1+2, 1+3, 1+2+3

Recommended Setting: Varies by router

This setting is critical for proper, smooth, fast Wi-Fi performance. 2×2 routers will either have TX/RX chains at 1+2/1+2, 1+3/1+3, 1+2/1+3, or 1+3/1+2. This can take some time to find the proper setting but its worth it, you can more easily find the correct setting by using a 802.11n draft 2.0 client thats capable of 300 Mbps link. Note the TX/RX link rates on the wireless status page, when set incorrectly one or both of the rates will drop to a much lower speed such as 200, 170, 81 etc. This is best done with the client less than 10 feet from the AP with clear line of sight. Some routers with chains set incorrectly such as D-Link DIR-615 C1, will deny connections to clients, heavily reduce throughput, and other errors. Searching the FCC ID of your router will aid in setting the correct chain settings. Some popular routers such as the Netgear WNDR3700 and D-Link DIR-825 B1/B2 require both chains set at 1+2 for proper Wi-Fi performance. Default is not always right!


AP Isolation

Available Settings: Enable, Disable

Recommended Setting: Disable for average user, enable for hotspot

AP Isolation allows clients connected to the same AP to communicate with each other or not, very much like Ad-Hoc mode. If you run a Wi-Fi hotspot its recommended you enable this for privacy reasons. If you want files to be shared from client to client in your home network, AP isolation must be disabled. This setting does not influence Wi-Fi throughput.


Radar Detection

Available Settings: Enable, Disable

Recommended Setting: TODO

TODO


ScanList

A list of channels to be used when searching, seperated by comma.


Sensitivity Range (ACK Timing)

Available Settings: 0 – 999999

Recommended Setting: 300 – 1200 for 2.4GHz band and 300 – 600 for 5GHz band, >1200/>600 only if needed for long distance links

ACK timing is also a throughput controller, too high and your devices will literally be “waiting” too long and time will be passing with them at idle. Too low and active transmissions could be cut off causing retransmissions which create overhead, that lowers throughput. The AP sends a packet and all clients must wait for XXX time, where XXX is the ACK timing, the client then receives that packet and responds to the AP with an ACK(nowledgement), AP sees the AP then finally everyone is free to transmit. For Atheros routers 0 will not disable ACK timing, but set it into auto mode. This setting is not recommended unless you know what you are doing as auto takes a few real world seconds to auto adjust itself, causing a latency spike every time.

Most users want this between 300 – 1200 (2.4GHz) and 300-600 (5GHz), the distance used is meters and needs to be doubled the distance of the furthest client from the AP (plus some headroom). Doubled because the signal travels to the client and back, double the distance. Reducing ACK from default 2000 to even 1500 causes a throughput increase of 0.7 Mbps – 1.1 Mbps and range won’t be affected as most routers don’t even get 1000m range in a residential area.

Long distance links, such as 2km or more will need to increase this setting accordingly. 4000m for 2km, 6000m for 3km, and so on.


Max Associated Clients

Available Settings: 1 – 256

Recommended Setting: Any

Determines the maximum number of clients that can be connected to the AP at any given time. Hotspot users will find this very handy.


MTik Compatibility

Available Settings: Enable, Disable

Recommended Setting: TODO

TODO


Network Configuration

Available Settings: Unbridged, Bridged

Recommended Setting: Bridged

This setting controls if the wireless interface is “bridged” with the LAN ports. Bridged meaning a client on the wireless interface and a client on the Ethernet LAN interface are on the same network on the same subnet. Unbridged allows you to “separate” the WLAN (wireless LAN) by giving it its own subnet and even its own DHCP server. If you want a unbridged interface, you are better off creating a VAP instead of unbridging the main interface.

From: http://www.dd-wrt.com/wiki/index.php/Atheros/ath_wireless_settings


Atheros WiSOC based Hardware

Once you have the TP-Link at the default config, log into it (192.168.1.1), change your username and password, then when that’s done go to Setup > Basic Setup. Leave the WAN connection type alone. For whatever reason, this doesn’t work. Skip down to Network Address Server Settings and change it to DHCP Forwarder, put in your DHCP server’s IP, in this case, I’m using 192.168.2.1 which is my pfSense box. After this, look right above this where the Router IP box is, put in your Local IP Address, in my case, 192.168.2.2, mask at 255.255.255.0, Gateway of 192.168.2.1 (pfSense box) and Local DNS will be 192.168.2.1 (pfSense box), no you can click “Save”… DO NOT click Apply Settings, can’t stress this enough!!! No go to Setup > Advanced Routing. In the Operating Mode, put this in “Router.” Next, drop down to Dynamic Routing and select “LAN & WLAN,” not sure if this made any difference, but this is what works for me….

From: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=531979

Leave a Reply

Your email address will not be published. Required fields are marked *