1*b4c3e9b5SBjoern A. Zeeb /* 2*b4c3e9b5SBjoern A. Zeeb * Copyright (c) 2010 Broadcom Corporation 3*b4c3e9b5SBjoern A. Zeeb * 4*b4c3e9b5SBjoern A. Zeeb * Permission to use, copy, modify, and/or distribute this software for any 5*b4c3e9b5SBjoern A. Zeeb * purpose with or without fee is hereby granted, provided that the above 6*b4c3e9b5SBjoern A. Zeeb * copyright notice and this permission notice appear in all copies. 7*b4c3e9b5SBjoern A. Zeeb * 8*b4c3e9b5SBjoern A. Zeeb * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 9*b4c3e9b5SBjoern A. Zeeb * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 10*b4c3e9b5SBjoern A. Zeeb * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 11*b4c3e9b5SBjoern A. Zeeb * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 12*b4c3e9b5SBjoern A. Zeeb * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 13*b4c3e9b5SBjoern A. Zeeb * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 14*b4c3e9b5SBjoern A. Zeeb * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15*b4c3e9b5SBjoern A. Zeeb */ 16*b4c3e9b5SBjoern A. Zeeb 17*b4c3e9b5SBjoern A. Zeeb #ifndef _BRCM_STF_H_ 18*b4c3e9b5SBjoern A. Zeeb #define _BRCM_STF_H_ 19*b4c3e9b5SBjoern A. Zeeb 20*b4c3e9b5SBjoern A. Zeeb #include "types.h" 21*b4c3e9b5SBjoern A. Zeeb 22*b4c3e9b5SBjoern A. Zeeb int brcms_c_stf_attach(struct brcms_c_info *wlc); 23*b4c3e9b5SBjoern A. Zeeb void brcms_c_stf_detach(struct brcms_c_info *wlc); 24*b4c3e9b5SBjoern A. Zeeb 25*b4c3e9b5SBjoern A. Zeeb void brcms_c_tempsense_upd(struct brcms_c_info *wlc); 26*b4c3e9b5SBjoern A. Zeeb void brcms_c_stf_ss_algo_channel_get(struct brcms_c_info *wlc, 27*b4c3e9b5SBjoern A. Zeeb u16 *ss_algo_channel, u16 chanspec); 28*b4c3e9b5SBjoern A. Zeeb void brcms_c_stf_ss_update(struct brcms_c_info *wlc, struct brcms_band *band); 29*b4c3e9b5SBjoern A. Zeeb void brcms_c_stf_phy_txant_upd(struct brcms_c_info *wlc); 30*b4c3e9b5SBjoern A. Zeeb int brcms_c_stf_txchain_set(struct brcms_c_info *wlc, s32 int_val, bool force); 31*b4c3e9b5SBjoern A. Zeeb bool brcms_c_stf_stbc_rx_set(struct brcms_c_info *wlc, s32 int_val); 32*b4c3e9b5SBjoern A. Zeeb void brcms_c_stf_phy_chain_calc(struct brcms_c_info *wlc); 33*b4c3e9b5SBjoern A. Zeeb u16 brcms_c_stf_phytxchain_sel(struct brcms_c_info *wlc, u32 rspec); 34*b4c3e9b5SBjoern A. Zeeb u16 brcms_c_stf_d11hdrs_phyctl_txant(struct brcms_c_info *wlc, u32 rspec); 35*b4c3e9b5SBjoern A. Zeeb 36*b4c3e9b5SBjoern A. Zeeb #endif /* _BRCM_STF_H_ */ 37