Re: [ath9k-devel] Atheros AR 9285 antenna diversity

2012-02-15 Thread Mohammed Shafi
please try with the hacked patch and see if it helps more data.. you enable ath9k debug see your dump to hey you could try with the Antenna diversity Ctl1 and ctl2 values Ant. Diversity ctl1 : 11 Ant. Diversity ctl2 : 6 i had produced a debug dump for you instructions http://

Re: [ath9k-devel] Atheros AR 9285 antenna diversity

2012-02-15 Thread Michael Goberman
thanks, i'll try with your registers values. waiting for your updates On Wed, Feb 15, 2012 at 11:21 AM, Mohammed Shafi wrote: > On Tue, Feb 14, 2012 at 5:27 PM, Michael Goberman > wrote: > > Hi, > > hi > > > i added the print to ath9k_hw_fill_cap_info , and i don't see it in > > dmesg. > > it

Re: [ath9k-devel] Atheros AR 9285 antenna diversity

2012-02-15 Thread Mohammed Shafi
On Tue, Feb 14, 2012 at 5:27 PM, Michael Goberman wrote: > Hi, hi > i added the print to  ath9k_hw_fill_cap_info   , and i don't see it in > dmesg. > it tell us that the diversity is disabled in the EEPROM? yes, you could try to override and see if it helps. wait may be i could dump my registe

Re: [ath9k-devel] Atheros AR 9285 antenna diversity

2012-02-14 Thread Michael Goberman
Hi, i added the print to ath9k_hw_fill_cap_info , and i don't see it in dmesg. it tell us that the diversity is disabled in the EEPROM? On Tue, Feb 14, 2012 at 12:26 PM, Mohammed Shafi wrote: > On Sun, Feb 12, 2012 at 3:22 PM, Michael Goberman > wrote: > > Hi, > > i applied the your patch, ex

Re: [ath9k-devel] Atheros AR 9285 antenna diversity

2012-02-14 Thread Mohammed Shafi
On Sun, Feb 12, 2012 at 3:22 PM, Michael Goberman wrote: > Hi, > i applied the your patch, except the change in "ath9k_hw_fill_cap_info" > because i have driver version that doesn't include this if statement... the > output i've got after unplugging the main anenna is : > HELLO AR_PHY_MULTICHAIN_G

Re: [ath9k-devel] Atheros AR 9285 antenna diversity

2012-02-14 Thread Michael Goberman
thanks a lot Adrian , I still see 10% of the networks so it is not TX issue, it is something with diversity i think... maybe Mohammed can get any information from register print I've attached before...it should be some configuration in register... On Mon, Feb 13, 2012 at 8:23 PM, Adrian Chadd wro

Re: [ath9k-devel] Atheros AR 9285 antenna diversity

2012-02-13 Thread Adrian Chadd
On 13 February 2012 00:31, Michael Goberman wrote: > do you know what exactly the commands i need to execute in order to activate > diversity in AR9285 ? No, I can only really help at the driver and chip level. My previous email still stands - I think you need to establish whether the population

Re: [ath9k-devel] Atheros AR 9285 antenna diversity

2012-02-13 Thread Michael Goberman
do you know what exactly the commands i need to execute in order to activate diversity in AR9285 ? On Mon, Feb 13, 2012 at 9:50 AM, Adrian Chadd wrote: > I have no idea whether the mac80211 scan code is doing active probing > in order to populate the scan cache. > > That's what I'd next check ou

Re: [ath9k-devel] Atheros AR 9285 antenna diversity

2012-02-12 Thread Adrian Chadd
I have no idea whether the mac80211 scan code is doing active probing in order to populate the scan cache. That's what I'd next check out. Adrian ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-de

Re: [ath9k-devel] Atheros AR 9285 antenna diversity

2012-02-12 Thread Michael Goberman
Hi, I just want to verify that diversity works, in order to check it i am unplugging the main antenna an expecting to see the same RX, the same number of available networks. for now after unplugging i don't see the most of networks -> those i guess that diversity doesn't work and cause some other p

Re: [ath9k-devel] Atheros AR 9285 antenna diversity

2012-02-12 Thread Adrian Chadd
Hi, Are you wanting actual _TX_ to work? If so, you almost certainly can't unplug the MAIN antenna on an AR9285. Adrian ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] Atheros AR 9285 antenna diversity

2012-02-12 Thread Michael Goberman
Hi, i applied the your patch, except the change in "ath9k_hw_fill_cap_info" because i have driver version that doesn't include this if statement... the output i've got after unplugging the main anenna is : HELLO AR_PHY_MULTICHAIN_GAIN_CTL is 1391395840 ath9k_hw_4k_set_board_values HELLO AR_PHY_CCK_

Re: [ath9k-devel] Atheros AR 9285 antenna diversity

2012-02-12 Thread Michael Goberman
Hi, thanks for your response, i grepped the code under "ath" path for "LNA1" and have found only definitions of: 1.AR_PHY_9285_ANT_DIV_LNA1 2.AR_PHY_9285_ANT_DIV_LNA1_PLUS_LNA2 3.AR_PHY_9285_ANT_DIV_LNA1_MINUS_LNA2 what does it tells us? how can i check whether my board support it or not? (mainly u

Re: [ath9k-devel] Atheros AR 9285 antenna diversity

2012-02-08 Thread Mohammed Shafi
On Tue, Feb 7, 2012 at 7:35 PM, Michael Goberman wrote: > Hi all, Hi, > I have problem with antenna diversity, when i unplug one of two exists > antennas (the main one) i don't receive the same data and don't see the same > networks as when 2 antennas connected --> so i understand that diversity

Re: [ath9k-devel] Atheros AR 9285 antenna diversity

2012-02-08 Thread Adrian Chadd
Hi, The AR9285 by default: * TXes on Main only; * Can RX on both, with the LNA mixing you've described; * Can do RX fast antenna diversity. If for some reason the card vendor has glued an external antenna switch to the AR9285, it'll support TX diversity as well. So you can't just unplug the mai

[ath9k-devel] Atheros AR 9285 antenna diversity

2012-02-07 Thread Michael Goberman
Hi all, I have problem with antenna diversity, when i unplug one of two exists antennas (the main one) i don't receive the same data and don't see the same networks as when 2 antennas connected --> so i understand that diversity doesn't work. I was told that diversity should be enabled by default,