Lines Matching refs:mem_conf
874 struct wl1251_acx_config_memory *mem_conf; in wl1251_acx_mem_cfg() local
879 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()
894 mem_conf->rx_queue_config.dma_address = 0; in wl1251_acx_mem_cfg()
895 mem_conf->rx_queue_config.num_descs = ACX_RX_DESC_DEF; in wl1251_acx_mem_cfg()
896 mem_conf->rx_queue_config.priority = DEFAULT_RXQ_PRIORITY; in wl1251_acx_mem_cfg()
897 mem_conf->rx_queue_config.type = DEFAULT_RXQ_TYPE; in wl1251_acx_mem_cfg()
901 mem_conf->tx_queue_config[i].num_descs = ACX_TX_DESC_DEF; in wl1251_acx_mem_cfg()
902 mem_conf->tx_queue_config[i].attributes = i; in wl1251_acx_mem_cfg()
905 ret = wl1251_cmd_configure(wl, ACX_MEM_CFG, mem_conf, in wl1251_acx_mem_cfg()
906 sizeof(*mem_conf)); in wl1251_acx_mem_cfg()
913 kfree(mem_conf); in wl1251_acx_mem_cfg()