From mboxrd@z Thu Jan 1 00:00:00 1970 From: sandeep suresh Date: Sun, 7 Apr 2013 22:54:55 +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> Message-ID: <1365346495.79596.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 Hello Mr.Adrian and Mr.Sujith, ????Thanks for your responses. In order to ensure that all of us are on the same page and referring to the same code base, some queries: ? 1. Please let me know you are referring to freebsd.org or linuxwireless.org drivers? Because you are referring to Kite & Kiwi which are in FreeBSD. ?? FreeBSD --> http://svn.freebsd.org/base/head/sys/ ?? Ath9k --> http://linuxwireless.org/en/users/Drivers/ath9k ?? Because currently I am using ath9k drivers only from linuxwireless.org. ? 2. Which version of ath9k driver is stable & complete from 2-wire/3-wire coexistence? The reason for this query is that I downloaded compat-wireless-3.6.8-1 which contains the function ath9k_start_btcoex() in which the Weight register is initialized. But this function is not available in some of the stable versions of ath9k which I am using. ? 3. What exactly are Kite and Kiwi? Are these third party modules using AR9287 Atheros chipsets? I did not see this in linuxwireless.org but only in FreeBSD. ? 4. Just wanted to confirm if the address of the weight register that you are mentioning below for 2-wire coexistence is : AR_BT_COEX_WEIGHT (0x8174) ? 5. Just wanted to cross check if the weight register mentioned is for 2-wire coexistence? The reason for this doubt is I see bt_freq, bt_prio bits ?? in BT weight register and these bits are relevant to BT_FREQUENCY and BT_PRIORITY lines which are relevant for 3-wire coexistence? Thanks & regards Sandeep. ________________________________ From: Adrian Chadd To: sandeep suresh Cc: Sujith Manoharan ; ath9k-devel ; "linux-wireless at vger.kernel.org" Sent: Saturday, 6 April 2013 4:06 AM Subject: Re: [ath9k-devel] AR9287 ; 2-wire coexistence expected behavior Right. So the weight table for Kite/Kiwi: wait_beacon | qcu_priority | rx_clear | wlan level 0 | 0 | 0 | wlan_weight[0:1] 0 | 0 | 1 | wlan_weight[3:2] 0 | 1 | 0 | wlan_weight[5:4] 0 | 1 | 1 | wlan_weight[7:6] 1 | 0 | 0 | wlan_weight[9:8] 1 | 0 | 1 | wlan_weight[11:10] 1 | 1 | 0 | wlan_weight[13:12] 1 | 1 | 1 | wlan_weight[15:14] bt_priority | bt freq | bt_tx_rx | bt_level 0 | 0 | 0 | bt_weight[0:1] 0 | 0 | 1 | bt_weight[3:2] 0 | 1 | 0 | bt_weight[5:4] 0 | 1 | 1 | bt_weight[7:6] 1 | 0 | 0 | bt_weight[9:8] 1 | 0 | 1 | bt_weight[11:10] 1 | 1 | 0 | bt_weight[13:12] 1 | 1 | 1 | bt_weight[15:14] wait_beacon is whether we're waiting for a beacon in STA mode. No idea how this works in hostap mode, but see below. qcu_priority is whether it's a low or high queue priority.? Any queue above the "queue threshold" value in one of the BT config registers (see the source) is a high priority queue and is 1 here. rx_clear is whether we're busy bt_priority - the bt priority line bt_freq - no idea bt_tx_rx - whether the BT module is transmitting (3 wire only I guess, irrelevant for 2 wire) I hope that's enough to get started on what you're trying to achieve. Please share your results! Adrian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130407/3d12c637/attachment.htm