1 /*- 2 * SPDX-License-Identifier: ISC 3 * 4 * Copyright (c) 2011 Atheros Communications, Inc. 5 * 6 * Permission to use, copy, modify, and/or distribute this software for any 7 * purpose with or without fee is hereby granted, provided that the above 8 * copyright notice and this permission notice appear in all copies. 9 * 10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 * 18 * $FreeBSD$ 19 */ 20 21 #ifndef __ATH_AR9300_BTCOEX_H__ 22 #define __ATH_AR9300_BTCOEX_H__ 23 /* 24 * Weight table configurations. 25 */ 26 #define AR9300_BT_WGHT 0xcccc4444 27 #define AR9300_STOMP_ALL_WLAN_WGHT0 0xfffffff0 28 #define AR9300_STOMP_ALL_WLAN_WGHT1 0xfffffff0 29 #define AR9300_STOMP_LOW_WLAN_WGHT0 0x88888880 30 #define AR9300_STOMP_LOW_WLAN_WGHT1 0x88888880 31 #define AR9300_STOMP_NONE_WLAN_WGHT0 0x00000000 32 #define AR9300_STOMP_NONE_WLAN_WGHT1 0x00000000 33 /* Stomp BT even when WLAN is idle */ 34 #define AR9300_STOMP_ALL_FORCE_WLAN_WGHT0 0xffffffff 35 #define AR9300_STOMP_ALL_FORCE_WLAN_WGHT1 0xffffffff 36 /* Stomp BT even when WLAN is idle */ 37 #define AR9300_STOMP_LOW_FORCE_WLAN_WGHT0 0x88888888 38 #define AR9300_STOMP_LOW_FORCE_WLAN_WGHT1 0x88888888 39 40 #define JUPITER_STOMP_ALL_WLAN_WGHT0 0x00007d00 41 #define JUPITER_STOMP_ALL_WLAN_WGHT1 0x7d7d7d00 42 #define JUPITER_STOMP_ALL_WLAN_WGHT2 0x7d7d7d00 43 #define JUPITER_STOMP_ALL_WLAN_WGHT3 0x7d7d7d7d 44 #define JUPITER_STOMP_LOW_WLAN_WGHT0 0x00007d00 45 #define JUPITER_STOMP_LOW_WLAN_WGHT1 0x7d3b3b00 46 #define JUPITER_STOMP_LOW_WLAN_WGHT2 0x3b3b3b00 47 #define JUPITER_STOMP_LOW_WLAN_WGHT3 0x3b3b3b3b 48 #define JUPITER_STOMP_NONE_WLAN_WGHT0 0x00007d00 49 #define JUPITER_STOMP_NONE_WLAN_WGHT1 0x7d000000 50 #define JUPITER_STOMP_NONE_WLAN_WGHT2 0x00000000 51 #define JUPITER_STOMP_NONE_WLAN_WGHT3 0x00000000 52 #define JUPITER_STOMP_ALL_FORCE_WLAN_WGHT0 0x00007d7d 53 #define JUPITER_STOMP_ALL_FORCE_WLAN_WGHT1 0x7d7d7d00 54 #define JUPITER_STOMP_ALL_FORCE_WLAN_WGHT2 0x7d7d7d7d 55 #define JUPITER_STOMP_ALL_FORCE_WLAN_WGHT3 0x7d7d7d7d 56 #define JUPITER_STOMP_LOW_FORCE_WLAN_WGHT0 0x00003b3b 57 #define JUPITER_STOMP_LOW_FORCE_WLAN_WGHT1 0x3b3b3b00 58 #define JUPITER_STOMP_LOW_FORCE_WLAN_WGHT2 0x3b3b3b3b 59 #define JUPITER_STOMP_LOW_FORCE_WLAN_WGHT3 0x3b3b3b3b 60 61 #endif /* __ATH_AR9300_BTCOEX_H__ */ 62