1220587Sadrian/* 2220587Sadrian * Copyright (c) 2008-2010 Atheros Communications Inc. 3220587Sadrian * Copyright (c) 2010-2011 Adrian Chadd, Xenion Pty Ltd. 4220587Sadrian * 5220587Sadrian * Redistribution and use in source and binary forms, with or without 6220587Sadrian * modification, are permitted provided that the following conditions 7220587Sadrian * are met: 8220587Sadrian * 1. Redistributions of source code must retain the above copyright 9220587Sadrian * notice, this list of conditions and the following disclaimer. 10220587Sadrian * 2. Redistributions in binary form must reproduce the above copyright 11220587Sadrian * notice, this list of conditions and the following disclaimer in the 12220587Sadrian * documentation and/or other materials provided with the distribution. 13220587Sadrian * 14220587Sadrian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15220587Sadrian * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16220587Sadrian * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17220587Sadrian * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18220587Sadrian * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19220587Sadrian * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20220587Sadrian * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21220587Sadrian * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22220587Sadrian * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23220587Sadrian * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24220587Sadrian * SUCH DAMAGE. 25220587Sadrian * 26220587Sadrian * $FreeBSD: releng/10.2/sys/dev/ath/ath_hal/ar9002/ar9285_phy.h 251643 2013-06-12 06:01:53Z adrian $ 27220587Sadrian */ 28220587Sadrian#ifndef __AR9285_PHY_H__ 29220587Sadrian#define __AR9285_PHY_H__ 30220587Sadrian 31220587Sadrian/* 32220587Sadrian * Manipulate AR9285 antenna diversity configuration 33220587Sadrian */ 34220587Sadrian 35220587Sadrianextern void ar9285_antdiv_comb_conf_set(struct ath_hal *ah, 36251643Sadrian HAL_ANT_COMB_CONFIG *antconf); 37220587Sadrianextern void ar9285_antdiv_comb_conf_get(struct ath_hal *ah, 38251643Sadrian HAL_ANT_COMB_CONFIG *antconf); 39221702Sadrianextern HAL_BOOL ar9285_check_div_comb(struct ath_hal *ah); 40220587Sadrian 41220587Sadrian#endif 42