OpenWrt support for Linksys MX4200

I cant get it since fw isnt available for download

We must use these BDF files to have the correct radio configuration.
FCC and EU BDFs for v2 are identical (only country code is different).
For v1, one extra byte is different in addition to the country code.

I don't know if the country code stored in the calibration data on the art partition must match the code in the BDF file.

So we'll just use unmodified FCC

1 Like

I was thinking along the lines of using an intermediate router with port mirroring enabled to inspect the traffic while letting it update. We might be able to get the URL that we need to download it. If you let it update, would you able able to extract anything useful with serial access?

Yeah you can do that, I can extract it no problem

US letting it settle for very long time

iwinfo
phy0-ap0  ESSID: "xxx"
          Access Point: 80:69:1A:xx:xx:xx
          Mode: Master  Channel: 60 (5.300 GHz)  HT Mode: HE80
          Center Channel 1: 58 2: unknown
          Tx-Power: 22 dBm  Link Quality: 54/70
          Signal: -56 dBm  Noise: -108 dBm
          Bit Rate: 15.0 MBit/s
          Encryption: WPA2 PSK (CCMP)
          Type: nl80211  HW Mode(s): 802.11ac/ax/n
          Hardware: embedded [Qualcomm Atheros IPQ8074]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

phy1-ap0  ESSID: "xxx"
          Access Point: 80:69:1A:xx:xx:xx
          Mode: Master  Channel: 4 (2.427 GHz)  HT Mode: HE20
          Center Channel 1: 4 2: unknown
          Tx-Power: 26 dBm  Link Quality: 68/70
          Signal: -42 dBm  Noise: -106 dBm
          Bit Rate: 44.2 MBit/s
          Encryption: WPA2 PSK (CCMP)
          Type: nl80211  HW Mode(s): 802.11ax/b/g/n
          Hardware: embedded [Qualcomm Atheros IPQ8074]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy1

phy2-ap0  ESSID: "xxx"
          Access Point: 80:69:1A:xx:xx:xx
          Mode: Master  Channel: 169 (5.845 GHz)  HT Mode: HE80
          Center Channel 1: 171 2: unknown
          Tx-Power: 27 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -109 dBm
          Bit Rate: unknown
          Encryption: WPA2 PSK (CCMP)
          Type: nl80211  HW Mode(s): 802.11ac/ax/n
          Hardware: embedded [Qualcomm Atheros IPQ8074]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy2

I recently installed stock 2.0.5.210442 and when I updated from CA it installed CF 2.0.7.213542

Hmm, I have 2.0.6 but not 2.0.7, would have to be extracted off the router manually

I haven't got that kind of access to the router but I will investigate the port mirroring approach using an intermediate router sitting between the ONT and the MX4200. I feel there is a chance that we can get the URL used to download 2.0.7.213542 but it'll depend on how much is encrypted during the upgrade process.

Regarding the FCC Vs EU BDF saga, I know they're supposed to be the same but the last one that you shared with me doesn't work well for me. I get lots of ath11k c000000.wifi: failed to flush transmit queue, data pkts pending errors under heavy traffic, particularly using Teams, and video calls drop constantly.

So far the BDF that gave me better results was the EU version that lytr shared here.

I'll keep testing and report back.

That failed to flush is quite normal and is happening to alot of ath11k devices

phy0-ap0  ESSID: "XXX"
          Access Point: 00:03:7F:xx:xx:xx
          Mode: Master  Channel: 36 (5.180 GHz)  HT Mode: HE80
          Center Channel 1: 42 2: unknown
          Tx-Power: 23 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: 8 dBm
          Bit Rate: unknown
          Encryption: WPA2 PSK (CCMP)
          Type: nl80211  HW Mode(s): 802.11ac/ax/n
          Hardware: embedded [Qualcomm Atheros IPQ8074]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

phy1-ap0  ESSID: "XXX"
          Access Point: 00:03:7F:xx:xx:xx
          Mode: Master  Channel: 1 (2.412 GHz)  HT Mode: HE20
          Center Channel 1: 1 2: unknown
          Tx-Power: 20 dBm  Link Quality: 49/70
          Signal: -61 dBm  Noise: -103 dBm
          Bit Rate: 78.0 MBit/s
          Encryption: WPA2 PSK (CCMP)
          Type: nl80211  HW Mode(s): 802.11ax/b/g/n
          Hardware: embedded [Qualcomm Atheros IPQ8074]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy1

Funny thing is that I get them non-stop with FCC and I've only had it once with EU when I rebooted the router last night, and I've on Teams calls all morning. As I said, I'll keep testing and see what works best for me at least.

Hmm ok, I'll wait for your call

still stuck at 5dbm on US

@SpectreDev @innovara Can you check the version from this branch: https://github.com/testuser7/openwrt/tree/mx4200-dev ?

Hi @lytr, I can try to build the firmware image (though it will be the first time I will try to build the openwrt image so may take bit longer) and test it on MX4200v2.

Would that help?

It compiles and it boots which is a good start :laughing:

I've bee using it for about 4h. Everything is looking all right. Is there anything you want to test / see in particular?

I do however get more ath11k c000000.wifi: failed to flush transmit queue, data pkts pending errors than I get with EU BDF so I assume you've used FCC?

It's probably the generic one

Check if WiFi works properly by setting different countries.
EU and FCC BDFs are the same in this case. This error is unrelated to this.

You can do it if you want :slight_smile: