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 <adr...@freebsd.org>
To: sandeep suresh <sandeep.sur...@yahoo.co.in>
Cc: "ath9k-devel@lists.ath9k.org" <ath9k-devel@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 <sandeep.sur...@yahoo.co.in> 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
>
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel