GL.iNet GL-MT300N V2
- Based on the MediaTek MT7628NN
- 128MB DDR1, 16MB Flash
- USB 2.0 port
- Dual Ethernet (WAN/LAN)
- Button: 1 x switch button, 1 x reset button
- LED: 3 x LEDS (system power led is not GPIO controller)
Supported Versions
Hardware Highlights
Installation
Flash Layout
Please read the article flash.layout for a better understanding. It contains a couple of explanations. Then let's have a quick view at flash layout of this particular device:
GL.iNet GL-MT300N V2 Flash Layout | |||||||
---|---|---|---|---|---|---|---|
Layer0 | raw flash, 16386 KiB | ||||||
Layer1 | mtd0 u-boot 192 KiB | mtd1 u-boot-env 64 KiB | mtd2 factory 64 KiB | mtd3 firmware 16064 KiB (= FlashSize-(192+64+64)) | |||
Layer2 | mtd4 kernel about 2 MiB | mtd5 rootfs | |||||
Layer3 | /dev/root around 3.3 MiB | mtd6 rootfs_data around 10 MiB |
Stock Flash MTD parts dumps available to download for GL-MT300N V2 Download
OEM easy installation
Install OpenWrt in GL.Inet devices
Note: It can happen that the browser cache does conflict with the new loaded firmware. This can be avoided by browsing to: http://192.168.1.1/index.html?index
. By adding ?index
it asked the browser not to load from cache.
OEM installation using the TFTP method
Note: TFTP upgrade requires connecting to the Serial port, and pressing spacebar
during boot to access the U-Boot command line.
Upgrading OpenWrt
LuCI Web Upgrade Process
- Browse to
http://192.168.8.1/cgi-bin/luci/admin/system/flashops
- Upload image file for sysupgrade to LuCI
- Wait for reboot
Terminal Upgrade Process
If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. There are two command line methods for upgrading:
sysupgrade
mtd
Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.
sysupgrade
- Login as root via SSH on 192.168.8.1, then enter the following commands:
cd /tmp wget http://downloads.openwrt.org/releases/19.07.4/targets/ramips/mt76x8/openwrt-19.07.4-ramips-mt76x8-gl-mt300n-v2-squashfs-sysupgrade.bin sysupgrade /tmp/openwrt-19.07.4-ramips-mt76x8-gl-mt300n-v2-squashfs-sysupgrade.bin
sysupgrade -n can be used to start fresh in /etc/config/. Otherwise some factory config files will be there. Device will work either way.
mtd
If sysupgrade
does not support this router, use mtd
.
- Login as root via SSH on 192.168.8.1, then enter the following commands:
cd /tmp wget http://downloads.openwrt.org/releases/19.07.4/targets/ramips/mt76x8/openwrt-19.07.4-ramips-mt76x8-gl-mt300n-v2-squashfs-sysupgrade.bin mtd -r write /tmp/openwrt-19.07.4-ramips-mt76x8-gl-mt300n-v2-squashfs-sysupgrade.bin firmware
Debricking
The U-Boot bootloader has a web interface to update the firmware. To use the web interface, you need to connect to the LAN port, and your computer's ethernet port set to 192.168.1.2/24. To start the web interface:
- With the router unplugged, press and hold the reset button.
- Plug in the router.
- Hold the reset button for at least 3 seconds.
- Release button, wait a few seconds, and connect to
http://192.168.1.1
Failsafe mode
Basic configuration
→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.
Existing wireless config for MT7628 (factory config) may fail with “Interface not supported”. Mac80211 driver can be used (this is the 2nd example given in stock /etc/config/wireless). Configure and activate with # wifi up. Ref: https://forum.openwrt.org/t/how-to-manually-switch-wifi-driver-on-openwrt/56218
Specific Configuration
Network interfaces
The default OEM network configuration is:
Interface Name | Description | Default configuration |
---|---|---|
br-lan | LAN & WiFi | 192.168.8.1/24 |
vlan1 (eth0.1) | LAN port | None |
vlan2 (eth0.2) | WAN port | DHCP |
wlan0 | WiFi | Disabled |
Switch Ports (for VLANs)
Port number 0 is labeled WAN on the unit, port 1 is labeled LAN. Ports 2-5 are not present. Port 6 (CPU) is the internal connection to the router itself. vlan1 = eth0.1, vlan2 = eth0.2 and so on.
Port | Switch port |
---|---|
Internet (WAN) | 0 |
LAN | 1 |
==== Buttons ====
→ hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.
The GL.iNet GL-MT300N V2 has the following buttons:
BUTTON | Event |
---|---|
Reset | reset |
Switch (left position) | BTN_0 |
Switch (right position, if modded) | BTN_1 |
Hardware
Info
Photos
Opening the case
Use a pry tool in the notch. There are clips all round.
Note the yellow post on the cover that holds the PCB steady. Ensure the cover is replaced with the correct orientation.
PCB front:
Serial
→ One port.serial port (J1) on the MT300N V2 comes with the headers factory fitted.
How to connect to the Serial Port of this specific device:
It can be seen at the left end, farthest from the Ethernet port (grey) and is labelled “GND RX0 TX0”. Headers are missing for further connections “VCC” and “I2C_CLK I2C_SD TX1 RX1”. All PINS besides GND and VCC are also usable via GPIO.
Serial connection parameters for GL.iNet GL-MT300N V2 | 115200, 8N1 |
---|
Bootloader mods
Hardware mods
GPIO
The MT300N V2 has general purpose GPIO pins broken out. Note the headers at the top of the board. These headers are not factory fitted and will need to be fitted manually.
Label | GPIO | Note |
---|---|---|
No label | 0 | Controls power to the USB A port, export GPIO 0 and set its value 0/1 to control |
WPS_PBC | 2 | Shared with WPS button according to docs, however this button appears not to exist |
RST_PBC | 1 | Shared with Reset Button |
3.3VD | - | 3.3V |
LINK4 | 44 | Unused |
LINK3 | 43 | Shared with toggle switch on side of device |
PoE
not available.
Switch Mod
The 3 way toggle switch comes from the factory with the right-hand third of the plastic part filled, GLI claims this is to prevent confusion over the 3 way toggle, but to keep the feature available when required, decided not to remove the 3-way switch.
Switch access (factory firmware)
The MT300N V2 implements a GPIO switch driver, using the scripts below, the switch position can be determined from shell script and acted upon.
/etc/rc.button/BTN_0 /etc/rc.button/BTN_1
GPIO Switch access
The switch uses GPIOs 42 and 43 and can be access by exporting them as inputs. The values correspond to the switch positions as follows.
Position | GPIO 42 | GPIO 43 |
---|---|---|
Left | High/1 | X |
Centre | Low/0 | Low/0 |
Right | X | High/1 |
Where X indicates a “Don't Care” state.
The scripts receive both a button ID in the form “BTN_X” and an action such as “pressed” or “unpressed”.
Note that to access them as GPIOs (and stop receiving button events), you need to unload the gpio_button_hotplug
module, or unbind it by executing:
echo gpio-keys > /sys/bus/platform/drivers/gpio-keys/unbind
Bootlogs
OEM bootlog
[04040C0D][04040D08] DDR Calibration DQS reg = 00008A88 U-Boot 1.1.3 (Apr 26 2018 - 15:30:15) Board: Ralink APSoC DRAM: 128 MB relocate_code Pointer at: 87fb0000 flash manufacture id: ef, device id 40 18 find flash: W25Q128BV *** Warning - bad CRC, using default environment ====================================================== Ralink UBoot Version: 4.3.0.0 -------------------------------------------------- ASIC 7628_MP (Port5<->None) DRAM component: 1024 Mbits DDR, width 16 DRAM bus: 16 bit Total memory: 128 MBytes Flash component: SPI Flash Date:Apr 26 2018 Time:15:30:15 -------------------------------------------------- icache: sets:512, ways:4, linesz:32 ,total:65536 dcache: sets:256, ways:4, linesz:32 ,total:32768 -------------------------------------------------- ##### The CPU freq = 575 MHZ #### ##### Memory size =128 Mbytes #### ====================================================== RESET button is pressed for: 0 second(s) Catution: RESET button wasn't pressed or not long enough! Continuing normal boot... Autobooting in: 2 s (type 'gl' to run U-Boot console) Device have ART, checking calibration status... Device have calibrated, checking test status... Device haven tested, checking MAC info... Device have MAC info, starting firmware... ## Booting image at bc050000 ... Image Name: MIPS OpenWrt Linux-4.14.241 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1719162 Bytes = 1.6 MB Load Address: 80000000 Entry Point: 80000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 80000000) ... ## Giving linux memsize in MB, 128 Starting kernel ... [ 0.000000] Linux version 4.14.241 (glinet@glinet) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11257-5090152ae3)) #0 Thu Jul 29 19:50:28 2021 [ 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 GL-MT300N-V2 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 08000000 @ 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-0x0000000007ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] random: get_random_bytes called from start_kernel+0x98/0x494 with crng_init=0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 [ 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=0005a757 [ 0.000000] Readback ErrCtl register=0005a757 [ 0.000000] Memory: 123272K/131072K available (4017K kernel code, 189K rwdata, 928K rodata, 1192K init, 213K bss, 7800K 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: 575MHz [ 0.000000] timer_probe: no matching timers found [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6647862422 ns [ 0.000010] sched_clock: 32 bits at 287MHz, resolution 3ns, wraps every 7469508094ns [ 0.007573] Calibrating delay loop... 380.92 BogoMIPS (lpj=1904640) [ 0.073467] pid_max: default: 32768 minimum: 301 [ 0.078165] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.084521] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.097441] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.106930] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.112900] pinctrl core: initialized pinctrl subsystem [ 0.120596] NET: Registered protocol family 16 [ 0.151695] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.157287] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.162879] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.173566] clocksource: Switched to clocksource MIPS [ 0.179571] NET: Registered protocol family 2 [ 0.184014] IP idents hash table entries: 2048 (order: 2, 16384 bytes) [ 0.191022] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.197773] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.203876] TCP: Hash tables configured (established 1024 bind 1024) [ 0.210134] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.215773] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.222074] NET: Registered protocol family 1 [ 0.229790] Crashlog allocated RAM at address 0x3f00000 [ 0.236555] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.248774] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.254394] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.274899] io scheduler noop registered [ 0.278631] io scheduler deadline registered (default) [ 0.284573] gpio-export gpio_export: 1 gpio(s) exported [ 0.289788] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.298825] console [ttyS0] disabled [ 0.302262] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A [ 0.311036] console [ttyS0] enabled [ 0.311036] console [ttyS0] enabled [ 0.318025] bootconsole [early0] disabled [ 0.318025] bootconsole [early0] disabled [ 0.326789] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A [ 0.337211] spi-mt7621 10000b00.spi: sys_freq: 191666666 [ 0.359838] m25p80 spi0.0: w25q128 (16384 Kbytes) [ 0.364677] 4 fixed-partitions partitions found on MTD device spi0.0 [ 0.371118] Creating 4 MTD partitions on "spi0.0": [ 0.376004] 0x000000000000-0x000000030000 : "u-boot" [ 0.381973] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.388294] 0x000000040000-0x000000050000 : "factory" [ 0.394372] 0x000000050000-0x000001000000 : "firmware" [ 0.403359] 2 uimage-fw partitions found on MTD device firmware [ 0.409441] Creating 2 MTD partitions on "firmware": [ 0.414512] 0x000000000000-0x0000001a3bba : "kernel" [ 0.420479] 0x0000001a3bba-0x000000fb0000 : "rootfs" [ 0.426390] mtd: device 5 (rootfs) set to be root filesystem [ 0.433817] 1 squashfs-split partitions found on MTD device rootfs [ 0.440109] 0x000000be0000-0x000000fb0000 : "rootfs_data" [ 0.447247] libphy: Fixed MDIO Bus: probed [ 0.481674] rt3050-esw 10110000.esw: link changed 0x00 [ 0.488589] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 0.498728] NET: Registered protocol family 10 [ 0.507483] Segment Routing with IPv6 [ 0.511314] NET: Registered protocol family 17 [ 0.515955] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 0.529114] 8021q: 802.1Q VLAN Support v1.8 [ 0.541971] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 0.555872] Freeing unused kernel memory: 1192K [ 0.560467] This architecture does not have kernel memory protection. [ 1.690324] init: Console is alive [ 1.694137] init: - watchdog - [ 2.263053] random: fast init done [ 4.586472] rt3050-esw 10110000.esw: link changed 0x02 [ 4.779606] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 5.021175] usbcore: registered new interface driver usbfs [ 5.026909] usbcore: registered new interface driver hub [ 5.032383] usbcore: registered new device driver usb [ 5.044233] exFAT: Version 1.2.9 [ 5.083751] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.100292] SCSI subsystem initialized [ 5.110268] ehci-platform: EHCI generic platform driver [ 5.125902] phy phy-10120000.usbphy.0: remote usb device wakeup disabled [ 5.132704] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz [ 5.138041] ehci-platform 101c0000.ehci: EHCI Host Controller [ 5.143916] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 5.152061] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 5.183611] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 5.191000] hub 1-0:1.0: USB hub found [ 5.195305] hub 1-0:1.0: 1 port detected [ 5.203267] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 5.211858] ohci-platform: OHCI generic platform driver [ 5.217520] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 5.224494] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 5.232614] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 5.308538] hub 2-0:1.0: USB hub found [ 5.312865] hub 2-0:1.0: 1 port detected [ 5.320330] uhci_hcd: USB Universal Host Controller Interface driver [ 5.648744] usbcore: registered new interface driver usb-storage [ 5.657606] usbcore: registered new interface driver uas [ 5.663918] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 5.681797] init: - preinit - Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 7.923855] random: procd: uninitialized urandom read (4 bytes read) [ 11.245689] jffs2: notice: (435) jffs2_build_xattr_subsystem: complete building xattr subsystem, 6 of xdatum (0 unchecked, 6 orphan) and 17 of xref (3 dead, 14 orphan) found. [ 11.263519] mount_root: overlay filesystem has not been fully initialized yet [ 11.274780] mount_root: switching to jffs2 overlay [ 11.358893] overlayfs: upper fs does not support tmpfile. [ 11.371572] urandom-seed: Seed file not found (/etc/urandom.seed) [ 11.518440] procd: - early - [ 11.521485] procd: - watchdog - [ 12.360967] procd: - watchdog - [ 12.364609] procd: - ubus - [ 12.609453] random: ubusd: uninitialized urandom read (4 bytes read) [ 12.886907] random: ubusd: uninitialized urandom read (4 bytes read) [ 12.900621] random: ubusd: uninitialized urandom read (4 bytes read) [ 12.915330] procd: - init - Please press Enter to activate this console. [ 15.328203] kmodloader: loading kernel modules from /etc/modules.d/* [ 15.406984] ntfs: driver 2.1.32 [Flags: R/O MODULE]. [ 15.445298] tun: Universal TUN/TAP device driver, 1.6 [ 15.505567] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 15.554887] nf_conntrack version 0.5.0 (2048 buckets, 8192 max) [ 15.852467] Netfilter messages via NETLINK v0.30. [ 15.873011] ip_set: protocol 6 [ 16.007198] Mirror/redirect action on [ 16.019788] urngd: v1.0.2 started. [ 16.044573] u32 classifier [ 16.047336] input device check on [ 16.051041] Actions configured [ 16.128678] GACT probability on [ 16.151377] Simple TC action Loaded [ 16.248721] fuse init (API version 7.26) [ 16.715384] random: crng init done [ 16.718855] random: 6 urandom warning(s) missed due to ratelimiting [ 18.019001] [ 18.019001] [ 18.019001] === pAd = c0670000, size = 1008560 === [ 18.019001] [ 18.028633] <-- RTMPAllocTxRxRingMemory, Status=0, ErrorValue=0x [ 18.035738] <-- RTMPAllocAdapterBlock, Status=0 [ 18.040339] RtmpChipOpsHook(748): Not support for HIF_MT yet! [ 18.046185] mt7628_init()--> [ 18.049110] mt7628_init(FW(8a00), HW(8a01), CHIPID(7628)) [ 18.054592] e2.bin mt7628_init(1142)::(2), pChipCap->fw_len(63536) [ 18.060855] mt_bcn_buf_init(289): Not support for HIF_MT yet! [ 18.066685] <--mt7628_init() [ 18.568918] usbcore: registered new interface driver cdc_acm [ 18.574738] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 18.625738] usbcore: registered new interface driver cdc_wdm [ 18.695998] Ebtables v2.0 registered [ 18.707559] ip_tables: (C) 2000-2006 Netfilter Core Team [ 18.735929] usbcore: registered new interface driver ipheth [ 19.055981] ctnetlink v0.93: registering with nfnetlink. [ 19.501302] usbcore: registered new interface driver usbserial [ 19.507400] usbcore: registered new interface driver usbserial_generic [ 19.514147] usbserial: USB Serial support registered for generic [ 19.590011] wireguard: WireGuard 1.0.20200611 loaded. See www.wireguard.com for information. [ 19.598659] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. [ 19.801916] xt_time: kernel timezone is -0000 [ 19.827027] usbcore: registered new interface driver cdc_ether [ 19.858980] usbcore: registered new interface driver cdc_ncm [ 19.885288] usbcore: registered new interface driver cp210x [ 19.891025] usbserial: USB Serial support registered for cp210x [ 19.948593] usbcore: registered new interface driver huawei_cdc_ncm [ 20.002957] PPP generic driver version 2.4.2 [ 20.026462] PPP MPPE Compression module registered [ 20.065362] NET: Registered protocol family 24 [ 20.077304] usbcore: registered new interface driver qmi_wwan [ 20.107676] usbcore: registered new interface driver rndis_host [ 20.137023] usbcore: registered new interface driver sierra [ 20.142759] usbserial: USB Serial support registered for Sierra USB modem [ 20.186560] usbcore: registered new interface driver sierra_net [ 20.231975] usbcore: registered new interface driver option [ 20.237822] usbserial: USB Serial support registered for GSM modem (1-port) [ 20.327875] kmodloader: done loading kernel modules from /etc/modules.d/* [ 27.340457] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it! [ 27.347514] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it! [ 27.354505] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it! [ 27.361471] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it! [ 27.368454] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it! [ 27.375429] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it! [ 27.382394] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it! [ 27.389370] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it! [ 27.396341] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it! [ 27.403307] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it! [ 27.410283] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it! [ 27.417257] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it! [ 27.424242] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it! [ 27.431209] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it! [ 27.438185] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it! [ 27.445157] RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0! [ 27.628407] [ 27.628407] [ 27.628407] === pAd = c0c65000, size = 1008560 === [ 27.628407] [ 27.638036] <-- RTMPAllocTxRxRingMemory, Status=0, ErrorValue=0x [ 27.645139] <-- RTMPAllocAdapterBlock, Status=0 [ 27.649741] RtmpChipOpsHook(748): Not support for HIF_MT yet! [ 27.655590] mt7628_init()--> [ 27.658515] mt7628_init(FW(8a00), HW(8a01), CHIPID(7628)) [ 27.663997] e2.bin mt7628_init(1142)::(2), pChipCap->fw_len(63536) [ 27.670259] mt_bcn_buf_init(289): Not support for HIF_MT yet! [ 27.676089] <--mt7628_init() [ 37.942334] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 38.594167] IPv6: ADDRCONF(NETDEV_UP): lo: link is not ready [ 39.587102] device eth0 entered promiscuous mode [ 39.592312] br-lan: port 1(eth0.1) entered blocking state [ 39.598039] br-lan: port 1(eth0.1) entered disabled state [ 39.603889] device eth0.1 entered promiscuous mode [ 39.643124] br-lan: port 1(eth0.1) entered blocking state [ 39.648685] br-lan: port 1(eth0.1) entered forwarding state [ 43.977857] TX_BCN DESC a7696000 size = 320 [ 43.982170] RX[0] DESC a7698000 size = 2048 [ 43.986837] RX[1] DESC a7699000 size = 1024 [ 44.035812] prepare to get e2p access------------ [ 44.040851] E2pAccessMode=2 [ 44.044564] cfg_mode=9 [ 44.046953] cfg_mode=9 [ 44.049350] wmode_band_equal(): Band Equal! [ 44.057440] APSDCapable[0]=0 [ 44.060362] APSDCapable[1]=0 [ 44.063278] APSDCapable[2]=0 [ 44.066227] APSDCapable[3]=0 [ 44.069144] APSDCapable[4]=0 [ 44.072059] APSDCapable[5]=0 [ 44.074988] APSDCapable[6]=0 [ 44.077906] APSDCapable[7]=0 [ 44.080822] APSDCapable[8]=0 [ 44.083752] APSDCapable[9]=0 [ 44.086669] APSDCapable[10]=0 [ 44.089673] APSDCapable[11]=0 [ 44.092676] APSDCapable[12]=0 [ 44.095695] APSDCapable[13]=0 [ 44.098700] APSDCapable[14]=0 [ 44.101704] APSDCapable[15]=0 [ 44.104721] default ApCliAPSDCapable[0]=0 [ 44.451645] Key1Str is Invalid key length(0) or Type(1) [ 44.457136] Key1Str is Invalid key length(0) or Type(1) [ 44.462774] Key2Str is Invalid key length(0) or Type(1) [ 44.468261] Key2Str is Invalid key length(0) or Type(1) [ 44.473918] Key3Str is Invalid key length(0) or Type(1) [ 44.479387] Key3Str is Invalid key length(0) or Type(1) [ 44.485051] Key4Str is Invalid key length(0) or Type(1) [ 44.490522] Key4Str is Invalid key length(0) or Type(1) [ 44.525564] load fw image from fw_header_image [ 44.530074] AndesMTLoadFwMethod1(2548)::pChipCap->fw_len(63536) [ 44.536100] FW Version: [ 44.536106] _ [ 44.538582] e [ 44.540175] 2 [ 44.541769] _ [ 44.543362] m [ 44.544969] p [ 44.546563] [ 44.548155] [ 44.549748] [ 44.551342] [ 44.552936] [ 44.556045] FW Build Date: [ 44.556049] 2 [ 44.558788] 0 [ 44.560381] 1 [ 44.561973] 5 [ 44.563578] 0 [ 44.565174] 6 [ 44.566768] 2 [ 44.568361] 5 [ 44.569953] 2 [ 44.571546] 1 [ 44.573138] 1 [ 44.574755] 4 [ 44.576352] 2 [ 44.577946] 2 [ 44.579539] [ 44.581134] [ 45.133815] CmdSlotTimeSet:(ret = 0) [ 45.753657] CmdAddressLenReq:(ret = 0) [ 45.758344] CmdFwStartReq: override = 1, address = 1048576 [ 45.764015] CmdStartDLRsp: WiFI FW Download Success [ 45.773616] MtAsicDMASchedulerInit(): DMA Scheduler Mode=0(LMAC) [ 45.779722] efuse_probe: efuse = 10000012 [ 45.783820] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=4 [ 45.789292] RtmpEepromGetDefault::e2p_dafault=2 [ 45.793908] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 2 [ 45.801576] NVM is FLASH mode [ 45.804651] 1. Phy Mode = 14 [ 46.004290] Country Region from e2p = ffff [ 46.013762] tssi_1_target_pwr_g_band = 33 [ 46.017838] 2. Phy Mode = 14 [ 46.020841] 3. Phy Mode = 14 [ 46.023823] NICInitPwrPinCfg(11): Not support for HIF_MT yet! [ 46.029647] NICInitializeAsic(848): Not support rtmp_mac_sys_reset () for HIF_MT yet! [ 46.037593] mt_mac_init()--> [ 46.040511] MtAsicInitMac()--> [ 46.073668] mt7628_init_mac_cr()--> [ 46.077224] MtAsicSetMacMaxLen(1842): Set the Max RxPktLen=1024! [ 46.083308] <--mt_mac_init() [ 46.086430] WTBL Segment 1 info: [ 46.089790] MemBaseAddr/FID:0x28000/0 [ 46.093689] EntrySize/Cnt:32/128 [ 46.097132] WTBL Segment 2 info: [ 46.100489] MemBaseAddr/FID:0x40000/0 [ 46.104392] EntrySize/Cnt:64/128 [ 46.107834] WTBL Segment 3 info: [ 46.111191] MemBaseAddr/FID:0x42000/64 [ 46.115187] EntrySize/Cnt:64/128 [ 46.118630] WTBL Segment 4 info: [ 46.121987] MemBaseAddr/FID:0x44000/128 [ 46.126068] EntrySize/Cnt:32/128 [ 46.129593] AntCfgInit(3606): Not support for HIF_MT yet! [ 46.135196] MCS Set = ff ff 00 00 01 [ 46.138821] MtAsicSetChBusyStat(1146): Not support for HIF_MT yet! [ 46.223575] SYNC - BBP R4 to 20MHz.l [ 46.830304] SYNC - BBP R4 to 20MHz.l [ 47.441391] SYNC - BBP R4 to 20MHz.l [ 48.051408] SYNC - BBP R4 to 20MHz.l [ 48.660290] SYNC - BBP R4 to 20MHz.l [ 49.270301] SYNC - BBP R4 to 20MHz.l [ 49.879193] SYNC - BBP R4 to 20MHz.l [ 50.479176] SYNC - BBP R4 to 20MHz.l [ 51.079236] SYNC - BBP R4 to 20MHz.l [ 51.673618] [PMF]ap_pmf_init:: apidx=0, MFPC=0, MFPR=0, SHA256=0 [ 51.679731] [PMF]RTMPMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0 [ 51.686038] [PMF]ap_pmf_init:: apidx=1, MFPC=0, MFPR=0, SHA256=0 [ 51.692131] [PMF]RTMPMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0 [ 51.698487] MtAsicSetRalinkBurstMode(4061): Not support for HIF_MT yet! [ 51.705207] MtAsicSetPiggyBack(1081): Not support for HIF_MT yet! [ 51.783603] MtAsicSetTxPreamble(4040): Not support for HIF_MT yet! [ 51.793208] MtAsicAddSharedKeyEntry(1909): Not support for HIF_MT yet! [ 51.803218] MtAsicAddSharedKeyEntry(1909): Not support for HIF_MT yet! [ 51.810012] MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0xf0 [ 51.816242] Main bssid = 94:83:c4:39:4c:08 [ 51.820508] <==== rt28xx_init, Status=0 [ 51.894750] mt7628_set_ed_cca: TURN OFF EDCCA mac 0x10618 = 0xd7083f0f, EDCCA_Status=0 [ 51.902881] WiFi Startup Cost (ra0): 7.920s [ 51.974102] MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0x0 [ 51.980208] MtAsicSetPiggyBack(1081): Not support for HIF_MT yet! [ 54.693645] tx_kickout_fail_count = 0 [ 54.697372] tx_timeout_fail_count = 0 [ 54.701079] rx_receive_fail_count = 0 [ 54.704828] alloc_cmd_msg = 53 [ 54.707922] free_cmd_msg = 53 [ 54.779657] TX_BCN DESC a7696000 size = 320 [ 54.784047] RX[0] DESC a7698000 size = 2048 [ 54.788611] RX[1] DESC a7699000 size = 1024 [ 54.826537] prepare to get e2p access------------ [ 54.831575] E2pAccessMode=2 [ 54.835295] cfg_mode=9 [ 54.837687] cfg_mode=9 [ 54.840081] wmode_band_equal(): Band Equal! [ 54.848166] APSDCapable[0]=0 [ 54.851087] APSDCapable[1]=0 [ 54.854018] APSDCapable[2]=0 [ 54.856934] APSDCapable[3]=0 [ 54.859851] APSDCapable[4]=0 [ 54.862766] APSDCapable[5]=0 [ 54.865693] APSDCapable[6]=0 [ 54.868607] APSDCapable[7]=0 [ 54.871520] APSDCapable[8]=0 [ 54.874448] APSDCapable[9]=0 [ 54.877363] APSDCapable[10]=0 [ 54.880366] APSDCapable[11]=0 [ 54.883370] APSDCapable[12]=0 [ 54.886389] APSDCapable[13]=0 [ 54.889391] APSDCapable[14]=0 [ 54.892393] APSDCapable[15]=0 [ 54.895410] default ApCliAPSDCapable[0]=0 [ 55.242770] Key1Str is Invalid key length(0) or Type(1) [ 55.248259] Key1Str is Invalid key length(0) or Type(1) [ 55.253921] Key2Str is Invalid key length(0) or Type(1) [ 55.259386] Key2Str is Invalid key length(0) or Type(1) [ 55.265038] Key3Str is Invalid key length(0) or Type(1) [ 55.270503] Key3Str is Invalid key length(0) or Type(1) [ 55.276159] Key4Str is Invalid key length(0) or Type(1) [ 55.281627] Key4Str is Invalid key length(0) or Type(1) [ 55.316663] load fw image from fw_header_image [ 55.321172] AndesMTLoadFwMethod1(2548)::pChipCap->fw_len(63536) [ 55.327182] FW Version: [ 55.327188] _ [ 55.329662] e [ 55.331256] 2 [ 55.332849] _ [ 55.334452] m [ 55.336045] p [ 55.337637] [ 55.339230] [ 55.340822] [ 55.342413] [ 55.344018] [ 55.347113] FW Build Date: [ 55.347117] 2 [ 55.349855] 0 [ 55.351449] 1 [ 55.353042] 5 [ 55.354644] 0 [ 55.356237] 6 [ 55.357830] 2 [ 55.359423] 5 [ 55.361017] 2 [ 55.362610] 1 [ 55.364212] 1 [ 55.365806] 4 [ 55.367399] 2 [ 55.368992] 2 [ 55.370585] [ 55.372177] [ 55.375519] CmdReStartDLRsp: WiFI FW Download Success [ 57.013803] CmdAddressLenReq:(ret = 0) [ 57.018441] CmdFwStartReq: override = 1, address = 1048576 [ 57.024107] CmdStartDLRsp: WiFI FW Download Success [ 57.051789] MtAsicDMASchedulerInit(): DMA Scheduler Mode=0(LMAC) [ 57.057977] efuse_probe: efuse = 10000012 [ 57.062041] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=4 [ 57.067524] RtmpEepromGetDefault::e2p_dafault=2 [ 57.072118] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 2 [ 57.079807] NVM is FLASH mode [ 57.082866] 1. Phy Mode = 14 [ 57.324047] Country Region from e2p = ffff [ 57.333605] tssi_1_target_pwr_g_band = 33 [ 57.337678] 2. Phy Mode = 14 [ 57.340682] 3. Phy Mode = 14 [ 57.343627] NICInitPwrPinCfg(11): Not support for HIF_MT yet! [ 57.349449] NICInitializeAsic(848): Not support rtmp_mac_sys_reset () for HIF_MT yet! [ 57.357414] mt_mac_init()--> [ 57.360332] MtAsicInitMac()--> [ 57.393590] mt7628_init_mac_cr()--> [ 57.397147] MtAsicSetMacMaxLen(1842): Set the Max RxPktLen=1024! [ 57.403231] <--mt_mac_init() [ 57.406327] WTBL Segment 1 info: [ 57.409684] MemBaseAddr/FID:0x28000/0 [ 57.413581] EntrySize/Cnt:32/128 [ 57.417024] WTBL Segment 2 info: [ 57.420380] MemBaseAddr/FID:0x40000/0 [ 57.424280] EntrySize/Cnt:64/128 [ 57.427722] WTBL Segment 3 info: [ 57.431078] MemBaseAddr/FID:0x42000/64 [ 57.435063] EntrySize/Cnt:64/128 [ 57.438507] WTBL Segment 4 info: [ 57.441862] MemBaseAddr/FID:0x44000/128 [ 57.445935] EntrySize/Cnt:32/128 [ 57.449456] AntCfgInit(3606): Not support for HIF_MT yet! [ 57.455065] MCS Set = ff ff 00 00 01 [ 57.458691] MtAsicSetChBusyStat(1146): Not support for HIF_MT yet! [ 57.533580] SYNC - BBP R4 to 20MHz.l [ 58.140304] SYNC - BBP R4 to 20MHz.l [ 58.751411] SYNC - BBP R4 to 20MHz.l [ 59.360284] SYNC - BBP R4 to 20MHz.l [ 59.970290] SYNC - BBP R4 to 20MHz.l [ 60.580296] SYNC - BBP R4 to 20MHz.l [ 61.189191] SYNC - BBP R4 to 20MHz.l [ 61.789204] SYNC - BBP R4 to 20MHz.l [ 62.389192] SYNC - BBP R4 to 20MHz.l [ 62.983618] [PMF]ap_pmf_init:: apidx=0, MFPC=0, MFPR=0, SHA256=0 [ 62.989729] [PMF]RTMPMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0 [ 62.996028] [PMF]ap_pmf_init:: apidx=1, MFPC=0, MFPR=0, SHA256=0 [ 63.002118] [PMF]RTMPMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0 [ 63.008455] MtAsicSetRalinkBurstMode(4061): Not support for HIF_MT yet! [ 63.015173] MtAsicSetPiggyBack(1081): Not support for HIF_MT yet! [ 63.093611] MtAsicSetTxPreamble(4040): Not support for HIF_MT yet! [ 63.103286] MtAsicAddSharedKeyEntry(1909): Not support for HIF_MT yet! [ 63.113224] MtAsicAddSharedKeyEntry(1909): Not support for HIF_MT yet! [ 63.119963] MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0xf0 [ 63.126180] Main bssid = 94:83:c4:39:4c:08 [ 63.130413] <==== rt28xx_init, Status=0 [ 63.134346] mt7628_set_ed_cca: TURN OFF EDCCA mac 0x10618 = 0xd7083f0f, EDCCA_Status=0 [ 63.142460] WiFi Startup Cost (ra0): 8.360s [ 69.003367] rt3050-esw 10110000.esw: link changed 0x00 [ 74.045051] br-lan: port 2(ra0) entered blocking state [ 74.050276] br-lan: port 2(ra0) entered disabled state [ 74.055983] device ra0 entered promiscuous mode [ 74.060693] br-lan: port 2(ra0) entered blocking state [ 74.065961] br-lan: port 2(ra0) entered forwarding state [ 88.583366] MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0x0 [ 88.589548] MtAsicSetPiggyBack(1081): Not support for HIF_MT yet! [ 90.343721] tx_kickout_fail_count = 0 [ 90.347449] tx_timeout_fail_count = 0 [ 90.351158] rx_receive_fail_count = 0 [ 90.354891] alloc_cmd_msg = 54 [ 90.357982] free_cmd_msg = 54 [ 90.364952] br-lan: port 2(ra0) entered disabled state [ 91.362640] TX_BCN DESC a7696000 size = 320 [ 91.367034] RX[0] DESC a7698000 size = 2048 [ 91.371594] RX[1] DESC a7699000 size = 1024 [ 91.414736] prepare to get e2p access------------ [ 91.419773] E2pAccessMode=2 [ 91.423412] cfg_mode=9 [ 91.425843] cfg_mode=9 [ 91.428241] wmode_band_equal(): Band Equal! [ 91.436323] APSDCapable[0]=0 [ 91.439242] APSDCapable[1]=0 [ 91.442157] APSDCapable[2]=0 [ 91.445088] APSDCapable[3]=0 [ 91.448005] APSDCapable[4]=0 [ 91.450921] APSDCapable[5]=0 [ 91.453855] APSDCapable[6]=0 [ 91.456771] APSDCapable[7]=0 [ 91.459687] APSDCapable[8]=0 [ 91.462603] APSDCapable[9]=0 [ 91.465537] APSDCapable[10]=0 [ 91.468541] APSDCapable[11]=0 [ 91.471545] APSDCapable[12]=0 [ 91.474561] APSDCapable[13]=0 [ 91.477565] APSDCapable[14]=0 [ 91.480569] APSDCapable[15]=0 [ 91.483587] default ApCliAPSDCapable[0]=0 [ 91.830518] Key1Str is Invalid key length(0) or Type(1) [ 91.836003] Key1Str is Invalid key length(0) or Type(1) [ 91.841641] Key2Str is Invalid key length(0) or Type(1) [ 91.847123] Key2Str is Invalid key length(0) or Type(1) [ 91.852766] Key3Str is Invalid key length(0) or Type(1) [ 91.858248] Key3Str is Invalid key length(0) or Type(1) [ 91.863905] Key4Str is Invalid key length(0) or Type(1) [ 91.869374] Key4Str is Invalid key length(0) or Type(1) [ 91.904427] load fw image from fw_header_image [ 91.908936] AndesMTLoadFwMethod1(2548)::pChipCap->fw_len(63536) [ 91.914951] FW Version: [ 91.914957] _ [ 91.917430] e [ 91.919023] 2 [ 91.920616] _ [ 91.922209] m [ 91.923814] p [ 91.925407] [ 91.926999] [ 91.928592] [ 91.930186] [ 91.931779] [ 91.934886] FW Build Date: [ 91.934890] 2 [ 91.937629] 0 [ 91.939220] 1 [ 91.940813] 5 [ 91.942407] 0 [ 91.944013] 6 [ 91.945606] 2 [ 91.947199] 5 [ 91.948792] 2 [ 91.950386] 1 [ 91.951978] 1 [ 91.953587] 4 [ 91.955181] 2 [ 91.956774] 2 [ 91.958366] [ 91.959961] [ 91.963137] CmdReStartDLRsp: WiFI FW Download Success [ 93.383831] CmdAddressLenReq:(ret = 0) [ 93.388401] CmdFwStartReq: override = 1, address = 1048576 [ 93.394066] CmdStartDLRsp: WiFI FW Download Success [ 93.403700] MtAsicDMASchedulerInit(): DMA Scheduler Mode=0(LMAC) [ 93.409819] efuse_probe: efuse = 10000012 [ 93.413901] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=4 [ 93.419369] RtmpEepromGetDefault::e2p_dafault=2 [ 93.423988] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 2 [ 93.431663] NVM is FLASH mode [ 93.434734] 1. Phy Mode = 14 [ 93.668183] Country Region from e2p = ffff [ 93.672455] tssi_1_target_pwr_g_band = 33 [ 93.676576] 2. Phy Mode = 14 [ 93.679591] 3. Phy Mode = 14 [ 93.682511] NICInitPwrPinCfg(11): Not support for HIF_MT yet! [ 93.688347] NICInitializeAsic(848): Not support rtmp_mac_sys_reset () for HIF_MT yet! [ 93.696285] mt_mac_init()--> [ 93.699202] MtAsicInitMac()--> [ 93.737153] mt7628_init_mac_cr()--> [ 93.740718] MtAsicSetMacMaxLen(1842): Set the Max RxPktLen=1024! [ 93.746850] <--mt_mac_init() [ 93.749927] WTBL Segment 1 info: [ 93.753284] MemBaseAddr/FID:0x28000/0 [ 93.757179] EntrySize/Cnt:32/128 [ 93.760622] WTBL Segment 2 info: [ 93.763987] MemBaseAddr/FID:0x40000/0 [ 93.767871] EntrySize/Cnt:64/128 [ 93.771312] WTBL Segment 3 info: [ 93.774679] MemBaseAddr/FID:0x42000/64 [ 93.778650] EntrySize/Cnt:64/128 [ 93.782092] WTBL Segment 4 info: [ 93.785458] MemBaseAddr/FID:0x44000/128 [ 93.789519] EntrySize/Cnt:32/128 [ 93.793041] AntCfgInit(3606): Not support for HIF_MT yet! [ 93.798646] MCS Set = ff ff 00 00 01 [ 93.802272] MtAsicSetChBusyStat(1146): Not support for HIF_MT yet! [ 93.972684] SYNC - BBP R4 to 20MHz.l [ 94.669361] SYNC - BBP R4 to 20MHz.l [ 95.269347] SYNC - BBP R4 to 20MHz.l [ 95.921171] SYNC - BBP R4 to 20MHz.l [ 96.899381] SYNC - BBP R4 to 20MHz.l [ 97.499178] SYNC - BBP R4 to 20MHz.l [ 98.099187] SYNC - BBP R4 to 20MHz.l [ 98.699168] SYNC - BBP R4 to 20MHz.l [ 99.299172] SYNC - BBP R4 to 20MHz.l [ 99.893603] [PMF]ap_pmf_init:: apidx=0, MFPC=0, MFPR=0, SHA256=0 [ 99.899711] [PMF]RTMPMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0 [ 99.906007] [PMF]ap_pmf_init:: apidx=1, MFPC=0, MFPR=0, SHA256=0 [ 99.912098] [PMF]RTMPMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0 [ 99.918435] MtAsicSetRalinkBurstMode(4061): Not support for HIF_MT yet! [ 99.925153] MtAsicSetPiggyBack(1081): Not support for HIF_MT yet! [ 99.952259] MtAsicSetTxPreamble(4040): Not support for HIF_MT yet! [ 99.961889] MtAsicAddSharedKeyEntry(1909): Not support for HIF_MT yet! [ 99.971796] MtAsicAddSharedKeyEntry(1909): Not support for HIF_MT yet! [ 99.978542] MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0xf0 [ 99.984760] Main bssid = 94:83:c4:39:4c:08 [ 99.988992] <==== rt28xx_init, Status=0 [ 99.992896] mt7628_set_ed_cca: TURN OFF EDCCA mac 0x10618 = 0xd7083f0f, EDCCA_Status=0 [ 100.001041] WiFi Startup Cost (ra0): 8.640s [ 100.005811] br-lan: port 2(ra0) entered blocking state [ 100.011034] br-lan: port 2(ra0) entered forwarding state [ 100.132403] MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0x0 [ 100.138594] MtAsicSetPiggyBack(1081): Not support for HIF_MT yet! [ 101.377150] tx_kickout_fail_count = 0 [ 101.380877] tx_timeout_fail_count = 0 [ 101.384653] rx_receive_fail_count = 0 [ 101.388363] alloc_cmd_msg = 54 [ 101.391453] free_cmd_msg = 54 [ 101.398352] br-lan: port 2(ra0) entered disabled state [ 101.457904] TX_BCN DESC a7696000 size = 320 [ 101.462217] RX[0] DESC a7698000 size = 2048 [ 101.466870] RX[1] DESC a7699000 size = 1024 [ 101.513489] prepare to get e2p access------------ [ 101.518608] E2pAccessMode=2 [ 101.522245] cfg_mode=9 [ 101.524660] cfg_mode=9 [ 101.527055] wmode_band_equal(): Band Equal! [ 101.535150] APSDCapable[0]=0 [ 101.538071] APSDCapable[1]=0 [ 101.540987] APSDCapable[2]=0 [ 101.543917] APSDCapable[3]=0 [ 101.546835] APSDCapable[4]=0 [ 101.549751] APSDCapable[5]=0 [ 101.552667] APSDCapable[6]=0 [ 101.555597] APSDCapable[7]=0 [ 101.558513] APSDCapable[8]=0 [ 101.561429] APSDCapable[9]=0 [ 101.564360] APSDCapable[10]=0 [ 101.567363] APSDCapable[11]=0 [ 101.570367] APSDCapable[12]=0 [ 101.573372] APSDCapable[13]=0 [ 101.576388] APSDCapable[14]=0 [ 101.579390] APSDCapable[15]=0 [ 101.582396] default ApCliAPSDCapable[0]=0 [ 101.929325] Key1Str is Invalid key length(0) or Type(1) [ 101.934813] Key1Str is Invalid key length(0) or Type(1) [ 101.940450] Key2Str is Invalid key length(0) or Type(1) [ 101.945936] Key2Str is Invalid key length(0) or Type(1) [ 101.951579] Key3Str is Invalid key length(0) or Type(1) [ 101.957064] Key3Str is Invalid key length(0) or Type(1) [ 101.962711] Key4Str is Invalid key length(0) or Type(1) [ 101.968197] Key4Str is Invalid key length(0) or Type(1) [ 102.003222] load fw image from fw_header_image [ 102.007751] AndesMTLoadFwMethod1(2548)::pChipCap->fw_len(63536) [ 102.013755] FW Version: [ 102.013760] _ [ 102.016235] e [ 102.017828] 2 [ 102.019420] _ [ 102.021013] m [ 102.022608] p [ 102.024213] [ 102.025805] [ 102.027397] [ 102.028990] [ 102.030583] [ 102.033690] FW Build Date: [ 102.033694] 2 [ 102.036433] 0 [ 102.038026] 1 [ 102.039619] 5 [ 102.041210] 0 [ 102.042803] 6 [ 102.044410] 2 [ 102.046002] 5 [ 102.047594] 2 [ 102.049188] 1 [ 102.050782] 1 [ 102.052374] 4 [ 102.053984] 2 [ 102.055579] 2 [ 102.057172] [ 102.058765] [ 102.061961] CmdReStartDLRsp: WiFI FW Download Success [ 103.329624] CmdAddressLenReq:(ret = 0) [ 103.334160] CmdFwStartReq: override = 1, address = 1048576 [ 103.339802] CmdStartDLRsp: WiFI FW Download Success [ 103.346113] MtAsicDMASchedulerInit(): DMA Scheduler Mode=0(LMAC) [ 103.352231] efuse_probe: efuse = 10000012 [ 103.356353] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=4 [ 103.361823] RtmpEepromGetDefault::e2p_dafault=2 [ 103.366427] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 2 [ 103.374104] NVM is FLASH mode [ 103.377163] 1. Phy Mode = 14 [ 103.629851] Country Region from e2p = ffff [ 103.649578] tssi_1_target_pwr_g_band = 33 [ 103.653730] 2. Phy Mode = 14 [ 103.656733] 3. Phy Mode = 14 [ 103.659654] NICInitPwrPinCfg(11): Not support for HIF_MT yet! [ 103.665503] NICInitializeAsic(848): Not support rtmp_mac_sys_reset () for HIF_MT yet! [ 103.673436] mt_mac_init()--> [ 103.676367] MtAsicInitMac()--> [ 103.753824] mt7628_init_mac_cr()--> [ 103.757387] MtAsicSetMacMaxLen(1842): Set the Max RxPktLen=1024! [ 103.763472] <--mt_mac_init() [ 103.766604] WTBL Segment 1 info: [ 103.769963] MemBaseAddr/FID:0x28000/0 [ 103.773859] EntrySize/Cnt:32/128 [ 103.777301] WTBL Segment 2 info: [ 103.780658] MemBaseAddr/FID:0x40000/0 [ 103.784567] EntrySize/Cnt:64/128 [ 103.788011] WTBL Segment 3 info: [ 103.791366] MemBaseAddr/FID:0x42000/64 [ 103.795349] EntrySize/Cnt:64/128 [ 103.798792] WTBL Segment 4 info: [ 103.802148] MemBaseAddr/FID:0x44000/128 [ 103.806217] EntrySize/Cnt:32/128 [ 103.809738] AntCfgInit(3606): Not support for HIF_MT yet! [ 103.815343] MCS Set = ff ff 00 00 01 [ 103.818969] MtAsicSetChBusyStat(1146): Not support for HIF_MT yet! [ 104.049813] SYNC - BBP R4 to 20MHz.l [ 105.188252] SYNC - BBP R4 to 20MHz.l [ 105.899307] SYNC - BBP R4 to 20MHz.l [ 106.829332] SYNC - BBP R4 to 20MHz.l [ 107.429178] SYNC - BBP R4 to 20MHz.l [ 108.029184] SYNC - BBP R4 to 20MHz.l [ 108.629179] SYNC - BBP R4 to 20MHz.l [ 109.229192] SYNC - BBP R4 to 20MHz.l [ 109.829189] SYNC - BBP R4 to 20MHz.l [ 110.423616] [PMF]ap_pmf_init:: apidx=0, MFPC=0, MFPR=0, SHA256=0 [ 110.429727] [PMF]RTMPMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0 [ 110.436026] [PMF]ap_pmf_init:: apidx=1, MFPC=0, MFPR=0, SHA256=0 [ 110.442116] [PMF]RTMPMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0 [ 110.448459] MtAsicSetRalinkBurstMode(4061): Not support for HIF_MT yet! [ 110.455180] MtAsicSetPiggyBack(1081): Not support for HIF_MT yet! [ 110.482293] MtAsicSetTxPreamble(4040): Not support for HIF_MT yet! [ 110.491928] MtAsicAddSharedKeyEntry(1909): Not support for HIF_MT yet! [ 110.501912] MtAsicAddSharedKeyEntry(1909): Not support for HIF_MT yet! [ 110.508714] MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0xf0 [ 110.514959] Main bssid = 94:83:c4:39:4c:08 [ 110.519192] <==== rt28xx_init, Status=0 [ 110.523098] mt7628_set_ed_cca: TURN OFF EDCCA mac 0x10618 = 0xd7083f0f, EDCCA_Status=0 [ 110.531237] WiFi Startup Cost (ra0): 9.070s [ 110.536047] br-lan: port 2(ra0) entered blocking state [ 110.541269] br-lan: port 2(ra0) entered forwarding state
OpenWrt bootlog
Notes
Space for additional notes, links to forum threads or other resources.
- GL.iNet uses the original driver “kmod-mt7628” from Mediatek instead of OpenWrt's “mt76”. This has two main implications:
- “beacon_int” wifi-device parameter in “/etc/config/wireless” is named “beacon”. It can range from 40..1000 (*1.024 ms), this is the range the hardware supports. If you try higher values they are ignored and 100 (default) is used.
- The driver (probably) does not support monitor mode.
- as of 2021-11-02 - setting AP txpower to 0, 1 or 2 dBm (/etc/config/wireless) results in a much higher power density (measured) than for 3 dBm. This is independant of the driver used (kmod-mt7628, mt76). Unknown reason.