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