1244951Sadrian/*- 2244951Sadrian * Copyright (c) 2013 Adrian Chadd <adrian@FreeBSD.org> 3244951Sadrian * All rights reserved. 4244951Sadrian * 5244951Sadrian * Redistribution and use in source and binary forms, with or without 6244951Sadrian * modification, are permitted provided that the following conditions 7244951Sadrian * are met: 8244951Sadrian * 1. Redistributions of source code must retain the above copyright 9244951Sadrian * notice, this list of conditions and the following disclaimer, 10244951Sadrian * without modification. 11244951Sadrian * 2. Redistributions in binary form must reproduce at minimum a disclaimer 12244951Sadrian * similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any 13244951Sadrian * redistribution must be conditioned upon including a substantially 14244951Sadrian * similar Disclaimer requirement for further binary redistribution. 15244951Sadrian * 16244951Sadrian * NO WARRANTY 17244951Sadrian * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18244951Sadrian * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19244951Sadrian * LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY 20244951Sadrian * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 21244951Sadrian * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 22244951Sadrian * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23244951Sadrian * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24244951Sadrian * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25244951Sadrian * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26244951Sadrian * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27244951Sadrian * THE POSSIBILITY OF SUCH DAMAGES. 28244951Sadrian * 29244951Sadrian * $FreeBSD$ 30244951Sadrian */ 31244951Sadrian#ifndef __IF_ATH_SPECTRAL_H__ 32244951Sadrian#define __IF_ATH_SPECTRAL_H__ 33244951Sadrian 34244951Sadrianextern int ath_spectral_attach(struct ath_softc *sc); 35244951Sadrianextern int ath_spectral_detach(struct ath_softc *sc); 36244951Sadrianextern int ath_ioctl_spectral(struct ath_softc *sc, struct ath_diag *ad); 37244951Sadrianextern int ath_spectral_enable(struct ath_softc *sc, 38244951Sadrian struct ieee80211_channel *ch); 39244951Sadrian 40244951Sadrian#endif /* __IF_ATH_SPECTRAL_H__ */ 41