Lines Matching refs:conf
925 params = kmemdup(&priv->conf.phy, sizeof(*params), GFP_KERNEL); in wl18xx_set_mac_and_phy()
1225 return (priv->conf.phy.number_of_assembled_ant2_4 >= 2) && in wl18xx_is_mimo_supported()
1226 (priv->conf.ht.mode != HT_MODE_WIDE) && in wl18xx_is_mimo_supported()
1227 (priv->conf.ht.mode != HT_MODE_SISO20); in wl18xx_is_mimo_supported()
1393 memcpy(&wl->conf, &conf_file->core, sizeof(wl18xx_conf)); in wl18xx_conf_init()
1394 memcpy(&priv->conf, &conf_file->priv, sizeof(priv->conf)); in wl18xx_conf_init()
1402 memcpy(&wl->conf, &wl18xx_conf, sizeof(wl18xx_conf)); in wl18xx_conf_init()
1404 memcpy(&priv->conf, &wl18xx_default_priv_conf, sizeof(priv->conf)); in wl18xx_conf_init()
1843 priv->conf.phy.board_type = BOARD_TYPE_FPGA_18XX; in wl18xx_setup()
1845 priv->conf.phy.board_type = BOARD_TYPE_HDK_18XX; in wl18xx_setup()
1847 priv->conf.phy.board_type = BOARD_TYPE_DVP_18XX; in wl18xx_setup()
1849 priv->conf.phy.board_type = BOARD_TYPE_EVB_18XX; in wl18xx_setup()
1851 priv->conf.phy.board_type = BOARD_TYPE_COM8_18XX; in wl18xx_setup()
1859 if (priv->conf.phy.board_type >= NUM_BOARD_TYPES) { in wl18xx_setup()
1861 priv->conf.phy.board_type); in wl18xx_setup()
1866 priv->conf.phy.low_band_component = low_band_component_param; in wl18xx_setup()
1868 priv->conf.phy.low_band_component_type = in wl18xx_setup()
1871 priv->conf.phy.high_band_component = high_band_component_param; in wl18xx_setup()
1873 priv->conf.phy.high_band_component_type = in wl18xx_setup()
1876 priv->conf.phy.pwr_limit_reference_11_abg = in wl18xx_setup()
1879 priv->conf.phy.number_of_assembled_ant2_4 = n_antennas_2_param; in wl18xx_setup()
1881 priv->conf.phy.number_of_assembled_ant5 = n_antennas_5_param; in wl18xx_setup()
1883 priv->conf.phy.external_pa_dc2dc = dc2dc_param; in wl18xx_setup()
1887 priv->conf.ht.mode = HT_MODE_DEFAULT; in wl18xx_setup()
1889 priv->conf.ht.mode = HT_MODE_WIDE; in wl18xx_setup()
1891 priv->conf.ht.mode = HT_MODE_SISO20; in wl18xx_setup()
1898 if (priv->conf.ht.mode == HT_MODE_DEFAULT) { in wl18xx_setup()
1913 } else if (priv->conf.ht.mode == HT_MODE_WIDE) { in wl18xx_setup()
1918 } else if (priv->conf.ht.mode == HT_MODE_SISO20) { in wl18xx_setup()
1931 wl->enable_11a = (priv->conf.phy.number_of_assembled_ant5 != 0); in wl18xx_setup()