Lines Matching refs:mem_conf
958 struct wl12xx_acx_config_memory *mem_conf;
964 mem_conf = kzalloc(sizeof(*mem_conf), GFP_KERNEL);
965 if (!mem_conf) {
973 mem_conf->num_stations = mem->num_stations;
974 mem_conf->rx_mem_block_num = mem->rx_block_num;
975 mem_conf->tx_min_mem_block_num = mem->tx_min_block_num;
976 mem_conf->num_ssid_profiles = mem->ssid_profiles;
977 mem_conf->total_tx_descriptors = cpu_to_le32(wl->num_tx_desc);
978 mem_conf->dyn_mem_enable = mem->dynamic_memory;
979 mem_conf->tx_free_req = mem->min_req_tx_blocks;
980 mem_conf->rx_free_req = mem->min_req_rx_blocks;
981 mem_conf->tx_min = mem->tx_min;
982 mem_conf->fwlog_blocks = wl->conf.fwlog.mem_blocks;
984 ret = wl1271_cmd_configure(wl, ACX_MEM_CFG, mem_conf,
985 sizeof(*mem_conf));
992 kfree(mem_conf);