Re: [OpenWrt-Devel] ath9k / set txpower / TP-LINK TL-WR841N/ND v8
I have the exact same issue with some tplink and dlink routers and soon to test on a TL-WR841N/ND v8. Regarding the dlink i found differences and gaining 1dBm when changing the country code to US. Also some time ago as i played with txpower; at moments it would actually go to 20dBm but after restart it would go back to 15dBm. This still remains with AA r35153 for those routers like the dir 601a. Currently i have AA r38401 with the same configuration as the other dir 601a in another dir 601a and i get 17 dBm but when changing to US country code it goes back to 15 dBm. (I also played with channel selection) Another curious fact is on the dir 601a depends on the channel used. Frequencies: * 2412 MHz [1] (15.0 dBm) * 2417 MHz [2] (16.0 dBm) * 2422 MHz [3] (16.0 dBm) * 2427 MHz [4] (16.0 dBm) * 2432 MHz [5] (16.0 dBm) * 2437 MHz [6] (16.0 dBm) * 2442 MHz [7] (16.0 dBm) * 2447 MHz [8] (16.0 dBm) * 2452 MHz [9] (16.0 dBm) * 2457 MHz [10] (16.0 dBm) * 2462 MHz [11] (15.0 dBm) * 2467 MHz [12] (17.0 dBm) * 2472 MHz [13] (17.0 dBm) * 2484 MHz [14] (disabled) with the dir 615c1 i get similar information where some channels give 20dBm and others in the middle less while the first ones also go up to 20dBm This happens with AA r38401 while with AA r35153 all frequencies go up to 20dBm. when compiling the image: [*] Force Atheros drivers to respect the user's regdomain settings Seems to have some relevance in regards to this issue. I think i might have opened a ticket about this sometime ago. On 10/17/2013 08:31 AM, Bastian Bittorf wrote: > we are facing a strange issue on 2 routers with identical > hardware: TP-LINK TL-WR841N/ND v8 - i cannot set txpower >18 dBm > according to 'iwconfig'/'iwinfo' on ONE router. the > other (different location, same openwrt-revision r38432) can do that: > > root@BerkaerBahnhof-Knoten59:~ uci set wireless.radio0.txpower=15; wifi; > sleep 30; iwinfo > command failed: Device or resource busy (-16) > Configuration file: /var/run/hostapd-phy0.conf > Using interface wlan0 with hwaddr 64:70:02:59:41:3e and ssid > "BerkaerBahnhofWeimarnetz" > wlan0 ESSID: "BerkaerBahnhofWeimarnetz" > Access Point: 64:70:02:59:41:3E > Mode: Master Channel: 5 (2.432 GHz) > Tx-Power: 15 dBm Link Quality: 36/70 > Signal: -74 dBm Noise: -95 dBm > Bit Rate: 14.4 MBit/s > Encryption: none > Type: nl80211 HW Mode(s): 802.11bgn > Hardware: unknown [Generic MAC80211] > TX power offset: unknown > Frequency offset: unknown > Supports VAPs: yes PHY name: phy0 > > wlan0-1 ESSID: "weimarnetz" > Access Point: 02:CA:FF:EE:BA:BE > Mode: Ad-Hoc Channel: 5 (2.432 GHz) > Tx-Power: 15 dBm Link Quality: unknown/70 > Signal: unknown Noise: -95 dBm > Bit Rate: unknown > Encryption: unknown > Type: nl80211 HW Mode(s): 802.11bgn > Hardware: unknown [Generic MAC80211] > TX power offset: unknown > Frequency offset: unknown > Supports VAPs: yes PHY name: phy0 > > root@BerkaerBahnhof-Knoten59:~ uci set wireless.radio0.txpower=20; wifi; > sleep 30; iwinfo > command failed: Device or resource busy (-16) > Configuration file: /var/run/hostapd-phy0.conf > Using interface wlan0 with hwaddr 64:70:02:59:41:3e and ssid > "BerkaerBahnhofWeimarnetz" > wlan0 ESSID: "BerkaerBahnhofWeimarnetz" > Access Point: 64:70:02:59:41:3E > Mode: Master Channel: 5 (2.432 GHz) > Tx-Power: 20 dBm Link Quality: 29/70 > Signal: -81 dBm Noise: -95 dBm > Bit Rate: 13.0 MBit/s > Encryption: none > Type: nl80211 HW Mode(s): 802.11bgn > Hardware: unknown [Generic MAC80211] > TX power offset: unknown > Frequency offset: unknown > Supports VAPs: yes PHY name: phy0 > > wlan0-1 ESSID: "weimarnetz" > Access Point: 02:CA:FF:EE:BA:BE > Mode: Ad-Hoc Channel: 5 (2.432 GHz) > Tx-Power: 20 dBm Link Quality: unknown/70 > Signal: unknown Noise: -95 dBm > Bit Rate: unknown > Encryption: unknown > Type: nl80211 HW Mode(s): 802.11bgn > Hardware: unknown [Generic MAC80211] > TX power offset: unknown > Frequency offset: unknown > Supports VAPs: yes PHY name: phy0 > > root@BerkaerBahnhof-Knoten59:~ uci show wireless > wireless.radio0=wifi-device > wireless.radio0.type=mac80211 > wireless.radio0.country=BO > wireless.radio0.channel=5 > wireless.radio0.frag=off > wireless.radio0.beacon_i
Re: [OpenWrt-Devel] ath9k / set txpower / TP-LINK TL-WR841N/ND v8
On 17 Oct 2013 08:25, "Bastian Bittorf" wrote: > > we are facing a strange issue on 2 routers with identical > hardware: TP-LINK TL-WR841N/ND v8 - i cannot set txpower >18 dBm > according to 'iwconfig'/'iwinfo' on ONE router. the > other (different location, same openwrt-revision r38432) can do that: > > what can we do? > > bye, bastian >From what I understand, old ath9k would accept any tx power level that was valid for your region, but would fail silently if blocked by the EPROM. Currently the driver relays the error if it's blocked by region AND EPROM, instead of just region. Nothing has changed physically, the driver just stopped pretending. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] ath9k / set txpower / TP-LINK TL-WR841N/ND v8
we are facing a strange issue on 2 routers with identical hardware: TP-LINK TL-WR841N/ND v8 - i cannot set txpower >18 dBm according to 'iwconfig'/'iwinfo' on ONE router. the other (different location, same openwrt-revision r38432) can do that: root@BerkaerBahnhof-Knoten59:~ uci set wireless.radio0.txpower=15; wifi; sleep 30; iwinfo command failed: Device or resource busy (-16) Configuration file: /var/run/hostapd-phy0.conf Using interface wlan0 with hwaddr 64:70:02:59:41:3e and ssid "BerkaerBahnhofWeimarnetz" wlan0 ESSID: "BerkaerBahnhofWeimarnetz" Access Point: 64:70:02:59:41:3E Mode: Master Channel: 5 (2.432 GHz) Tx-Power: 15 dBm Link Quality: 36/70 Signal: -74 dBm Noise: -95 dBm Bit Rate: 14.4 MBit/s Encryption: none Type: nl80211 HW Mode(s): 802.11bgn Hardware: unknown [Generic MAC80211] TX power offset: unknown Frequency offset: unknown Supports VAPs: yes PHY name: phy0 wlan0-1 ESSID: "weimarnetz" Access Point: 02:CA:FF:EE:BA:BE Mode: Ad-Hoc Channel: 5 (2.432 GHz) Tx-Power: 15 dBm Link Quality: unknown/70 Signal: unknown Noise: -95 dBm Bit Rate: unknown Encryption: unknown Type: nl80211 HW Mode(s): 802.11bgn Hardware: unknown [Generic MAC80211] TX power offset: unknown Frequency offset: unknown Supports VAPs: yes PHY name: phy0 root@BerkaerBahnhof-Knoten59:~ uci set wireless.radio0.txpower=20; wifi; sleep 30; iwinfo command failed: Device or resource busy (-16) Configuration file: /var/run/hostapd-phy0.conf Using interface wlan0 with hwaddr 64:70:02:59:41:3e and ssid "BerkaerBahnhofWeimarnetz" wlan0 ESSID: "BerkaerBahnhofWeimarnetz" Access Point: 64:70:02:59:41:3E Mode: Master Channel: 5 (2.432 GHz) Tx-Power: 20 dBm Link Quality: 29/70 Signal: -81 dBm Noise: -95 dBm Bit Rate: 13.0 MBit/s Encryption: none Type: nl80211 HW Mode(s): 802.11bgn Hardware: unknown [Generic MAC80211] TX power offset: unknown Frequency offset: unknown Supports VAPs: yes PHY name: phy0 wlan0-1 ESSID: "weimarnetz" Access Point: 02:CA:FF:EE:BA:BE Mode: Ad-Hoc Channel: 5 (2.432 GHz) Tx-Power: 20 dBm Link Quality: unknown/70 Signal: unknown Noise: -95 dBm Bit Rate: unknown Encryption: unknown Type: nl80211 HW Mode(s): 802.11bgn Hardware: unknown [Generic MAC80211] TX power offset: unknown Frequency offset: unknown Supports VAPs: yes PHY name: phy0 root@BerkaerBahnhof-Knoten59:~ uci show wireless wireless.radio0=wifi-device wireless.radio0.type=mac80211 wireless.radio0.country=BO wireless.radio0.channel=5 wireless.radio0.frag=off wireless.radio0.beacon_int=1000 wireless.radio0.path=platform/ar934x_wmac wireless.radio0.hwmode=11ng wireless.radio0.htmode=HT20 wireless.radio0.ht_capab=LDPC SHORT-GI-20 SHORT-GI-40 TX-STBC RX-STBC1 DSSS_CCK-40 wireless.radio0.txpower=20 wireless.@wifi-iface[0]=wifi-iface wireless.@wifi-iface[0].device=radio0 wireless.@wifi-iface[0].network=wlanadhoc wireless.@wifi-iface[0].mode=adhoc wireless.@wifi-iface[0].bssid=02:ca:ff:ee:ba:be wireless.@wifi-iface[0].ssid=weimarnetz wireless.@wifi-iface[0].mcast_rate=1000 wireless.@wifi-iface[1]=wifi-iface wireless.@wifi-iface[1].device=radio0 wireless.@wifi-iface[1].network=wlan wireless.@wifi-iface[1].mode=ap wireless.@wifi-iface[1].ssid=BerkaerBahnhofWeimarnetz wireless.@wifi-iface[1].encryption=none wireless.@auto_optimize[0]=auto_optimize wireless.@auto_optimize[0].neigh=off ## the other one root@die-koenigin:~ uci set wireless.radio0.txpower=15; wifi; sleep 30; iwinfo command failed: Device or resource busy (-16) Configuration file: /var/run/hostapd-phy0.conf Using interface wlan0 with hwaddr 64:66:b3:ab:4c:e0 and ssid "Weimarnetz - Breitscheid 4" wlan0 ESSID: "Weimarnetz - Breitscheid 4" Access Point: 64:66:B3:AB:4C:E0 Mode: Master Channel: 5 (2.432 GHz) Tx-Power: 15 dBm Link Quality: unknown/70 Signal: unknown Noise: -95 dBm Bit Rate: unknown Encryption: none Type: nl80211 HW Mode(s): 802.11bgn Hardware: unknown [Generic MAC80211] TX power offset: unknown Frequency offset: unknown Supports VAPs: yes PHY name: phy0 wlan0-1 ESSID: "weimarnetz" Access Point: 02:CA:FF:EE:BA:BE Mode: Ad-Hoc Channel: 5 (2.432 GHz) Tx-Power: 15 dBm Link Quality: 23/70 Signal: -87 dBm Noise: -95 dBm Bit Rate: 1.0 MBit/s Encryption: unknown Type: nl80211 HW Mode(s): 802.11bgn Hardware: unknown [Generic MAC80211] TX power offset: unknown Frequency o