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.

snk wrote:
definesinsanity wrote:
snk wrote:

Maybe the chinese WDR7500 v2.0 already uses 0x75000002?

Seems possible.


How do you add a kmod to a device profile?

Just add "kmod-ath10k" to the end of

PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev

Wouldn't that affect the v1 as well though? Since we aren't actually creating a new profile....

Also, I found the 7500v2 firmware on a russian website, and it does, indeed, make use of that code.

definesinsanity wrote:
snk wrote:
definesinsanity wrote:

Seems possible.


How do you add a kmod to a device profile?

Just add "kmod-ath10k" to the end of

PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev

Wouldn't that affect the v1 as well though? Since we aren't actually creating a new profile....

You are right, of course. On second thought, it is better to make a new profile like you originally suggested, since ath10k would just waste space on v1. Then it is enough to add just

$(eval $(call SingleProfile,TPLINK-LZMA,64kraw,ARCHERC7v2,archer-c7-v2,ARCHER-C7,ttyS0,115200,0xc7000002,1,16Mlzma))

to the Makefile, and it is not necessary to modify any other files AFAICS.

So, it compiled. I have;
openwrt-ar71xx-generic-archer-c7-v2-squashfs-factory.bin, length: 16252928
openwrt-ar71xx-generic-archer-c7-v2-squashfs-sysupgrade.bin, length: 2883588

Anyone want to guess at how safe this might actually be to try?

Hmm interesting. It didn't build ath10k.
.config: # CONFIG_PACKAGE_kmod-ath10k is not set

(Last edited by definesinsanity on 27 Mar 2014, 20:04)

If anybody here is in a HURRY to try this...

ARCHER C7 V2 with 16 MB flash and QCA9880-BR4A (rev 2)

Please note that I HAVE NOT YET EVEN RECEIVED MY HARDWARE FOR THIS, and so it is ENTIRELY UNTESTED and could BURN YOUR HOUSE DOWN!!!!!

Binaries here;
https://github.com/lbdroid/openwrt-binaries

It does have the ath10k package, after I manually enabled it in menuconfig.

(Last edited by definesinsanity on 27 Mar 2014, 20:26)

I wont be able to test this any time soon... it arrived... v1.1. Hello RMA.

definesinsanity wrote:

If anybody here is in a HURRY to try this...

ARCHER C7 V2 with 16 MB flash and QCA9880-BR4A (rev 2)
Please note that I HAVE NOT YET EVEN RECEIVED MY HARDWARE FOR THIS, and so it is ENTIRELY UNTESTED and could BURN YOUR HOUSE DOWN!!!!!
Binaries here;
https://github.com/lbdroid/openwrt-binaries

It does have the ath10k package, after I manually enabled it in menuconfig.

Hi! I just  tried the binary on a V2, which I ordered from Korea.

web is not accessible but ping and telnet are ok.  Here are some quick system information.  Tell me if you need more.

root@OpenWrt:/# cat /proc/cpuinfo 
system type             : Qualcomm Atheros QCA9558 rev 0
machine                 : TP-LINK Archer C7
processor               : 0
cpu model               : MIPS 74Kc V5.0
BogoMIPS                : 358.80
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0ff8, 0x0ff8, 0x0ff8]
isa                     : mips1 mips2 mips32r1 mips32r2
ASEs implemented        : mips16 dsp dsp2
shadow register sets    : 1
kscratch registers      : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

root@OpenWrt:/# cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 00020000 00010000 "u-boot"
mtd1: 000fc0bc 00010000 "kernel"
mtd2: 00ed3f44 00010000 "rootfs"
mtd3: 00cd0000 00010000 "rootfs_data"
mtd4: 00010000 00010000 "art"
mtd5: 00fd0000 00010000 "firmware"

root@OpenWrt:/# lsmod
arc4                    1312  4 
ath                    18005  4 ath9k
ath10k_core            84092  1 ath10k_pci
ath10k_pci             22515  0 
ath9k                 100192  0 
ath9k_common            1531  1 ath9k
ath9k_hw              370389  2 ath9k
cfg80211              189193  4 ath9k
compat                  1257  5 ath9k
crc_ccitt               1019  1 ppp_async
crypto_blkcipher       10391  1 arc4
ehci_hcd               30812  1 ehci_platform
......

root@OpenWrt:/# dmesg
[    0.000000] Linux version 3.10.34 (adam@localhost.localdomain) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.01 r40295) ) #2 Thu Mar 27 15:10:33 EDT 2014
[    0.000000] MyLoader: sysp=a5ad266d, boardp=84018c27, parts=d0a5bd6f
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019750 (MIPS 74Kc)
[    0.000000] SoC: Qualcomm Atheros QCA9558 rev 0
[    0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x07ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat 803089b0, node_mem_map 81000000
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] Primary instruction cache 64kB, 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: 32512
[    0.000000] Kernel command line:  board=ARCHER-C7 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 126248k/131072k available (2212k kernel code, 4824k reserved, 596k data, 260k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.060000] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[    0.060000] pid_max: default: 32768 minimum: 301
[    0.060000] Mount-cache hash table entries: 512
[    0.070000] NET: Registered protocol family 16
[    0.070000] MIPS: machine is TP-LINK Archer C7
[    0.080000] ar724x-pci ar724x-pci.0: PCIe link is down
[    0.080000] registering PCI controller with io_map_base unset
[    0.090000] registering PCI controller with io_map_base unset
[    0.500000] bio: create slab <bio-0> at 0
[    0.500000] PCI host bridge to bus 0000:00
[    0.510000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[    0.510000] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.520000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.520000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.520000] PCI host bridge to bus 0000:01
[    0.530000] pci_bus 0000:01: root bus resource [mem 0x12000000-0x13ffffff]
[    0.530000] pci_bus 0000:01: root bus resource [io  0x0001]
[    0.540000] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[    0.540000] pci 0000:01:00.0: [168c:003c] type 00 class 0x028000
[    0.540000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x001fffff 64bit]
[    0.540000] pci 0000:01:00.0: reg 30: [mem 0x00000000-0x0000ffff pref]
[    0.540000] pci 0000:01:00.0: supports D1 D2
[    0.540000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.540000] pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    0.550000] pci 0000:01:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[    0.550000] pci 0000:01:00.0: using irq 41 for pin 1
[    0.560000] Switching to clocksource MIPS
[    0.560000] NET: Registered protocol family 2
[    0.570000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.570000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.570000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.580000] TCP: reno registered
[    0.580000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.590000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.600000] NET: Registered protocol family 1
[    0.600000] PCI: CLS 0 bytes, default 32
[    0.610000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.620000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.630000] msgmni has been set to 246
[    0.630000] io scheduler noop registered
[    0.630000] io scheduler deadline registered (default)
[    0.640000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.670000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.670000] console [ttyS0] enabled, bootconsole disabled
[    0.690000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[    0.690000] m25p80 spi0.0: found s25fl129p1, expected m25p80
[    0.700000] m25p80 spi0.0: s25fl129p1 (16384 Kbytes)
[    0.710000] 5 tp-link partitions found on MTD device spi0.0
[    0.710000] Creating 5 MTD partitions on "spi0.0":
[    0.720000] 0x000000000000-0x000000020000 : "u-boot"
[    0.720000] 0x000000020000-0x00000011c0bc : "kernel"
[    0.730000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.740000] 0x00000011c0bc-0x000000ff0000 : "rootfs"
[    0.750000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.760000] mtd: device 2 (rootfs) set to be root filesystem
[    0.770000] 1 squashfs-split partitions found on MTD device rootfs
[    0.770000] 0x000000320000-0x000000ff0000 : "rootfs_data"
[    0.780000] 0x000000ff0000-0x000001000000 : "art"
[    0.780000] 0x000000020000-0x000000ff0000 : "firmware"
[    0.820000] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
[    2.070000] libphy: ag71xx_mdio: probed
[    2.620000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[    2.630000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[    3.190000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
[    3.200000] TCP: cubic registered
[    3.200000] NET: Registered protocol family 17
[    3.200000] 8021q: 802.1Q VLAN Support v1.8
[    3.220000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    3.220000] Freeing unused kernel memory: 260K (8031f000 - 80360000)
[    5.060000] eth1: link up (1000Mbps/Full duplex)
[    6.140000] usbcore: registered new interface driver usbfs
[    6.150000] usbcore: registered new interface driver hub
[    6.160000] usbcore: registered new device driver usb
[    6.170000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.170000] ehci-platform: EHCI generic platform driver
[    6.180000] ehci-platform ehci-platform.0: EHCI Host Controller
[    6.190000] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    6.200000] ehci-platform ehci-platform.0: TX-TX IDP fix enabled
[    6.200000] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
[    6.230000] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    6.230000] hub 1-0:1.0: USB hub found
[    6.240000] hub 1-0:1.0: 1 port detected
[    6.240000] ehci-platform ehci-platform.1: EHCI Host Controller
[    6.250000] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
[    6.260000] ehci-platform ehci-platform.1: TX-TX IDP fix enabled
[    6.260000] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
[    6.290000] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
[    6.290000] hub 2-0:1.0: USB hub found
[    6.300000] hub 2-0:1.0: 1 port detected
[    6.310000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    7.330000] eth1: link down
[    8.570000] NET: Registered protocol family 10
[    8.580000] nf_conntrack version 0.5.0 (1976 buckets, 7904 max)
[    8.600000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    8.620000] Loading modules backported from Linux version master-2014-01-23-0-g62c147d
[    8.620000] Backport generated by backports.git backports-20140124-0-g1256d3e
[    8.650000] cfg80211: Calling CRDA to update world regulatory domain
[    8.650000] cfg80211: World regulatory domain updated:
[    8.660000] cfg80211:  DFS Master region: unset
[    8.660000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    8.670000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (2000 mBi, 0 mBm)
[    8.680000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (2000 mBi, 0 mBm)
[    8.690000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (2000 mBi, 0 mBm)
[    8.690000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (2000 mBi, 0 mBm)
[    8.700000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (2000 mBi, 0 mBm)
[    8.710000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[    8.750000] ath10k_pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    8.760000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    8.840000] ath10k: pci irq legacy
[   10.130000] ath10k: qca988x hw2.0 (0x4100016c) fw 999.999.0.636 api 2 htt 2.1
[   10.220000] ath: EEPROM regdomain: 0x0
[   10.220000] ath: EEPROM indicates default country code should be used
[   10.220000] ath: doing EEPROM country->regdmn map search
[   10.220000] ath: country maps to regdmn code: 0x3a
[   10.220000] ath: Country alpha2 being used: US
[   10.220000] ath: Regpair used: 0x3a
[   10.230000] cfg80211: Calling CRDA for country: US
[   10.240000] cfg80211: Regulatory domain changed to country: US
[   10.240000] cfg80211:  DFS Master region: FCC
[   10.250000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   10.250000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (3000 mBi, 0 mBm)
[   10.260000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (1700 mBi, 0 mBm)
[   10.270000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (2300 mBi, 0 mBm)
[   10.280000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (3000 mBi, 0 mBm)
[   10.280000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (4000 mBi, 0 mBm)
[   10.310000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.360000] xt_time: kernel timezone is -0000
[   10.380000] PPP generic driver version 2.4.2
[   10.400000] NET: Registered protocol family 24
[   10.420000] ath: EEPROM regdomain: 0x0
[   10.420000] ath: EEPROM indicates default country code should be used
[   10.420000] ath: doing EEPROM country->regdmn map search
[   10.420000] ath: country maps to regdmn code: 0x3a
[   10.420000] ath: Country alpha2 being used: US
[   10.420000] ath: Regpair used: 0x3a
[   10.450000] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   10.450000] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
[   16.120000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   16.150000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   18.730000] eth1: link up (1000Mbps/Full duplex)
[   18.730000] device eth1 entered promiscuous mode
[   18.800000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   18.800000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   19.730000] br-lan: port 1(eth1) entered forwarding state
[   19.730000] br-lan: port 1(eth1) entered forwarding state
[   19.740000] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   19.770000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   19.920000] eth0: link up (1000Mbps/Full duplex)
[   19.960000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   21.730000] br-lan: port 1(eth1) entered forwarding state
[   16.150000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[   61.990000] jffs2: notice: (908) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.

root@OpenWrt:/# logread
Thu Mar 27 19:10:09 2014 kern.debug kernel: [    0.520000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.520000] PCI host bridge to bus 0000:01
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.530000] pci_bus 0000:01: root bus resource [mem 0x12000000-0x13ffffff]
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.530000] pci_bus 0000:01: root bus resource [io  0x0001]
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.540000] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
Thu Mar 27 19:10:09 2014 kern.debug kernel: [    0.540000] pci 0000:01:00.0: [168c:003c] type 00 class 0x028000
Thu Mar 27 19:10:09 2014 kern.debug kernel: [    0.540000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x001fffff 64bit]
Thu Mar 27 19:10:09 2014 kern.debug kernel: [    0.540000] pci 0000:01:00.0: reg 30: [mem 0x00000000-0x0000ffff pref]
Thu Mar 27 19:10:09 2014 kern.debug kernel: [    0.540000] pci 0000:01:00.0: supports D1 D2
Thu Mar 27 19:10:09 2014 kern.debug kernel: [    0.540000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.540000] pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.550000] pci 0000:01:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.550000] pci 0000:01:00.0: using irq 41 for pin 1
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.560000] Switching to clocksource MIPS
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.560000] NET: Registered protocol family 2
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.570000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.570000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.570000] TCP: Hash tables configured (established 1024 bind 1024)
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.580000] TCP: reno registered
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.580000] UDP hash table entries: 256 (order: 0, 4096 bytes)
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.590000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.600000] NET: Registered protocol family 1
Thu Mar 27 19:10:09 2014 kern.debug kernel: [    0.600000] PCI: CLS 0 bytes, default 32
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.610000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.620000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.630000] msgmni has been set to 246
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.630000] io scheduler noop registered
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.630000] io scheduler deadline registered (default)
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.640000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.670000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.670000] console [ttyS0] enabled, bootconsole disabled
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.690000] ath79-spi ath79-spi: master is unqueued, this is deprecated
Thu Mar 27 19:10:09 2014 kern.warn kernel: [    0.690000] m25p80 spi0.0: found s25fl129p1, expected m25p80
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.700000] m25p80 spi0.0: s25fl129p1 (16384 Kbytes)
Thu Mar 27 19:10:09 2014 kern.notice kernel: [    0.710000] 5 tp-link partitions found on MTD device spi0.0
Thu Mar 27 19:10:09 2014 kern.notice kernel: [    0.710000] Creating 5 MTD partitions on "spi0.0":
Thu Mar 27 19:10:09 2014 kern.notice kernel: [    0.720000] 0x000000000000-0x000000020000 : "u-boot"
Thu Mar 27 19:10:09 2014 kern.notice kernel: [    0.720000] 0x000000020000-0x00000011c0bc : "kernel"
Thu Mar 27 19:10:09 2014 kern.warn kernel: [    0.730000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
Thu Mar 27 19:10:09 2014 kern.notice kernel: [    0.740000] 0x00000011c0bc-0x000000ff0000 : "rootfs"
Thu Mar 27 19:10:09 2014 kern.warn kernel: [    0.750000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
Thu Mar 27 19:10:09 2014 kern.notice kernel: [    0.760000] mtd: device 2 (rootfs) set to be root filesystem
Thu Mar 27 19:10:09 2014 kern.notice kernel: [    0.770000] 1 squashfs-split partitions found on MTD device rootfs
Thu Mar 27 19:10:09 2014 kern.notice kernel: [    0.770000] 0x000000320000-0x000000ff0000 : "rootfs_data"
Thu Mar 27 19:10:09 2014 kern.notice kernel: [    0.780000] 0x000000ff0000-0x000001000000 : "art"
Thu Mar 27 19:10:09 2014 kern.notice kernel: [    0.780000] 0x000000020000-0x000000ff0000 : "firmware"
Thu Mar 27 19:10:09 2014 kern.info kernel: [    0.820000] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
Thu Mar 27 19:10:09 2014 kern.info kernel: [    2.070000] libphy: ag71xx_mdio: probed
Thu Mar 27 19:10:09 2014 kern.info kernel: [    2.620000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
Thu Mar 27 19:10:09 2014 kern.info kernel: [    2.630000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
Thu Mar 27 19:10:09 2014 kern.info kernel: [    3.190000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
Thu Mar 27 19:10:09 2014 kern.info kernel: [    3.200000] TCP: cubic registered
Thu Mar 27 19:10:09 2014 kern.info kernel: [    3.200000] NET: Registered protocol family 17
Thu Mar 27 19:10:09 2014 kern.info kernel: [    3.200000] 8021q: 802.1Q VLAN Support v1.8
Thu Mar 27 19:10:09 2014 kern.info kernel: [    3.220000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Thu Mar 27 19:10:09 2014 kern.info kernel: [    3.220000] Freeing unused kernel memory: 260K (8031f000 - 80360000)
Thu Mar 27 19:10:09 2014 kern.info kernel: [    5.060000] eth1: link up (1000Mbps/Full duplex)
Thu Mar 27 19:10:09 2014 kern.info kernel: [    6.140000] usbcore: registered new interface driver usbfs
Thu Mar 27 19:10:09 2014 kern.info kernel: [    6.150000] usbcore: registered new interface driver hub
Thu Mar 27 19:10:09 2014 kern.info kernel: [    6.160000] usbcore: registered new device driver usb
Thu Mar 27 19:10:09 2014 kern.info kernel: [    6.170000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Thu Mar 27 19:10:09 2014 kern.info kernel: [    6.170000] ehci-platform: EHCI generic platform driver
Thu Mar 27 19:10:09 2014 kern.info kernel: [    6.180000] ehci-platform ehci-platform.0: EHCI Host Controller
Thu Mar 27 19:10:09 2014 kern.info kernel: [    6.190000] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
Thu Mar 27 19:10:09 2014 kern.info kernel: [    6.200000] ehci-platform ehci-platform.0: TX-TX IDP fix enabled
Thu Mar 27 19:10:09 2014 kern.info kernel: [    6.200000] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
Thu Mar 27 19:10:09 2014 kern.info kernel: [    6.230000] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
Thu Mar 27 19:10:09 2014 kern.info kernel: [    6.230000] hub 1-0:1.0: USB hub found
Thu Mar 27 19:10:09 2014 kern.info kernel: [    6.240000] hub 1-0:1.0: 1 port detected
Thu Mar 27 19:10:09 2014 kern.info kernel: [    6.240000] ehci-platform ehci-platform.1: EHCI Host Controller
Thu Mar 27 19:10:09 2014 kern.info kernel: [    6.250000] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
Thu Mar 27 19:10:09 2014 kern.info kernel: [    6.260000] ehci-platform ehci-platform.1: TX-TX IDP fix enabled
Thu Mar 27 19:10:09 2014 kern.info kernel: [    6.260000] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
Thu Mar 27 19:10:09 2014 kern.info kernel: [    6.290000] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
Thu Mar 27 19:10:09 2014 kern.info kernel: [    6.290000] hub 2-0:1.0: USB hub found
Thu Mar 27 19:10:09 2014 kern.info kernel: [    6.300000] hub 2-0:1.0: 1 port detected
Thu Mar 27 19:10:09 2014 kern.info kernel: [    6.310000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Thu Mar 27 19:10:09 2014 kern.info kernel: [    7.330000] eth1: link down
Thu Mar 27 19:10:09 2014 kern.info kernel: [    8.570000] NET: Registered protocol family 10
Thu Mar 27 19:10:09 2014 kern.info kernel: [    8.580000] nf_conntrack version 0.5.0 (1976 buckets, 7904 max)
Thu Mar 27 19:10:09 2014 kern.info kernel: [    8.600000] ip6_tables: (C) 2000-2006 Netfilter Core Team
Thu Mar 27 19:10:09 2014 kern.info kernel: [    8.620000] Loading modules backported from Linux version master-2014-01-23-0-g62c147d
Thu Mar 27 19:10:09 2014 kern.info kernel: [    8.620000] Backport generated by backports.git backports-20140124-0-g1256d3e
Thu Mar 27 19:10:09 2014 kern.info kernel: [    8.650000] cfg80211: Calling CRDA to update world regulatory domain
Thu Mar 27 19:10:09 2014 kern.info kernel: [    8.650000] cfg80211: World regulatory domain updated:
Thu Mar 27 19:10:09 2014 kern.info kernel: [    8.660000] cfg80211:  DFS Master region: unset
Thu Mar 27 19:10:09 2014 kern.info kernel: [    8.660000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Thu Mar 27 19:10:09 2014 kern.info kernel: [    8.670000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (2000 mBi, 0 mBm)
Thu Mar 27 19:10:09 2014 kern.info kernel: [    8.680000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (2000 mBi, 0 mBm)
Thu Mar 27 19:10:09 2014 kern.info kernel: [    8.690000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (2000 mBi, 0 mBm)
Thu Mar 27 19:10:09 2014 kern.info kernel: [    8.690000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (2000 mBi, 0 mBm)
Thu Mar 27 19:10:09 2014 kern.info kernel: [    8.700000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (2000 mBi, 0 mBm)
Thu Mar 27 19:10:09 2014 kern.info kernel: [    8.710000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
Thu Mar 27 19:10:09 2014 kern.info kernel: [    8.750000] ath10k_pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
Thu Mar 27 19:10:09 2014 kern.warn kernel: [    8.760000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
Thu Mar 27 19:10:09 2014 kern.info kernel: [    8.840000] ath10k: pci irq legacy
Thu Mar 27 19:10:09 2014 kern.info kernel: [   10.130000] ath10k: qca988x hw2.0 (0x4100016c) fw 999.999.0.636 api 2 htt 2.1
Thu Mar 27 19:10:09 2014 kern.debug kernel: [   10.220000] ath: EEPROM regdomain: 0x0
Thu Mar 27 19:10:09 2014 kern.debug kernel: [   10.220000] ath: EEPROM indicates default country code should be used
Thu Mar 27 19:10:09 2014 kern.debug kernel: [   10.220000] ath: doing EEPROM country->regdmn map search
Thu Mar 27 19:10:09 2014 kern.debug kernel: [   10.220000] ath: country maps to regdmn code: 0x3a
Thu Mar 27 19:10:09 2014 kern.debug kernel: [   10.220000] ath: Country alpha2 being used: US
Thu Mar 27 19:10:09 2014 kern.debug kernel: [   10.220000] ath: Regpair used: 0x3a
Thu Mar 27 19:10:09 2014 kern.info kernel: [   10.230000] cfg80211: Calling CRDA for country: US
Thu Mar 27 19:10:09 2014 kern.info kernel: [   10.240000] cfg80211: Regulatory domain changed to country: US
Thu Mar 27 19:10:09 2014 kern.info kernel: [   10.240000] cfg80211:  DFS Master region: FCC
Thu Mar 27 19:10:09 2014 kern.info kernel: [   10.250000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Thu Mar 27 19:10:09 2014 kern.info kernel: [   10.250000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (3000 mBi, 0 mBm)
Thu Mar 27 19:10:09 2014 kern.info kernel: [   10.260000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (1700 mBi, 0 mBm)
Thu Mar 27 19:10:09 2014 kern.info kernel: [   10.270000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (2300 mBi, 0 mBm)
Thu Mar 27 19:10:09 2014 kern.info kernel: [   10.280000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (3000 mBi, 0 mBm)
Thu Mar 27 19:10:09 2014 kern.info kernel: [   10.280000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (4000 mBi, 0 mBm)
Thu Mar 27 19:10:09 2014 kern.info kernel: [   10.310000] ip_tables: (C) 2000-2006 Netfilter Core Team
Thu Mar 27 19:10:09 2014 kern.info kernel: [   10.360000] xt_time: kernel timezone is -0000
Thu Mar 27 19:10:09 2014 kern.info kernel: [   10.380000] PPP generic driver version 2.4.2
Thu Mar 27 19:10:09 2014 kern.info kernel: [   10.400000] NET: Registered protocol family 24
Thu Mar 27 19:10:09 2014 kern.debug kernel: [   10.420000] ath: EEPROM regdomain: 0x0
Thu Mar 27 19:10:09 2014 kern.debug kernel: [   10.420000] ath: EEPROM indicates default country code should be used
Thu Mar 27 19:10:09 2014 kern.debug kernel: [   10.420000] ath: doing EEPROM country->regdmn map search
Thu Mar 27 19:10:09 2014 kern.debug kernel: [   10.420000] ath: country maps to regdmn code: 0x3a
Thu Mar 27 19:10:09 2014 kern.debug kernel: [   10.420000] ath: Country alpha2 being used: US
Thu Mar 27 19:10:09 2014 kern.debug kernel: [   10.420000] ath: Regpair used: 0x3a
Thu Mar 27 19:10:09 2014 kern.debug kernel: [   10.450000] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
Thu Mar 27 19:10:09 2014 kern.info kernel: [   10.450000] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
Thu Mar 27 19:10:09 2014 user.emerg syslog: Error: Failed to connect to ubus
Thu Mar 27 19:10:11 2014 user.emerg syslog: jffs2 is not ready - marker found
Thu Mar 27 19:10:11 2014 user.emerg syslog: jffs2 is not ready - marker found
Thu Mar 27 19:10:11 2014 kern.warn kernel: [   16.120000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
Thu Mar 27 19:10:11 2014 kern.warn kernel: [   16.150000] jffs2_build_filesystem(): unlocking the mtd device... done.
Thu Mar 27 19:10:14 2014 kern.info kernel: [   18.730000] eth1: link up (1000Mbps/Full duplex)
Thu Mar 27 19:10:14 2014 kern.info kernel: [   18.730000] device eth1 entered promiscuous mode
Thu Mar 27 19:10:14 2014 daemon.notice netifd: Interface 'lan' is enabled
Thu Mar 27 19:10:14 2014 daemon.notice netifd: Interface 'loopback' is enabled
Thu Mar 27 19:10:14 2014 kern.info kernel: [   18.800000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
Thu Mar 27 19:10:14 2014 kern.info kernel: [   18.800000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Thu Mar 27 19:10:14 2014 daemon.notice netifd: Interface 'wan' is enabled
Thu Mar 27 19:10:14 2014 daemon.notice netifd: Network device 'eth1' link is up
Thu Mar 27 19:10:14 2014 daemon.notice netifd: Network device 'lo' link is up
Thu Mar 27 19:10:14 2014 daemon.notice netifd: Interface 'loopback' has link connectivity 
Thu Mar 27 19:10:14 2014 daemon.notice netifd: Interface 'loopback' is setting up now
Thu Mar 27 19:10:14 2014 daemon.notice netifd: Interface 'loopback' is now up
Thu Mar 27 19:10:15 2014 kern.info kernel: [   19.730000] br-lan: port 1(eth1) entered forwarding state
Thu Mar 27 19:10:15 2014 kern.info kernel: [   19.730000] br-lan: port 1(eth1) entered forwarding state
Thu Mar 27 19:10:15 2014 kern.info kernel: [   19.740000] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Thu Mar 27 19:10:15 2014 daemon.notice netifd: Bridge 'br-lan' link is up
Thu Mar 27 19:10:15 2014 daemon.notice netifd: Interface 'lan' has link connectivity 
Thu Mar 27 19:10:15 2014 daemon.notice netifd: Interface 'lan' is setting up now
Thu Mar 27 19:10:15 2014 kern.info kernel: [   19.770000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Thu Mar 27 19:10:15 2014 daemon.notice netifd: Interface 'lan' is now up
Thu Mar 27 19:10:15 2014 daemon.warn odhcpd[857]: Failed to send to ff02::1%br-lan (Cannot assign requested address)
Thu Mar 27 19:10:15 2014 kern.info kernel: [   19.920000] eth0: link up (1000Mbps/Full duplex)
Thu Mar 27 19:10:15 2014 daemon.notice netifd: Network device 'eth0' link is up
Thu Mar 27 19:10:15 2014 daemon.notice netifd: Interface 'wan' has link connectivity 
Thu Mar 27 19:10:15 2014 daemon.notice netifd: Interface 'wan' is setting up now
Thu Mar 27 19:10:15 2014 kern.info kernel: [   19.960000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Thu Mar 27 19:10:15 2014 user.emerg syslog: 'radio0' is disabled
Thu Mar 27 19:10:15 2014 user.emerg syslog: 'radio1' is disabled
Thu Mar 27 19:10:15 2014 user.emerg syslog: 'radio0' is disabled
Thu Mar 27 19:10:15 2014 user.emerg syslog: 'radio1' is disabled
Thu Mar 27 19:10:15 2014 daemon.notice netifd: wan (973): udhcpc (v1.19.4) started
Thu Mar 27 19:10:16 2014 daemon.notice netifd: wan (973): Sending discover...
Thu Mar 27 19:10:16 2014 user.notice dnsmasq: found already running DHCP-server on interface 'br-lan' refusing to start, use 'option force 1' to override
Thu Mar 27 19:10:16 2014 daemon.info dnsmasq[992]: started, version 2.66 cachesize 150
Thu Mar 27 19:10:16 2014 daemon.info dnsmasq[992]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth
Thu Mar 27 19:10:16 2014 daemon.info dnsmasq[992]: using local addresses only for domain lan
Thu Mar 27 19:10:16 2014 daemon.warn dnsmasq[992]: no servers found in /tmp/resolv.conf.auto, will retry
Thu Mar 27 19:10:16 2014 daemon.info dnsmasq[992]: read /etc/hosts - 1 addresses
Thu Mar 27 19:10:16 2014 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Thu Mar 27 19:10:17 2014 kern.info kernel: [   21.730000] br-lan: port 1(eth1) entered forwarding state
Thu Mar 27 19:10:19 2014 daemon.notice netifd: wan (973): Sending discover...
Thu Mar 27 19:10:22 2014 daemon.notice netifd: wan (973): Sending discover...
Thu Mar 27 19:10:37 2014 authpriv.info dropbear[1067]: Not backgrounding
Thu Mar 27 19:10:57 2014 kern.warn kernel: [   16.150000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
Thu Mar 27 19:10:57 2014 kern.notice kernel: [   61.990000] jffs2: notice: (908) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Thu Mar 27 19:10:57 2014 user.emerg syslog: doing fo cleanup
Thu Mar 27 19:10:57 2014 user.emerg syslog: setting up led USB1
Thu Mar 27 19:10:57 2014 user.emerg syslog: setting up led USB2
Thu Mar 27 19:10:57 2014 user.emerg syslog: setting up led WLAN2G
Thu Mar 27 19:10:57 2014 user.emerg syslog: sh: write error: Invalid argument
Thu Mar 27 19:10:57 2014 user.emerg syslog: - init complete -
Thu Mar 27 19:14:49 2014 authpriv.info dropbear[1094]: Child connection from 192.168.1.111:56283
Thu Mar 27 19:14:51 2014 authpriv.info dropbear[1094]: Exit before auth: Exited normally
Thu Mar 27 19:15:04 2014 authpriv.info dropbear[1095]: Child connection from 192.168.1.111:56284
Thu Mar 27 19:15:55 2014 authpriv.info dropbear[1095]: Exit before auth (user 'root', 0 fails): Exited normally

So it works. Web is not accessible, since luci is not included. Can you show me what 'uci show wireless' gives?

definesinsanity: can you send your patch now to openwrt-devel, please?

(Last edited by snk on 28 Mar 2014, 08:53)

After installing luci packages contained in the ar71xx imagebuilder,  the web interface show up.

On the web UI,  Network -> Wifi -> Enable   "Generic MAC80211 802.11abgn (radio0)"

Dada!  5Ghz 11AC works!   I'm using a MBPR 2013 late as the 11ac client.


snk wrote:

So it works. Web is not accessible, since luci is not included. Can you show me what 'uci show wireless' gives?


root@OpenWrt:/# uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type=mac80211
wireless.radio0.path=pci0000:01/0000:01:00.0
wireless.radio0.ht_capab=LDPC SHORT-GI-20 SHORT-GI-40 TX-STBC RX-STBC1 DSSS_CCK-40
wireless.radio0.country=TW
wireless.radio0.channel=auto
wireless.radio0.hwmode=11na
wireless.radio0.htmode=HT40+
wireless.@wifi-iface[0]=wifi-iface
wireless.@wifi-iface[0].device=radio0
wireless.@wifi-iface[0].network=lan
wireless.@wifi-iface[0].mode=ap
wireless.@wifi-iface[0].encryption=none
wireless.@wifi-iface[0].ssid=OpenWrt 5g
wireless.radio1=wifi-device
wireless.radio1.type=mac80211
wireless.radio1.channel=11
wireless.radio1.hwmode=11ng
wireless.radio1.path=platform/qca955x_wmac
wireless.radio1.ht_capab=LDPC SHORT-GI-20 SHORT-GI-40 TX-STBC RX-STBC1 DSSS_CCK-40
wireless.radio1.htmode=HT20
wireless.radio1.country=TW
wireless.@wifi-iface[1]=wifi-iface
wireless.@wifi-iface[1].device=radio1
wireless.@wifi-iface[1].network=lan
wireless.@wifi-iface[1].mode=ap
wireless.@wifi-iface[1].ssid=OpenWrt
wireless.@wifi-iface[1].encryption=none
wireless.@wifi-iface[1].disabled=1
snk wrote:

So it works. Web is not accessible, since luci is not included. Can you show me what 'uci show wireless' gives?

definesinsanity: can you send your patch now to openwrt-devel, please?

Yeah, I will certainly try my best. I've never submitted anything to openwrt before though.
Do you have any thoughts on why it didn't automatically build and install ath10k?

(Last edited by definesinsanity on 28 Mar 2014, 13:25)

changtimwu wrote:

Hi! I just  tried the binary on a V2, which I ordered from Korea.

web is not accessible but ping and telnet are ok.  Here are some quick system information.  Tell me if you need more.

That is awesome!
Thanks so much for testing it.

Your mail client mangled the patch (extra whitespace at the beginning of lines, wrapped lines). If you use Thunderbird, set mailnews.send_plaintext_flowed to false in the configuration editor. Or, better yet, use git send-email.

snk wrote:

Your mail client mangled the patch (extra whitespace at the beginning of lines, wrapped lines). If you use Thunderbird, set mailnews.send_plaintext_flowed to false in the configuration editor. Or, better yet, use git send-email.

Well, I wasn't expecting roundcube to do that.
I reconfigured it and resubmitted. Went properly this time.
https://lists.openwrt.org/pipermail/ope … 24459.html
http://patchwork.openwrt.org/patch/5071/

definesinsanity wrote:

I reconfigured it and resubmitted. Went properly this time.
https://lists.openwrt.org/pipermail/ope … 24459.html
http://patchwork.openwrt.org/patch/5071/

Great stuff, will fire up my dev env and compile .. tq so much. Opss, better yet, you've the binary .. will grab that one instead smile

Update: Up and running by patching the profile and makefile as per your patch. Rebuilt the image with luci and ath10k support in, great stuff.

(Last edited by wiraone on 30 Mar 2014, 05:45)

so the Archer C7 if i get a V2, it can use OpenWRT does 450mbps wireless work for N on 5ghz and will i be able to use openvpn client on it too smile the reason is i am after a wifi router that can take openwrt & openvpn client but also have working ac support for when i get some ac devices to make use of it smile as i want to be able to establish a openvpn connection from my router to my server rather than having to use a client on each machine....

and also a quick hello to you all and for all your hardwork smile

beyre83 wrote:

so the Archer C7 if i get a V2, it can use OpenWRT does 450mbps wireless work for N on 5ghz and will i be able to use openvpn client on it too smile the reason is i am after a wifi router that can take openwrt & openvpn client but also have working ac support for when i get some ac devices to make use of it smile as i want to be able to establish a openvpn connection from my router to my server rather than having to use a client on each machine....

and also a quick hello to you all and for all your hardwork smile

Well, my "hard work" was mainly just about learning where things go in openwrt source. Frankly, my patch to support the v2 is trivial.

One very important thing you need to be aware of... is that encryption/decryption (for openvpn) is a cpu heavy operation. For a router, this has a pretty strong CPU, being 720 MHz, but its just a MIPS... so don't expect it to run your WAN at super high speed with the VPN going.

the server runs on a 100/100 dedicated server in a french noc os is centos 6.5
the client was my pc with a i7 3rd gen 3770k my connection speed is 50/15 there abouts

the best i got out of it is http://www.speedtest.net/result/3407082427.png

useually though i see around half my connection speed via the vpn for the most part though
what i get out of it is more than enough anyway so really speed is not to much of an issue
i would just like a nice strong router that is future proof and can have a minimum of 450mbps wifi
with the potential for the ac spectrum...  that is why i asked the question smile

So... anybody know how long it usually takes openwrt to accept trivial patches?

Wait for 3 weeks or so, then send a friendly reminder to the mailing list. As there is a lot of traffic on the list, it might initially go unnoticed. And the core developers are also rather busy.

I bought a C7 to use as a WDS AP for my network. I'm unable to get the AC card working in WDS mode. I've looked at the device capabilities using the iw command and didn't see WDS mentioned on the AC card. Anyone have an idea if I need to patch in a newer ath10k driver, or something along those lines?

Oh and I do have a V2 device.

(Last edited by Anamin on 7 Apr 2014, 17:51)

From what I see (in code / reference to it via google / etc.), it seems that it is supposed to work with the ath10k driver, but I haven't used it and am not entirely familiar with the details.

The closest thing I can find to a reference is this; https://forum.openwrt.org/viewtopic.php?id=11849
Which actually says something about it being in "sta" mode....

Hmm... also this;
http://wiki.openwrt.org/doc/howto/clien … ion.system
and
http://wiki.openwrt.org/doc/recipes/atheroswds

Frankly, I'm not sure that there is any need for iw to mention anything about wds mode in order for it to function.

Looks like configuration is pretty simple;
Match ssid, encryption, and key, add "option wds '1'", one in ap mode, other in sta mode.

Hmm... I think there are quite a number of ways that you could make wds fail to work - in particular, you don't want to be building two WDS bridges on your network between only two devices, i.e., pick one or the other for the data backhaul and set THAT ONE to WDS mode. I would say probably use the 5 GHz as the WDS, since it will yield a better throughput. So on your primary AP/router, you set your 2.4 GHz to ap and not-wds. You set your 5 GHz to ap and wds. On your slave device, you set your 5 GHz to STA and WDS, you set your 2.4 GHz to AP. Mind providing more details about the network you are trying to build?

** most of the above is based on a quick study of what wds does and a significant amount of guesswork, and is not based on any kind of experience with implementation.

(Last edited by definesinsanity on 8 Apr 2014, 02:44)

Anamin wrote:

I bought a C7 to use as a WDS AP for my network. I'm unable to get the AC card working in WDS mode. I've looked at the device capabilities using the iw command and didn't see WDS mentioned on the AC card. Anyone have an idea if I need to patch in a newer ath10k driver, or something along those lines?

Oh and I do have a V2 device.

Which ath10k firmware are you using (look in dmesg)? There is an option in menuconfig to use STA firmware instead of AP firmware. You could try it, AP firmware may not yet support WDS. STA firmware does support AP operation as well, it's just not optimized for it.

Instead of recompiling and installing, you can just download the other firmware from https://github.com/kvalo/ath10k-firmware and overwrite firmware-2.bin in /lib/firmware/ath10k/QCA988X/hw2.0/. Under main directory you find the STA firmware, under 10.1 you find the AP firmware (rename the file to firmware-2.bin).

(Last edited by snk on 8 Apr 2014, 07:03)

I guess I arrived at the right time. The archer c7 v2 arrived Friday afternoon.  With a patch and spare clue from definesinsanity (thanks!), I was up and running in no time. luci and lsof even showed up by Monday. I'm still learning openwrt, but this is great.