1237611Sadrian/* 2237611Sadrian * Copyright (c) 2011 Atheros Communications, Inc. 3237611Sadrian * 4237611Sadrian * Permission to use, copy, modify, and/or distribute this software for any 5237611Sadrian * purpose with or without fee is hereby granted, provided that the above 6237611Sadrian * copyright notice and this permission notice appear in all copies. 7237611Sadrian * 8237611Sadrian * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 9237611Sadrian * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 10237611Sadrian * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 11237611Sadrian * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 12237611Sadrian * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 13237611Sadrian * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14237611Sadrian * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15237611Sadrian * 16237611Sadrian * $FreeBSD: releng/10.2/sys/dev/ath/ath_hal/ar9003/ar9300_btcoex.h 237611 2012-06-26 22:16:53Z adrian $ 17237611Sadrian */ 18237611Sadrian 19237611Sadrian#ifndef __ATH_AR9300_BTCOEX_H__ 20237611Sadrian#define __ATH_AR9300_BTCOEX_H__ 21237611Sadrian/* 22237611Sadrian * Weight table configurations. 23237611Sadrian */ 24237611Sadrian#define AR9300_BT_WGHT 0xcccc4444 25237611Sadrian#define AR9300_STOMP_ALL_WLAN_WGHT0 0xfffffff0 26237611Sadrian#define AR9300_STOMP_ALL_WLAN_WGHT1 0xfffffff0 27237611Sadrian#define AR9300_STOMP_LOW_WLAN_WGHT0 0x88888880 28237611Sadrian#define AR9300_STOMP_LOW_WLAN_WGHT1 0x88888880 29237611Sadrian#define AR9300_STOMP_NONE_WLAN_WGHT0 0x00000000 30237611Sadrian#define AR9300_STOMP_NONE_WLAN_WGHT1 0x00000000 31237611Sadrian/* Stomp BT even when WLAN is idle */ 32237611Sadrian#define AR9300_STOMP_ALL_FORCE_WLAN_WGHT0 0xffffffff 33237611Sadrian#define AR9300_STOMP_ALL_FORCE_WLAN_WGHT1 0xffffffff 34237611Sadrian/* Stomp BT even when WLAN is idle */ 35237611Sadrian#define AR9300_STOMP_LOW_FORCE_WLAN_WGHT0 0x88888888 36237611Sadrian#define AR9300_STOMP_LOW_FORCE_WLAN_WGHT1 0x88888888 37237611Sadrian 38237611Sadrian#define JUPITER_STOMP_ALL_WLAN_WGHT0 0x00007d00 39237611Sadrian#define JUPITER_STOMP_ALL_WLAN_WGHT1 0x7d7d7d00 40237611Sadrian#define JUPITER_STOMP_ALL_WLAN_WGHT2 0x7d7d7d00 41237611Sadrian#define JUPITER_STOMP_ALL_WLAN_WGHT3 0x7d7d7d7d 42237611Sadrian#define JUPITER_STOMP_LOW_WLAN_WGHT0 0x00007d00 43237611Sadrian#define JUPITER_STOMP_LOW_WLAN_WGHT1 0x7d3b3b00 44237611Sadrian#define JUPITER_STOMP_LOW_WLAN_WGHT2 0x3b3b3b00 45237611Sadrian#define JUPITER_STOMP_LOW_WLAN_WGHT3 0x3b3b3b3b 46237611Sadrian#define JUPITER_STOMP_NONE_WLAN_WGHT0 0x00007d00 47237611Sadrian#define JUPITER_STOMP_NONE_WLAN_WGHT1 0x7d000000 48237611Sadrian#define JUPITER_STOMP_NONE_WLAN_WGHT2 0x00000000 49237611Sadrian#define JUPITER_STOMP_NONE_WLAN_WGHT3 0x00000000 50237611Sadrian#define JUPITER_STOMP_ALL_FORCE_WLAN_WGHT0 0x00007d7d 51237611Sadrian#define JUPITER_STOMP_ALL_FORCE_WLAN_WGHT1 0x7d7d7d00 52237611Sadrian#define JUPITER_STOMP_ALL_FORCE_WLAN_WGHT2 0x7d7d7d7d 53237611Sadrian#define JUPITER_STOMP_ALL_FORCE_WLAN_WGHT3 0x7d7d7d7d 54237611Sadrian#define JUPITER_STOMP_LOW_FORCE_WLAN_WGHT0 0x00003b3b 55237611Sadrian#define JUPITER_STOMP_LOW_FORCE_WLAN_WGHT1 0x3b3b3b00 56237611Sadrian#define JUPITER_STOMP_LOW_FORCE_WLAN_WGHT2 0x3b3b3b3b 57237611Sadrian#define JUPITER_STOMP_LOW_FORCE_WLAN_WGHT3 0x3b3b3b3b 58237611Sadrian 59237611Sadrian#endif /* __ATH_AR9300_BTCOEX_H__ */ 60