Linksys WRT-1900AC v1 (mvebu & mwlwifi).
mwlwifi isn't working anymore, so I took out the PCIe cards and installed an Atheros AR9382 (AR5BHB116). I build a firmware image with ath9k. The card is detected, but it's not working properly. These are the relevant messages from the kernel log:
<6>[ 0.179559] pci 0000:02:00.0: [168c:0030] type 00 class 0x028000
<6>[ 0.179591] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x0001ffff 64bit]
<6>[ 0.179631] pci 0000:02:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
<6>[ 0.179726] pci 0000:02:00.0: supports D1
<6>[ 0.179736] pci 0000:02:00.0: PME# supported from D0 D1 D3hot
<6>[ 0.209412] PCI: bus2: Fast back to back transfers enabled
<6>[ 0.209428] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
<6>[ 0.211172] pci 0000:02:00.0: BAR 0: assigned [mem 0xf8100000-0xf811ffff 64bit]
<3>[ 0.211187] pci 0000:02:00.0: BAR 0: error updating (0xf8100004 != 0xffffffff)
<3>[ 0.211199] pci 0000:02:00.0: BAR 0: error updating (high 0x000000 != 0xffffffff)
<6>[ 0.211211] pci 0000:02:00.0: BAR 6: assigned [mem 0xf8120000-0xf812ffff pref]
<3>[ 0.211374] pci 0000:02:00.0: Failed attempting to set the MPS
<6>[ 0.211384] pci 0000:02:00.0: Max Payload Size set to 128/ 128 (was 128), Max Read Rq 128
...
<6>[ 19.066029] ath9k 0000:02:00.0: enabling device (0000 -> 0002)
<3>[ 19.072055] ath: phy0: Failed to read SREV register
<3>[ 19.072064] ath: phy0: Could not read hardware revisions
<3>[ 19.076958] ath: phy0: Unable to initialize hardware; initialization status: -95
<3>[ 19.089757] ath9k 0000:02:00.0: Failed to initialize device
<4>[ 19.095367] ath9k: probe of 0000:02:00.0 failed with error -95
Any advice?
Thanks.