Transmit power wifi tp link9/11/2023 ![]() Applying the patch is simple (it is downloadable in both source code and binary form), though I needed to perform a cold reboot after the reboot. Only channel 14 still seems to be unavailable, but that’s not a big deal as it is only available in Japan for use with 802.11b (that 14-year-old protocol that did a maximum of 11 Mbit/s). Luckily, someone created a binary patch called reghack that replaces the in-driver US regulations with unrestricted ones by (as far as I can tell from the source code) permitting both 60 MHz with 40 MHz wide channels at up to 30 dBm and without any restriction flags. Nowadays that’s part of the kernel itself and no longer easily possible. Some earlier fixes that no longer work with the current OpenWRT involved editing the US regulatory domain in the userland regulatory database. * 5700 MHz (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5680 MHz (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5660 MHz (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5580 MHz (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5560 MHz (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5540 MHz (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5520 MHz (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5500 MHz (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5320 MHz (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5300 MHz (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5280 MHz (20.0 dBm) (passive scanning, no IBSS, radar detection) * 5260 MHz (20.0 dBm) (passive scanning, no IBSS, radar detection) If you run iw phy phyX info, you can see the result: * 2412 MHz (20.0 dBm) OpenWRT however (as would a stock Linux kernel) respects the bit and applies a logic AND over the selected regulatory domain and the US regulatory domain. The stock firmware simply ignores it and offers frequency and power choice based on the selected country code. Unfortunately, TP-Link simply sets the bit to US mode on all devices shipped worldwide. Apparently, there is a law in the US or an FCC regulation that requires all Wifi devices shipped to determine on the hardware level (in this case, in the driver) whether the desired frequency and power level is allowed. Some googling around reveals that the ath9k wireless chips have a bit in EEPROM that may be set to either US or worldwide. Running iw reg get on the router shows: country DE: The in-kernel regulatory database is not the issue. After I discovered that it also prevents me from using channel 12 and 13 (which are only available in Europe an Japan, but not in the US), I looked around for a solution. I did complain that it unnecessarily limits me to 50 mW in the 5 GHz. A few months ago I recommended the TP-Link TL-WDR3600 as an OpenWRT router. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |