Lines Matching refs:ret

20 	int ret;
22 ret = wl1251_acx_feature_cfg(wl, 0);
23 if (ret < 0) {
25 return ret;
28 ret = wl1251_acx_default_key(wl, wl->default_key);
29 if (ret < 0) {
31 return ret;
39 int ret;
43 ret = wl1251_cmd_template_set(wl, CMD_PROBE_REQ, NULL,
45 if (ret < 0)
46 return ret;
48 ret = wl1251_cmd_template_set(wl, CMD_NULL_DATA, NULL,
50 if (ret < 0)
51 return ret;
53 ret = wl1251_cmd_template_set(wl, CMD_PS_POLL, NULL,
55 if (ret < 0)
56 return ret;
58 ret = wl1251_cmd_template_set(wl, CMD_QOS_NULL_DATA, NULL,
61 if (ret < 0)
62 return ret;
64 ret = wl1251_cmd_template_set(wl, CMD_PROBE_RESP, NULL,
67 if (ret < 0)
68 return ret;
70 ret = wl1251_cmd_template_set(wl, CMD_BEACON, NULL,
73 if (ret < 0)
74 return ret;
78 ret = wl1251_cmd_vbm(wl, TIM_ELE_ID, partial_vbm, PARTIAL_VBM_MAX, 0);
79 if (ret < 0)
80 return ret;
82 ret = wl1251_cmd_vbm(wl, TIM_ELE_ID, partial_vbm, 1, 0);
83 if (ret < 0)
84 return ret;
91 int ret;
93 ret = wl1251_acx_rx_msdu_life_time(wl, RX_MSDU_LIFETIME_DEF);
94 if (ret < 0)
95 return ret;
97 ret = wl1251_acx_rx_config(wl, config, filter);
98 if (ret < 0)
99 return ret;
106 int ret;
108 ret = wl1251_acx_pd_threshold(wl);
109 if (ret < 0)
110 return ret;
112 ret = wl1251_acx_slot(wl, DEFAULT_SLOT_TIME);
113 if (ret < 0)
114 return ret;
116 ret = wl1251_acx_group_address_tbl(wl, true, NULL, 0);
117 if (ret < 0)
118 return ret;
120 ret = wl1251_acx_service_period_timeout(wl);
121 if (ret < 0)
122 return ret;
124 ret = wl1251_acx_rts_threshold(wl, RTS_THRESHOLD_DEF);
125 if (ret < 0)
126 return ret;
133 int ret;
136 ret = wl1251_acx_beacon_filter_opt(wl, false);
137 if (ret < 0)
138 return ret;
140 ret = wl1251_acx_beacon_filter_table(wl);
141 if (ret < 0)
142 return ret;
149 int ret;
151 ret = wl1251_acx_sg_enable(wl);
152 if (ret < 0)
153 return ret;
155 ret = wl1251_acx_sg_cfg(wl);
156 if (ret < 0)
157 return ret;
164 int ret;
166 ret = wl1251_acx_cca_threshold(wl);
167 if (ret < 0)
168 return ret;
175 int ret;
177 ret = wl1251_acx_bcn_dtim_options(wl);
178 if (ret < 0)
179 return ret;
191 int ret;
193 ret = wl1251_acx_mem_cfg(wl);
194 if (ret < 0)
195 return ret;
205 ret = wl1251_acx_mem_map(wl, wl->target_mem_map,
207 if (ret < 0) {
211 return ret;
260 int ret, i;
266 ret = -ENOMEM;
271 ret = wl1251_hw_init_txq_fill(i, config,
273 if (ret < 0)
276 ret = wl1251_cmd_configure(wl, ACX_TX_QUEUE_CFG,
278 if (ret < 0)
289 return ret;
294 int ret;
302 ret = wl1251_acx_data_path_params(wl, wl->data_path);
303 if (ret < 0) {
306 return ret;
316 int ret;
318 ret = wl1251_hw_init_hwenc_config(wl);
319 if (ret < 0)
320 return ret;
323 ret = wl1251_hw_init_templates_config(wl);
324 if (ret < 0)
325 return ret;
328 ret = wl1251_hw_init_mem_config(wl);
329 if (ret < 0)
330 return ret;
333 ret = wl1251_hw_init_data_path_config(wl);
334 if (ret < 0)
338 ret = wl1251_hw_init_rx_config(wl,
343 if (ret < 0)
347 ret = wl1251_hw_init_tx_queue_config(wl);
348 if (ret < 0)
352 ret = wl1251_hw_init_phy_config(wl);
353 if (ret < 0)
357 ret = wl1251_acx_conn_monit_params(wl);
358 if (ret < 0)
362 ret = wl1251_hw_init_beacon_filter(wl);
363 if (ret < 0)
367 ret = wl1251_hw_init_pta(wl);
368 if (ret < 0)
372 ret = wl1251_hw_init_energy_detection(wl);
373 if (ret < 0)
377 ret = wl1251_hw_init_beacon_broadcast(wl);
378 if (ret < 0)
382 ret = wl1251_cmd_data_path_rx(wl, wl->channel, 1);
383 if (ret < 0)
387 ret = wl1251_cmd_data_path_tx(wl, wl->channel, 1);
388 if (ret < 0)
392 ret = wl1251_hw_init_power_auth(wl);
393 if (ret < 0)
411 return ret;