[LEDE-DEV] 9b6585 (ath9k: adjust tx power reduction for US regulatory domain) is broken
Weedy
weedy2887 at gmail.com
Tue Jul 25 00:02:36 PDT 2017
>From https://github.com/lede-project/source
d72371e42b..9e64874fb2 master -> origin/master
Updating d72371e42b..9e64874fb2
Fast-forward
package/kernel/mac80211/patches/330-ath9k-adjust-tx-power-reduction-for-US-regulatory-do.patch
| 23 +++++++++++++++++++++++
package/kernel/mac80211/patches/331-ath9k-fix-more-data-flag-for-buffered-multicast-pack.patch
| 38 ++++++++++++++++++++++++++++++++++++++
scripts/bundle-libraries.sh
| 4 +++-
3 files changed, 64 insertions(+), 1 deletion(-)
Mon Jul 24 07:39:26 2017 kern.info kernel: [ 0.126962] MIPS:
machine is TP-LINK TL-WDR3600/4300/4310
root at LEDE:~# iwinfo
wlan0
Mode: Master Channel: 4 (2.427 GHz)
Tx-Power: 3 dBm Link Quality: 40/70
Signal: -70 dBm Noise: -88 dBm
Bit Rate: 3.7 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
wlan1
Mode: Master Channel: 153 (5.765 GHz)
Tx-Power: 5 dBm Link Quality: 55/70
Signal: -55 dBm Noise: -95 dBm
Bit Rate: 90.0 MBit/s
Encryption: WPA2 PSK (CCMP)
Type: nl80211 HW Mode(s): 802.11an
Hardware: 168C:0033 168C:A120 [Atheros AR9580]
TX power offset: none
Frequency offset: none
Supports VAPs: yes PHY name: phy1
root at LEDE:~# iw reg get
global
country US: DFS-FCC
(2402 - 2472 @ 40), (N/A, 30), (N/A)
(5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
(5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
(5735 - 5835 @ 80), (N/A, 30), (N/A)
(57240 - 63720 @ 2160), (N/A, 40), (N/A)
phy#1
country US: DFS-FCC
(2402 - 2472 @ 40), (N/A, 30), (N/A)
(5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
(5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
(5735 - 5835 @ 80), (N/A, 30), (N/A)
(57240 - 63720 @ 2160), (N/A, 40), (N/A)
phy#0
country US: DFS-FCC
(2402 - 2472 @ 40), (N/A, 30), (N/A)
(5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
(5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
(5735 - 5835 @ 80), (N/A, 30), (N/A)
(57240 - 63720 @ 2160), (N/A, 40), (N/A)
root at LEDE:~# iw dev wlan0 info
Interface wlan0
ifindex 16
wdev 0x4
ssid b0r3d
type AP
wiphy 0
channel 4 (2427 MHz), width: 40 MHz, center1: 2437 MHz
txpower 3.00 dBm
root at LEDE:~# iw dev wlan0 set txpower fixed 20mBm
root at LEDE:~# iw dev wlan1 set txpower fixed 20mBm
root at LEDE:~# iw dev wlan0 info
Interface wlan0
ifindex 16
wdev 0x4
ssid b0r3d
type AP
wiphy 0
channel 4 (2427 MHz), width: 40 MHz, center1: 2437 MHz
txpower 3.00 dBm
root at LEDE:~# iwinfo wlan1 txpowerlist
0 dBm ( 1 mW)
1 dBm ( 1 mW)
2 dBm ( 1 mW)
3 dBm ( 1 mW)
4 dBm ( 2 mW)
* 5 dBm ( 3 mW)
6 dBm ( 3 mW)
7 dBm ( 5 mW)
8 dBm ( 6 mW)
9 dBm ( 7 mW)
10 dBm ( 10 mW)
11 dBm ( 12 mW)
12 dBm ( 15 mW)
13 dBm ( 19 mW)
14 dBm ( 25 mW)
15 dBm ( 31 mW)
16 dBm ( 39 mW)
17 dBm ( 50 mW)
18 dBm ( 63 mW)
19 dBm ( 79 mW)
20 dBm ( 100 mW)
21 dBm ( 125 mW)
$ git reset --hard d72371e42b
HEAD is now at d72371e42b firmware-utils: drop mktplinkfw-kernel tool
root at LEDE:~# iwinfo
wlan0
Mode: Master Channel: 4 (2.427 GHz)
Tx-Power: 19 dBm Link Quality: 44/70
Signal: -66 dBm Noise: -88 dBm
Bit Rate: 6.5 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
wlan1
Mode: Master Channel: 153 (5.765 GHz)
Tx-Power: 21 dBm Link Quality: 46/70
Signal: -64 dBm Noise: -95 dBm
Bit Rate: 127.5 MBit/s
Encryption: WPA2 PSK (CCMP)
Type: nl80211 HW Mode(s): 802.11an
Hardware: 168C:0033 168C:A120 [Atheros AR9580]
TX power offset: none
Frequency offset: none
Supports VAPs: yes PHY name: phy1
root at LEDE:~# iwinfo wlan1 txpowerlist
0 dBm ( 1 mW)
1 dBm ( 1 mW)
2 dBm ( 1 mW)
3 dBm ( 1 mW)
4 dBm ( 2 mW)
5 dBm ( 3 mW)
6 dBm ( 3 mW)
7 dBm ( 5 mW)
8 dBm ( 6 mW)
9 dBm ( 7 mW)
10 dBm ( 10 mW)
11 dBm ( 12 mW)
12 dBm ( 15 mW)
13 dBm ( 19 mW)
14 dBm ( 25 mW)
15 dBm ( 31 mW)
16 dBm ( 39 mW)
17 dBm ( 50 mW)
18 dBm ( 63 mW)
19 dBm ( 79 mW)
20 dBm ( 100 mW)
* 21 dBm ( 125 mW)
root at LEDE:~# iw reg get
global
country CA: DFS-FCC
(2402 - 2472 @ 40), (N/A, 30), (N/A)
(5150 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
(5250 - 5350 @ 80), (N/A, 24), (0 ms), DFS, AUTO-BW
(5470 - 5600 @ 80), (N/A, 24), (0 ms), DFS
(5650 - 5730 @ 80), (N/A, 24), (0 ms), DFS
(5735 - 5835 @ 80), (N/A, 30), (N/A)
phy#1
country US: DFS-FCC
(2402 - 2472 @ 40), (N/A, 30), (N/A)
(5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
(5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
(5735 - 5835 @ 80), (N/A, 30), (N/A)
(57240 - 63720 @ 2160), (N/A, 40), (N/A)
phy#0
country US: DFS-FCC
(2402 - 2472 @ 40), (N/A, 30), (N/A)
(5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
(5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
(5735 - 5835 @ 80), (N/A, 30), (N/A)
(57240 - 63720 @ 2160), (N/A, 40), (N/A)
More information about the Lede-dev
mailing list