OpenWrt Forum Archive

Topic: openwrt on linksys WRT3200ACM

The content of this topic has been archived between 29 Mar 2018 and 24 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I am having issues with openwrt on the WRT3200ACM. Is there anyone who has this running? I have installed "rango". While the firmware loads fine, the wireless performance (speed) seems to be very poor and deteriorates very fast from a reboot. The normal linksys firmware works OK. Any help appreciated.

Thanks,
S

Which firmware do you use? Your own image or downloaded from somewhere? Also can you be a bit more explicit on "very poor"?

Hi,

Firmware downloaded from as the "Mildly Customized Chaos Calmer [CC] Build":

wiki.openwrt.org/toh/linksys/wrt1x00ac_series#tab__wrt3200acm

By very poor I mean that I only get about 15 Bits.s^-1 over the wireless connection and it deteriorates. Plugging an additional access point into the linksys router gives the full bandwidth of that access point.

I confirmed with the OEM firmware from linksys I get the full bandwidth over the wireless.

I suspect the wireless driver, but was looking to see how I can get an update.

This is the details of the wireless driver (kernel mod):

root@OpenWrt:~# opkg list | grep kmod-mwlwifi
kmod-mwlwifi - 3.18.23+10.3.0.16-20160105-1 - Marvell 88W8864 wireless driver
kmod-mwlwifi - 3.18.36+10.3.2.0-20161013-2
root@OpenWrt:~# opkg list_installed | grep kmod-mwlwifi
kmod-mwlwifi - 3.18.36+10.3.2.0-20161013-2

Any help appreciated.

This is the latest wireless driver available. So nothing newer to try. The only report upstream for Rango is wrt VHT160. Also auto channel selection is generally known to not work.

At this point the best you can do is share your configuration and hunt trough the logs for anything suspicious. Maybe you can also single out a specific wireless client for causing the issue.

Thanks Sera, Will do. Can't be a client because I have tested with just one individually.

I am running the exact same build as stuwilkins and see that connections to the router are terminated about every 1 to 2 hours when streaming at about 10 Mbit/s. At the same time I see the following kernel log-message

[20884.220092] ------------[ cut here ]------------
[20884.224854] WARNING: CPU: 1 PID: 2513 at /home/kaloz/dev/openwrt-cc/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/linux-mvebu/compat-wireless-2016-01-10/net/mac80211/agg-tx.c:343 ___ieee80211_stop_tx_ba_session+0x140/0x204 [mac80211]()
[20884.246956] Modules linked in: qcserial pppoe ppp_async iptable_nat cdc_mbim usb_wwan sierra rndis_host qmi_wwan pptp pppox ppp_mppe ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE cdc_ncm cdc_ether armada_thermal xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbserial usbnet ts_kmp ts_fsm ts_bm thermal_sys slhc rtc_armada38x nf_reject_ipv4 nf_nat_masquerade_ipv4 nf_nat_ftp nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_ftp iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt cdc_wdm act_connmark nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress tmp421 pwm_fan hwmon i2c_mv64xxx i2c_dev mwlwifi mac80211 cfg80211 compat ledtrig_usbdev ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables ip_gre gre ifb ip_tunnel tun vfat fat nls_cp437 nls_cp1250 regmap_spi ipv6 sha1_generic mv_cesa ecb des_generic authenc arc4 crypto_blkcipher usb_storage leds_tlc59116 regmap_i2c leds_pca963x i2c_core xhci_plat_hcd xhci_pci xhci_hcd ahci_mvebu sata_mv ahci ehci_orion ehci_platform ehci_hcd sd_mod ahci_platform libahci_platform libahci libata scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common mii aead crypto_hash
[20884.389319] CPU: 1 PID: 2513 Comm: hostapd Tainted: G        W      3.18.36 #18
[20884.396658] Backtrace: 
[20884.399128] [<c001aee0>] (dump_backtrace) from [<c001b100>] (show_stack+0x18/0x1c)
[20884.406726]  r6:00000000 r5:60000013 r4:c0426d08 r3:00000000
[20884.412453] [<c001b0e8>] (show_stack) from [<c018023c>] (dump_stack+0x9c/0xb0)
[20884.419707] [<c01801a0>] (dump_stack) from [<c0026bec>] (warn_slowpath_common+0x78/0x94)
[20884.427828]  r7:00000157 r6:bf2c2270 r5:00000009 r4:00000000
[20884.433553] [<c0026b74>] (warn_slowpath_common) from [<c0026cac>] (warn_slowpath_null+0x24/0x2c)
[20884.442372]  r8:dd9a6864 r7:00000000 r6:00000003 r5:ddb4f940 r4:bf30ccf4
[20884.449191] [<c0026c88>] (warn_slowpath_null) from [<bf2c2270>] (___ieee80211_stop_tx_ba_session+0x140/0x204 [mac80211])
[20884.460142] [<bf2c2130>] (___ieee80211_stop_tx_ba_session [mac80211]) from [<bf2c2730>] (__ieee80211_stop_tx_ba_session+0x38/0x4c [mac80211])
[20884.472885]  r10:df683400 r9:dda0d210 r8:00000000 r7:00000000 r6:00000003 r5:dd9a6800
[20884.480797]  r4:dd9a6c38
[20884.483385] [<bf2c26f8>] (__ieee80211_stop_tx_ba_session [mac80211]) from [<bf2c12d8>] (ieee80211_sta_tear_down_BA_sessions+0x50/0x78 [mac80211])
[20884.496478]  r7:00000003 r6:dd9a6800 r5:00000000 r4:00000001
[20884.502234] [<bf2c1288>] (ieee80211_sta_tear_down_BA_sessions [mac80211]) from [<bf2b8a54>] (ieee80211_sta_eosp+0x218/0x570 [mac80211])
[20884.514454]  r8:00000000 r7:dd9a688c r6:dd0d34c0 r5:de38cb60 r4:dd9a6800
[20884.521267] [<bf2b8a18>] (ieee80211_sta_eosp [mac80211]) from [<bf2bb63c>] (__sta_info_destroy+0x14/0x30 [mac80211])
[20884.531830]  r8:00000000 r7:dd111700 r6:de38c000 r5:dd9a6800 r4:dd0d34c0
[20884.538645] [<bf2bb628>] (__sta_info_destroy [mac80211]) from [<bf2bb6d0>] (sta_info_destroy_addr_bss+0x30/0x48 [mac80211])
[20884.549818]  r5:dda0d220 r4:dd0d34c0
[20884.553462] [<bf2bb6a0>] (sta_info_destroy_addr_bss [mac80211]) from [<bf2ce8ac>] (ieee80211_del_station+0x20/0x30 [mac80211])
[20884.564897]  r5:dd0d3000 r4:dda0d220
[20884.568551] [<bf2ce88c>] (ieee80211_del_station [mac80211]) from [<bf282cf0>] (nl80211_del_station+0xe0/0xf0 [cfg80211])
[20884.579462]  r4:ddf8dc7c r3:bf2ce88c
[20884.583084] [<bf282c10>] (nl80211_del_station [cfg80211]) from [<c029f654>] (genl_rcv_msg+0x2e0/0x380)
[20884.592426]  r6:dda0d200 r5:bf29e7d8 r4:bf2a7090
[20884.597093] [<c029f374>] (genl_rcv_msg) from [<c029ea98>] (netlink_rcv_skb+0x58/0xb4)
[20884.604952]  r10:00000000 r9:00000000 r8:00000000 r7:00000028 r6:c029f374 r5:dd111700
[20884.612863]  r4:dda0d200
[20884.615415] [<c029ea40>] (netlink_rcv_skb) from [<c029f368>] (genl_rcv+0x30/0x3c)
[20884.622926]  r6:dd111700 r5:dd111700 r4:c0439550 r3:00000001
[20884.628649] [<c029f338>] (genl_rcv) from [<c029e404>] (netlink_unicast+0x144/0x230)
[20884.636334]  r5:ddc6e000 r4:df67c800
[20884.639943] [<c029e2c0>] (netlink_unicast) from [<c029e8e8>] (netlink_sendmsg+0x350/0x3ac)
[20884.648238]  r8:00000000 r7:ddc6e000 r6:ddf8ddd8 r5:ddf8df5c r4:00000000
[20884.655021] [<c029e598>] (netlink_sendmsg) from [<c02604c0>] (sock_sendmsg+0x90/0xa4)
[20884.662881]  r10:00000000 r9:00000000 r8:df1f57c0 r7:00000000 r6:ddf8de60 r5:00000028
[20884.670792]  r4:c029e598
[20884.673346] [<c0260430>] (sock_sendmsg) from [<c0261e50>] (___sys_sendmsg.part.4+0x22c/0x240)
[20884.681904]  r4:ddf8df5c
[20884.684458] [<c0261c24>] (___sys_sendmsg.part.4) from [<c0262e28>] (__sys_sendmsg+0x54/0x7c)
[20884.692927]  r10:00000000 r9:ddf8c000 r8:c0009024 r7:00000128 r6:00000000 r5:bef7555c
[20884.700839]  r4:df1f57c0
[20884.703392] [<c0262dd4>] (__sys_sendmsg) from [<c0262e60>] (SyS_sendmsg+0x10/0x14)
[20884.710989]  r6:01640ff0 r5:bef7555c r4:01640ff0
[20884.715657] [<c0262e50>] (SyS_sendmsg) from [<c0008e80>] (ret_fast_syscall+0x0/0x38)
[20884.723587] ---[ end trace 4da9480fc9556bfb ]---

I can confirm that I see the same crashing, also 5GHz only works on channel 32 as per:

github.com/kaloz/mwlwifi/issues/111

Still having problems with radio crashing, anyone have an updated image or is it time to try to build one?

LEDE and owrt @sera patched 4.9-rc4 kernel images with latest mwlwifi. I doubt the latest mwlwifi will address, this but may be worth a try.

I brought the WRT3200ACM because I wanted a new router with customisable firmware. When do you guys think that I'll be able utilise the MU-MIMO and Tri-Stream 160 technologies that this router is born with, using OpenWrt? How long do you think it'll take before I can install it and still have a nice and stable router?
I'm new to custom router firmware, and that's why I don't have any idea of how long it'll take to develop this smile

I have posted an issue on github for the wireless driver, hoping to link together the issues. I am happy to try to debug but have had to plug in my previous router as an AP to run the wireless and run the WRT wireless as a test. The github issue is here:

github.com/kaloz/mwlwifi/issues/118

P.S. Anyone know how to be able to post links (URLs?)

@stuwilkins

Ability to post links is available only after an user's post count reaches a certain number.

nitroshift

There appears to be another bug in the mwlwifi driver merely leading to the client being deauthenticated, which onlyrequires a reconnect in order get things going again. I haven't been able to figure out what triggers the bug. The backtrace is

[  672.367554] WARNING: CPU: 1 PID: 1949 at /home/kaloz/dev/openwrt-cc/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/linux-mvebu/compat-wireless-2016-01-10/net/mac80211/agg-tx.c:394 ___ieee80211_stop_tx_ba_session+0x1f8/0x204 [mac80211]()
[  672.389551] Modules linked in: qcserial pppoe ppp_async iptable_nat cdc_mbim usb_wwan sierra rndis_host qmi_wwan pptp pppox ppp_mppe ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE cdc_ncm cdc_ether armada_thermal xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbserial usbnet ts_kmp ts_fsm ts_bm thermal_sys slhc rtc_armada38x nf_reject_ipv4 nf_nat_masquerade_ipv4 nf_nat_ftp nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_ftp iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt cdc_wdm act_connmark nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress tmp421 pwm_fan hwmon i2c_mv64xxx i2c_dev mwlwifi mac80211 cfg80211 compat ledtrig_usbdev ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables ip_gre gre ifb ip_tunnel tun vfat fat nls_cp437 nls_cp1250 regmap_spi ipv6 sha1_generic mv_cesa ecb des_generic authenc arc4 crypto_blkcipher usb_storage leds_tlc59116 regmap_i2c leds_pca963x i2c_core xhci_plat_hcd xhci_pci xhci_hcd ahci_mvebu sata_mv ahci ehci_orion ehci_platform ehci_hcd sd_mod ahci_platform libahci_platform libahci libata scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common mii aead crypto_hash
[  672.530886] CPU: 1 PID: 1949 Comm: hostapd Not tainted 3.18.36 #18
[  672.537090] Backtrace: 
[  672.539559] [<c001aee0>] (dump_backtrace) from [<c001b100>] (show_stack+0x18/0x1c)
[  672.547157]  r6:00000000 r5:60000013 r4:c0426d08 r3:00000000
[  672.552884] [<c001b0e8>] (show_stack) from [<c018023c>] (dump_stack+0x9c/0xb0)
[  672.560138] [<c01801a0>] (dump_stack) from [<c0026bec>] (warn_slowpath_common+0x78/0x94)
[  672.568260]  r7:0000018a r6:bf2c2328 r5:00000009 r4:00000000
[  672.573984] [<c0026b74>] (warn_slowpath_common) from [<c0026cac>] (warn_slowpath_null+0x24/0x2c)
[  672.582802]  r8:dd96d064 r7:00000000 r6:00000000 r5:de4ede80 r4:dd96d000
[  672.589605] [<c0026c88>] (warn_slowpath_null) from [<bf2c2328>] (___ieee80211_stop_tx_ba_session+0x1f8/0x204 [mac80211])
[  672.600555] [<bf2c2130>] (___ieee80211_stop_tx_ba_session [mac80211]) from [<bf2c2730>] (__ieee80211_stop_tx_ba_session+0x38/0x4c [mac80211])
[  672.613300]  r10:de4c3000 r9:ddad4f10 r8:00000000 r7:00000000 r6:00000003 r5:dd96d000
[  672.621212]  r4:dd96d438
[  672.623800] [<bf2c26f8>] (__ieee80211_stop_tx_ba_session [mac80211]) from [<bf2c12d8>] (ieee80211_sta_tear_down_BA_sessions+0x50/0x78 [mac80211])
[  672.636893]  r7:00000003 r6:dd96d000 r5:00000000 r4:00000001
[  672.642651] [<bf2c1288>] (ieee80211_sta_tear_down_BA_sessions [mac80211]) from [<bf2b8a54>] (ieee80211_sta_eosp+0x218/0x570 [mac80211])
[  672.654871]  r8:00000000 r7:dd96d08c r6:deeb34c0 r5:de378b60 r4:dd96d000
[  672.661684] [<bf2b8a18>] (ieee80211_sta_eosp [mac80211]) from [<bf2bb63c>] (__sta_info_destroy+0x14/0x30 [mac80211])
[  672.672247]  r8:00000000 r7:dd91a340 r6:de378000 r5:dd96d000 r4:deeb34c0
[  672.679061] [<bf2bb628>] (__sta_info_destroy [mac80211]) from [<bf2bb6d0>] (sta_info_destroy_addr_bss+0x30/0x48 [mac80211])
[  672.690235]  r5:ddad4f20 r4:deeb34c0
[  672.693880] [<bf2bb6a0>] (sta_info_destroy_addr_bss [mac80211]) from [<bf2ce8ac>] (ieee80211_del_station+0x20/0x30 [mac80211])
[  672.705316]  r5:deeb3000 r4:ddad4f20
[  672.708967] [<bf2ce88c>] (ieee80211_del_station [mac80211]) from [<bf282cf0>] (nl80211_del_station+0xe0/0xf0 [cfg80211])
[  672.719879]  r4:dda53c7c r3:bf2ce88c
[  672.723501] [<bf282c10>] (nl80211_del_station [cfg80211]) from [<c029f654>] (genl_rcv_msg+0x2e0/0x380)
[  672.732843]  r6:ddad4f00 r5:bf29e7d8 r4:bf2a7090
[  672.737510] [<c029f374>] (genl_rcv_msg) from [<c029ea98>] (netlink_rcv_skb+0x58/0xb4)
[  672.745370]  r10:00000000 r9:00000000 r8:00000000 r7:00000028 r6:c029f374 r5:dd91a340
[  672.753283]  r4:ddad4f00
[  672.755835] [<c029ea40>] (netlink_rcv_skb) from [<c029f368>] (genl_rcv+0x30/0x3c)
[  672.763345]  r6:dd91a340 r5:dd91a340 r4:c0439550 r3:00000001
[  672.769069] [<c029f338>] (genl_rcv) from [<c029e404>] (netlink_unicast+0x144/0x230)
[  672.776753]  r5:df68dc00 r4:df697400
[  672.780362] [<c029e2c0>] (netlink_unicast) from [<c029e8e8>] (netlink_sendmsg+0x350/0x3ac)
[  672.788658]  r8:00000000 r7:df68dc00 r6:dda53dd8 r5:dda53f5c r4:00000000
[  672.795440] [<c029e598>] (netlink_sendmsg) from [<c02604c0>] (sock_sendmsg+0x90/0xa4)
[  672.803300]  r10:00000000 r9:00000000 r8:df238840 r7:00000000 r6:dda53e60 r5:00000028
[  672.811213]  r4:c029e598
[  672.813767] [<c0260430>] (sock_sendmsg) from [<c0261e50>] (___sys_sendmsg.part.4+0x22c/0x240)
[  672.822324]  r4:dda53f5c
[  672.824877] [<c0261c24>] (___sys_sendmsg.part.4) from [<c0262e28>] (__sys_sendmsg+0x54/0x7c)
[  672.833348]  r10:00000000 r9:dda52000 r8:c0009024 r7:00000128 r6:00000000 r5:bed0855c
[  672.841259]  r4:df238840
[  672.843812] [<c0262dd4>] (__sys_sendmsg) from [<c0262e60>] (SyS_sendmsg+0x10/0x14)
[  672.851410]  r6:0052bff0 r5:bed0855c r4:0052bff0
[  672.856078] [<c0262e50>] (SyS_sendmsg) from [<c0008e80>] (ret_fast_syscall+0x0/0x38)
[  672.863892] ---[ end trace 258b7bf9460fc517 ]---

Unrelated to the issues above, I have updated the device tree file to include definitions for the hardware crypto processor and future implementation of the Parser and Classifier driver. I will merge the changes some time this week.

nitroshift

Nitroshift, love your work as always.
Any interest in making the Bluetooth radio available through the DTS?
Also brainslayers comments (GitHub) that our current DTS misdefines several elements. Is this being looked at?

@Lantis

Bluetooth isn't used as such. An update to the dts will be merged these days.

nitroshift

LE: changes submitted.

@stuwilkins

The wireless driver is wrong. Rango uses 88W8964, *not* 88W8864 which is present in the WRT1x00AC series.

nitroshift

@nitroshift

Anything wrong with the dts changes? I just saw you deleted the branch on Github.

@wongsyrone

New branch available. I forgot to add wireless powertables.

nitroshift

LE:

Seems that powertables aren't needed at all as they are hardcoded in the chips. Reverted the change and submitted upstream.

(Last edited by nitroshift on 23 Nov 2016, 18:28)

I've noticed that the power and wireless leds don't work in the latest LEDE r2540-6f77b8d version.

@Chadster766

Have they worked before?

nitroshift

Only with the Linksys firmware.

@Chadster766

Thanks for reporting that. Will have a look at the device tree file and create a pull request to solve this.

nitroshift

Hi,
on LEDE snapshot r2544-a032940 for WRT3200ACM how is the switch configured? swconfig list doesn't list anything

max2344