OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Very Low
  • Reported Version openwrt-18.06
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Antonio Floresta - 20.09.2018

FS#1861 - WIFI TX power cannot be set to maximum on TP-Link TL-WR842N/ND v2 (Atheros AR9341 rev 3)

OpenWrt 18.06.1 r7258-5eb055306f / LuCI openwrt-18.06 branch (git-18.228.31946-f64b152)

In the /etc/config/wireless, when I set the country to ‘BR’, channel to ‘13’ and txpower to 20. After wifi down/wifi or reboot, the iwinfo reports Tx-Power: 16 dbm.
If I set the country to ‘US’, channel to whatever and txpower to 21, the iwinfo reports Tx-Power: 21 dbm.
Below is the configuration details for country = ‘BR’:

wireless.radio0.type=’mac80211’ wireless.radio0.path=’platform/ar934x_wmac’ wireless.radio0.hwmode=’11g’ wireless.radio0.htmode=’HT20’ wireless.radio0.beacon_int=’100’ wireless.radio0.disabled=’0’ wireless.radio0.txpower=’20’’BR’’13’ wireless.radio0.legacy_rates=’1’ wireless.radio0.antenna_gain=’0’

Below is the iwinfo output:
wlan0 ESSID: “WIFI xxxxxxxx”

        Access Point: xx:xx:xx:xx:xx:xx
        Mode: Master  Channel: 13 (2.472 GHz)
        Tx-Power: 16 dBm  Link Quality: 38/70
        Signal: -72 dBm  Noise: -95 dBm
        Bit Rate: 16.3 MBit/s
        Encryption: WPA2 PSK (CCMP)
        Type: nl80211  HW Mode(s): 802.11bgn
        Hardware: unknown [Generic MAC80211]
        TX power offset: unknown
        Frequency offset: unknown
        Supports VAPs: yes  PHY name: phy0

Project Manager
Adrian Schmutzler commented on 08.07.2020 12:51

So, what's the maximum allowed txpower in Brazil?

The txpower actually used on your device will be that _minus_ the antenna gain of the device. (This has been broken on 17.01)


Available keyboard shortcuts


Task Details

Task Editing