OpenWrt Forum Archive

Topic: Quallcomm qca9558/TP-Link WDR7500 support

The content of this topic has been archived between 1 May 2014 and 7 May 2018. Unfortunately there are posts – most likely complete pages – missing.

Paladine01 wrote:
snk wrote:
Paladine01 wrote:

I managed to get the 5ghz radio operational, but when I connected it would only manage 100-200 Mbps instead of 450 Mbps as I was expecting. File transfers from a Samba share were going at roughly 3-4 MB/s instead of 15 MB/s I was pulling on the 2.4ghz band.

On my old Netgear router, my laptop could connect to either band at roughly the same speed, but not so with my new V2 and OpenWRT.

Do you happen to have Intel wireless in your laptop? Do you get faster speeds when uploading?

I do actually, an Intel Ultimate N 6300. Is this a known issue? I did not test uploading.

I see the same problem with my work laptop, which has Ultimate-N 6300. Upstream bandwidth was 450 Mbps, downstream a lot smaller. This on Ubuntu 13.10. Which OS do you run on your laptop? I was thinking it could be an issue in the Intel wireless linux driver, or in ath10k. I bring rarely my laptop home, so I haven't debugged the issue further, by checking speeds in Windows 8, for example.

snk wrote:

I see the same problem with my work laptop, which has Ultimate-N 6300. Upstream bandwidth was 450 Mbps, downstream a lot smaller. This on Ubuntu 13.10. Which OS do you run on your laptop? I was thinking it could be an issue in the Intel wireless linux driver, or in ath10k. I bring rarely my laptop home, so I haven't debugged the issue further, by checking speeds in Windows 8, for example.

I'm running Windows 7 64-bit. I used taskmgr to check which speed the card reports on the Network tab - it only showed the lower value (100-200), so I doubt I could have hit 450 upstream. It sounds to me like an ath10k problem considering I hit full speeds with the Intel card on a WNDR3700.

I too am on an Intel card and the 5ghz is pretty bad. I'm getting almost the same throughput as paladine. Also while I can get WDS to work after a fresh boot of the device now, at some point over hours, or days WDS eventually stops working. This is what I get for jumping into a draft standard big_smile

definesinsanity wrote:
ranfish wrote:

Man,see my post above?:)
Do you have a archer c7 ver2.Extract the art for me to test,pls.

According to your output:

[    0.000000] Linux version 2.6.31--LSDK-9.2.0_U6.616 (root@liaozhiming) (gcc version 4.3.3 (GCC) ) #1 Tue Dec 17 16:40:31 CST 2013

That is most definitely NOT openwrt.

OpenWRT will look like this;

[    0.000000] Linux version 3.10.36 (openwrt@gb-14) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.01 r40504) ) #1 Mon Apr 14 07:44:16 UTC 2014

Man.Did I not make it clearly or you didn't read my post carefully?I has flashed a archer-c7 v2 firmware downloaded from tplink.com into my wdr7500-v3 which is modded with 16m flash w25q128.But I think I need an art from archer-c7 ver2 to replace the orignal art of wdr7500-v3 to get that freaking tplink firmware to initialize without errors.That shows. in my post #385.So someone who has an archer-c7 ver2 please follow my instruction at #385 to extract the art and put it on any online storage service for me to test.

(Last edited by ranfish on 15 May 2014, 17:37)

ranfish wrote:

Man.Did I not make it clearly or you didn't read my post carefully?I has flashed a archer-c7 v2 firmware downloaded from tplink.com into my wdr7500-v3 which is modded with 16m flash w25q128.But I think I need an art from archer-c7 ver2 to replace the orignal art of wdr7500-v3 to get that freaking tplink firmware to initialize without errors.That shows. in my post #385.So someone who has an archer-c7 ver2 please follow my instruction at #385 to extract the art and put it on any online storage service for me to test.

Then I suggest you contact tplink for support, because that is outside of the scope of openwrt forums.
Further, I don't see anything in your logs that even HINT at there being a problem with your ART data, so diving all the way in and swapping that out with someone else's private serial numbers is definitely premature.

(Last edited by definesinsanity on 16 May 2014, 03:11)

How do you reflash the stock firmware? OpenWRT's luci flash page won't accept the .bin file downloaded from TP-Link's site.

Hi all,

Could you help to check if the 7500 v2 have a EJTAG port on board?

Thanks.

ranfish wrote:
definesinsanity wrote:
ranfish wrote:

Man,see my post above?:)
Do you have a archer c7 ver2.Extract the art for me to test,pls.

According to your output:

[    0.000000] Linux version 2.6.31--LSDK-9.2.0_U6.616 (root@liaozhiming) (gcc version 4.3.3 (GCC) ) #1 Tue Dec 17 16:40:31 CST 2013

That is most definitely NOT openwrt.

OpenWRT will look like this;

[    0.000000] Linux version 3.10.36 (openwrt@gb-14) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.01 r40504) ) #1 Mon Apr 14 07:44:16 UTC 2014

Man.Did I not make it clearly or you didn't read my post carefully?I has flashed a archer-c7 v2 firmware downloaded from tplink.com into my wdr7500-v3 which is modded with 16m flash w25q128.But I think I need an art from archer-c7 ver2 to replace the orignal art of wdr7500-v3 to get that freaking tplink firmware to initialize without errors.That shows. in my post #385.So someone who has an archer-c7 ver2 please follow my instruction at #385 to extract the art and put it on any online storage service for me to test.

拆机贴也不发一下,又要别人帮你,注意自己的素质,看你也是把V3已经拆开了,就不会拍个照片放上来?

Paladine01 wrote:

How do you reflash the stock firmware? OpenWRT's luci flash page won't accept the .bin file downloaded from TP-Link's site.

You need to remove boot block from it.
dd if=tp-stock-firmware.bin of=new-firmware.bin skip=257 bs=512

rondlh wrote:
stangri wrote:

So is the WDR7500 V2 ready to replace WDR3600/WDR4300 units as the home router yet?

Or is the WiFi support still too flaky?

It works 100% stable here with the latest beta firmware for the Archer C7 V1.0 firmware. But no 5GHz support with OpenWRT.

I of course meant with the OpenWRT and I meant to say Archer C7 V2, not WDR7500 V2. wink
Is anyone successfully running OpenWRT on Archer C7 V2 with the ac fully working?

boot infomation:
U-Boot 1.1.4 (Feb 10 2014 - 10:39:47)

ap135 - Scorpion 1.0DRAM: 
sri
Scorpion 1.0
ath_ddr_initial_config(178): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x4, 0x1f)
Tap values = (0x11, 0x11, 0x11, 0x11)
128 MB
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

*** Warning *** : PCIe WLAN Module not found !!!
In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0x1
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
Scorpion  ----> S17 PHY *
athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
eth0 up
athrs17_reg_init_wan done
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x800c0000 cfg2 0x7214
eth1: ba:be:fa:ce:08:41
eth1 up
eth0, eth1
Setting 0x18116290 to 0x58b1214f
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

Booting QCA955x
Linux version 2.6.31--LSDK-9.2.0_U6.616 (tplink@localhost.localdomain) (gcc version 4.3.3 (GCC) ) #1 Mon Feb 10 10:43:22 CST 2014
Ram size passed from bootloader =128M
flash_size passed from bootloader = 8
CPU revision is: 00019750 (MIPS 74Kc)
cpu apb ddr apb ath_sys_frequency: cpu 720 ddr 600 ahb 200
Determined physical RAM map:
memory: 08000000 @ 00000000 (usable)
Zone PFN ranges:
  Normal   0x00000000 -> 0x00008000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00008000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:128k(u-boot),1024k(kernel),6912k(rootfs),64k(config),64k(ART) mem=128M
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 112868k/131072k available (1891k kernel code, 18036k reserved, 441k data, 120k init, 0k highmem)
NR_IRQS:128
plat_time_init: plat time init done
Calibrating delay loop... 359.42 BogoMIPS (lpj=718848)
Mount-cache hash table entries: 512

****************ALLOC***********************
Packet mem: 802794e0 (0xe00000 bytes)
********************************************

NET: Registered protocol family 16
ath_pcibios_init: bus 0
***** Warning PCIe 0 H/W not found !!!
registering PCI controller with io_map_base unset
ath_pcibios_init: bus 1
ath_pcibios_init(232): PCI 1 CMD write: 0x356
registering PCI controller with io_map_base unset
===@@@@@@@@@@@=>use GPIO13 as wifi button control!
bio: create slab <bio-0> at 0
pcibios_map_irq: IRQ 76 for bus 1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
ATH GPIOC major 0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
msgmni has been set to 220
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A
console [ttyS0] enabled
PPP generic driver version 2.4.2
NET: Registered protocol family 24
5 cmdlinepart partitions found on MTD device ath-nor0
Creating 5 MTD partitions on "ath-nor0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x000000120000 : "kernel"
0x000000120000-0x0000007e0000 : "rootfs"
0x0000007e0000-0x0000007f0000 : "config"
0x0000007f0000-0x000000800000 : "ART"
->Oops: flash id 0xef4017 .
Ooops, why the devices couldn't been initialed?
TCP cubic registered
NET: Registered protocol family 10
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
athwdt_init: Registering WDT success
ath_otp_init: Registering OTP success
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 120k freed
init started:  BusyBox v1.01 (2014.02.10-02:49+0000) multi-call binary
This Board use 2.6.31
xt_time: kernel timezone is -0000
nf_conntrack version 0.5.0 (2048 buckets, 81920 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
ip_tables: (C) 2000-2006 Netfilter Core Team
insmod: cannot open module `/lib/modules/2.6.31/kernel/iptable_raw.ko': No such file or directory
insmod: cannot open module `/lib/modules/2.6.31/kernel/flashid.ko': No such file or directory
PPPoL2TP kernel driver, V1.0
PPTP driver version 0.8.3
insmod: cannot open module `/lib/modules/2.6.31/kernel/harmony.ko': No such file or directory

(none) mips #1 Mon Feb 10 10:43:22 CST 2014 (none)
(none) login: qca955x_GMAC: Length per segment 1536
955x_GMAC: qca955x_gmac_attach
955x_GMAC: qca955x_set_gmac_caps
Currently in polling mode unit1
mac:1 Registering S17....
qca955x_GMAC: RX TASKLET - Pkts per Intr:200
qca955x_GMAC: Max segments per packet :   1
qca955x_GMAC: Max tx descriptor count :   220
qca955x_GMAC: Max rx descriptor count :   220
qca955x_GMAC: Mac capability flags    :   12002200
955x_GMAC: qca955x_gmac_attach
955x_GMAC: qca955x_set_gmac_caps
Currently in polling mode unit0
mac:0 Registering S17....
qca955x_GMAC: RX TASKLET - Pkts per Intr:200
qca955x_GMAC: Max segments per packet :   1
qca955x_GMAC: Max tx descriptor count :   220
qca955x_GMAC: Max rx descriptor count :   220
qca955x_GMAC: Mac capability flags    :   10002A00
955x_GMAC: Serdes PLL is locked value 0x18838116
athr_gmac_ring_alloc Allocated 3520 at 0x87950000
athr_gmac_ring_alloc Allocated 3520 at 0x87a3a000
955x_GMAC: eth1 in SGMII MODE
Scorpion -----> S17 PHY
ttl zero adding rule #0
ACL is not yet enabled. Enabling...
ttl one adding rule #1
UDP checksum 0 adding rule #3
Hello, nat helper module for 1.08!
netlink_kernel_create succeeded at tp_rule_nl_prot: [29]

######## S17 SSDK init succeeded! ########
_athrs17_mac0_intf SGMII done
athrs17_reg_init:done
955x_SGMII::athr_gmac_sgmii_setup  Done
Setting Drop CRC Errors, Pause Frames and Length Error frames
Setting PHY...
Phy setup Complete
ADDRCONF(NETDEV_UP): eth0: link is not ready
device eth0.1 entered promiscuous mode
device eth0 entered promiscuous mode
SET INTF MAC 0:d0-c7-c0-98-2c-74
SET INTF MAC 1:d0-c7-c0-98-2c-75
br0: port 1(eth0.1) entering forwarding state
Adding ACL rules 2 - wan to lan, dst ip is lan net
nf_conntrack_rtsp v0.6.21 loading
nf_nat_rtsp v0.6.21 loading
adf: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, 11D)
ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
ath_dfs: Version 2.0.0
Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
ath_ahb: 10.1.467 (Atheros/multi-bss)
__ath_attach: Set global_scn[0]
Enterprise mode: 0x33fc0000
Restoring Cal data from Flash
Green-AP : Green-AP : Attached

ath_get_caps[5956] rx chainmask mismatch actual 7 sc_chainmak 0
ath_get_caps[5931] tx chainmask mismatch actual 7 sc_chainmak 0
ath_attach_dfs[11935] dfsdomain 1
SC Callback Registration for wifi0
wifi0: Atheros ???: mem=0xb8100000, irq=2
ath_pci: 10.1.467 (Atheros/multi-bss)
ath_pci_probe
PCI device id is 003c :003c
ath_pci 0000:01:00.0: ath DEBUG: sc=0x86ebae00

ol_ath_pci_configure : num_desired MSI set to 0

Using PCI Legacy Interrupt
__ol_ath_attach: ath_attach TODO
ol_ath_attach() BMI inited.
ol_ath_attach() BMI Get Target Info.
ol_ath_attach() TARGET TYPE: 7 Vers 0x4100016c
NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
ol_ath_attach() configure Target .
qc98xx_verify_checksum: flash checksum passed: 0xb59a
ol_transfer_bin_file 1687: Download Flash data len 2116
ol_transfer_bin_file 1634: Download Firmware data len 190448
ol_ath_attach() Download FW.
ol_ath_attach() HT Create .
ol_ath_attach() HIF Claim.
ol_ath_attach() BMI Done.
ol_ath_attach() WMI attached. wmi_handle 86e30000
+HWT
CE_recv_buf_enqueue 457 Populate last entry 512 for CE 5
CE_recv_buf_enqueue 466 CE 5 wi 511 dest_ptr 0x5eb500 nbytes 0 recv_ctxt 0x86c31740
-HWT
HTC Service:0x0300 ep:1 TX flow control disabled
CE_pkt_dl_len_set CE 4 Pkt download length 42
TXRX: Created pdev 86eba800
wmi_service_ready_event_rx:  WMI UNIFIED SERVICE READY event
num_rf_chain : 00000003
ht_cap_info: : 0000085b
vht_cap_info : 338001b2
vht_supp_mcs : 0000ffea
LARGE_AP enabled. num_peers 144, num_vdevs 16, num_tids 256
idx 0 req 1  num_units 0 num_unit_info 2 unit size 404 actual units 145
chunk 0 len 58580 requested ,ptr  0x6f20000
FIRMWARE:P 145 V 16 T 443

wmi_ready_event_rx:  WMI UNIFIED READY event
ol_ath_connect_htc() WMI is ready
ol_ath_set_host_app_area TODO
target uses HTT version 2.1; host uses 2.1
ol_ath_attach() connect HTC.
ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0.
ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
Skipping VHT80 channel 5825
ol_ath_phyerr_attach: called
OL Resmgr Init-ed
Green-AP : Green-AP : Attached

Green-AP : Attached
ol_if_dfs_setup: called
ol_if_dfs_attach: called; ptr=86f05974, radar_info=87bd9be8
ol_ath_rtt_meas_report_attach: called
ol_ath_attach() UMAC attach .
ol_if_dfs_configure: called
ol_if_dfs_configure: FCC domain
ol_if_dfs_disable: called
ol_ath_attach: Calling ol_if_dfs_configure
__ol_ath_attach: init tx/rx TODO
__ol_ath_attach: hard_header_len reservation 58
__ol_ath_attach: dev name wifi1
SC Callback Registration for wifi1
ath_attach_dfs[11935] dfsdomain 1
VAP device ath0 created

DES SSID SET=TP-LINK_
ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1
Invoking ACS module for Best channel selection
Channel 1 average beacon RSSI 12 noisefloor -107  ieee80211_acs_find_best_11ng_centerchan chan: 1 beacon RSSI + weighted noisefloor: -202
Channel 6 average beacon RSSI 16 noisefloor -108  ieee80211_acs_find_best_11ng_centerchan chan: 6 beacon RSSI + weighted noisefloor: -200
Channel 6 average beacon RSSI 16 noisefloor -108  ieee80211_acs_find_best_11ng_centerchan chan: 6 beacon RSSI + weighted noisefloor: -200
Channel 11 average beacon RSSI 24 noisefloor -108  ieee80211_acs_find_best_11ng_centerchan chan: 11 beacon RSSI + weighted noisefloor: -192
ieee80211_acs_find_best_11ng_centerchan found best 11ng center chan: 1 rssi: -202
athr_gmac_ring_alloc Allocated 3520 at 0x86fb4000
athr_gmac_ring_alloc Allocated 3520 at 0x86ff0000
955x_GMAC: eth0 in RGMII MODE
Scorpion -----> S17 PHY
athrs17_reg_init_wan done
Setting Drop CRC Errors, Pause Frames and Length Error frames
Setting PHY...
ADDRCONF(NETDEV_UP): eth1: link is not ready
device eth1 entered promiscuous mode
device ath0 entered promiscuous mode
br1: port 2(ath0) entering forwarding state
ieee80211_ioctl_siwmode: imr.ifm_active=918144, new mode=3, valid=1
br1: port 2(ath0) entering disabled state
DEVICE IS DOWN ifname=ath0
DEVICE IS DOWN ifname=ath0
br1: port 2(ath0) entering forwarding state

Enet:1 port2 up
955x_GMAC: enet unit:1 is up...
eth1  SGMII  1000Mbps  full duplex
955x_GMAC: qca955x_soc_gmac_set_mac_duplex
955x_GMAC: qca955x_soc_gmac_set_link Done
955x_GMAC: done cfg2 0x7215 ifctl 0x0 miictrl 
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
955x_GMAC: qca955x_soc_gmac_set_mac_duplex
955x_GMAC: qca955x_soc_gmac_set_link Done
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
br1: port 1(eth1) entering forwarding state
br1: port 2(ath0) entering disabled state
br1: port 2(ath0) entering forwarding state
isCountryCodeValid: EEPROM regdomain 0x0
ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
Skipping VHT80 channel 5825
ath_ioctl: SIOC80211IFCREATE CALLED
wmi_unified_vdev_create_send: ID = 0 VAP Addr = :
TXRX: Created vdev 86605bc0 ()
Setting vdev param = 26, value = 147
Setting vdev param = 27, value = 295
Setting vdev param = 28, value = 300
VAP device ath1 created
TXRX: ol_txrx_peer_find_add_id: peer 86ff1000 ID 188
TXRX: ol_txrx_peer_find_add_id: peer 86ff1000 ID 172
Setting vdev param = f, value = 1
ol_ath_vap_set_param: VAP param unsupported param:80 value:1
ol_ath_vap_set_param: VAP param unsupported param:35 value:0

DES SSID SET=TP-LINK_5G_
ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1
OL vap_stop +
wmi_unified_vdev_stop_send
OL vap_stop -
STOPPED EVENT for vap 0
Setting vdev param = 2a, value = 2
ol_ath_vap_set_param: VAP param is now supported param:62 value:2
OL vap_stop +
wmi_unified_vdev_stop_send
OL vap_stop -
STOPPED EVENT for vap 0
eth1: received packet with own address as source address
OL vap_stop +
wmi_unified_vdev_stop_send
OL vap_stop -
STOPPED EVENT for vap 0
FWLOG: [29836] WHAL_ERROR_RECV_STOPPCU ( 0x110298a, 0x3 )
FWLOG: [29836] WHAL_ERROR_RESET_PM (  )
Invoking ACS module for Best channel selection
Function ieee80211_acs_find_best_11na_centerchan best 5G channel is 149
OL vap_start +
OL vap_start -
ol_vdev_start_resp_ev
ol_ath_vap_join: join operation is only for STA/IBSS mode
ol_ath_wmm_update:
Setting vdev param = 3, value = 100
Notification to UMAC VAP layer
eth1: received packet with own address as source address
eth1: received packet with own address as source address
wmi_unified_vdev_stop_send
STOPPED EVENT for vap 0
Setting vdev param = 1a, value = 1
Setting vdev param = 3, value = 100
Setting vdev param = d, value = 1
Setting vdev param = 12, value = 1
Setting vdev param = 1e, value = 1
OL vap_stop +
wmi_unified_vdev_stop_send
OL vap_stop -
STOPPED EVENT for vap 0
OL vap_start +
OL vap_start -
ol_vdev_start_resp_ev
ol_ath_vap_join: join operation is only for STA/IBSS mode
ol_ath_wmm_update:
Setting vdev param = 3, value = 100
Notification to UMAC VAP layer
device ath1 entered promiscuous mode
br1: port 3(ath1) entering forwarding state
ieee80211_ioctl_siwmode: imr.ifm_active=131738, new mode=3, valid=1
wmi_unified_vdev_stop_send
STOPPED EVENT for vap 0
br1: port 3(ath1) entering disabled state
ol_ath_vap_set_param: VAP param unsupported param:32 value:0
ol_ath_vap_set_param: VAP param unsupported param:121 value:1
DEVICE IS DOWN ifname=ath1
DEVICE IS DOWN ifname=ath1
ol_ath_vap_set_param: VAP param unsupported param:32 value:0
ol_ath_vap_set_param: VAP param unsupported param:32 value:0
ol_ath_vap_set_param: VAP param unsupported param:17 value:1
OL vap_stop +
wmi_unified_vdev_stop_send
OL vap_stop -
STOPPED EVENT for vap 0
OL vap_start +
OL vap_start -
ol_vdev_start_resp_ev
ol_ath_vap_join: join operation is only for STA/IBSS mode
ol_ath_wmm_update:
Setting vdev param = 3, value = 100
Notification to UMAC VAP layer
br1: port 3(ath1) entering forwarding state
FWLOG: [36697] WAL_DBGID_BB_WDOG_TRIGGERED ( 0x8f59, 0x200008a, 0x0, 0xb )
wmi_unified_vdev_stop_send
STOPPED EVENT for vap 0
eth1: received packet with own address as source address
br1: port 3(ath1) entering disabled state
ol_ath_vap_set_param: VAP param unsupported param:17 value:1
OL vap_stop +
wmi_unified_vdev_stop_send
OL vap_stop -
STOPPED EVENT for vap 0
OL vap_start +
OL vap_start -
ol_vdev_start_resp_ev
ol_ath_vap_join: join operation is only for STA/IBSS mode
ol_ath_wmm_update:
Setting vdev param = 3, value = 100
Notification to UMAC VAP layer
br1: port 3(ath1) entering forwarding state
fuse init (API version 7.12)
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Port Status 1c000004
ath-ehci ath-ehci.0: ATH EHCI
ath-ehci ath-ehci.0: new USB bus registered, assigned bus number 1
ehci_reset Intialize USB CONTROLLER in host mode: 13
ehci_reset Port Status 1c000000
ath-ehci ath-ehci.0: irq 3, io mem 0x1b000000
ehci_reset Intialize USB CONTROLLER in host mode: 13
ehci_reset Port Status 1c000000
ath-ehci ath-ehci.0: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Port Status 1c000000
ath-ehci1 ath-ehci1.1: ATH EHCI
ath-ehci1 ath-ehci1.1: new USB bus registered, assigned bus number 2
ehci_reset Intialize USB CONTROLLER in host mode: 13
ehci_reset Port Status 1c000000
ath-ehci1 ath-ehci1.1: irq 3, io mem 0x1b400000
ehci_reset Intialize USB CONTROLLER in host mode: 13
ehci_reset Port Status 1c000000
ath-ehci1 ath-ehci1.1: USB 2.0 started, EHCI 1.00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
FWLOG: [38695] WAL_DBGID_BB_WDOG_TRIGGERED ( 0x9727, 0x200008a, 0x0, 0xc )
SCSI subsystem initialized
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
GPL NetUSB up!
kc   86 : run_telnetDBGDServer start
kc  223 : init_DebugD end
INFO1758: NetUSB 1.184, 0002061F : May  7 2012 10:35:23
INFO175A:  AUTH ISOC
INFO175B:
usbcore: registered new interface driver KC NetUSB General Driver
INFO0076:  init proc : PAGE_SIZE 4096
INFO17B4: Check mac address
INFO162C:  infomap 8678c220
INFO162F:  sleep to wait br0 to wake up
INFO02D0:  use dev Name br0
INFO1638:  sleep to wait br0 end.
INFO1651:  UDP_BROAD 7437 tcpPort:625868800
INFO02D0:  use dev Name br0
INFO1538: tcpConnector() started...
INFO1415: Bind to br0

wuxeon wrote:

WDR7500 V3 coming.

http://img.mydigit.net/Mon_1405/88_2724 … 6a.jpg?211
http://img.mydigit.net/Mon_1405/88_2724 … 5b.jpg?202


V2  VS  V3
http://img.mydigit.net/Mon_1405/88_2724 … ad.jpg?236


Something different from WDR 7500 V2  and  ARCHER C7 V2 .
The Flash only  8Mb, and the 11ac chipset is on the board,not module.

Well, that's one way to reduce expenses.
Unless there are additional differences, it should work fine with the c7v1 builds, including 5 GHz.

wuxeon wrote:
ranfish wrote:
definesinsanity wrote:

According to your output:

[    0.000000] Linux version 2.6.31--LSDK-9.2.0_U6.616 (root@liaozhiming) (gcc version 4.3.3 (GCC) ) #1 Tue Dec 17 16:40:31 CST 2013

That is most definitely NOT openwrt.

OpenWRT will look like this;

[    0.000000] Linux version 3.10.36 (openwrt@gb-14) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.01 r40504) ) #1 Mon Apr 14 07:44:16 UTC 2014

Man.Did I not make it clearly or you didn't read my post carefully?I has flashed a archer-c7 v2 firmware downloaded from tplink.com into my wdr7500-v3 which is modded with 16m flash w25q128.But I think I need an art from archer-c7 ver2 to replace the orignal art of wdr7500-v3 to get that freaking tplink firmware to initialize without errors.That shows. in my post #385.So someone who has an archer-c7 ver2 please follow my instruction at #385 to extract the art and put it on any online storage service for me to test.

拆机贴也不发一下,又要别人帮你,注意自己的素质,看你也是把V3已经拆开了,就不会拍个照片放上来?

你没事找抽啊,上不上拆机图跟素质有什么关系?这机型跟archer c7 ver2几乎一样,网上有拆解图,wdr7500v3的图也有了,我发帖就是为了刷上英文官网固件看看ac好不好用。我现在这台机器ac中文固件链接不上,刷了openwrt也不行。没想到还被骂一顿,真素无聊!

(Last edited by ranfish on 18 May 2014, 10:51)

definesinsanity wrote:
ranfish wrote:

Man.Did I not make it clearly or you didn't read my post carefully?I has flashed a archer-c7 v2 firmware downloaded from tplink.com into my wdr7500-v3 which is modded with 16m flash w25q128.But I think I need an art from archer-c7 ver2 to replace the orignal art of wdr7500-v3 to get that freaking tplink firmware to initialize without errors.That shows. in my post #385.So someone who has an archer-c7 ver2 please follow my instruction at #385 to extract the art and put it on any online storage service for me to test.

Then I suggest you contact tplink for support, because that is outside of the scope of openwrt forums.
Further, I don't see anything in your logs that even HINT at there being a problem with your ART data, so diving all the way in and swapping that out with someone else's private serial numbers is definitely premature.

Why I think it has to do with art.Check this sheet
http://c.hiwifi.com/shequ/forum/201310/12/174246a3tqx4mb4391omgo.jpg.thumb.jpg
The 5g channels allowed to use in China is much less than US and Europe and different.Art control the initialization of wireless.Maybe the English firmware should meet a suitable art.
OK,I don't want to talk more bullshit.Someone who can email me his archer-c7 ver2's uboot and art.I will give 0.01 btc to thank for his/her help.

I got an archer c7 v2 yesterday and flashed barrier breaker onto it.  The ath10k-pci module from the kmod-ath10k package doesn't seem to work with it.  The package itself is dated from 2014-05-19 and it is on BB r40804.

dmesg gives me:

root@OpenWrt:/# dmesg  | grep ath10k
[  210.560000] ath10k_pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[  210.870000] ath10k: pci irq legacy irq_mode 0 reset_mode 0
[  210.960000] ath10k: otp calibration failed: 2
[  210.960000] ath10k: failed to run otp: -22
[  210.970000] ath10k: could not init core (-22)
[  211.230000] ath10k: could not probe fw (-22)
[  211.230000] ath10k: failed to register driver core: -22
[  211.230000] ath10k_pci: probe of 0000:01:00.0 failed with error -22

I also found this bug report as well, which seems to be what I am experiencing.

Has anyone else run into this issue?  I was thinking that maybe I should clone the git sources and build from about a week ago or so.  From all that I have read, the v2 should work with the 5GHz band of this router...

Is it already confirmed that WDR7500 v3 also uses the new Atheros 11ac chips, that its 5GHz channel can be supported by OpenWrt?

Cheers.

WonderWoofy wrote:

I got an archer c7 v2 yesterday and flashed barrier breaker onto it.  The ath10k-pci module from the kmod-ath10k package doesn't seem to work with it.  The package itself is dated from 2014-05-19 and it is on BB r40804.

dmesg gives me:

root@OpenWrt:/# dmesg  | grep ath10k
[  210.560000] ath10k_pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[  210.870000] ath10k: pci irq legacy irq_mode 0 reset_mode 0
[  210.960000] ath10k: otp calibration failed: 2
[  210.960000] ath10k: failed to run otp: -22
[  210.970000] ath10k: could not init core (-22)
[  211.230000] ath10k: could not probe fw (-22)
[  211.230000] ath10k: failed to register driver core: -22
[  211.230000] ath10k_pci: probe of 0000:01:00.0 failed with error -22

I also found this bug report as well, which seems to be what I am experiencing.

Has anyone else run into this issue?  I was thinking that maybe I should clone the git sources and build from about a week ago or so.  From all that I have read, the v2 should work with the 5GHz band of this router...

I got these errors with my wdr7500v3,too.But my another device with qca9882 works perfectly with ath10k.

(Last edited by ranfish on 23 May 2014, 04:04)

Hi all,

Sorry to ask a more basic question here, but today I upgraded to the latest version of barrier breaker (r40820) and my 5ghz radio is not being detected. I had this working before on the previous version. In my startup logs I find this:

Fri May 23 20:27:28 2014 kern.info kernel: [   12.220000] ath10k_pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
Fri May 23 20:27:28 2014 kern.warn kernel: [   12.230000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
Fri May 23 20:27:28 2014 kern.info kernel: [   12.540000] ath10k: pci irq legacy irq_mode 0 reset_mode 0
Fri May 23 20:27:28 2014 kern.err kernel: [   12.990000] ath10k: otp calibration failed: 2
Fri May 23 20:27:28 2014 kern.err kernel: [   12.990000] ath10k: failed to run otp: -22
Fri May 23 20:27:28 2014 kern.err kernel: [   13.000000] ath10k: could not init core (-22)
Fri May 23 20:27:28 2014 kern.err kernel: [   13.260000] ath10k: could not probe fw (-22)
Fri May 23 20:27:28 2014 kern.err kernel: [   13.260000] ath10k: failed to register driver core: -22
Fri May 23 20:27:28 2014 kern.warn kernel: [   13.260000] ath10k_pci: probe of 0000:01:00.0 failed with error -22

Running "wifi detect" "wifi status" only shows the 2.4Ghz radio. "iw list" also only shows the 2.4Ghz radio. I'm not familiar enough with OpenWRT yet to be able to fully diagnose this myself, so any help is appreciated.

Thanks

Edit: I did do a factory reset following the firmware upgrade.

(Last edited by skftw on 23 May 2014, 21:36)

Yes, OTP calibration failure is a known problem in the recent trunk. I'll look into it this weekend, unless someone else manages to fix it first.

Thanks for the quick reply! Just wanted to make sure it wasn't something I did.

I tried to build a ram image for WDR7500, but after I boot it with go command, the eth0 and eth1 could not be found.

checking my boot log, I found following lines are missing from a good boot log.
[    2.810000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[    2.820000] m25p80 spi0.0: found s25fl064k, expected m25p80
[    2.830000] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[    2.830000] spi0.0: no TP-Link header found
[    2.870000] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
[    4.130000] libphy: ag71xx_mdio: probed
[    4.130000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[    4.690000] ag71xx ag71xx.0 eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[    4.700000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII


I have build libphy and mdio driver as module, but it did not work.
Do I have to build libphy and mdio driver as internal of kernel?

loyukfai wrote:

Is it already confirmed that WDR7500 v3 also uses the new Atheros 11ac chips, that its 5GHz channel can be supported by OpenWrt?

Anyone...?

Cheers.