mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 15:43:59 +08:00
23ee9bf8c3
Now wlcore requires the lower drivers to set the correct configuration. Move the existing private configuration to the proper place and add all generic configuration parameters. The important changes are in Tx interrupt pacing and Rx BA window size. Signed-off-by: Luciano Coelho <coelho@ti.com> Signed-off-by: Arik Nemtsov <arik@wizery.com>
56 lines
1.4 KiB
C
56 lines
1.4 KiB
C
/*
|
|
* This file is part of wl18xx
|
|
*
|
|
* Copyright (C) 2011 Texas Instruments Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|
* 02110-1301 USA
|
|
*
|
|
*/
|
|
|
|
#ifndef __WL18XX_CONF_H__
|
|
#define __WL18XX_CONF_H__
|
|
|
|
struct wl18xx_conf_phy {
|
|
u8 phy_standalone;
|
|
u8 rdl;
|
|
u8 enable_clpc;
|
|
u8 enable_tx_low_pwr_on_siso_rdl;
|
|
u8 auto_detect;
|
|
u8 dedicated_fem;
|
|
u8 low_band_component;
|
|
u8 low_band_component_type;
|
|
u8 high_band_component;
|
|
u8 high_band_component_type;
|
|
u8 number_of_assembled_ant2_4;
|
|
u8 number_of_assembled_ant5;
|
|
u8 external_pa_dc2dc;
|
|
u8 tcxo_ldo_voltage;
|
|
u8 xtal_itrim_val;
|
|
u8 srf_state;
|
|
u8 io_configuration;
|
|
u8 sdio_configuration;
|
|
u8 settings;
|
|
u8 rx_profile;
|
|
u8 primary_clock_setting_time;
|
|
u8 clock_valid_on_wake_up;
|
|
u8 secondary_clock_setting_time;
|
|
};
|
|
|
|
struct wl18xx_priv_conf {
|
|
struct wl18xx_conf_phy phy;
|
|
};
|
|
|
|
#endif /* __WL18XX_CONF_H__ */
|