From: sandeep suresh Date: Thu, 21 Mar 2013 15:06:30 +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> Message-ID: <1363849590.64144.YahooMailNeo@web193506.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 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/20130321/5a67dc76/attachment.htm