Re: [OpenWrt-Devel] antenna regression with recent mac80211

2011-12-03 Thread Marek Lindner
On Saturday, December 03, 2011 17:31:24 Felix Fietkau wrote: > > root@OpenWrt:/# iw phy phy0 set antenna 1 2 > > command failed: Invalid argument (-22) > > root@OpenWrt:/# iw phy phy0 set antenna 1 1 > > command failed: Operation not supported (-122) > > Please try the attached patch. That fixes

Re: [OpenWrt-Devel] antenna regression with recent mac80211

2011-12-03 Thread Felix Fietkau
On 2011-12-02 2:23 PM, Marek Lindner wrote: > On Friday, December 02, 2011 17:51:48 Felix Fietkau wrote: >> Actually, now that I think about it, I can't come up with any lilely >> scenario with my patches where the available antennas would show up as 0 >> for tx and rx. Are you sure you gave me thi

Re: [OpenWrt-Devel] antenna regression with recent mac80211

2011-12-02 Thread Marek Lindner
On Friday, December 02, 2011 17:51:48 Felix Fietkau wrote: > Actually, now that I think about it, I can't come up with any lilely > scenario with my patches where the available antennas would show up as 0 > for tx and rx. Are you sure you gave me this info when running a driver > without your rever

Re: [OpenWrt-Devel] antenna regression with recent mac80211

2011-12-02 Thread Felix Fietkau
On 2011-12-02 10:06 AM, Marek Lindner wrote: > On Friday, December 02, 2011 17:05:01 Felix Fietkau wrote: >> > 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. >

Re: [OpenWrt-Devel] antenna regression with recent mac80211

2011-12-02 Thread Marek Lindner
On Friday, December 02, 2011 17:05:01 Felix Fietkau wrote: > > 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

Re: [OpenWrt-Devel] antenna regression with recent mac80211

2011-12-02 Thread Felix Fietkau
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 An

Re: [OpenWrt-Devel] antenna regression with recent mac80211

2011-12-02 Thread Marek Lindner
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

Re: [OpenWrt-Devel] antenna regression with recent mac80211

2011-12-02 Thread Felix Fietkau
On 2011-12-02 9:01 AM, Marek Lindner wrote: > On Friday, December 02, 2011 15:31:43 Felix Fietkau wrote: >> > when I upgraded my trunk to a fairly recent version (rev. 29333) I >> > noticed wifi became practically unusable on my AR9285 device. I spend a >> > good deal of the day bisecting the recen

Re: [OpenWrt-Devel] antenna regression with recent mac80211

2011-12-02 Thread Marek Lindner
On Friday, December 02, 2011 15:31:43 Felix Fietkau wrote: > > when I upgraded my trunk to a fairly recent version (rev. 29333) I > > noticed wifi became practically unusable on my AR9285 device. I spend a > > good deal of the day bisecting the recent ath9k changes to identify the > > culprit: 43c3

Re: [OpenWrt-Devel] antenna regression with recent mac80211

2011-12-01 Thread Felix Fietkau
On 2011-12-01 11:54 PM, Marek Lindner wrote: > > Hi, > > when I upgraded my trunk to a fairly recent version (rev. 29333) I noticed > wifi became practically unusable on my AR9285 device. I spend a good deal of > the day bisecting the recent ath9k changes to identify the culprit: > 43c3528430b