Hi Anisse, On Wed, Apr 18, 2012 at 00:37, Anisse Astier <anisse@xxxxxxxxx> wrote: > Ok, I've found a solution. > > After looking into the latest ralink release, for chipset 5572, I saw > that rt5390 support was updated. And that support for the chip with rev > 1502 was added, named RT5390R. > The only difference with "normal" 5390 is that this one supports hardware > antenna diversity, so the driver should tell the card which antenna to > use by default (the main one in my case). > This is replicated in the patch below, which has been tested on both > working and non-working 1502s, and is proving to work quite well. That would explain it - I'm guessing the non-working 1502s have their antennas set up "wrongly" by default. > I still don't know how to integrate this properly with rt2800pci's > antenna diversity code, since this is the first chipset to have hardware > antenna diversity in the rt2800 family (others had it in rt61 and rt73 > for example). I think the patch you sent is a reasonable workaround (with an appropriate comment explaining what's happening) while proper antenna diversity support is added. Thanks, -- Julian Calaby Email: julian.calaby@xxxxxxxxx Profile: http://www.google.com/profiles/julian.calaby/ .Plan: http://sites.google.com/site/juliancalaby/ -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html