Re: [OpenWrt-Devel] [ath9k-devel] ath9k: Deaf QCA9558 when setting rxchainmask

2013-11-18 Thread Sujith Manoharan
Matthias May wrote: > root@CHD500279:/# echo 0x40d8 > > /sys/kernel/debug/ieee80211/phy6/ath9k/regidx > root@CHD500279:/# cat /sys/kernel/debug/ieee80211/phy6/ath9k/regval > 0x0004 > > On another device showing the same behaviour (but with various other > patches and based on compat-wireless

Re: [OpenWrt-Devel] [ath9k-devel] ath9k: Deaf QCA9558 when setting rxchainmask

2013-11-18 Thread Sujith Manoharan
Matthias May wrote: > I'm in the position where i want to use a 9390 as 2x2 instead of 3x3. > I use backports-3.12-1. > I've set the rx and tx mask in eeprom to 0x5. 0x5 is not a valid chainmask on AR9390. The official statement is: "We intentionally didn’t productize the chain mask of 0x5 on AR9

Re: [OpenWrt-Devel] [ath9k-devel] ath9k: Deaf QCA9558 when setting rxchainmask

2013-11-18 Thread Sujith Manoharan
Matthias May wrote: > I'm in the position where i want to use a 9390 as 2x2 instead of 3x3. > I use backports-3.12-1. > I've set the rx and tx mask in eeprom to 0x5. > Every 30 seconds there is a short disconnect. > Enabling some logging in > echo "0x050C" > /sys/kernel/debug/ieee80211/phy0/ath

Re: [OpenWrt-Devel] [ath9k-devel] ath9k: Deaf QCA9558 when setting rxchainmask

2013-11-14 Thread Sujith Manoharan
Alex Hacker wrote: > Thank you Sujith. Probably I understood the following patch in a wrong way. > Felix removed all chain masks checking. If the mask 5 is invalid, how about > the mask 4 and 6? The patch is correct. For calibration, the mask that is calibrated in the EEPROM has to be used. Even i

Re: [OpenWrt-Devel] [ath9k-devel] ath9k: Deaf QCA9558 when setting rxchainmask

2013-11-11 Thread Sujith Manoharan
Sven Eckelmann wrote: > You are talking about ar9003_phy.c -> ar9003_hw_set_chain_masks? No, the > device is 3x3 and ah->caps.tx_chainmask & ah->caps.rx_chainmask are 7 and not > 5. The AR_PHY_ANALOG_SWAP := AR_PHY_SWAP_ALT_CHAIN is only done when one of > them would be 5. But I am not really su

Re: [OpenWrt-Devel] [ath9k-devel] ath9k: Deaf QCA9558 when setting rxchainmask

2013-11-11 Thread Sven Eckelmann
On Friday 08 November 2013 18:33:19 Adrian Chadd wrote: > Hm, is the 0x5 chainmask triggering the ALT_CHAIN logic? You are talking about ar9003_phy.c -> ar9003_hw_set_chain_masks? No, the device is 3x3 and ah->caps.tx_chainmask & ah->caps.rx_chainmask are 7 and not 5. The AR_PHY_ANALOG_SWAP := A

Re: [OpenWrt-Devel] [ath9k-devel] ath9k: Deaf QCA9558 when setting rxchainmask

2013-11-08 Thread Adrian Chadd
Hm, is the 0x5 chainmask triggering the ALT_CHAIN logic? What are you trying to do? Control the receive antenna config, or the transmit antenna config? -a On 8 November 2013 16:32, Julius Schulz-Zander wrote: > Hi Sven, > > I've asked nbd about this some time ago. It doesn't work if you have

Re: [OpenWrt-Devel] [ath9k-devel] ath9k: Deaf QCA9558 when setting rxchainmask

2013-11-08 Thread Julius Schulz-Zander
Hi Sven, I've asked nbd about this some time ago. It doesn't work if you have gaps in the chain mask! Try chain mask 3 (110) and it should work with 2x2. Regards, -Julius On 06.11.2013, at 16:04, Sven Eckelmann wrote: > Hi, > > I've needed to test some problems with a QCA9558 Rev 0 based 3x