xref: /freebsd/sys/dev/ath/ath_hal/ar9002/ar9287_reset.h (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
1*6e778a7eSPedro F. Giffuni /*-
2*6e778a7eSPedro F. Giffuni  * SPDX-License-Identifier: ISC
3*6e778a7eSPedro F. Giffuni  *
4d8daa2e3SAdrian Chadd  * Copyright (c) 2010 Atheros Communications, Inc.
5d8daa2e3SAdrian Chadd  *
6d8daa2e3SAdrian Chadd  * Permission to use, copy, modify, and/or distribute this software for any
7d8daa2e3SAdrian Chadd  * purpose with or without fee is hereby granted, provided that the above
8d8daa2e3SAdrian Chadd  * copyright notice and this permission notice appear in all copies.
9d8daa2e3SAdrian Chadd  *
10d8daa2e3SAdrian Chadd  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11d8daa2e3SAdrian Chadd  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12d8daa2e3SAdrian Chadd  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13d8daa2e3SAdrian Chadd  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14d8daa2e3SAdrian Chadd  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15d8daa2e3SAdrian Chadd  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16d8daa2e3SAdrian Chadd  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17d8daa2e3SAdrian Chadd  */
18d8daa2e3SAdrian Chadd 
19d8daa2e3SAdrian Chadd #ifndef	__AR9287_RESET_H__
20d8daa2e3SAdrian Chadd #define	__AR9287_RESET_H__
21d8daa2e3SAdrian Chadd 
22d8daa2e3SAdrian Chadd extern	HAL_BOOL ar9287SetTransmitPower(struct ath_hal *ah,
23d8daa2e3SAdrian Chadd 	const struct ieee80211_channel *chan, uint16_t *rfXpdGain);
24d8daa2e3SAdrian Chadd extern	HAL_BOOL ar9287SetBoardValues(struct ath_hal *ah,
25d8daa2e3SAdrian Chadd 	const struct ieee80211_channel *chan);
26d8daa2e3SAdrian Chadd 
27d8daa2e3SAdrian Chadd #endif	/* __AR9287_RESET_H__ */
28