/*-1* SPDX-License-Identifier: BSD-2-Clause2*3* Copyright (c) 2002-2009 Sam Leffler, Errno Consulting4* All rights reserved.5*6* Redistribution and use in source and binary forms, with or without7* modification, are permitted provided that the following conditions8* are met:9* 1. Redistributions of source code must retain the above copyright10* notice, this list of conditions and the following disclaimer,11* without modification.12* 2. Redistributions in binary form must reproduce at minimum a disclaimer13* similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any14* redistribution must be conditioned upon including a substantially15* similar Disclaimer requirement for further binary redistribution.16*17* NO WARRANTY18* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS19* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT20* LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY21* AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL22* THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,23* OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF24* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS25* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER26* IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)27* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF28* THE POSSIBILITY OF SUCH DAMAGES.29*/30#ifndef __IF_ATH_BEACON_H__31#define __IF_ATH_BEACON_H__3233extern int ath_bstuck_threshold;3435extern int ath_beaconq_setup(struct ath_softc *sc);36extern int ath_beaconq_config(struct ath_softc *sc);37extern void ath_beacon_config(struct ath_softc *sc,38struct ieee80211vap *vap);39extern struct ath_buf * ath_beacon_generate(struct ath_softc *sc,40struct ieee80211vap *vap);41extern void ath_beacon_cabq_start(struct ath_softc *sc);42extern int ath_wme_update(struct ieee80211com *ic);43extern void ath_beacon_update(struct ieee80211vap *vap, int item);44extern void ath_beacon_start_adhoc(struct ath_softc *sc,45struct ieee80211vap *vap);46extern int ath_beacon_alloc(struct ath_softc *sc, struct ieee80211_node *ni);47extern void ath_beacon_return(struct ath_softc *sc, struct ath_buf *bf);48extern void ath_beacon_free(struct ath_softc *sc);49extern void ath_beacon_proc(void *arg, int pending);50extern void ath_beacon_miss(struct ath_softc *sc);5152#endif535455