18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * Copyright (c) 2010 Broadcom Corporation 38c2ecf20Sopenharmony_ci * 48c2ecf20Sopenharmony_ci * Permission to use, copy, modify, and/or distribute this software for any 58c2ecf20Sopenharmony_ci * purpose with or without fee is hereby granted, provided that the above 68c2ecf20Sopenharmony_ci * copyright notice and this permission notice appear in all copies. 78c2ecf20Sopenharmony_ci * 88c2ecf20Sopenharmony_ci * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 98c2ecf20Sopenharmony_ci * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 108c2ecf20Sopenharmony_ci * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 118c2ecf20Sopenharmony_ci * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 128c2ecf20Sopenharmony_ci * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 138c2ecf20Sopenharmony_ci * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 148c2ecf20Sopenharmony_ci * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 158c2ecf20Sopenharmony_ci */ 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci#ifndef _BRCM_STF_H_ 188c2ecf20Sopenharmony_ci#define _BRCM_STF_H_ 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci#include "types.h" 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ciint brcms_c_stf_attach(struct brcms_c_info *wlc); 238c2ecf20Sopenharmony_civoid brcms_c_stf_detach(struct brcms_c_info *wlc); 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_civoid brcms_c_tempsense_upd(struct brcms_c_info *wlc); 268c2ecf20Sopenharmony_civoid brcms_c_stf_ss_algo_channel_get(struct brcms_c_info *wlc, 278c2ecf20Sopenharmony_ci u16 *ss_algo_channel, u16 chanspec); 288c2ecf20Sopenharmony_civoid brcms_c_stf_ss_update(struct brcms_c_info *wlc, struct brcms_band *band); 298c2ecf20Sopenharmony_civoid brcms_c_stf_phy_txant_upd(struct brcms_c_info *wlc); 308c2ecf20Sopenharmony_ciint brcms_c_stf_txchain_set(struct brcms_c_info *wlc, s32 int_val, bool force); 318c2ecf20Sopenharmony_cibool brcms_c_stf_stbc_rx_set(struct brcms_c_info *wlc, s32 int_val); 328c2ecf20Sopenharmony_civoid brcms_c_stf_phy_txant_upd(struct brcms_c_info *wlc); 338c2ecf20Sopenharmony_civoid brcms_c_stf_phy_chain_calc(struct brcms_c_info *wlc); 348c2ecf20Sopenharmony_ciu16 brcms_c_stf_phytxchain_sel(struct brcms_c_info *wlc, u32 rspec); 358c2ecf20Sopenharmony_ciu16 brcms_c_stf_d11hdrs_phyctl_txant(struct brcms_c_info *wlc, u32 rspec); 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_ci#endif /* _BRCM_STF_H_ */ 38