kaloz / mwlwifi

mac80211 driver for the Marvell 88W8864 802.11ac chip
394 stars 119 forks source link

Test request to users who get wifi issues #220

Closed wongsyrone closed 6 years ago

wongsyrone commented 6 years ago

These days, one of LEDE developer, hauke, replaces the old compat-wireless with new backports-4.14-rc2. After 14 hours testing with latest hostapd git HEAD, I have no issues with the previously reported host command timed out on WRT3200ACM. It would be better if others can test this on more devices.

I talked with him and asked when it will be pushed to trunk, he said "I plan to get this into the master branch soon, would be nice if it gets some testing before so that I do not break so many devices."

You can find the most recent version of this patch series in his staging branch: https://git.lede-project.org/?p=lede/hauke/staging.git;a=shortlog;h=refs/heads/mac80211

It runs normally, no host command timed out and so far so good.

root@LEDE:~# dmesg 
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.52 (wong@wong-Arch) (gcc version 7.2.0 (LEDE GCC 7.2.0 r5606+50-6f16cd166e) ) #0 SMP Sat Sep 30 03:47:05 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Linksys WRT3200ACM
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c0663d00, node_mem_map dfbf9000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] percpu: Embedded 13 pages/cpu @dfbce000 s22796 r8192 d22260 u53248
[    0.000000] pcpu-alloc: s22796 r8192 d22260 u53248 alloc=13*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock8 ro rootdelay=1 rootfstype=jffs2 earlyprintk mtdparts=armada-nand:2048K(uboot)ro,128K(u_env),256K(s_env),256K@8064K(devinfo),1920K@8320K(sysdiag),80m@10m(kernel),74m@16m(rootfs),80m@90m(alt_kernel),74m@96m(alt_rootfs),160m@10m(ubifs),-@170m(syscfg)
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512728K/524288K available (4663K kernel code, 177K rwdata, 1240K rodata, 284K init, 306K bss, 11560K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0496178   (4665 kB)
[    0.000000]       .init : 0xc05f1000 - 0xc0638000   ( 284 kB)
[    0.000000]       .data : 0xc0638000 - 0xc0664600   ( 178 kB)
[    0.000000]        .bss : 0xc0664600 - 0xc06b10a0   ( 307 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Selected CPU frequency (16) unsupported
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000003] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.000009] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000112] Calibrating local timer... 933.11MHz.
[    0.060027] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.060032] pid_max: default: 32768 minimum: 301
[    0.060070] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.060074] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.060271] CPU: Testing write buffer coherency: ok
[    0.060359] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.060370] Setting up static identity map for 0x8280 - 0x82d8
[    0.060429] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.060488] mvebu-pmsu: Initializing Power Management Service Unit
[    0.060895] Booting CPU 1
[    0.061032] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.061063] Brought up 2 CPUs
[    0.061068] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.061071] CPU: All CPU(s) started in SVC mode.
[    0.062765] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.062815] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.062821] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.062857] pinctrl core: initialized pinctrl subsystem
[    0.063112] NET: Registered protocol family 16
[    0.063550] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.090048] cpuidle: using governor ladder
[    0.090182] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.090188] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.120452] reg-fixed-voltage xhci0-vbus: could not find pctldev for node /soc/internal-regs/pinctrl@18000/xhci0-vbus-pins, deferring probe
[    0.120591] SCSI subsystem initialized
[    0.120672] libata version 3.00 loaded.
[    0.120775] usbcore: registered new interface driver usbfs
[    0.120799] usbcore: registered new interface driver hub
[    0.120819] usbcore: registered new device driver usb
[    0.121303] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.121624] NET: Registered protocol family 2
[    0.121822] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.121846] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.121875] TCP: Hash tables configured (established 4096 bind 4096)
[    0.121896] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.121907] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.121961] NET: Registered protocol family 1
[    0.121974] PCI: CLS 0 bytes, default 64
[    0.122782] Crashlog allocated RAM at address 0x3f00000
[    0.122859] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.124907] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.124913] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.125671] io scheduler noop registered
[    0.125675] io scheduler deadline registered (default)
[    0.126031] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    0.126633] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    0.126642] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.126646] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    0.126650] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.126666] pci 0000:00:01.0: [11ab:6820] type 01 class 0x060400
[    0.126752] pci 0000:00:02.0: [11ab:6820] type 01 class 0x060400
[    0.126828] PCI: bus0: Fast back to back transfers disabled
[    0.126833] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.126838] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.126888] pci 0000:01:00.0: [11ab:2b40] type 00 class 0x020000
[    0.126904] pci 0000:01:00.0: reg 0x10: [mem 0x40000000-0x401fffff 64bit pref]
[    0.126914] pci 0000:01:00.0: reg 0x18: [mem 0x40200000-0x402fffff 64bit pref]
[    0.126974] pci 0000:01:00.0: supports D1 D2
[    0.126976] pci 0000:01:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.127042] PCI: bus1: Fast back to back transfers disabled
[    0.127049] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.127104] pci 0000:02:00.0: [11ab:2b40] type 00 class 0x020000
[    0.127123] pci 0000:02:00.0: reg 0x10: [mem 0x42000000-0x421fffff 64bit pref]
[    0.127135] pci 0000:02:00.0: reg 0x18: [mem 0x42200000-0x422fffff 64bit pref]
[    0.127216] pci 0000:02:00.0: supports D1 D2
[    0.127219] pci 0000:02:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.127283] PCI: bus2: Fast back to back transfers disabled
[    0.127288] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    0.127359] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe02fffff]
[    0.127364] pci 0000:00:02.0: BAR 8: assigned [mem 0xe0400000-0xe06fffff]
[    0.127371] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe01fffff 64bit pref]
[    0.127380] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0200000-0xe02fffff 64bit pref]
[    0.127388] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.127393] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe02fffff]
[    0.127400] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0400000-0xe05fffff 64bit pref]
[    0.127410] pci 0000:02:00.0: BAR 2: assigned [mem 0xe0600000-0xe06fffff 64bit pref]
[    0.127419] pci 0000:00:02.0: PCI bridge to [bus 02]
[    0.127423] pci 0000:00:02.0:   bridge window [mem 0xe0400000-0xe06fffff]
[    0.127629] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.181712] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.181801] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.241673] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.241817] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.242075] console [ttyS0] disabled
[    0.262134] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 21, base_baud = 12500000) is a 16550A
[    0.983253] console [ttyS0] enabled
[    0.988640] loop: module loaded
[    0.992078] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.001164] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.010272] scsi host0: ahci-mvebu
[    1.013832] scsi host1: ahci-mvebu
[    1.017324] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 41
[    1.025283] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 41
[    1.033576] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.041350] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xda
[    1.047730] nand: AMD/Spansion S34ML02G2
[    1.051673] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
[    1.059362] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.066540] Bad block table found at page 131008, version 0x01
[    1.072735] Bad block table found at page 130944, version 0x01
[    1.078851] 11 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.085062] Creating 11 MTD partitions on "pxa3xx_nand-0":
[    1.090570] 0x000000000000-0x000000200000 : "u-boot"
[    1.095835] 0x000000200000-0x000000220000 : "u_env"
[    1.100979] 0x000000220000-0x000000260000 : "s_env"
[    1.106139] 0x0000007e0000-0x000000820000 : "devinfo"
[    1.111455] 0x000000820000-0x000000a00000 : "sysdiag"
[    1.116765] 0x000000a00000-0x000005a00000 : "kernel1"
[    1.122225] 0x000001000000-0x000005a00000 : "rootfs1"
[    1.127662] 0x000005a00000-0x00000aa00000 : "kernel2"
[    1.133131] 0x000006000000-0x00000aa00000 : "ubi"
[    1.138258] 0x00000aa00000-0x000010000000 : "syscfg"
[    1.143701] 0x000000260000-0x000000820000 : "unused_area"
[    1.149646] libphy: Fixed MDIO Bus: probed
[    1.154012] libphy: orion_mdio_bus: probed
[    1.158251] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.166957] mvneta f1070000.ethernet eth0: Using hardware mac address 60:38:e0:b3:35:68
[    1.175947] mvneta f1034000.ethernet eth1: Using random mac address 16:e4:8a:72:96:53
[    1.183866] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.190419] ehci-pci: EHCI PCI platform driver
[    1.194908] ehci-platform: EHCI generic platform driver
[    1.200225] ehci-orion: EHCI orion driver
[    1.204316] orion-ehci f1058000.usb: EHCI Host Controller
[    1.209745] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.217391] orion-ehci f1058000.usb: irq 37, io mem 0xf1058000
[    1.251309] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.257460] hub 1-0:1.0: USB hub found
[    1.261237] hub 1-0:1.0: 1 port detected
[    1.265529] usbcore: registered new interface driver usb-storage
[    1.271684] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.279305] i2c /dev entries driver
[    1.294209] orion_wdt: Initial timeout 171 sec
[    1.298883] sdhci: Secure Digital Host Controller Interface driver
[    1.305093] sdhci: Copyright(c) Pierre Ossman
[    1.362518] ata1: SATA link down (SStatus 0 SControl 300)
[    1.367957] ata2: SATA link down (SStatus 0 SControl 300)
[    1.381321] mmc0: SDHCI controller on f10d8000.sdhci [f10d8000.sdhci] using ADMA
[    1.388824] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.400128] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.407699] NET: Registered protocol family 10
[    1.412587] NET: Registered protocol family 17
[    1.417064] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.430079] 8021q: 802.1Q VLAN Support v1.8
[    1.434339] Registering SWP/SWPB emulation handler
[    4.270032] UKSM: relative memcmp_cost = 1873 hash=2002794321 cmp_ret=0.
[    4.280142] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    4.285505] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 2
[    4.293080] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    4.301663] xhci-hcd f10f8000.usb3: irq 44, io mem 0xf10f8000
[    4.307778] hub 2-0:1.0: USB hub found
[    4.311569] hub 2-0:1.0: 1 port detected
[    4.315599] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    4.320941] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    4.328516] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.336843] hub 3-0:1.0: USB hub found
[    4.340622] hub 3-0:1.0: 1 port detected
[    4.344891] UBI: auto-attach mtd8
[    4.348224] ubi0: attaching mtd8
[    4.357448] random: fast init done
[    4.374171] mmc0: new high speed SDIO card at address 0001
[    4.554376] ubi0: scanning is finished
[    4.562548] ubi0: attached mtd8 (name "ubi", size 74 MiB)
[    4.567969] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    4.574879] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    4.581698] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    4.588686] ubi0: good PEBs: 592, bad PEBs: 0, corrupted PEBs: 0
[    4.594720] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    4.601975] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1377454478
[    4.611144] ubi0: available PEBs: 0, total reserved PEBs: 592, PEBs reserved for bad PEB handling: 40
[    4.620417] ubi0: background thread "ubi_bgt0d" started, PID 649
[    4.626795] block ubiblock0_0: created from ubi0:0(rootfs)
[    4.632314] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    4.639483] mvsw61xx 10.mvsw61xx: Found MV88E6352 at f1072004.mdio-mi:10
[    4.646220] mvsw61xx 10.mvsw61xx: Using direct addressing
[    4.660193] armada38x-rtc f10a3800.rtc: setting system clock to 2017-09-30 05:17:32 UTC (1506748652)
[    4.669580] Waiting 1 sec before mounting root device...
[    5.763170] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    5.770671] Freeing unused kernel memory: 284K
[    5.775146] This architecture does not have kernel memory protection.
[    5.925018] init: Console is alive
[    5.928498] init: - watchdog -
[    6.391648] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.416268] exFAT: Version 1.2.9
[    6.420825] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    6.427294] ohci-platform: OHCI generic platform driver
[    6.432984] uhci_hcd: USB Universal Host Controller Interface driver
[    6.439512] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.454519] init: - preinit -
[    6.651104] mvneta f1070000.ethernet tmp0: renamed from eth0
[    6.702671] mvneta f1034000.ethernet eth0: renamed from eth1
[    6.762627] mvneta f1070000.ethernet eth1: renamed from tmp0
[    7.069635] mvneta f1034000.ethernet eth0: configuring for fixed link mode
[    7.076917] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.083285] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    7.091183] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   10.176011] mount_root: loading kmods from internal overlay
[   10.189305] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   10.196706] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   10.358403] random: crng init done
[   11.503117] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 773
[   11.524634] UBIFS (ubi0:1): recovery needed
[   11.583194] UBIFS (ubi0:1): recovery completed
[   11.587688] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   11.595559] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   11.605530] UBIFS (ubi0:1): FS size: 53583872 bytes (51 MiB, 422 LEBs), journal size 2666496 bytes (2 MiB, 21 LEBs)
[   11.616015] UBIFS (ubi0:1): reserved for root: 2530898 bytes (2471 KiB)
[   11.622664] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID 74ACBBD6-35BE-4B5A-B83F-5A3539029E20, small LPT model
[   11.634626] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   11.644177] block: extroot: not configured
[   11.681360] UBIFS (ubi0:1): un-mount UBI device 0
[   11.686087] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" stops
[   11.694028] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 776
[   11.741271] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   11.749156] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   11.759115] UBIFS (ubi0:1): FS size: 53583872 bytes (51 MiB, 422 LEBs), journal size 2666496 bytes (2 MiB, 21 LEBs)
[   11.769596] UBIFS (ubi0:1): reserved for root: 2530898 bytes (2471 KiB)
[   11.776240] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID 74ACBBD6-35BE-4B5A-B83F-5A3539029E20, small LPT model
[   13.002666] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   13.011887] block: extroot: not configured
[   13.062566] mount_root: switching to ubifs overlay
[   13.104081] ubi1: attaching mtd9
[   13.337790] ubi1: scanning is finished
[   13.345980] ubi1: attached mtd9 (name "syscfg", size 86 MiB)
[   13.351672] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   13.358574] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   13.365392] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
[   13.372384] ubi1: good PEBs: 680, bad PEBs: 8, corrupted PEBs: 0
[   13.378413] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
[   13.385666] ubi1: max/mean erase counter: 23/16, WL threshold: 4096, image sequence number: 34235243
[   13.394837] ubi1: available PEBs: 0, total reserved PEBs: 680, PEBs reserved for bad PEB handling: 32
[   13.404103] ubi1: background thread "ubi_bgt1d" started, PID 789
[   13.472268] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 793
[   13.520098] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "syscfg"
[   13.527537] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   13.537497] UBIFS (ubi1:0): FS size: 80375808 bytes (76 MiB, 633 LEBs), journal size 4063232 bytes (3 MiB, 32 LEBs)
[   13.547977] UBIFS (ubi1:0): reserved for root: 3796347 bytes (3707 KiB)
[   13.554622] UBIFS (ubi1:0): media format: w4/r0 (latest is w4/r0), UUID 57E017B9-6196-4555-A6D5-72012B30F42B, small LPT model
[   13.568381] urandom-seed: Seeding with /etc/urandom.seed
[   13.643302] procd: - early -
[   13.646215] procd: - watchdog -
[   14.244337] procd: - watchdog -
[   14.247566] procd: - ubus -
[   14.302334] procd: - init -
[   14.385742] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.396125] ntfs: driver 2.1.32 [Flags: R/O MODULE].
[   14.407677] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   14.414732] Netfilter messages via NETLINK v0.30.
[   14.419935] ip_set: protocol 6
[   14.428293] Loading modules backported from Linux version v4.14-rc2-0-ge19b205
[   14.435576] Backport generated by backports.git backports-20160324-159-g8bfe096
[   14.452914] <<Marvell Mac80211 Wireless PCIE Network Driver version 10.3.4.0-20170810>>
[   14.460968] pci 0000:00:01.0: enabling device (0140 -> 0142)
[   14.466783] ieee80211 phy0: priv->pcmd_buf = ddf10000  priv->pphys_cmd_buf = 1df10000
[   14.521319] ieee80211 phy0: fw download start
[   14.521324] ieee80211 phy0: ddr init: download start
[   14.521703] ieee80211 phy0: ddr init: download complete
[   14.658475] ieee80211 phy0: FwSize = 447620 downloaded Size = 447620 curr_iteration 65522
[   17.531301] ieee80211 phy0: fw download complete
[   17.541741] ieee80211 phy0: pcmd = ddf10000
[   17.559776] ieee80211 phy0: firmware version: 0x9030007
[   17.921306] ieee80211 phy0: firmware region code: 10
[   17.951966] ieee80211 phy0: 2G disabled, 5G enabled
[   17.956865] ieee80211 phy0: 4 TX antennas, 4 RX antennas
[   17.962270] pci 0000:00:02.0: enabling device (0140 -> 0142)
[   17.968041] ieee80211 phy1: priv->pcmd_buf = d9af0000  priv->pphys_cmd_buf = 19af0000
[   17.974666] ieee80211 phy1: fw download start
[   17.974671] ieee80211 phy1: ddr init: download start
[   17.975053] ieee80211 phy1: ddr init: download complete
[   18.114769] ieee80211 phy1: FwSize = 447620 downloaded Size = 447620 curr_iteration 65527
[   19.307308] ieee80211 phy1: fw download complete
[   19.317781] ieee80211 phy1: pcmd = d9af0000
[   19.335322] ieee80211 phy1: firmware version: 0x9030007
[   19.696304] ieee80211 phy1: firmware region code: 10
[   19.720001] ieee80211 phy1: 2G enabled, 5G disabled
[   19.724914] ieee80211 phy1: 4 TX antennas, 4 RX antennas
[   19.733069] hidraw: raw HID events driver (C) Jiri Kosina
[   19.740859] u32 classifier
[   19.743596]     input device check on
[   19.747271]     Actions configured
[   19.751211] Mirror/redirect action on
[   19.756877] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[   19.768806] fuse init (API version 7.26)
[   19.780798] Bluetooth: Core ver 2.22
[   19.784449] NET: Registered protocol family 31
[   19.788910] Bluetooth: HCI device and connection manager initialized
[   19.795301] Bluetooth: HCI socket layer initialized
[   19.800197] Bluetooth: L2CAP socket layer initialized
[   19.805287] Bluetooth: SCO socket layer initialized
[   19.811861] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   19.817202] Bluetooth: BNEP filters: protocol multicast
[   19.822497] Bluetooth: BNEP socket layer initialized
[   19.827953] Bridge firewalling registered
[   19.833281] Bluetooth: vendor=0x2df, device=0x9136, class=255, fn=2
[   20.624858] Bluetooth: FW download over, size 695532 bytes
[   21.221361] sdio platform data not available
[   21.226263] usbcore: registered new interface driver btusb
[   21.232577] Bluetooth: HCI UART driver ver 2.3
[   21.237040] Bluetooth: HCI UART protocol H4 registered
[   21.242212] Bluetooth: HCI UART protocol BCSP registered
[   21.248090] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[   21.254051] Bluetooth: HIDP socket layer initialized
[   21.259749] ip_tables: (C) 2000-2006 Netfilter Core Team
[   21.270596] mwifiex_sdio mmc0:0001:1: WLAN FW already running! Skip FW dnld
[   21.277628] mwifiex_sdio mmc0:0001:1: WLAN FW is active
[   21.280431] ctnetlink v0.93: registering with nfnetlink.
[   21.295147] Bluetooth: RFCOMM TTY layer initialized
[   21.300054] Bluetooth: RFCOMM socket layer initialized
[   21.305247] Bluetooth: RFCOMM ver 1.11
[   21.310272] usbcore: registered new interface driver ums-alauda
[   21.316653] usbcore: registered new interface driver ums-cypress
[   21.323096] usbcore: registered new interface driver ums-datafab
[   21.329464] usbcore: registered new interface driver ums-freecom
[   21.335884] usbcore: registered new interface driver ums-isd200
[   21.342242] usbcore: registered new interface driver ums-jumpshot
[   21.348464] mwifiex_sdio mmc0:0001:1: CMD_RESP: cmd 0x242 error, result=0x2
[   21.355481] mwifiex_sdio mmc0:0001:1: mwifiex_process_cmdresp: cmd 0x242 failed during   initialization
[   21.365008] usbcore: registered new interface driver ums-karma
[   21.371226] usbcore: registered new interface driver ums-sddr09
[   21.377544] usbcore: registered new interface driver ums-sddr55
[   21.383846] usbcore: registered new interface driver ums-usbat
[   21.401705] mwifiex_sdio mmc0:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (15.68.7.p71) 
[   21.409745] mwifiex_sdio mmc0:0001:1: driver_version = mwifiex 1.0 (15.68.7.p71) 
[   21.420087] xt_time: kernel timezone is -0000
[   21.429722] PPP generic driver version 2.4.2
[   21.434702] NET: Registered protocol family 24
[   21.443798] kmodloader: done loading kernel modules from /etc/modules.d/*
[   22.694652] mvneta f1034000.ethernet eth0: configuring for fixed link mode
[   22.701643] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   22.707580] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   22.715718] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   22.724155] br-lan: port 1(eth0.1) entered blocking state
[   22.729579] br-lan: port 1(eth0.1) entered disabled state
[   22.735168] device eth0.1 entered promiscuous mode
[   22.739979] device eth0 entered promiscuous mode
[   22.746013] br-lan: port 1(eth0.1) entered blocking state
[   22.751447] br-lan: port 1(eth0.1) entered forwarding state
[   22.767522] mvneta f1070000.ethernet eth1: configuring for fixed link mode
[   22.774875] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   22.780972] mvneta f1070000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[   22.791468] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   23.092436] pppoe-wan: renamed from ppp0
[   23.549327] ieee80211 phy1: change: 0xffffffff
[   23.636496] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   23.643723] br-lan: port 2(wlan1) entered blocking state
[   23.649063] br-lan: port 2(wlan1) entered disabled state
[   23.654543] device wlan1 entered promiscuous mode
[   23.659290] br-lan: port 2(wlan1) entered blocking state
[   23.664630] br-lan: port 2(wlan1) entered forwarding state
[   23.670800] ieee80211 phy1: change: 0x100
[   23.679852] ieee80211 phy1: change: 0x40
[   23.761590] br-lan: port 2(wlan1) entered disabled state
[   23.871379] ieee80211 phy1: change: 0x40
[   24.081410] ieee80211 phy1: change: 0x40
[   24.280180] ieee80211 phy1: change: 0x40
[   24.513426] ieee80211 phy1: change: 0x40
[   24.751393] ieee80211 phy1: change: 0x40
[   24.951321] ieee80211 phy1: change: 0x40
[   25.141308] ieee80211 phy1: change: 0x40
[   25.331303] ieee80211 phy1: change: 0x40
[   25.521313] ieee80211 phy1: change: 0x40
[   25.711306] ieee80211 phy1: change: 0x40
[   25.911316] ieee80211 phy1: change: 0x40
[   25.990317] ieee80211 phy1: change: 0x100
[   25.999346] ieee80211 phy1: change: 0x100
[   26.008323] ieee80211 phy1: change: 0x40
[   26.211306] ieee80211 phy1: change: 0x40
[   26.411318] ieee80211 phy1: change: 0x40
[   26.611309] ieee80211 phy1: change: 0x40
[   26.811307] ieee80211 phy1: change: 0x40
[   27.001309] ieee80211 phy1: change: 0x40
[   27.191341] ieee80211 phy1: change: 0x40
[   27.381333] ieee80211 phy1: change: 0x40
[   27.571302] ieee80211 phy1: change: 0x40
[   27.761297] ieee80211 phy1: change: 0x40
[   27.961297] ieee80211 phy1: change: 0x40
[   28.151300] ieee80211 phy1: change: 0x40
[   28.230385] ieee80211 phy1: change: 0x100
[   28.239455] ieee80211 phy1: change: 0x100
[   28.250096] ieee80211 phy1: change: 0x40
[   28.441544] ieee80211 phy1: change: 0x40
[   28.631325] ieee80211 phy1: change: 0x40
[   28.821302] ieee80211 phy1: change: 0x40
[   29.011304] ieee80211 phy1: change: 0x40
[   29.201324] ieee80211 phy1: change: 0x40
[   29.391340] ieee80211 phy1: change: 0x40
[   29.581321] ieee80211 phy1: change: 0x40
[   29.771344] ieee80211 phy1: change: 0x40
[   29.961352] ieee80211 phy1: change: 0x40
[   30.153950] ieee80211 phy1: change: 0x40
[   30.341336] ieee80211 phy1: change: 0x40
[   30.424245] ieee80211 phy1: change: 0x100
[   30.431355] ieee80211 phy1: change: 0x100
[   30.440763] ieee80211 phy1: change: 0x40
[   30.631307] ieee80211 phy1: change: 0x40
[   30.821299] ieee80211 phy1: change: 0x40
[   31.011336] ieee80211 phy1: change: 0x40
[   31.201341] ieee80211 phy1: change: 0x40
[   31.391305] ieee80211 phy1: change: 0x40
[   31.581303] ieee80211 phy1: change: 0x40
[   31.771307] ieee80211 phy1: change: 0x40
[   31.961298] ieee80211 phy1: change: 0x40
[   32.151315] ieee80211 phy1: change: 0x40
[   32.341302] ieee80211 phy1: change: 0x40
[   32.531307] ieee80211 phy1: change: 0x40
[   32.608311] ieee80211 phy1: change: 0x100
[   32.617337] ieee80211 phy1: change: 0x100
[   32.626305] ieee80211 phy1: change: 0x40
[   32.821301] ieee80211 phy1: change: 0x40
[   33.011300] ieee80211 phy1: change: 0x40
[   33.201305] ieee80211 phy1: change: 0x40
[   33.391301] ieee80211 phy1: change: 0x40
[   33.581312] ieee80211 phy1: change: 0x40
[   33.771305] ieee80211 phy1: change: 0x40
[   33.971302] ieee80211 phy1: change: 0x40
[   34.161413] ieee80211 phy1: change: 0x40
[   34.351552] ieee80211 phy1: change: 0x40
[   34.541686] ieee80211 phy1: change: 0x40
[   34.731815] ieee80211 phy1: change: 0x40
[   34.808869] ieee80211 phy1: change: 0x100
[   34.862914] ieee80211 phy1: change: 0x100
[   34.871943] ieee80211 phy1: change: 0x42
[   35.018033] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   35.024482] br-lan: port 2(wlan1) entered blocking state
[   35.029815] br-lan: port 2(wlan1) entered forwarding state
[  575.454028] ieee80211 phy1: staid 1 deleted
[ 3866.555667] nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based  firewall rule not found. Use the iptables CT target to attach helpers instead.
[ 6639.310010] ieee80211 phy1: staid 1 deleted
[18664.997828] ieee80211 phy1: staid 1 deleted
[18770.821623] ieee80211 phy1: staid 1 deleted
[18873.979554] ieee80211 phy1: staid 1 deleted
[18979.011223] ieee80211 phy1: staid 1 deleted
[19080.280502] ieee80211 phy1: staid 1 deleted
[19610.428680] ieee80211 phy1: staid 1 deleted
[19889.425413] ieee80211 phy1: staid 1 deleted
[24529.741899] ieee80211 phy1: staid 3 deleted
[29287.034569] ieee80211 phy1: staid 1 deleted
[29365.532684] ieee80211 phy1: staid 1 deleted
[30855.235810] ieee80211 phy1: staid 1 deleted
[31244.691263] ieee80211 phy1: staid 1 deleted
[31596.297785] ieee80211 phy1: staid 1 deleted
[31634.678318] ieee80211 phy1: staid 1 deleted
[31709.751562] ieee80211 phy1: staid 1 deleted
[31817.820431] ieee80211 phy1: staid 1 deleted
[31824.666344] ieee80211 phy1: staid 1 deleted
[31948.174326] ieee80211 phy1: staid 1 deleted
[31995.442876] ieee80211 phy1: staid 1 deleted
[34723.167354] ieee80211 phy1: staid 4 deleted
[35481.363583] ieee80211 phy1: staid 1 deleted
[45444.097682] ieee80211 phy1: staid 1 deleted
root@LEDE:~# uptime 
 03:57:33 up 14:32,  load average: 0.00, 0.00, 0.00
root@LEDE:~# cat /sys/kernel/debug/ieee80211/phy0/mwlwifi/info

driver name: mwlwifi
chip type: 88W8964
hw version: 7
driver version: 10.3.4.0-20170810
firmware version: 0x09030007
power table loaded from dts: no
firmware region code: 0x10
mac address: 60:38:e0:b3:35:6a
2g: disable
5g: enable
antenna: 4 4
irq number: 45
ap macid support: 0000ffff
sta macid support: 00010000
macid used: 00000000
radio: disable
iobase0: e1080000
iobase1: e1300000
tx limit: 1024
rx limit: 16384

BTW, I am using https://w1.fi/cgit/hostap/commit/?id=ee522d27cf3e23cc7d42eeaa151aee97e708b18e

s-pimenta commented 6 years ago

If you compile, I can test on my WRT3200ACM...

wongsyrone commented 6 years ago

It contains many packages you might not need. I will upload if you don't care.

So far so good.

root@LEDE:~# uptime 
 20:05:08 up 1 day,  6:40,  load average: 0.00, 0.00, 0.00
wongsyrone commented 6 years ago

OK. It's already in LEDE master branch: https://github.com/lede-project/source/commit/a8f63a0717f553e0a1b37ee9212fc4cb2a801426

BrainSlayer commented 6 years ago

the current dd-wrt version published on my ftp site uses the latest mac80211 backport too (since early september)