Searched refs:mem_conf (Results 1 – 2 of 2) sorted by relevance
874 struct wl1251_acx_config_memory *mem_conf; in wl1251_acx_mem_cfg() local879 mem_conf = kzalloc(sizeof(*mem_conf), GFP_KERNEL); in wl1251_acx_mem_cfg()880 if (!mem_conf) in wl1251_acx_mem_cfg()884 mem_conf->mem_config.num_stations = cpu_to_le16(DEFAULT_NUM_STATIONS); in wl1251_acx_mem_cfg()885 mem_conf->mem_config.rx_mem_block_num = 35; in wl1251_acx_mem_cfg()886 mem_conf->mem_config.tx_min_mem_block_num = 64; in wl1251_acx_mem_cfg()887 mem_conf->mem_config.num_tx_queues = MAX_TX_QUEUES; in wl1251_acx_mem_cfg()888 mem_conf->mem_config.host_if_options = HOSTIF_PKT_RING; in wl1251_acx_mem_cfg()889 mem_conf->mem_config.num_ssid_profiles = 1; in wl1251_acx_mem_cfg()890 mem_conf->mem_config.debug_buffer_size = in wl1251_acx_mem_cfg()[all …]
973 struct wl12xx_acx_config_memory *mem_conf; in wl12xx_acx_mem_cfg() local979 mem_conf = kzalloc(sizeof(*mem_conf), GFP_KERNEL); in wl12xx_acx_mem_cfg()980 if (!mem_conf) { in wl12xx_acx_mem_cfg()988 mem_conf->num_stations = mem->num_stations; in wl12xx_acx_mem_cfg()989 mem_conf->rx_mem_block_num = mem->rx_block_num; in wl12xx_acx_mem_cfg()990 mem_conf->tx_min_mem_block_num = mem->tx_min_block_num; in wl12xx_acx_mem_cfg()991 mem_conf->num_ssid_profiles = mem->ssid_profiles; in wl12xx_acx_mem_cfg()992 mem_conf->total_tx_descriptors = cpu_to_le32(wl->num_tx_desc); in wl12xx_acx_mem_cfg()993 mem_conf->dyn_mem_enable = mem->dynamic_memory; in wl12xx_acx_mem_cfg()994 mem_conf->tx_free_req = mem->min_req_tx_blocks; in wl12xx_acx_mem_cfg()[all …]