I'm working on a wireless router and have been set a task to support some wifi cards, namely the Ralink RT5390 and RT2571.
The RT2571 card works perfectly well, I can set it up as an access point, or connect to other access points. I can switch between these two modes and there are no problems.
Then when I try with a new RT5390, the first time I boot everything works fine. But then if I reboot the router the RT5390 won't show up as an access point, or won't connect to another access point. This functionality never returns. All the processes which should be running (hostapd
or wpa_supplicant
) are running as they should be, but it seems like the card isn't transmitting properly.
If I run iw dev scan <ifname of RT5390>
I get no results, but no errors either, the return value of iw
is 0
. In startup I can see that the drivers and firmware file have been loaded properly too, with no errors, and the udev
rules I'm using to rename the network interface are also working fine.
I'm using a buildroot Linux image with Kernel 3.12.9
. I've compiled in the driver module rt2800usb
- as this is the underlying chip on the RT5390. I've also added the appropriate firmware file to /lib/firmware
.
I've checked that power management is set to off
, and also that tx power is set to 20 dbm. I'm running out of ideas for what could be causing this and would appreciate any suggestions.