162306a36Sopenharmony_ci/*
262306a36Sopenharmony_ci * Copyright (c) 2010 Broadcom Corporation
362306a36Sopenharmony_ci *
462306a36Sopenharmony_ci * Permission to use, copy, modify, and/or distribute this software for any
562306a36Sopenharmony_ci * purpose with or without fee is hereby granted, provided that the above
662306a36Sopenharmony_ci * copyright notice and this permission notice appear in all copies.
762306a36Sopenharmony_ci *
862306a36Sopenharmony_ci * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
962306a36Sopenharmony_ci * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1062306a36Sopenharmony_ci * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
1162306a36Sopenharmony_ci * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1262306a36Sopenharmony_ci * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
1362306a36Sopenharmony_ci * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
1462306a36Sopenharmony_ci * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1562306a36Sopenharmony_ci */
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci#ifndef _BRCM_ANTSEL_H_
1862306a36Sopenharmony_ci#define _BRCM_ANTSEL_H_
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_cistruct antsel_info *brcms_c_antsel_attach(struct brcms_c_info *wlc);
2162306a36Sopenharmony_civoid brcms_c_antsel_detach(struct antsel_info *asi);
2262306a36Sopenharmony_civoid brcms_c_antsel_init(struct antsel_info *asi);
2362306a36Sopenharmony_civoid brcms_c_antsel_antcfg_get(struct antsel_info *asi, bool usedef, bool sel,
2462306a36Sopenharmony_ci			       u8 id, u8 fbid, u8 *antcfg, u8 *fbantcfg);
2562306a36Sopenharmony_ciu8 brcms_c_antsel_antsel2id(struct antsel_info *asi, u16 antsel);
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ci#endif /* _BRCM_ANTSEL_H_ */
28