1718cf2ccSPedro F. Giffuni /*- 2*4d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 3718cf2ccSPedro F. Giffuni * 477823fbcSAdrian Chadd * Copyright (c) 2008-2010 Atheros Communications Inc. 577823fbcSAdrian Chadd * Copyright (c) 2011 Adrian Chadd, Xenion Pty Ltd. 677823fbcSAdrian Chadd * 777823fbcSAdrian Chadd * Redistribution and use in source and binary forms, with or without 877823fbcSAdrian Chadd * modification, are permitted provided that the following conditions 977823fbcSAdrian Chadd * are met: 1077823fbcSAdrian Chadd * 1. Redistributions of source code must retain the above copyright 1177823fbcSAdrian Chadd * notice, this list of conditions and the following disclaimer. 1277823fbcSAdrian Chadd * 2. Redistributions in binary form must reproduce the above copyright 1377823fbcSAdrian Chadd * notice, this list of conditions and the following disclaimer in the 1477823fbcSAdrian Chadd * documentation and/or other materials provided with the distribution. 1577823fbcSAdrian Chadd * 1677823fbcSAdrian Chadd * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1777823fbcSAdrian Chadd * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1877823fbcSAdrian Chadd * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1977823fbcSAdrian Chadd * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2077823fbcSAdrian Chadd * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2177823fbcSAdrian Chadd * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2277823fbcSAdrian Chadd * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2377823fbcSAdrian Chadd * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2477823fbcSAdrian Chadd * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2577823fbcSAdrian Chadd * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2677823fbcSAdrian Chadd * SUCH DAMAGE. 2777823fbcSAdrian Chadd */ 2877823fbcSAdrian Chadd #ifndef __AR9285_DIVERSITY_H__ 2977823fbcSAdrian Chadd #define __AR9285_DIVERSITY_H__ 3077823fbcSAdrian Chadd 31216ca234SAdrian Chadd extern HAL_BOOL ar9285SetAntennaSwitch(struct ath_hal *, HAL_ANT_SETTING); 3277823fbcSAdrian Chadd 3377823fbcSAdrian Chadd #endif 34