xref: /openbmc/linux/drivers/net/wireless/ath/ath9k/common-beacon.h (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1cbbdf2aeSOleksij Rempel /*
2cbbdf2aeSOleksij Rempel  * Copyright (c) 2009-2011 Atheros Communications Inc.
3cbbdf2aeSOleksij Rempel  *
4cbbdf2aeSOleksij Rempel  * Permission to use, copy, modify, and/or distribute this software for any
5cbbdf2aeSOleksij Rempel  * purpose with or without fee is hereby granted, provided that the above
6cbbdf2aeSOleksij Rempel  * copyright notice and this permission notice appear in all copies.
7cbbdf2aeSOleksij Rempel  *
8cbbdf2aeSOleksij Rempel  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9cbbdf2aeSOleksij Rempel  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10cbbdf2aeSOleksij Rempel  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11cbbdf2aeSOleksij Rempel  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12cbbdf2aeSOleksij Rempel  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13cbbdf2aeSOleksij Rempel  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14cbbdf2aeSOleksij Rempel  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15cbbdf2aeSOleksij Rempel  */
16cbbdf2aeSOleksij Rempel 
17cbbdf2aeSOleksij Rempel struct ath_beacon_config;
18cbbdf2aeSOleksij Rempel 
19cbbdf2aeSOleksij Rempel int ath9k_cmn_beacon_config_sta(struct ath_hw *ah,
20cbbdf2aeSOleksij Rempel 				struct ath_beacon_config *conf,
21cbbdf2aeSOleksij Rempel 				struct ath9k_beacon_state *bs);
224c9a1f32SOleksij Rempel void ath9k_cmn_beacon_config_adhoc(struct ath_hw *ah,
234c9a1f32SOleksij Rempel 				   struct ath_beacon_config *conf);
24*fa7b52faSOleksij Rempel void ath9k_cmn_beacon_config_ap(struct ath_hw *ah,
25*fa7b52faSOleksij Rempel 				struct ath_beacon_config *conf,
26*fa7b52faSOleksij Rempel 				unsigned int bc_buf);
27