Lines Matching defs:ret
20 int ret;
28 ret = -ENOMEM;
37 ret = wl1271_cmd_configure(wl, ACX_HOST_IF_CFG_BITMAP,
39 if (ret < 0) {
40 wl1271_warning("wl1271 bitmap config opt failed: %d", ret);
47 return ret;
53 int ret;
59 ret = -ENOMEM;
65 ret = wl1271_cmd_configure(wl, ACX_CSUM_CONFIG, acx, sizeof(*acx));
66 if (ret < 0) {
67 wl1271_warning("failed to set Tx checksum state: %d", ret);
73 return ret;
79 int ret = 0;
85 ret = -ENOMEM;
89 ret = wl1271_cmd_configure(wl, ACX_CLEAR_STATISTICS, acx, sizeof(*acx));
90 if (ret < 0) {
91 wl1271_warning("failed to clear firmware statistics: %d", ret);
97 return ret;
103 int ret;
110 ret = -ENOMEM;
117 ret = wl1271_cmd_configure(wl, ACX_PEER_HT_OPERATION_MODE_CFG, acx,
120 if (ret < 0) {
121 wl1271_warning("acx peer ht operation mode failed: %d", ret);
127 return ret;
142 int ret = 0;
151 ret = -ENOMEM;
174 ret = wl1271_cmd_configure(wl, ACX_PEER_CAP, acx, sizeof(*acx));
175 if (ret < 0) {
176 wl1271_warning("acx ht capabilities setting failed: %d", ret);
182 return ret;
193 int ret = 0;
197 ret = -ENOMEM;
202 ret = wl1271_cmd_configure(wl, ACX_INTERRUPT_NOTIFY, acx, sizeof(*acx));
203 if (ret < 0) {
204 wl1271_warning("acx interrupt notify setting failed: %d", ret);
210 return ret;
220 int ret = 0;
224 ret = -ENOMEM;
229 ret = wl1271_cmd_configure(wl, ACX_RX_BA_FILTER, acx, sizeof(*acx));
230 if (ret < 0) {
232 ret);
238 return ret;
246 int ret;
252 ret = -ENOMEM;
261 ret = wl1271_cmd_configure(wl, ACX_AP_SLEEP_CFG, acx, sizeof(*acx));
262 if (ret < 0) {
263 wl1271_warning("acx config ap-sleep failed: %d", ret);
269 return ret;
275 int ret;
282 ret = -ENOMEM;
288 ret = wl1271_cmd_configure(wl, ACX_DYNAMIC_TRACES_CFG,
290 if (ret < 0) {
291 wl1271_warning("acx config dynamic fw traces failed: %d", ret);
296 return ret;
302 int ret;
310 ret = -ENOMEM;
317 ret = wl1271_cmd_configure(wl, ACX_TIME_SYNC_CFG,
319 if (ret < 0) {
320 wl1271_warning("acx time sync cfg failed: %d", ret);
325 return ret;