TL-WR842N V5 wifi interface hangs

Hi! I`m use configuration:

OpenWrt SNAPSHOT, r7847-03e5dcb

Linux 4.14.62 #0 Mon Aug 13 19:05:46 2018 mips GNU/Linux

For sometime everything works ok but then wi-fi interface hangs and there is no possibility to start ifconfig command — it hangs dead.

It is impossible to start

/bin/echo 10300000.wmac > /sys/bus/platform/drivers/rt2800_wmac/unbind

Wi-fi works in a monitor state.

When Wi-fi hangs, there’s nothing in logs.

spoiler=dmesg

[    0.000000] Linux version 4.14.62 (coodi@coodi-virtual-machine) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7847-03e5dcb)) #0 Mon Aug 13 19:05:46 2018
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[    0.000000] MIPS: machine is TP-Link TL-MR3420 v5
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 80478850, node_mem_map 81000040
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=0006fda0
[    0.000000] Readback ErrCtl register=0006fda0
[    0.000000] Memory: 59864K/65536K available (3575K kernel code, 169K rwdata, 836K rodata, 212K init, 208K bss, 5672K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] intc: using register map from devicetree
[    0.000000] CPU Clock: 580MHz
[    0.000000] timer_probe: no matching timers found
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[    0.000010] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[    0.007537] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.073490] pid_max: default: 32768 minimum: 301
[    0.078146] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084492] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.096384] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.105870] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.111812] pinctrl core: initialized pinctrl subsystem
[    0.117350] NET: Registered protocol family 16
[    0.145011] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.150668] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.156167] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.165724] clocksource: Switched to clocksource MIPS
[    0.171714] NET: Registered protocol family 2
[    0.176686] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.183373] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.189561] TCP: Hash tables configured (established 1024 bind 1024)
[    0.195838] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.201433] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.207774] NET: Registered protocol family 1
[    0.211945] PCI: CLS 0 bytes, default 32
[    0.215103] Crashlog allocated RAM at address 0x3f00000
[    0.221668] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.233021] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.238643] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.257407] io scheduler noop registered
[    0.261135] io scheduler deadline registered (default)
[    0.266917] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.274054] console [ttyS0] disabled
[    0.277553] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[    0.286268] console [ttyS0] enabled
[    0.293267] bootconsole [early0] disabled
[    0.301855] cacheinfo: Failed to find cpu0 device node
[    0.307106] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.313953] spi-mt7621 10000b00.spi: sys_freq: 193333333
[    0.325578] m25p80 spi0.0: gd25q64 (8192 Kbytes)
[    0.330373] 4 fixed-partitions partitions found on MTD device spi0.0
[    0.336820] Creating 4 MTD partitions on "spi0.0":
[    0.341683] 0x000000000000-0x000000020000 : "boot"
[    0.347396] 0x000000020000-0x0000007c0000 : "firmware"
[    0.401252] 2 tplink-fw partitions found on MTD device firmware
[    0.407295] 0x000000020000-0x00000019979e : "kernel"
[    0.413184] 0x0000001997a0-0x0000007c0000 : "rootfs"
[    0.419022] mtd: device 3 (rootfs) set to be root filesystem
[    0.426314] 1 squashfs-split partitions found on MTD device rootfs
[    0.432602] 0x000000610000-0x0000007c0000 : "rootfs_data"
[    0.438985] 0x0000007c0000-0x0000007d0000 : "config"
[    0.444774] 0x0000007d0000-0x000000800000 : "factory"
[    0.451411] libphy: Fixed MDIO Bus: probed
[    0.467466] rt3050-esw 10110000.esw: link changed 0x00
[    0.474242] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    0.484296] NET: Registered protocol family 10
[    0.492709] Segment Routing with IPv6
[    0.496608] NET: Registered protocol family 17
[    0.501168] 8021q: 802.1Q VLAN Support v1.8
[    0.518473] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    0.526830] Freeing unused kernel memory: 212K
[    0.531335] This architecture does not have kernel memory protection.
[    1.824315] init: Console is alive
[    1.828091] init: - watchdog -
[    2.298912] random: fast init done
[    4.515675] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.815804] usbcore: registered new interface driver usbfs
[    4.821459] usbcore: registered new interface driver hub
[    4.826978] usbcore: registered new device driver usb
[    4.838223] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.846645] ehci-platform: EHCI generic platform driver
[    4.862257] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
[    4.869072] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
[    4.874381] ehci-platform 101c0000.ehci: EHCI Host Controller
[    4.880248] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    4.888407] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    4.915761] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    4.923025] hub 1-0:1.0: USB hub found
[    4.927316] hub 1-0:1.0: 1 port detected
[    4.934606] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.942534] ohci-platform: OHCI generic platform driver
[    4.948172] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[    4.955112] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    4.963262] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    5.040769] hub 2-0:1.0: USB hub found
[    5.044939] hub 2-0:1.0: 1 port detected
[    5.064384] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.082280] init: - preinit -
[    6.752691] rt3050-esw 10110000.esw: link changed 0x00
[    6.919754] random: procd: uninitialized urandom read (4 bytes read)
[    9.749522] rt3050-esw 10110000.esw: link changed 0x01
[   10.473307] jffs2: notice: (361) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (3 unchecked, 1 orphan) and 44 of xref (1 dead, 0 orphan) found.
[   10.491285] mount_root: switching to jffs2 overlay
[   10.567665] overlayfs: upper fs does not support tmpfile.
[   10.585599] urandom-seed: Seeding with /etc/urandom.seed
[   10.708217] procd: - early -
[   10.711255] procd: - watchdog -
[   11.301313] procd: - watchdog -
[   11.304803] procd: - ubus -
[   11.492985] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.504106] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.511585] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.519079] procd: - init -
[   12.321052] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.333332] tun: Universal TUN/TAP device driver, 1.6
[   12.344911] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   12.374676] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   12.382867] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   12.398511] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.413370] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   12.491111] xt_time: kernel timezone is -0000
[   12.556440] mt76_wmac 10300000.wmac: ASIC revision: 76280001
[   12.570526] mt76_wmac 10300000.wmac: Firmware Version: 20151201
[   12.576617] mt76_wmac 10300000.wmac: Build Time: 20151201183641
[   12.595716] firmware init done
[   12.764284] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   12.796550] PPP generic driver version 2.4.2
[   12.812387] NET: Registered protocol family 24
[   12.833092] usbcore: registered new interface driver rtl8187
[   12.957796] usbcore: registered new interface driver ath6kl_usb
[   12.993641] usbcore: registered new interface driver carl9170
[   13.018052] usbcore: registered new interface driver rt2800usb
[   13.046399] usbcore: registered new interface driver ath9k_htc
[   13.133501] kmodloader: done loading kernel modules from /etc/modules.d/*
[   14.098527] urandom_read: 5 callbacks suppressed
[   14.098537] random: jshn: uninitialized urandom read (4 bytes read)
[   16.733312] rt3050-esw 10110000.esw: link changed 0x00
[   19.792397] rt3050-esw 10110000.esw: link changed 0x01
[   22.787484] br-lan: port 1(eth0.1) entered blocking state
[   22.792972] br-lan: port 1(eth0.1) entered disabled state
[   22.799051] device eth0.1 entered promiscuous mode
[   22.803919] device eth0 entered promiscuous mode
[   22.896995] br-lan: port 1(eth0.1) entered blocking state
[   22.902484] br-lan: port 1(eth0.1) entered forwarding state
[   31.002953] device mon0 entered promiscuous mode
[   43.335815] random: crng init done

/spoiler

spoiler=wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '6'
        option hwmode '11ng'
        option path 'platform/10300000.wmac'
        option htmode 'HT20'

config wifi-iface
        option ifname 'mon0'
        option device 'radio0'
        option mode 'monitor'


config wifi-device 'radio1'
        option type 'mac80211'
        option path 'platform/101c0000.ehci/usb1/1-1/1-1:1.0'
        option htmode 'HT20'
        option txpower '20'
        option country 'RU'
        option disabled '0'
        option hwmode '11g'

config wifi-iface
    option name 'wwan'
        option network 'wifiwan'
        option device 'radio1'
        option mode 'sta'
    option ssid '12345'
    option encryption 'psk2'
    option key '12345'

/spoiler

I need your help,please

I also have this model. And my wifi is unstable too, however I could run ifconfig without any hang.