Lines Matching refs:conf

951 	params = kmemdup(&priv->conf.phy, sizeof(*params), GFP_KERNEL);  in wl18xx_set_mac_and_phy()
1256 return (priv->conf.phy.number_of_assembled_ant2_4 >= 2) && in wl18xx_is_mimo_supported()
1257 (priv->conf.ht.mode != HT_MODE_WIDE) && in wl18xx_is_mimo_supported()
1258 (priv->conf.ht.mode != HT_MODE_SISO20); in wl18xx_is_mimo_supported()
1386 static int wl18xx_load_conf_file(struct device *dev, struct wlcore_conf *conf, in wl18xx_load_conf_file() argument
1425 memcpy(conf, &conf_file->core, sizeof(*conf)); in wl18xx_load_conf_file()
1437 if (wl18xx_load_conf_file(dev, &wl->conf, &priv->conf) < 0) { in wl18xx_conf_init()
1441 memcpy(&wl->conf, &wl18xx_conf, sizeof(wl->conf)); in wl18xx_conf_init()
1443 memcpy(&priv->conf, &wl18xx_default_priv_conf, in wl18xx_conf_init()
1444 sizeof(priv->conf)); in wl18xx_conf_init()
1925 priv->conf.phy.board_type = BOARD_TYPE_FPGA_18XX; in wl18xx_setup()
1927 priv->conf.phy.board_type = BOARD_TYPE_HDK_18XX; in wl18xx_setup()
1929 priv->conf.phy.board_type = BOARD_TYPE_DVP_18XX; in wl18xx_setup()
1931 priv->conf.phy.board_type = BOARD_TYPE_EVB_18XX; in wl18xx_setup()
1933 priv->conf.phy.board_type = BOARD_TYPE_COM8_18XX; in wl18xx_setup()
1941 if (priv->conf.phy.board_type >= NUM_BOARD_TYPES) { in wl18xx_setup()
1943 priv->conf.phy.board_type); in wl18xx_setup()
1948 priv->conf.phy.low_band_component = low_band_component_param; in wl18xx_setup()
1950 priv->conf.phy.low_band_component_type = in wl18xx_setup()
1953 priv->conf.phy.high_band_component = high_band_component_param; in wl18xx_setup()
1955 priv->conf.phy.high_band_component_type = in wl18xx_setup()
1958 priv->conf.phy.pwr_limit_reference_11_abg = in wl18xx_setup()
1961 priv->conf.phy.number_of_assembled_ant2_4 = n_antennas_2_param; in wl18xx_setup()
1963 priv->conf.phy.number_of_assembled_ant5 = n_antennas_5_param; in wl18xx_setup()
1965 priv->conf.phy.external_pa_dc2dc = dc2dc_param; in wl18xx_setup()
1969 priv->conf.ht.mode = HT_MODE_DEFAULT; in wl18xx_setup()
1971 priv->conf.ht.mode = HT_MODE_WIDE; in wl18xx_setup()
1973 priv->conf.ht.mode = HT_MODE_SISO20; in wl18xx_setup()
1980 if (priv->conf.ht.mode == HT_MODE_DEFAULT) { in wl18xx_setup()
1995 } else if (priv->conf.ht.mode == HT_MODE_WIDE) { in wl18xx_setup()
2000 } else if (priv->conf.ht.mode == HT_MODE_SISO20) { in wl18xx_setup()
2013 wl->enable_11a = (priv->conf.phy.number_of_assembled_ant5 != 0); in wl18xx_setup()