Lines Matching refs:ret

34 	int ret;
36 ret = wl1251_acx_feature_cfg(wl, 0);
37 if (ret < 0) {
39 return ret;
42 ret = wl1251_acx_default_key(wl, wl->default_key);
43 if (ret < 0) {
45 return ret;
53 int ret;
57 ret = wl1251_cmd_template_set(wl, CMD_PROBE_REQ, NULL,
59 if (ret < 0)
60 return ret;
62 ret = wl1251_cmd_template_set(wl, CMD_NULL_DATA, NULL,
64 if (ret < 0)
65 return ret;
67 ret = wl1251_cmd_template_set(wl, CMD_PS_POLL, NULL,
69 if (ret < 0)
70 return ret;
72 ret = wl1251_cmd_template_set(wl, CMD_QOS_NULL_DATA, NULL,
75 if (ret < 0)
76 return ret;
78 ret = wl1251_cmd_template_set(wl, CMD_PROBE_RESP, NULL,
81 if (ret < 0)
82 return ret;
84 ret = wl1251_cmd_template_set(wl, CMD_BEACON, NULL,
87 if (ret < 0)
88 return ret;
92 ret = wl1251_cmd_vbm(wl, TIM_ELE_ID, partial_vbm, PARTIAL_VBM_MAX, 0);
93 if (ret < 0)
94 return ret;
96 ret = wl1251_cmd_vbm(wl, TIM_ELE_ID, partial_vbm, 1, 0);
97 if (ret < 0)
98 return ret;
105 int ret;
107 ret = wl1251_acx_rx_msdu_life_time(wl, RX_MSDU_LIFETIME_DEF);
108 if (ret < 0)
109 return ret;
111 ret = wl1251_acx_rx_config(wl, config, filter);
112 if (ret < 0)
113 return ret;
120 int ret;
122 ret = wl1251_acx_pd_threshold(wl);
123 if (ret < 0)
124 return ret;
126 ret = wl1251_acx_slot(wl, DEFAULT_SLOT_TIME);
127 if (ret < 0)
128 return ret;
130 ret = wl1251_acx_group_address_tbl(wl, true, NULL, 0);
131 if (ret < 0)
132 return ret;
134 ret = wl1251_acx_service_period_timeout(wl);
135 if (ret < 0)
136 return ret;
138 ret = wl1251_acx_rts_threshold(wl, RTS_THRESHOLD_DEF);
139 if (ret < 0)
140 return ret;
147 int ret;
150 ret = wl1251_acx_beacon_filter_opt(wl, false);
151 if (ret < 0)
152 return ret;
154 ret = wl1251_acx_beacon_filter_table(wl);
155 if (ret < 0)
156 return ret;
163 int ret;
165 ret = wl1251_acx_sg_enable(wl);
166 if (ret < 0)
167 return ret;
169 ret = wl1251_acx_sg_cfg(wl);
170 if (ret < 0)
171 return ret;
178 int ret;
180 ret = wl1251_acx_cca_threshold(wl);
181 if (ret < 0)
182 return ret;
189 int ret;
191 ret = wl1251_acx_bcn_dtim_options(wl);
192 if (ret < 0)
193 return ret;
205 int ret;
207 ret = wl1251_acx_mem_cfg(wl);
208 if (ret < 0)
209 return ret;
219 ret = wl1251_acx_mem_map(wl, wl->target_mem_map,
221 if (ret < 0) {
225 return ret;
274 int ret, i;
280 ret = -ENOMEM;
285 ret = wl1251_hw_init_txq_fill(i, config,
287 if (ret < 0)
290 ret = wl1251_cmd_configure(wl, ACX_TX_QUEUE_CFG,
292 if (ret < 0)
303 return ret;
308 int ret;
318 ret = wl1251_acx_data_path_params(wl, wl->data_path);
319 if (ret < 0) {
322 return ret;
332 int ret;
334 ret = wl1251_hw_init_hwenc_config(wl);
335 if (ret < 0)
336 return ret;
339 ret = wl1251_hw_init_templates_config(wl);
340 if (ret < 0)
341 return ret;
344 ret = wl1251_hw_init_mem_config(wl);
345 if (ret < 0)
346 return ret;
349 ret = wl1251_hw_init_data_path_config(wl);
350 if (ret < 0)
354 ret = wl1251_hw_init_rx_config(wl,
359 if (ret < 0)
363 ret = wl1251_hw_init_tx_queue_config(wl);
364 if (ret < 0)
368 ret = wl1251_hw_init_phy_config(wl);
369 if (ret < 0)
373 ret = wl1251_acx_conn_monit_params(wl);
374 if (ret < 0)
378 ret = wl1251_hw_init_beacon_filter(wl);
379 if (ret < 0)
383 ret = wl1251_hw_init_pta(wl);
384 if (ret < 0)
388 ret = wl1251_hw_init_energy_detection(wl);
389 if (ret < 0)
393 ret = wl1251_hw_init_beacon_broadcast(wl);
394 if (ret < 0)
398 ret = wl1251_cmd_data_path_rx(wl, wl->channel, 1);
399 if (ret < 0)
403 ret = wl1251_cmd_data_path_tx(wl, wl->channel, 1);
404 if (ret < 0)
408 ret = wl1251_hw_init_power_auth(wl);
409 if (ret < 0)
427 return ret;