On 2011-12-02 10:02 AM, Marek Lindner wrote: > On Friday, December 02, 2011 16:57:19 Felix Fietkau wrote: >> > iw phy phy0 set antenna 1 2 >> > command failed: Invalid argument (-22) >> > >> > Maybe the command is incomplete ? >> >> When you run iw phy0 info, what does it show under "Available Antennas"? > > iw phy0 info: > Available Antennas: TX 0 RX 0 > > >> > No, although the AR9285 is a 1x2 device only one antenna port is wired. >> > Nothing on the board or anything. By the way, this is common practice - >> > just look at the Ubiquiti devices ... >> >> Sure, I wasn't questioning the validity of connecting only one port. >> Just sometimes the EEPROM claims to have two antennas while the hardware >> only has one. > > Out of curiosity: Since ath9k works without your patch what makes you think > it > is an EEPROM problem ? Before your patch came there was only the EEPROM > setting and nothing else. Since I didn't have all information yet, I've been looking into various hypothetical scenarios in which the patch could fail. One of those scenarios was EEPROM indicating multiple antennas, but based on the other bit of information above, that does not seem to be the case.
I think I now have an idea what could be the issue. I'll hack up a patch and send it to you for testing. - Felix _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel