From: sandeep suresh Date: Fri, 22 Mar 2013 13:32:48 +0800 (SGT) Subject: [ath9k-devel] AR9287; BT Coexistence with 3-wire In-Reply-To: References: <1360148155.29626.YahooMailNeo@web193503.mail.sg3.yahoo.com> <1360470642.26322.YahooMailNeo@web193505.mail.sg3.yahoo.com> <1363659672.81660.YahooMailNeo@web193505.mail.sg3.yahoo.com> <20130319023034.6642.qmail@stuge.se> <1363693661.63830.YahooMailNeo@web193506.mail.sg3.yahoo.com> <20130319140207.29661.qmail@stuge.se> <1363748413.40725.YahooMailNeo@web193506.mail.sg3.yahoo.com> <1363759432.31214.YahooMailNeo@web193501.mail.sg3.yahoo.com> <1363833612.25375.YahooMailNeo@web193505.mail.sg3.yahoo.com> <1363841986.35980.YahooMailNeo@web193501.mail.sg3.yahoo.com> <1363842429.50725.YahooMailNeo@web193504.mail.sg3.yahoo.com> <1363849590.64144.YahooMailNeo@web193506.mail.sg3.yahoo.com> Message-ID: <1363930368.20988.YahooMailNeo@web193501.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 Mr.Adrian, ????Thanks for your response. ? But with only 2-wire interface, as I understand there are no weights register that can be configured for WiFi and BT? The only means of control is by the BT_ACTIVITY signal. All the following functions in ath9k related to weights and stomp type are handled for 3-wire interface: a. ath9k_hw_btcoex_bt_stomp() b. ath_init_btcoex_timer() c. ath9k_hw_btcoex_set_weight() ? The co-existence that we are planning to use is between a 802.15.4 radio on 2.4GHz and the WiFi module AR9287 module also at the same frequency and on the same board.?And we wanted to look at 3-wire interface as it has more sophisticated control based on stomp_type, weights allocation, priority (BT_PRIORITY) etc. Please advise suitably. ? Thanks & regards Sandeep. ________________________________ From: Adrian Chadd To: sandeep suresh Cc: "ath9k-devel at lists.ath9k.org" Sent: Thursday, 21 March 2013 6:43 PM Subject: Re: AR9287; BT Coexistence with 3-wire Hi, It depends upon the bluetooth device it's attached to. I think it's attached to an AR3011, and that may only support 2 wire. Adrian On 21 March 2013 00:06, sandeep suresh wrote: > Sure Mr. Adrian...that will be of great help. > As AR9287 supports both 2-wire and 3-wire, we thought 3-wire can be used. > Regards > Sandeep. > > From: Adrian Chadd > To: sandeep suresh > Cc: "ath9k-devel at lists.ath9k.org" > Sent: Thursday, 21 March 2013 10:45 AM > Subject: Re: AR9287; BT Coexistence with 3-wire > > I'll have to check this tomorrow. > > It depends on what kind of BT chip was put on the AR9287 combo board > that you have. And I don't know whether it uses 2 wire or 3 wire. > > There's a whole bunch of functions in the reference driver HAL which > tune the BT coexistence parameters. I'll see if I can dig that up too. > > > > Adrian > > On 20 March 2013 22:07, sandeep suresh wrote: >> Hello All, >>? ? In ath9k, only BT co-existence for 2-wire interface is selected for >> AR9287. Please refer to the code section below in btcoex.c. Does that mean >> the 3-wire interface based drivers available for AR9285 and AR9300+ cannot >> be used for AR9287? >> >> if (AR_SREV_9300_20_OR_LATER(ah)) { >>? btcoex_hw->scheme = ATH_BTCOEX_CFG_3WIRE; >>? btcoex_hw->btactive_gpio = ATH_BTACTIVE_GPIO_9300; >>? btcoex_hw->wlanactive_gpio = ATH_WLANACTIVE_GPIO_9300; >>? btcoex_hw->btpriority_gpio = ATH_BTPRIORITY_GPIO_9300; >>? } else if (AR_SREV_9280_20_OR_LATER(ah)) { >>? btcoex_hw->btactive_gpio = ATH_BTACTIVE_GPIO_9280; >>? btcoex_hw->wlanactive_gpio = ATH_WLANACTIVE_GPIO_9280; >>? if (AR_SREV_9285(ah)) { >>? ? btcoex_hw->scheme = ATH_BTCOEX_CFG_3WIRE; >>? ? btcoex_hw->btpriority_gpio = ATH_BTPRIORITY_GPIO_9285; >>? } else { >>? ? btcoex_hw->scheme = ATH_BTCOEX_CFG_2WIRE; >>? } >> >> Regards >> Sandeep >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130322/db1d3792/attachment-0001.htm