Hi, I have successfully installed OpenWRT on NR7101 and currently using MBIM mode as I've read that QMI mode will crash the usb on speeds more than 200mbps.
Now I have some questions:
How come the stock Zyxel Firmware can use QMI mode for the modem but openWRT cannot, since Zyxel's fw seems to be some locked-up version of OpenWRT
Why is there so different performance between QMI on stock Zyxel Firmware vs MBIM mode on OpenWRT? The NR7101 cannot keep a good CA on MBIM (B3 or B7 + N28) while on stock firmware QMI I get B3 + CA B1+B7+B20 + N28
You are right, but I have no experience in this software engineering domain, however, since I do own the device, I will be more than happy to somehow assist, if someone puts me in the right direction.
The stock firmware use QMI with buffering/aggregation (QMAP). This is not yet supported with OpenWrt. Using MBIM will achieve the same and is preferred anyway. Much easier to set up and use.
Note that mode only affects framing in practice. All the useful QMI configuration and monitoring requests are available in either mode, with proper tools. For example:
But that's not a problem which is likely to be solved unless someone figures out what stock and we do differently. And it's not something I'd know how to reproduce. I guess that goes for others as well.
Which means that if this is going to be solved, then it's probably up to you to poke around the stock firmware and see if there is any trick we can pick up from them.
Note that you can run most AT commands on stock firmware using the atcmd command:
root@NR7101:~# atcmd /dev/ttyUSB3 ATI
Quectel
RG502Q-EA
Revision: RG502QEAACR13A02M4G_ZYXEL
OK