From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wg0-f50.google.com ([74.125.82.50]:42889 "EHLO mail-wg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1162202Ab3DERhE (ORCPT ); Fri, 5 Apr 2013 13:37:04 -0400 Received: by mail-wg0-f50.google.com with SMTP id k13so3982126wgh.17 for ; Fri, 05 Apr 2013 10:37:02 -0700 (PDT) MIME-Version: 1.0 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> Date: Fri, 5 Apr 2013 10:37:02 -0700 Message-ID: (sfid-20130405_193709_423559_CFEC3032) Subject: Re: [ath9k-devel] AR9287 ; 2-wire coexistence expected behavior From: Adrian Chadd To: sandeep suresh Cc: Sujith Manoharan , ath9k-devel , "linux-wireless@vger.kernel.org" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: Ok, so what I've discovered: The weight registers in pre-ar9300 chips are pairs of 2 bit registers that map to some internal state inside the MAC. Ie, if state is "X", then weight is "Y". The MAC then compares the WLAN and BT weights; if WLAN >= BT, WLAN wins. I'll see if I can polish this up and dump some register description online for these coexistence registers. There's only like, 3 major ones for AR9285/AR9287 (and then various ancillaries) that are involved in basic BT coexistence. AR9380 and later have larger weight tables because (a) their weight values are bigger than 2 bits I Think? and (b) there's more internal states to take into account. But 2-wire and 3-wire coexistence is essentially the same. MCI (with lots of message passing around) is where that changed. Thanks, Adrian From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian Chadd Date: Fri, 5 Apr 2013 10:37:02 -0700 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: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Ok, so what I've discovered: The weight registers in pre-ar9300 chips are pairs of 2 bit registers that map to some internal state inside the MAC. Ie, if state is "X", then weight is "Y". The MAC then compares the WLAN and BT weights; if WLAN >= BT, WLAN wins. I'll see if I can polish this up and dump some register description online for these coexistence registers. There's only like, 3 major ones for AR9285/AR9287 (and then various ancillaries) that are involved in basic BT coexistence. AR9380 and later have larger weight tables because (a) their weight values are bigger than 2 bits I Think? and (b) there's more internal states to take into account. But 2-wire and 3-wire coexistence is essentially the same. MCI (with lots of message passing around) is where that changed. Thanks, Adrian