105491d2cSKalle Valo /* 205491d2cSKalle Valo * Copyright (c) 2010 Broadcom Corporation 305491d2cSKalle Valo * 405491d2cSKalle Valo * Permission to use, copy, modify, and/or distribute this software for any 505491d2cSKalle Valo * purpose with or without fee is hereby granted, provided that the above 605491d2cSKalle Valo * copyright notice and this permission notice appear in all copies. 705491d2cSKalle Valo * 805491d2cSKalle Valo * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 905491d2cSKalle Valo * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 1005491d2cSKalle Valo * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 1105491d2cSKalle Valo * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 1205491d2cSKalle Valo * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 1305491d2cSKalle Valo * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 1405491d2cSKalle Valo * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 1505491d2cSKalle Valo */ 1605491d2cSKalle Valo 1705491d2cSKalle Valo #ifndef _BRCM_STF_H_ 1805491d2cSKalle Valo #define _BRCM_STF_H_ 1905491d2cSKalle Valo 2005491d2cSKalle Valo #include "types.h" 2105491d2cSKalle Valo 2205491d2cSKalle Valo int brcms_c_stf_attach(struct brcms_c_info *wlc); 2305491d2cSKalle Valo void brcms_c_stf_detach(struct brcms_c_info *wlc); 2405491d2cSKalle Valo 2505491d2cSKalle Valo void brcms_c_tempsense_upd(struct brcms_c_info *wlc); 2605491d2cSKalle Valo void brcms_c_stf_ss_algo_channel_get(struct brcms_c_info *wlc, 2705491d2cSKalle Valo u16 *ss_algo_channel, u16 chanspec); 28*e871b8bfSJason Yan void brcms_c_stf_ss_update(struct brcms_c_info *wlc, struct brcms_band *band); 2905491d2cSKalle Valo void brcms_c_stf_phy_txant_upd(struct brcms_c_info *wlc); 3005491d2cSKalle Valo int brcms_c_stf_txchain_set(struct brcms_c_info *wlc, s32 int_val, bool force); 3105491d2cSKalle Valo bool brcms_c_stf_stbc_rx_set(struct brcms_c_info *wlc, s32 int_val); 3205491d2cSKalle Valo void brcms_c_stf_phy_chain_calc(struct brcms_c_info *wlc); 3305491d2cSKalle Valo u16 brcms_c_stf_phytxchain_sel(struct brcms_c_info *wlc, u32 rspec); 3405491d2cSKalle Valo u16 brcms_c_stf_d11hdrs_phyctl_txant(struct brcms_c_info *wlc, u32 rspec); 3505491d2cSKalle Valo 3605491d2cSKalle Valo #endif /* _BRCM_STF_H_ */ 37