1220593Sadrian/*
2220593Sadrian * Copyright (c) 2008-2010 Atheros Communications Inc.
3220593Sadrian * Copyright (c) 2011 Adrian Chadd, Xenion Pty Ltd.
4220593Sadrian *
5220593Sadrian * Redistribution and use in source and binary forms, with or without
6220593Sadrian * modification, are permitted provided that the following conditions
7220593Sadrian * are met:
8220593Sadrian * 1. Redistributions of source code must retain the above copyright
9220593Sadrian *    notice, this list of conditions and the following disclaimer.
10220593Sadrian * 2. Redistributions in binary form must reproduce the above copyright
11220593Sadrian *    notice, this list of conditions and the following disclaimer in the
12220593Sadrian *    documentation and/or other materials provided with the distribution.
13220593Sadrian *
14220593Sadrian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15220593Sadrian * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16220593Sadrian * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17220593Sadrian * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18220593Sadrian * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19220593Sadrian * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20220593Sadrian * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21220593Sadrian * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22220593Sadrian * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23220593Sadrian * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24220593Sadrian * SUCH DAMAGE.
25220593Sadrian *
26220593Sadrian * $FreeBSD: releng/10.2/sys/dev/ath/ath_hal/ar9002/ar9285_diversity.h 251655 2013-06-12 14:52:57Z adrian $
27220593Sadrian */
28220593Sadrian#ifndef	__AR9285_DIVERSITY_H__
29220593Sadrian#define	__AR9285_DIVERSITY_H__
30220593Sadrian
31251655Sadrianextern	HAL_BOOL ar9285SetAntennaSwitch(struct ath_hal *, HAL_ANT_SETTING);
32220593Sadrian
33220593Sadrian#endif
34