Lines Matching refs:mem_conf
906 struct wl1251_acx_config_memory *mem_conf;
911 mem_conf = kzalloc(sizeof(*mem_conf), GFP_KERNEL);
912 if (!mem_conf) {
918 mem_conf->mem_config.num_stations = cpu_to_le16(DEFAULT_NUM_STATIONS);
919 mem_conf->mem_config.rx_mem_block_num = 35;
920 mem_conf->mem_config.tx_min_mem_block_num = 64;
921 mem_conf->mem_config.num_tx_queues = MAX_TX_QUEUES;
922 mem_conf->mem_config.host_if_options = HOSTIF_PKT_RING;
923 mem_conf->mem_config.num_ssid_profiles = 1;
924 mem_conf->mem_config.debug_buffer_size =
928 mem_conf->rx_queue_config.dma_address = 0;
929 mem_conf->rx_queue_config.num_descs = ACX_RX_DESC_DEF;
930 mem_conf->rx_queue_config.priority = DEFAULT_RXQ_PRIORITY;
931 mem_conf->rx_queue_config.type = DEFAULT_RXQ_TYPE;
935 mem_conf->tx_queue_config[i].num_descs = ACX_TX_DESC_DEF;
936 mem_conf->tx_queue_config[i].attributes = i;
939 ret = wl1251_cmd_configure(wl, ACX_MEM_CFG, mem_conf,
940 sizeof(*mem_conf));
947 kfree(mem_conf);