Maybe I am doing something wrong, but when I try to flash the firmware on my WR1300 V3.0 I get this error...
what am I doing wrong? unfortunately I couldn't find the page dedicated to v3 (it's always an afterword to v2) so I'm not sure if I'm doing things the right way, any help?
The Cudy firmware on your device is outdated. Maybe it would help to upgrade it to the latest version first.
You don't tell where exactly you got that OpenWrt image, but it seems to be an old or the wrong one. The most recent OpenWrt image from Cudy for WR1300 V2 and V3 (which is needed as an intermediate step before you can install genuine OpenWrt images from openwrt.org) is available here. The OpenWrt image contained in that zip file is dated 2022-09-06 and has a size of about 10 MB.
You can't upgrade directly from the original firmware to OpenWrt, you have to necessarily go through the intermediate firmware that the Cudy people have.
Yes! I forgot to close the thread, but my case was that the firmware offered by Cudy was not available for 2 days so I was in trouble to figure out which firmware we are talking about. Thank you!
Sorry for bumping an older thread. I am running the 23.05 openwrt that I compiled myself (same result with snapshot) on WR1300 V3
However my 5G wifi would only allow up to 3dbm tx, which is pretty bad.
The issue with v3 (I have one) is that their calibration data is wrong so the driver defaults to 3dBm.
I have successfully injected the v2 eeprom data in a v3 device, and it works completely fine.
To do so, you'll need to inject it in the driver either by patching the driver or the dts and compile your own. I'm not sure what the correct way to fix this is so I didn't send a patch upstream.
The way I did it it (which is not a proper way to do it) was:
I've been working on getting an older build of OpenWRT up and running on the Cudy WR1300 v3 hardware and I'm very close, but I'm running into this same issue with the 5Ghz Txpower. I'm running off OpenWRT 19.07 but I'm happy to patch as required to get this power issue resolved.
Can you provide a scrubbed version of the eeprom patch?
iwinfo phy1-ap0 txpowerlist
0 dBm ( 1 mW)
1 dBm ( 1 mW)
2 dBm ( 1 mW)
* 3 dBm ( 1 mW)
iw phy phy1 info
Wiphy phy1
max # scan SSIDs: 4
max scan IEs length: 2304 bytes
max # sched scan SSIDs: 0
max # match sets: 0
max # scan plans: 1
max scan plan interval: 0
max scan plan iterations: 0
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Device supports AP-side u-APSD.
Device supports T-DLS.
Available Antennas: TX 0x3 RX 0x3
Configured Antennas: TX 0x3 RX 0x3
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* P2P-client
* P2P-GO
Band 2:
Capabilities: 0x1ff
RX LDPC
HT20/HT40
SM Power Save disabled
RX Greenfield
RX HT20 SGI
RX HT40 SGI
TX STBC
RX STBC 1-stream
Max AMSDU length: 3839 bytes
No DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: No restriction (0x00)
HT TX/RX MCS rate indexes supported: 0-15
VHT Capabilities (0x338001fa):
Max MPDU length: 11454
Supported Channel Width: 160 MHz, 80+80 MHz
RX LDPC
short GI (80 MHz)
short GI (160/80+80 MHz)
TX STBC
RX antenna pattern consistency
TX antenna pattern consistency
VHT RX MCS set:
1 streams: MCS 0-9
2 streams: MCS 0-9
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT RX highest supported: 0 Mbps
VHT TX MCS set:
1 streams: MCS 0-9
2 streams: MCS 0-9
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT TX highest supported: 0 Mbps
Frequencies:
* 5180 MHz [36] (3.0 dBm)
* 5200 MHz [40] (3.0 dBm)
* 5220 MHz [44] (3.0 dBm)
* 5240 MHz [48] (3.0 dBm)
* 5260 MHz [52] (3.0 dBm) (no IR, radar detection)
* 5280 MHz [56] (3.0 dBm) (no IR, radar detection)
* 5300 MHz [60] (3.0 dBm) (no IR, radar detection)
* 5320 MHz [64] (3.0 dBm) (no IR, radar detection)
* 5500 MHz [100] (3.0 dBm) (no IR, radar detection)
* 5520 MHz [104] (3.0 dBm) (no IR, radar detection)
* 5540 MHz [108] (3.0 dBm) (no IR, radar detection)
* 5560 MHz [112] (3.0 dBm) (no IR, radar detection)
* 5580 MHz [116] (3.0 dBm) (no IR, radar detection)
* 5600 MHz [120] (3.0 dBm) (no IR, radar detection)
* 5620 MHz [124] (3.0 dBm) (no IR, radar detection)
* 5640 MHz [128] (3.0 dBm) (no IR, radar detection)
* 5660 MHz [132] (3.0 dBm) (no IR, radar detection)
* 5680 MHz [136] (3.0 dBm) (no IR, radar detection)
* 5700 MHz [140] (3.0 dBm) (no IR, radar detection)
* 5720 MHz [144] (3.0 dBm) (no IR, radar detection)
* 5745 MHz [149] (3.0 dBm) (no IR)
* 5765 MHz [153] (3.0 dBm) (no IR)
* 5785 MHz [157] (3.0 dBm) (no IR)
* 5805 MHz [161] (3.0 dBm) (no IR)
* 5825 MHz [165] (3.0 dBm) (no IR)
* 5845 MHz [169] (disabled)
* 5865 MHz [173] (disabled)
valid interface combinations:
* #{ IBSS } <= 1, #{ managed, AP, P2P-client, P2P-GO } <= 4,
total <= 4, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz, 80+80 MHz, 160 MHz }
HT Capability overrides:
* MCS: ff ff ff ff ff ff ff ff ff ff
* maximum A-MSDU length
* supported channel width
* short GI for 40 MHz
* max A-MPDU length exponent
* min MPDU start spacing
Supported extended features:
* [ VHT_IBSS ]: VHT-IBSS
* [ RRM ]: RRM
* [ SET_SCAN_DWELL ]: scan dwell setting
* [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
* [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
The eeprom patch was a wrong way to fix this. For older versions of OpenWrt just patch the v2 .dts:
replace &pcie1 with &pcie0
replace &pcie0 with &pcie1
That should be enough for any version except main/snapshot. There additional changes were needed for supporting the new nvram cells subsystem - this is already merged.
The board boots and the readio is detected, but we are stuck with 3dbm of transmit power for the 5Ghz radio which is pretty much unusable. Is there anything that I'm misisng here as to why that would be the case? There aren't any obvious error messages
I had found it in another thread and had tested it in our system, I confirmed it was loading with some debug output and I'm still having the same problem with the low power on the 5Ghz radio. I was hoping there was possibly a change there that I didn't have from the posted one.