From mboxrd@z Thu Jan 1 00:00:00 1970 From: sandeep suresh Date: Fri, 5 Jul 2013 22:45:49 +0800 (SGT) Subject: [ath9k-devel] AR9287 ; 2-wire coexistence expected behavior In-Reply-To: References: <515A0847.7000306@gmail.com> <1365088789.89181.YahooMailNeo@web193504.mail.sg3.yahoo.com> <1365131280.68622.YahooMailNeo@web193506.mail.sg3.yahoo.com> <1365148844.61162.YahooMailNeo@web193503.mail.sg3.yahoo.com> <1365152761.13005.YahooMailNeo@web193505.mail.sg3.yahoo.com> <20830.46610.23754.783231@gargle.gargle.HOWL> <1365175482.75704.YahooMailNeo@web193505.mail.sg3.yahoo.com> <1365346495.79596.YahooMailNeo@web193506.mail.sg3.yahoo.com> <1366084534.24187.YahooMailNeo@web193501.mail.sg3.yahoo.com> <1366194814.88121.YahooMailNeo@web193506.mail.sg3.yahoo.com> <1366248389.18545.YahooMailNeo@web193503.mail.sg3.yahoo.com> <1366281249.7026.YahooMailNeo@web193504.mail.sg3.yahoo.com> <1369118418.41680.YahooMailNeo@web193504.mail.sg3.yahoo.com> <1369201780.73721.YahooMailNeo@web193506.mail.sg3.yahoo.com> <1372140589.84426.YahooMailNeo@web193506.mail.sg3.yahoo.com> Message-ID: <1373035549.60009.YahooMailNeo@web193504.mail.sg3.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hello Kamran & All, ????Thanks for this information. Please let me know how I can commit changes to the mainline of the code base; I have the changes submitted below. Regards Sandeep Suresh ________________________________ From: Kamran Nishat To: Cc: ath9k-devel ; "linux-wireless at vger.kernel.org" Sent: Thursday, 4 July 2013 3:54 AM Subject: Re: [ath9k-devel] AR9287 ; 2-wire coexistence expected behavior Hi Do u know ar5416 does support Message in Message (MIM) in case of interfering signals Carrier Sense. MIM means ?means if ?a recv is looked on one packet and another packet is started coming with higher strength. many Atheros cards leave the weaker signal and start recv the new stronger signal. Kamran On Tue, Jun 25, 2013 at 11:09 AM, sandeep suresh wrote: Good morning all, >????First I would like to thank once again for your help on this topic. >I am submitting the patches/changes here; requesting again your help on merging to the mainline code. Please let me know how I can commit changes to the mainline of the code base >? >a. Changes in btcoex.c >??? Add the following lines in ath9k_hw_btcoex_enable_2wire() >? >REG_WRITE(ah, AR_BT_COEX_MODE, btcoex_hw->bt_coex_mode); >?REG_WRITE(ah, AR_BT_COEX_MODE2, btcoex_hw->bt_coex_mode2); >??? REG_WRITE(ah, AR_BT_COEX_WEIGHT, btcoex_hw->bt_coex_weights); >? >b. Changes in btcoex.c >??? In the function, ath9k_hw_btcoex_bt_stomp(), under the switch case ATH_BTCOEX_STOMP_ALL, replace the line? >? >?? ath9k_hw_btcoex_set_weight(ah, AR_BT_COEX_WGHT,? AR_STOMP_ALL_WLAN_WGHT); >? >??? with the following >? >??? ath9k_hw_btcoex_set_weight(ah, 0xffff, 0x0000); > >Thanks & regards >Sandeep Suresh >From: sandeep suresh >To: Adrian Chadd >Cc: ath9k-devel ; "linux-wireless at vger.kernel.org" >Sent: Wednesday, 22 May 2013 11:19 AM >Subject: Re: [ath9k-devel] AR9287 ; 2-wire coexistence expected behavior > > > >Hello Mr.Adrian, >????Thanks for your comments. >? >In fact I have used the same ath9k code available and called the initialization for 2-wire coexistence that was missing. I will test further (the following aspects)and commit the code with some documentation so that it will be useful for the community. >? >Can you please further help me: >1. Commands to enable hostapd logging whichwill log the MLME events. >2. How can I enable missed beacon transmit events? Does it get automatically enabled during "modprobe ath9k diag=0xFFFFFFFF" ? > > >Thanks & regards >Sandeep Suresh >From: Adrian Chadd >To: sandeep suresh >Cc: ath9k-devel ; "linux-wireless at vger.kernel.org" >Sent: Tuesday, 21 May 2013 8:03 PM >Subject: Re: [ath9k-devel] AR9287 ; 2-wire coexistence expected behavior > > >Hi! > >On 20 May 2013 23:40, sandeep suresh wrote: >> Hello Mr.Adrian, >>? ? Greetings! I resumed my experiments with 2-wire co-existence with AR9287 >> in WiFi AP mode. >> I was able to see that WLAN_STATUS signal being suppressed when BT_ACTIVE is >> enabled. I used a 100ms On and 100ms Off (Period = 200ms; 50% dc) for >> BT_ACTIVE. Just want to confirm the following before ensuring that I am >> seeing the expected behavior: >> >Cool! Can you share some code and register settings to enable this? > >> 1. As I am running the WiFi AP with co-existence, other WiFi clients are >> connected to my AP. by means of diagnsosis (I have enabled diagnosis with >> modprobe ath9k btcoex_enabled=1 diag=0xffffffff), how can I find out if any >> WiFi clients are loosing connection and re-connecting back to AP. > >I think you should enable hostapd logging. That will log the MLME events. > >> 2. How can I come to know if any of the beacons in WiFi AP mode are getting >> missed? Diagnosis messages that I can look at. > >You can look for missed beacon transmit events. That should tell you >if you're missing beacon transmission at all. > >> 3. As diagnosis is enabled I see the following....is this a concern as there >> is disable and enable of IER? >> <7>ath: disable IER >> <7>ath: AR_IMR 0x918104b0 IER 0x1 >> <7>ath: tx queue 2 (4bfc09c4), link ffde09c4 >> <7>ath: enable IER >> <7>ath: Enable TXE on queue: 2 >> <7>ath: disable IER >> <7>ath: AR_IMR 0x918104b0 IER 0x1 > >That's fine. That's what ath9k does with interrupts. :-) > >> 4. How can I come to know if the ath9k drivers are getting reset and >> reinitializing? > >There's a hw reset routine that gets called. You can just look for the >logging from that, or add a printk() yourself. > > > >Adrian > > > >_______________________________________________ >ath9k-devel mailing list >ath9k-devel at lists.ath9k.org >https://lists.ath9k.org/mailman/listinfo/ath9k-devel > > > >_______________________________________________ >ath9k-devel mailing list >ath9k-devel at lists.ath9k.org >https://lists.ath9k.org/mailman/listinfo/ath9k-devel > > _______________________________________________ ath9k-devel mailing list ath9k-devel at lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130705/8ab04ec4/attachment.htm