Lines Matching refs:mem_conf
872 struct wl1251_acx_config_memory *mem_conf; in wl1251_acx_mem_cfg() local
877 mem_conf = kzalloc(sizeof(*mem_conf), GFP_KERNEL); in wl1251_acx_mem_cfg()
878 if (!mem_conf) in wl1251_acx_mem_cfg()
882 mem_conf->mem_config.num_stations = cpu_to_le16(DEFAULT_NUM_STATIONS); in wl1251_acx_mem_cfg()
883 mem_conf->mem_config.rx_mem_block_num = 35; in wl1251_acx_mem_cfg()
884 mem_conf->mem_config.tx_min_mem_block_num = 64; in wl1251_acx_mem_cfg()
885 mem_conf->mem_config.num_tx_queues = MAX_TX_QUEUES; in wl1251_acx_mem_cfg()
886 mem_conf->mem_config.host_if_options = HOSTIF_PKT_RING; in wl1251_acx_mem_cfg()
887 mem_conf->mem_config.num_ssid_profiles = 1; in wl1251_acx_mem_cfg()
888 mem_conf->mem_config.debug_buffer_size = in wl1251_acx_mem_cfg()
892 mem_conf->rx_queue_config.dma_address = 0; in wl1251_acx_mem_cfg()
893 mem_conf->rx_queue_config.num_descs = ACX_RX_DESC_DEF; in wl1251_acx_mem_cfg()
894 mem_conf->rx_queue_config.priority = DEFAULT_RXQ_PRIORITY; in wl1251_acx_mem_cfg()
895 mem_conf->rx_queue_config.type = DEFAULT_RXQ_TYPE; in wl1251_acx_mem_cfg()
899 mem_conf->tx_queue_config[i].num_descs = ACX_TX_DESC_DEF; in wl1251_acx_mem_cfg()
900 mem_conf->tx_queue_config[i].attributes = i; in wl1251_acx_mem_cfg()
903 ret = wl1251_cmd_configure(wl, ACX_MEM_CFG, mem_conf, in wl1251_acx_mem_cfg()
904 sizeof(*mem_conf)); in wl1251_acx_mem_cfg()
911 kfree(mem_conf); in wl1251_acx_mem_cfg()