xref: /openbmc/linux/drivers/net/wireless/ti/wl18xx/conf.h (revision 34bacf73c62cd71542ee12eba5896e1f360faa9b)
146a1d512SLuciano Coelho /*
246a1d512SLuciano Coelho  * This file is part of wl18xx
346a1d512SLuciano Coelho  *
446a1d512SLuciano Coelho  * Copyright (C) 2011 Texas Instruments Inc.
546a1d512SLuciano Coelho  *
646a1d512SLuciano Coelho  * This program is free software; you can redistribute it and/or
746a1d512SLuciano Coelho  * modify it under the terms of the GNU General Public License
846a1d512SLuciano Coelho  * version 2 as published by the Free Software Foundation.
946a1d512SLuciano Coelho  *
1046a1d512SLuciano Coelho  * This program is distributed in the hope that it will be useful, but
1146a1d512SLuciano Coelho  * WITHOUT ANY WARRANTY; without even the implied warranty of
1246a1d512SLuciano Coelho  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1346a1d512SLuciano Coelho  * General Public License for more details.
1446a1d512SLuciano Coelho  *
1546a1d512SLuciano Coelho  * You should have received a copy of the GNU General Public License
1646a1d512SLuciano Coelho  * along with this program; if not, write to the Free Software
1746a1d512SLuciano Coelho  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
1846a1d512SLuciano Coelho  * 02110-1301 USA
1946a1d512SLuciano Coelho  *
2046a1d512SLuciano Coelho  */
2146a1d512SLuciano Coelho 
2246a1d512SLuciano Coelho #ifndef __WL18XX_CONF_H__
2346a1d512SLuciano Coelho #define __WL18XX_CONF_H__
2446a1d512SLuciano Coelho 
2546a1d512SLuciano Coelho struct wl18xx_conf_phy {
2646a1d512SLuciano Coelho 	u8 phy_standalone;
2746a1d512SLuciano Coelho 	u8 rdl;
2846a1d512SLuciano Coelho 	u8 enable_clpc;
2946a1d512SLuciano Coelho 	u8 enable_tx_low_pwr_on_siso_rdl;
3046a1d512SLuciano Coelho 	u8 auto_detect;
3146a1d512SLuciano Coelho 	u8 dedicated_fem;
3246a1d512SLuciano Coelho 	u8 low_band_component;
3346a1d512SLuciano Coelho 	u8 low_band_component_type;
3446a1d512SLuciano Coelho 	u8 high_band_component;
3546a1d512SLuciano Coelho 	u8 high_band_component_type;
3646a1d512SLuciano Coelho 	u8 tcxo_ldo_voltage;
3746a1d512SLuciano Coelho 	u8 xtal_itrim_val;
3846a1d512SLuciano Coelho 	u8 srf_state;
3946a1d512SLuciano Coelho 	u8 io_configuration;
4046a1d512SLuciano Coelho 	u8 sdio_configuration;
4146a1d512SLuciano Coelho 	u8 settings;
4246a1d512SLuciano Coelho 	u8 rx_profile;
4346a1d512SLuciano Coelho 	u8 primary_clock_setting_time;
4446a1d512SLuciano Coelho 	u8 clock_valid_on_wake_up;
4546a1d512SLuciano Coelho 	u8 secondary_clock_setting_time;
465add82edSLuciano Coelho 	u8 pwr_limit_reference_11_abg;
4716ea4733SIdo Reis 	u8 psat;
4816ea4733SIdo Reis 	s8 low_power_val;
4916ea4733SIdo Reis 	s8 med_power_val;
5016ea4733SIdo Reis 	s8 high_power_val;
51*34bacf73SLuciano Coelho } __packed;
5246a1d512SLuciano Coelho 
5323ee9bf8SLuciano Coelho struct wl18xx_priv_conf {
5446a1d512SLuciano Coelho 	struct wl18xx_conf_phy phy;
55*34bacf73SLuciano Coelho } __packed;
5646a1d512SLuciano Coelho 
5746a1d512SLuciano Coelho #endif /* __WL18XX_CONF_H__ */
58