#18281: ath9k_htc Limited to 54mbps
-----------------------------+----------------------------------
Reporter: moonrotation@… | Owner: developers
Type: defect | Status: closed
Priority: normal | Milestone: Chaos Calmer (trunk)
Component: packages | Version: Trunk
Resolution: not_a_bug | Keywords:
-----------------------------+----------------------------------
Comment (by moonrotation@…):
I tried all kinds of security but is limited to 54mbps.
But last night I tried "psk-mixed+ccmp" and followed the same. But this
morning magically was running n rates (72.2 Mbit/s, MCS 7, 20MHz)
After restarting the router returns to 54mbps. (54.0 Mbit/s, MCS 0, 20MHz)
New config:
{{{
root@OpenWrt:~# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11g'
option path 'bcma0:4/ehci-platform.0/usb1/1-1/1-1:1.0'
option disabled '0'
option wmm '1' <-------Added manually
option channel '11'
option htmode 'HT20'
option txpower '20'
option country 'ES'
config wifi-iface
option network 'wwan'
option ssid 'WifiAP'
option device 'radio0'
option mode 'sta'
option bssid 'deleted'
option key 'deleted'
option macaddr 'deleted'
option encryption 'psk-mixed+ccmp'
}}}
Wifi adapted: awus036nha
Router: : E3000
dmesg:
{{{
[ 0.000000] Linux version 3.14.18 (kool@ubuntu-10) (gcc version 4.8.3
(OpenWrt/Linaro GCC 4.8-2014.04 r43357) ) #1 Fri Nov 28 21:02:51 WET 2014
[ 0.000000] CPU0 revision is: 00019740 (MIPS 74Kc)
[ 0.000000] bcm47xx: using bcma bus
[ 0.000000] bcma: bus0: Found chip with id 0x4716, rev 0x01 and package
0x0A
[ 0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id
0x800, rev 0x1F, class 0x0)
[ 0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C,
rev 0x01, class 0x0)
[ 0.000000] bcma: bus0: Found rev 5 PMU (capabilities 0x11242C05)
[ 0.000000] bcma: bus0: Found parallel flash
[ 0.000000] bcma: bus0: Early bus registered
[ 0.000000] MIPS: machine is Linksys E3000 V1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x03ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 802ea460, node_mem_map
81000000
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32
bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases,
linesize 32 bytes
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 16256
[ 0.000000] Kernel command line: noinitrd console=ttyS0,115200
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768
bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384
bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 61400K/65536K available (2460K kernel code, 110K
rwdata, 488K rodata, 192K init, 227K bss, 4136K reserved)
[ 0.000000] NR_IRQS:128
[ 0.000000] Setting up vectored interrupts
[ 0.060000] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
[ 0.070000] pid_max: default: 32768 minimum: 301
[ 0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.070000] NET: Registered protocol family 16
[ 0.090000] bio: create slab <bio-0> at 0
[ 0.100000] Switched to clocksource MIPS
[ 0.110000] NET: Registered protocol family 2
[ 0.110000] TCP established hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.110000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.110000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.110000] TCP: reno registered
[ 0.110000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.110000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.110000] NET: Registered protocol family 1
[ 0.110000] PCI: CLS 0 bytes, default 32
[ 0.110000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id
0x812, rev 0x11, class 0x0)
[ 0.110000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D,
rev 0x00, class 0x0)
[ 0.110000] bcma: bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id
0x819, rev 0x04, class 0x0)
[ 0.110000] bcma: bus0: Core 5 found: PCIe (manuf 0x4BF, id 0x820, rev
0x0E, class 0x0)
[ 0.110000] bcma: bus0: Core 6 found: DDR1/DDR2 Memory Controller
(manuf 0x4BF, id 0x82E, rev 0x01, class 0x0)
[ 0.110000] bcma: bus0: Core 7 found: Internal Memory (manuf 0x4BF, id
0x80E, rev 0x07, class 0x0)
[ 0.110000] bcma: bus0: Core 8 found: I2S (manuf 0x4BF, id 0x834, rev
0x00, class 0x0)
[ 0.440000] bcma: bus0: Using SPROM revision 8 provided by platform.
[ 0.440000] bcma: bus0: PMU resource config unknown or not needed for
device 0x4716
[ 0.440000] bcma: bus0: Workarounds unknown or not needed for device
0x4716
[ 0.440000] bcma: bus0: Initializing MIPS core...
[ 0.440000] bcma: bus0: Moved i2s interrupt to oob line 7 instead of 8
[ 0.440000] bcma: bus0: set_irq: core 0x0812, irq 3 => 3
[ 0.440000] bcma: bus0: set_irq: core 0x082d, irq 4 => 4
[ 0.440000] bcma: bus0: set_irq: core 0x0819, irq 5 => 5
[ 0.440000] bcma: bus0: set_irq: core 0x0820, irq 6 => 6
[ 0.440000] bcma: bus0: set_irq: core 0x0800, irq 2 => 2
[ 0.440000] bcma: bus0: set_irq: core 0x0834, irq 0 => 2
[ 0.440000] bcma: bus0: IRQ reconfiguration done
[ 0.440000] bcma: core 0x0800, irq : 2(S)* 3 4 5 6 D I
[ 0.440000] bcma: core 0x082c, irq : 2(S) 3 4 5 6 D I*
[ 0.440000] bcma: core 0x0812, irq : 2(S) 3* 4 5 6 D I
[ 0.440000] bcma: core 0x082d, irq : 2(S) 3 4* 5 6 D I
[ 0.440000] bcma: core 0x0819, irq : 2(S) 3 4 5* 6 D I
[ 0.440000] bcma: core 0x0820, irq : 2(S) 3 4 5 6* D I
[ 0.440000] bcma: core 0x082e, irq : 2(S) 3 4 5 6 D* I
[ 0.440000] bcma: core 0x080e, irq : 2(S) 3 4 5 6 D I*
[ 0.440000] bcma: core 0x0834, irq : 2(S)* 3 4 5 6 D I
[ 0.440000] bcma: bus0: PCIEcore in host mode found
[ 0.630000] PCI host bridge to bus 0000:00
[ 0.630000] pci_bus 0000:00: root bus resource [mem
0x08000000-0x0bffffff]
[ 0.630000] pci_bus 0000:00: root bus resource [io 0x0100-0x07ff]
[ 0.630000] pci_bus 0000:00: No busn resource found for root bus, will
use [bus 00-ff]
[ 0.630000] pci 0000:00:00.0: [14e4:4716] type 00 class 0x060000
[ 0.630000] bcma: PCI: Fixing up bridge 0000:00:00.0
[ 0.630000] bcma: PCI: Fixing up device 0000:00:00.0
[ 0.630000] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00003fff
64bit]
[ 0.630000] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x07ffffff
64bit]
[ 0.630000] pci 0000:00:00.0: supports D1 D2
[ 0.630000] pci 0000:00:00.1: [14e4:0000] type 00 class 0x060000
[ 0.630000] bcma: PCI: Fixing up bridge 0000:00:00.1
[ 0.630000] bcma: PCI: Fixing up device 0000:00:00.1
[ 0.630000] pci 0000:00:00.1: reg 0x10: [mem 0x00000000-0x00003fff
64bit]
[ 0.630000] pci 0000:00:00.1: reg 0x18: [mem 0x00000000-0x07ffffff
64bit]
[ 0.630000] pci 0000:00:00.1: supports D1 D2
[ 0.630000] pci 0000:00:01.0: [14e4:4322] type 00 class 0x028000
[ 0.630000] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x00003fff
64bit]
[ 0.630000] bcma: PCI: Fixing up addresses 0000:00:01.0
[ 0.630000] pci 0000:00:01.0: BAR 0: assigned [mem
0x08000000-0x08003fff 64bit]
[ 0.630000] pci 0000:00:01.0: supports D1 D2
[ 0.630000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.630000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[ 0.630000] bcma: PCI: Fixing up device 0000:00:01.0
[ 0.670000] ssb: Found chip with id 0x4322, rev 0x01 and package 0x0A
[ 0.670000] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x17, vendor
0x4243)
[ 0.670000] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x10, vendor
0x4243)
[ 0.670000] ssb: Core 2 found: PCI-E (cc 0x820, rev 0x0B, vendor
0x4243)
[ 0.670000] ssb: Core 3 found: PCI (cc 0x804, rev 0x0E, vendor 0x4243)
[ 0.670000] ssb: Core 4 found: USB 2.0 Device (cc 0x81A, rev 0x05,
vendor 0x4243)
[ 0.670000] ssb: Core 5 found: UNKNOWN (cc 0x8FF, rev 0x00, vendor
0x4243)
[ 0.670000] ssb: Core 6 found: Internal Memory (cc 0x80E, rev 0x03,
vendor 0x4243)
[ 0.710000] ssb: chipcommon status is 0x68040
[ 0.710000] ssb: Found rev 2 PMU (capabilities 0x04583002)
[ 0.710000] ssb: SPROM offset is 0x1000
[ 0.710000] ssb: WARNING: Using fallback SPROM failed (err -2)
[ 0.710000] ssb: WARNING: Invalid SPROM CRC (corrupt SPROM)
[ 0.710000] ssb: SPROM revision 255 detected
[ 0.710000] ssb: Unsupported SPROM revision 255 detected. Will extract
v1
[ 0.830000] ssb: Sonics Silicon Backplane found on PCI device
0000:00:01.0
[ 0.830000] bcma: bus0: Bus registered
[ 0.840000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.840000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.840000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.840000] msgmni has been set to 119
[ 0.840000] io scheduler noop registered
[ 0.840000] io scheduler deadline registered (default)
[ 0.840000] Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
[ 0.860000] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2, base_baud
= 1250000) is a U6_16550A
[ 1.330000] console [ttyS0] enabled
[ 1.340000] physmap platform flash device: 02000001 at 1c000000
[ 1.350000] physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank.
Manufacturer ID 0x0000c2 Chip ID 0x0000cb
[ 1.360000] physmap-flash.0: Found an alias at 0x800000 for the chip at
0x0
[ 1.360000] physmap-flash.0: Found an alias at 0x1000000 for the chip
at 0x0
[ 1.360000] physmap-flash.0: Found an alias at 0x1800000 for the chip
at 0x0
[ 1.360000] Amd/Fujitsu Extended Query Table at 0x0040
[ 1.360000] Amd/Fujitsu Extended Query version 1.1.
[ 1.370000] number of CFI chips: 1
[ 1.430000] 6 bcm47xxpart partitions found on MTD device physmap-
flash.0
[ 1.430000] Creating 6 MTD partitions on "physmap-flash.0":
[ 1.440000] 0x000000000000-0x000000040000 : "boot"
[ 1.450000] 0x000000040000-0x0000007f0000 : "firmware"
[ 1.460000] 0x00000004001c-0x00000004090c : "loader"
[ 1.460000] 0x00000004090c-0x000000152000 : "linux"
[ 1.470000] mtd: partition "linux" must either start or end on erase
block boundary or be smaller than an erase block -- forcing read-only
[ 1.480000] 0x000000152000-0x0000007f0000 : "rootfs"
[ 1.490000] mtd: partition "rootfs" must either start or end on erase
block boundary or be smaller than an erase block -- forcing read-only
[ 1.510000] mtd: device 4 (rootfs) set to be root filesystem
[ 1.510000] 1 squashfs-split partitions found on MTD device rootfs
[ 1.520000] 0x0000003d0000-0x0000007f0000 : "rootfs_data"
[ 1.530000] 0x0000007f0000-0x000000800000 : "nvram"
[ 1.540000] libphy: Fixed MDIO Bus: probed
[ 1.550000] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled
(30 seconds)
[ 1.550000] GPIO_WDT: failed to register misc device
[ 1.560000] TCP: cubic registered
[ 1.560000] NET: Registered protocol family 17
[ 1.570000] 8021q: 802.1Q VLAN Support v1.8
[ 1.580000] VFS: Mounted root (squashfs filesystem) readonly on device
31:4.
[ 1.590000] Freeing unused kernel memory: 192K (80300000 - 80330000)
[ 4.190000] bgmac bcma0:2: Found PHY addr: 30 (NOREGS)
[ 4.200000] bgmac bcma0:2: Support for Roboswitch not implemented
[ 4.210000] libphy: bgmac mii bus: probed
[ 4.360000] b53_common: found switch: BCM53115, rev 8
[ 4.370000] bgmac: Broadcom 47xx GBit MAC driver loaded
[ 4.410000] usbcore: registered new interface driver usbfs
[ 4.420000] usbcore: registered new interface driver hub
[ 4.420000] usbcore: registered new device driver usb
[ 4.440000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.450000] ehci-platform: EHCI generic platform driver
[ 4.450000] ehci-platform ehci-platform.0: EHCI Host Controller
[ 4.460000] ehci-platform ehci-platform.0: new USB bus registered,
assigned bus number 1
[ 4.470000] ehci-platform ehci-platform.0: irq 5, io mem 0x18004000
[ 4.490000] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[ 4.490000] hub 1-0:1.0: USB hub found
[ 4.500000] hub 1-0:1.0: 2 ports detected
[ 4.820000] usb 1-1: new high-speed USB device number 2 using ehci-
platform
[ 5.470000] random: mktemp urandom read with 54 bits of entropy
available
[ 7.370000] libphy: bgmac-0-0:1e - Link is Up - 1000/Full
[ 8.850000] jffs2: notice: (245) jffs2_build_xattr_subsystem: complete
building xattr subsystem, 21 of xdatum (0 unchecked, 20 orphan) and 30 of
xref (0 dead, 20 orphan) found.
[ 13.200000] NET: Registered protocol family 10
[ 13.260000] u32 classifier
[ 13.260000] input device check on
[ 13.260000] Actions configured
[ 13.280000] Mirror/redirect action on
[ 13.300000] nf_conntrack version 0.5.0 (962 buckets, 3848 max)
[ 13.330000] Loading modules backported from Linux version
master-2014-11-04-0-gf3660a2
[ 13.340000] Backport generated by backports.git
backports-20141023-2-g4ff890b
[ 13.510000] xt_time: kernel timezone is -0000
[ 13.560000] cfg80211: Calling CRDA to update world regulatory domain
[ 13.560000] cfg80211: World regulatory domain updated:
[ 13.570000] cfg80211: DFS Master region: unset
[ 13.570000] cfg80211: (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp), (dfs_cac_time)
[ 13.580000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A,
2000 mBm), (N/A)
[ 13.590000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A,
2000 mBm), (N/A)
[ 13.600000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A,
2000 mBm), (N/A)
[ 13.610000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A,
2000 mBm), (N/A)
[ 13.620000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000
KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 13.630000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A,
2000 mBm), (0 s)
[ 13.630000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A,
2000 mBm), (N/A)
[ 13.640000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz),
(N/A, 0 mBm), (N/A)
[ 13.650000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 13.800000] usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
[ 13.890000] usbcore: registered new interface driver ath9k_htc
[ 14.190000] usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size:
51272
[ 14.430000] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33
credits
[ 14.680000] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.3
[ 14.680000] ath: EEPROM regdomain: 0x833a
[ 14.680000] ath: EEPROM indicates we should expect a country code
[ 14.680000] ath: doing EEPROM country->regdmn map search
[ 14.680000] ath: country maps to regdmn code: 0x37
[ 14.680000] ath: Country alpha2 being used: GB
[ 14.680000] ath: Regpair used: 0x37
[ 14.700000] ieee80211 phy0: Atheros AR9271 Rev:1
[ 14.700000] cfg80211: Calling CRDA for country: GB
[ 14.710000] cfg80211: Regulatory domain changed to country: GB
[ 14.720000] cfg80211: DFS Master region: ETSI
[ 14.720000] cfg80211: (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp), (dfs_cac_time)
[ 14.730000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A,
2000 mBm), (N/A)
[ 14.740000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000
KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 14.750000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000
KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 14.760000] cfg80211: (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A,
2700 mBm), (0 s)
[ 14.770000] cfg80211: (57000000 KHz - 66000000 KHz @ 2160000 KHz),
(N/A, 4000 mBm), (N/A)
[ 16.890000] random: nonblocking pool is initialized
[ 19.500000] libphy: bgmac-0-0:1e - Link is Up - 1000/Full
[ 21.800000] device eth0.1 entered promiscuous mode
[ 21.810000] device eth0 entered promiscuous mode
[ 21.830000] br-lan: port 1(eth0.1) entered forwarding state
[ 21.830000] br-lan: port 1(eth0.1) entered forwarding state
[ 22.990000] cfg80211: Calling CRDA for country: ES
[ 23.000000] cfg80211: Regulatory domain changed to country: ES
[ 23.000000] cfg80211: DFS Master region: ETSI
[ 23.010000] cfg80211: (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp), (dfs_cac_time)
[ 23.020000] cfg80211: (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A,
2000 mBm), (N/A)
[ 23.020000] cfg80211: (5150000 KHz - 5250000 KHz @ 80000 KHz, 200000
KHz AUTO), (N/A, 2300 mBm), (N/A)
[ 23.030000] cfg80211: (5250000 KHz - 5350000 KHz @ 80000 KHz, 200000
KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 23.040000] cfg80211: (5470000 KHz - 5725000 KHz @ 160000 KHz), (N/A,
2700 mBm), (0 s)
[ 23.050000] cfg80211: (57000000 KHz - 66000000 KHz @ 2160000 KHz),
(N/A, 4000 mBm), (N/A)
[ 23.500000] libphy: bgmac-0-0:1e - Link is Up - 1000/Full
[ 23.830000] br-lan: port 1(eth0.1) entered forwarding state
[ 25.000000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 29.250000] wlan0: authenticate with mac
[ 29.250000] wlan0: capabilities/regulatory prevented using AP HT/VHT
configuration, downgraded
[ 29.950000] wlan0: send auth to mac (try 1/3)
[ 29.980000] wlan0: authenticated
[ 29.980000] wlan0: AP has invalid WMM params (AIFSN=1 for ACI 2),
disabling WMM
[ 30.000000] wlan0: associate with mac (try 1/3)
[ 30.000000] wlan0: RX AssocResp from mac (capab=0x411 status=0 aid=1)
[ 30.040000] wlan0: associated
[ 30.040000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/18281#comment:4>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets