Lines Matching refs:ret
13 int ret; in rdev_suspend() local
15 ret = rdev->ops->suspend(&rdev->wiphy, wowlan); in rdev_suspend()
16 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_suspend()
17 return ret; in rdev_suspend()
22 int ret; in rdev_resume() local
24 ret = rdev->ops->resume(&rdev->wiphy); in rdev_resume()
25 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_resume()
26 return ret; in rdev_resume()
43 struct wireless_dev *ret; in rdev_add_virtual_intf() local
45 ret = rdev->ops->add_virtual_intf(&rdev->wiphy, name, name_assign_type, in rdev_add_virtual_intf()
47 trace_rdev_return_wdev(&rdev->wiphy, ret); in rdev_add_virtual_intf()
48 return ret; in rdev_add_virtual_intf()
55 int ret; in rdev_del_virtual_intf() local
57 ret = rdev->ops->del_virtual_intf(&rdev->wiphy, wdev); in rdev_del_virtual_intf()
58 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_del_virtual_intf()
59 return ret; in rdev_del_virtual_intf()
67 int ret; in rdev_change_virtual_intf() local
69 ret = rdev->ops->change_virtual_intf(&rdev->wiphy, dev, type, params); in rdev_change_virtual_intf()
70 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_change_virtual_intf()
71 return ret; in rdev_change_virtual_intf()
79 int ret; in rdev_add_key() local
82 ret = rdev->ops->add_key(&rdev->wiphy, netdev, key_index, pairwise, in rdev_add_key()
84 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_add_key()
85 return ret; in rdev_add_key()
93 int ret; in rdev_get_key() local
95 ret = rdev->ops->get_key(&rdev->wiphy, netdev, key_index, pairwise, in rdev_get_key()
97 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_get_key()
98 return ret; in rdev_get_key()
105 int ret; in rdev_del_key() local
107 ret = rdev->ops->del_key(&rdev->wiphy, netdev, key_index, pairwise, in rdev_del_key()
109 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_del_key()
110 return ret; in rdev_del_key()
118 int ret; in rdev_set_default_key() local
121 ret = rdev->ops->set_default_key(&rdev->wiphy, netdev, key_index, in rdev_set_default_key()
123 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_default_key()
124 return ret; in rdev_set_default_key()
131 int ret; in rdev_set_default_mgmt_key() local
133 ret = rdev->ops->set_default_mgmt_key(&rdev->wiphy, netdev, in rdev_set_default_mgmt_key()
135 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_default_mgmt_key()
136 return ret; in rdev_set_default_mgmt_key()
143 int ret; in rdev_start_ap() local
145 ret = rdev->ops->start_ap(&rdev->wiphy, dev, settings); in rdev_start_ap()
146 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_start_ap()
147 return ret; in rdev_start_ap()
154 int ret; in rdev_change_beacon() local
156 ret = rdev->ops->change_beacon(&rdev->wiphy, dev, info); in rdev_change_beacon()
157 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_change_beacon()
158 return ret; in rdev_change_beacon()
164 int ret; in rdev_stop_ap() local
166 ret = rdev->ops->stop_ap(&rdev->wiphy, dev); in rdev_stop_ap()
167 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_stop_ap()
168 return ret; in rdev_stop_ap()
175 int ret; in rdev_add_station() local
177 ret = rdev->ops->add_station(&rdev->wiphy, dev, mac, params); in rdev_add_station()
178 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_add_station()
179 return ret; in rdev_add_station()
186 int ret; in rdev_del_station() local
188 ret = rdev->ops->del_station(&rdev->wiphy, dev, params); in rdev_del_station()
189 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_del_station()
190 return ret; in rdev_del_station()
197 int ret; in rdev_change_station() local
199 ret = rdev->ops->change_station(&rdev->wiphy, dev, mac, params); in rdev_change_station()
200 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_change_station()
201 return ret; in rdev_change_station()
208 int ret; in rdev_get_station() local
210 ret = rdev->ops->get_station(&rdev->wiphy, dev, mac, sinfo); in rdev_get_station()
211 trace_rdev_return_int_station_info(&rdev->wiphy, ret, sinfo); in rdev_get_station()
212 return ret; in rdev_get_station()
219 int ret; in rdev_dump_station() local
221 ret = rdev->ops->dump_station(&rdev->wiphy, dev, idx, mac, sinfo); in rdev_dump_station()
222 trace_rdev_return_int_station_info(&rdev->wiphy, ret, sinfo); in rdev_dump_station()
223 return ret; in rdev_dump_station()
229 int ret; in rdev_add_mpath() local
231 ret = rdev->ops->add_mpath(&rdev->wiphy, dev, dst, next_hop); in rdev_add_mpath()
232 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_add_mpath()
233 return ret; in rdev_add_mpath()
239 int ret; in rdev_del_mpath() local
241 ret = rdev->ops->del_mpath(&rdev->wiphy, dev, dst); in rdev_del_mpath()
242 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_del_mpath()
243 return ret; in rdev_del_mpath()
250 int ret; in rdev_change_mpath() local
252 ret = rdev->ops->change_mpath(&rdev->wiphy, dev, dst, next_hop); in rdev_change_mpath()
253 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_change_mpath()
254 return ret; in rdev_change_mpath()
261 int ret; in rdev_get_mpath() local
263 ret = rdev->ops->get_mpath(&rdev->wiphy, dev, dst, next_hop, pinfo); in rdev_get_mpath()
264 trace_rdev_return_int_mpath_info(&rdev->wiphy, ret, pinfo); in rdev_get_mpath()
265 return ret; in rdev_get_mpath()
273 int ret; in rdev_get_mpp() local
276 ret = rdev->ops->get_mpp(&rdev->wiphy, dev, dst, mpp, pinfo); in rdev_get_mpp()
277 trace_rdev_return_int_mpath_info(&rdev->wiphy, ret, pinfo); in rdev_get_mpp()
278 return ret; in rdev_get_mpp()
286 int ret; in rdev_dump_mpath() local
288 ret = rdev->ops->dump_mpath(&rdev->wiphy, dev, idx, dst, next_hop, in rdev_dump_mpath()
290 trace_rdev_return_int_mpath_info(&rdev->wiphy, ret, pinfo); in rdev_dump_mpath()
291 return ret; in rdev_dump_mpath()
299 int ret; in rdev_dump_mpp() local
302 ret = rdev->ops->dump_mpp(&rdev->wiphy, dev, idx, dst, mpp, pinfo); in rdev_dump_mpp()
303 trace_rdev_return_int_mpath_info(&rdev->wiphy, ret, pinfo); in rdev_dump_mpp()
304 return ret; in rdev_dump_mpp()
311 int ret; in rdev_get_mesh_config() local
313 ret = rdev->ops->get_mesh_config(&rdev->wiphy, dev, conf); in rdev_get_mesh_config()
314 trace_rdev_return_int_mesh_config(&rdev->wiphy, ret, conf); in rdev_get_mesh_config()
315 return ret; in rdev_get_mesh_config()
323 int ret; in rdev_update_mesh_config() local
325 ret = rdev->ops->update_mesh_config(&rdev->wiphy, dev, mask, nconf); in rdev_update_mesh_config()
326 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_update_mesh_config()
327 return ret; in rdev_update_mesh_config()
335 int ret; in rdev_join_mesh() local
337 ret = rdev->ops->join_mesh(&rdev->wiphy, dev, conf, setup); in rdev_join_mesh()
338 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_join_mesh()
339 return ret; in rdev_join_mesh()
346 int ret; in rdev_leave_mesh() local
348 ret = rdev->ops->leave_mesh(&rdev->wiphy, dev); in rdev_leave_mesh()
349 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_leave_mesh()
350 return ret; in rdev_leave_mesh()
357 int ret; in rdev_join_ocb() local
359 ret = rdev->ops->join_ocb(&rdev->wiphy, dev, setup); in rdev_join_ocb()
360 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_join_ocb()
361 return ret; in rdev_join_ocb()
367 int ret; in rdev_leave_ocb() local
369 ret = rdev->ops->leave_ocb(&rdev->wiphy, dev); in rdev_leave_ocb()
370 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_leave_ocb()
371 return ret; in rdev_leave_ocb()
379 int ret; in rdev_change_bss() local
381 ret = rdev->ops->change_bss(&rdev->wiphy, dev, params); in rdev_change_bss()
382 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_change_bss()
383 return ret; in rdev_change_bss()
391 int ret; in rdev_set_txq_params() local
393 ret = rdev->ops->set_txq_params(&rdev->wiphy, dev, params); in rdev_set_txq_params()
394 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_txq_params()
395 return ret; in rdev_set_txq_params()
403 int ret; in rdev_libertas_set_mesh_channel() local
405 ret = rdev->ops->libertas_set_mesh_channel(&rdev->wiphy, dev, chan); in rdev_libertas_set_mesh_channel()
406 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_libertas_set_mesh_channel()
407 return ret; in rdev_libertas_set_mesh_channel()
414 int ret; in rdev_set_monitor_channel() local
416 ret = rdev->ops->set_monitor_channel(&rdev->wiphy, chandef); in rdev_set_monitor_channel()
417 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_monitor_channel()
418 return ret; in rdev_set_monitor_channel()
424 int ret; in rdev_scan() local
426 ret = rdev->ops->scan(&rdev->wiphy, request); in rdev_scan()
427 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_scan()
428 return ret; in rdev_scan()
443 int ret; in rdev_auth() local
445 ret = rdev->ops->auth(&rdev->wiphy, dev, req); in rdev_auth()
446 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_auth()
447 return ret; in rdev_auth()
454 int ret; in rdev_assoc() local
456 ret = rdev->ops->assoc(&rdev->wiphy, dev, req); in rdev_assoc()
457 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_assoc()
458 return ret; in rdev_assoc()
465 int ret; in rdev_deauth() local
467 ret = rdev->ops->deauth(&rdev->wiphy, dev, req); in rdev_deauth()
468 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_deauth()
469 return ret; in rdev_deauth()
476 int ret; in rdev_disassoc() local
478 ret = rdev->ops->disassoc(&rdev->wiphy, dev, req); in rdev_disassoc()
479 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_disassoc()
480 return ret; in rdev_disassoc()
487 int ret; in rdev_connect() local
489 ret = rdev->ops->connect(&rdev->wiphy, dev, sme); in rdev_connect()
490 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_connect()
491 return ret; in rdev_connect()
499 int ret; in rdev_update_connect_params() local
501 ret = rdev->ops->update_connect_params(&rdev->wiphy, dev, sme, changed); in rdev_update_connect_params()
502 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_update_connect_params()
503 return ret; in rdev_update_connect_params()
509 int ret; in rdev_disconnect() local
511 ret = rdev->ops->disconnect(&rdev->wiphy, dev, reason_code); in rdev_disconnect()
512 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_disconnect()
513 return ret; in rdev_disconnect()
520 int ret; in rdev_join_ibss() local
522 ret = rdev->ops->join_ibss(&rdev->wiphy, dev, params); in rdev_join_ibss()
523 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_join_ibss()
524 return ret; in rdev_join_ibss()
530 int ret; in rdev_leave_ibss() local
532 ret = rdev->ops->leave_ibss(&rdev->wiphy, dev); in rdev_leave_ibss()
533 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_leave_ibss()
534 return ret; in rdev_leave_ibss()
540 int ret; in rdev_set_wiphy_params() local
546 ret = rdev->ops->set_wiphy_params(&rdev->wiphy, changed); in rdev_set_wiphy_params()
547 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_wiphy_params()
548 return ret; in rdev_set_wiphy_params()
555 int ret; in rdev_set_tx_power() local
557 ret = rdev->ops->set_tx_power(&rdev->wiphy, wdev, type, mbm); in rdev_set_tx_power()
558 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_tx_power()
559 return ret; in rdev_set_tx_power()
565 int ret; in rdev_get_tx_power() local
567 ret = rdev->ops->get_tx_power(&rdev->wiphy, wdev, dbm); in rdev_get_tx_power()
568 trace_rdev_return_int_int(&rdev->wiphy, ret, *dbm); in rdev_get_tx_power()
569 return ret; in rdev_get_tx_power()
575 int ret; in rdev_set_wds_peer() local
577 ret = rdev->ops->set_wds_peer(&rdev->wiphy, dev, addr); in rdev_set_wds_peer()
578 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_wds_peer()
579 return ret; in rdev_set_wds_peer()
587 int ret; in rdev_set_multicast_to_unicast() local
589 ret = rdev->ops->set_multicast_to_unicast(&rdev->wiphy, dev, enabled); in rdev_set_multicast_to_unicast()
590 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_multicast_to_unicast()
591 return ret; in rdev_set_multicast_to_unicast()
599 int ret; in rdev_get_txq_stats() local
601 ret = rdev->ops->get_txq_stats(&rdev->wiphy, wdev, txqstats); in rdev_get_txq_stats()
602 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_get_txq_stats()
603 return ret; in rdev_get_txq_stats()
619 int ret; in rdev_testmode_cmd() local
621 ret = rdev->ops->testmode_cmd(&rdev->wiphy, wdev, data, len); in rdev_testmode_cmd()
622 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_testmode_cmd()
623 return ret; in rdev_testmode_cmd()
631 int ret; in rdev_testmode_dump() local
633 ret = rdev->ops->testmode_dump(&rdev->wiphy, skb, cb, data, len); in rdev_testmode_dump()
634 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_testmode_dump()
635 return ret; in rdev_testmode_dump()
644 int ret; in rdev_set_bitrate_mask() local
646 ret = rdev->ops->set_bitrate_mask(&rdev->wiphy, dev, peer, mask); in rdev_set_bitrate_mask()
647 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_bitrate_mask()
648 return ret; in rdev_set_bitrate_mask()
655 int ret; in rdev_dump_survey() local
657 ret = rdev->ops->dump_survey(&rdev->wiphy, netdev, idx, info); in rdev_dump_survey()
658 if (ret < 0) in rdev_dump_survey()
659 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_dump_survey()
661 trace_rdev_return_int_survey_info(&rdev->wiphy, ret, info); in rdev_dump_survey()
662 return ret; in rdev_dump_survey()
669 int ret; in rdev_set_pmksa() local
671 ret = rdev->ops->set_pmksa(&rdev->wiphy, netdev, pmksa); in rdev_set_pmksa()
672 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_pmksa()
673 return ret; in rdev_set_pmksa()
680 int ret; in rdev_del_pmksa() local
682 ret = rdev->ops->del_pmksa(&rdev->wiphy, netdev, pmksa); in rdev_del_pmksa()
683 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_del_pmksa()
684 return ret; in rdev_del_pmksa()
690 int ret; in rdev_flush_pmksa() local
692 ret = rdev->ops->flush_pmksa(&rdev->wiphy, netdev); in rdev_flush_pmksa()
693 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_flush_pmksa()
694 return ret; in rdev_flush_pmksa()
703 int ret; in rdev_remain_on_channel() local
705 ret = rdev->ops->remain_on_channel(&rdev->wiphy, wdev, chan, in rdev_remain_on_channel()
707 trace_rdev_return_int_cookie(&rdev->wiphy, ret, *cookie); in rdev_remain_on_channel()
708 return ret; in rdev_remain_on_channel()
715 int ret; in rdev_cancel_remain_on_channel() local
717 ret = rdev->ops->cancel_remain_on_channel(&rdev->wiphy, wdev, cookie); in rdev_cancel_remain_on_channel()
718 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_cancel_remain_on_channel()
719 return ret; in rdev_cancel_remain_on_channel()
727 int ret; in rdev_mgmt_tx() local
729 ret = rdev->ops->mgmt_tx(&rdev->wiphy, wdev, params, cookie); in rdev_mgmt_tx()
730 trace_rdev_return_int_cookie(&rdev->wiphy, ret, *cookie); in rdev_mgmt_tx()
731 return ret; in rdev_mgmt_tx()
740 int ret; in rdev_tx_control_port() local
743 ret = rdev->ops->tx_control_port(&rdev->wiphy, dev, buf, len, in rdev_tx_control_port()
745 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_tx_control_port()
746 return ret; in rdev_tx_control_port()
753 int ret; in rdev_mgmt_tx_cancel_wait() local
755 ret = rdev->ops->mgmt_tx_cancel_wait(&rdev->wiphy, wdev, cookie); in rdev_mgmt_tx_cancel_wait()
756 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_mgmt_tx_cancel_wait()
757 return ret; in rdev_mgmt_tx_cancel_wait()
764 int ret; in rdev_set_power_mgmt() local
766 ret = rdev->ops->set_power_mgmt(&rdev->wiphy, dev, enabled, timeout); in rdev_set_power_mgmt()
767 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_power_mgmt()
768 return ret; in rdev_set_power_mgmt()
775 int ret; in rdev_set_cqm_rssi_config() local
778 ret = rdev->ops->set_cqm_rssi_config(&rdev->wiphy, dev, rssi_thold, in rdev_set_cqm_rssi_config()
780 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_cqm_rssi_config()
781 return ret; in rdev_set_cqm_rssi_config()
788 int ret; in rdev_set_cqm_rssi_range_config() local
790 ret = rdev->ops->set_cqm_rssi_range_config(&rdev->wiphy, dev, in rdev_set_cqm_rssi_range_config()
792 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_cqm_rssi_range_config()
793 return ret; in rdev_set_cqm_rssi_range_config()
800 int ret; in rdev_set_cqm_txe_config() local
802 ret = rdev->ops->set_cqm_txe_config(&rdev->wiphy, dev, rate, pkts, in rdev_set_cqm_txe_config()
804 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_cqm_txe_config()
805 return ret; in rdev_set_cqm_txe_config()
822 int ret; in rdev_set_antenna() local
824 ret = rdev->ops->set_antenna(&rdev->wiphy, tx_ant, rx_ant); in rdev_set_antenna()
825 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_antenna()
826 return ret; in rdev_set_antenna()
832 int ret; in rdev_get_antenna() local
834 ret = rdev->ops->get_antenna(&rdev->wiphy, tx_ant, rx_ant); in rdev_get_antenna()
835 if (ret) in rdev_get_antenna()
836 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_get_antenna()
838 trace_rdev_return_int_tx_rx(&rdev->wiphy, ret, *tx_ant, in rdev_get_antenna()
840 return ret; in rdev_get_antenna()
848 int ret; in rdev_sched_scan_start() local
850 ret = rdev->ops->sched_scan_start(&rdev->wiphy, dev, request); in rdev_sched_scan_start()
851 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_sched_scan_start()
852 return ret; in rdev_sched_scan_start()
858 int ret; in rdev_sched_scan_stop() local
860 ret = rdev->ops->sched_scan_stop(&rdev->wiphy, dev, reqid); in rdev_sched_scan_stop()
861 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_sched_scan_stop()
862 return ret; in rdev_sched_scan_stop()
869 int ret; in rdev_set_rekey_data() local
871 ret = rdev->ops->set_rekey_data(&rdev->wiphy, dev, data); in rdev_set_rekey_data()
872 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_rekey_data()
873 return ret; in rdev_set_rekey_data()
882 int ret; in rdev_tdls_mgmt() local
886 ret = rdev->ops->tdls_mgmt(&rdev->wiphy, dev, peer, action_code, in rdev_tdls_mgmt()
889 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_tdls_mgmt()
890 return ret; in rdev_tdls_mgmt()
897 int ret; in rdev_tdls_oper() local
899 ret = rdev->ops->tdls_oper(&rdev->wiphy, dev, peer, oper); in rdev_tdls_oper()
900 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_tdls_oper()
901 return ret; in rdev_tdls_oper()
908 int ret; in rdev_probe_client() local
910 ret = rdev->ops->probe_client(&rdev->wiphy, dev, peer, cookie); in rdev_probe_client()
911 trace_rdev_return_int_cookie(&rdev->wiphy, ret, *cookie); in rdev_probe_client()
912 return ret; in rdev_probe_client()
918 int ret; in rdev_set_noack_map() local
920 ret = rdev->ops->set_noack_map(&rdev->wiphy, dev, noack_map); in rdev_set_noack_map()
921 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_noack_map()
922 return ret; in rdev_set_noack_map()
930 int ret; in rdev_get_channel() local
933 ret = rdev->ops->get_channel(&rdev->wiphy, wdev, chandef); in rdev_get_channel()
934 trace_rdev_return_chandef(&rdev->wiphy, ret, chandef); in rdev_get_channel()
936 return ret; in rdev_get_channel()
942 int ret; in rdev_start_p2p_device() local
945 ret = rdev->ops->start_p2p_device(&rdev->wiphy, wdev); in rdev_start_p2p_device()
946 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_start_p2p_device()
947 return ret; in rdev_start_p2p_device()
962 int ret; in rdev_start_nan() local
965 ret = rdev->ops->start_nan(&rdev->wiphy, wdev, conf); in rdev_start_nan()
966 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_start_nan()
967 return ret; in rdev_start_nan()
983 int ret; in rdev_add_nan_func() local
986 ret = rdev->ops->add_nan_func(&rdev->wiphy, wdev, nan_func); in rdev_add_nan_func()
987 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_add_nan_func()
988 return ret; in rdev_add_nan_func()
1004 int ret; in rdev_nan_change_conf() local
1008 ret = rdev->ops->nan_change_conf(&rdev->wiphy, wdev, conf, in rdev_nan_change_conf()
1011 ret = -ENOTSUPP; in rdev_nan_change_conf()
1012 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_nan_change_conf()
1013 return ret; in rdev_nan_change_conf()
1020 int ret; in rdev_set_mac_acl() local
1023 ret = rdev->ops->set_mac_acl(&rdev->wiphy, dev, params); in rdev_set_mac_acl()
1024 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_mac_acl()
1025 return ret; in rdev_set_mac_acl()
1032 int ret; in rdev_update_ft_ies() local
1035 ret = rdev->ops->update_ft_ies(&rdev->wiphy, dev, ftie); in rdev_update_ft_ies()
1036 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_update_ft_ies()
1037 return ret; in rdev_update_ft_ies()
1045 int ret; in rdev_crit_proto_start() local
1048 ret = rdev->ops->crit_proto_start(&rdev->wiphy, wdev, in rdev_crit_proto_start()
1050 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_crit_proto_start()
1051 return ret; in rdev_crit_proto_start()
1066 int ret; in rdev_channel_switch() local
1069 ret = rdev->ops->channel_switch(&rdev->wiphy, dev, params); in rdev_channel_switch()
1070 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_channel_switch()
1071 return ret; in rdev_channel_switch()
1078 int ret = -EOPNOTSUPP; in rdev_set_qos_map() local
1082 ret = rdev->ops->set_qos_map(&rdev->wiphy, dev, qos_map); in rdev_set_qos_map()
1083 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_qos_map()
1086 return ret; in rdev_set_qos_map()
1093 int ret; in rdev_set_ap_chanwidth() local
1096 ret = rdev->ops->set_ap_chanwidth(&rdev->wiphy, dev, chandef); in rdev_set_ap_chanwidth()
1097 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_ap_chanwidth()
1099 return ret; in rdev_set_ap_chanwidth()
1107 int ret = -EOPNOTSUPP; in rdev_add_tx_ts() local
1112 ret = rdev->ops->add_tx_ts(&rdev->wiphy, dev, tsid, peer, in rdev_add_tx_ts()
1114 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_add_tx_ts()
1116 return ret; in rdev_add_tx_ts()
1123 int ret = -EOPNOTSUPP; in rdev_del_tx_ts() local
1127 ret = rdev->ops->del_tx_ts(&rdev->wiphy, dev, tsid, peer); in rdev_del_tx_ts()
1128 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_del_tx_ts()
1130 return ret; in rdev_del_tx_ts()
1138 int ret; in rdev_tdls_channel_switch() local
1142 ret = rdev->ops->tdls_channel_switch(&rdev->wiphy, dev, addr, in rdev_tdls_channel_switch()
1144 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_tdls_channel_switch()
1145 return ret; in rdev_tdls_channel_switch()
1163 int ret = -ENOTSUPP; in rdev_start_radar_detection() local
1168 ret = rdev->ops->start_radar_detection(&rdev->wiphy, dev, in rdev_start_radar_detection()
1170 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_start_radar_detection()
1171 return ret; in rdev_start_radar_detection()
1179 int ret = -ENOTSUPP; in rdev_set_mcast_rate() local
1183 ret = rdev->ops->set_mcast_rate(&rdev->wiphy, dev, mcast_rate); in rdev_set_mcast_rate()
1184 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_mcast_rate()
1185 return ret; in rdev_set_mcast_rate()
1192 int ret = -ENOTSUPP; in rdev_set_coalesce() local
1196 ret = rdev->ops->set_coalesce(&rdev->wiphy, coalesce); in rdev_set_coalesce()
1197 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_coalesce()
1198 return ret; in rdev_set_coalesce()
1205 int ret = -EOPNOTSUPP; in rdev_set_pmk() local
1209 ret = rdev->ops->set_pmk(&rdev->wiphy, dev, pmk_conf); in rdev_set_pmk()
1210 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_set_pmk()
1211 return ret; in rdev_set_pmk()
1217 int ret = -EOPNOTSUPP; in rdev_del_pmk() local
1221 ret = rdev->ops->del_pmk(&rdev->wiphy, dev, aa); in rdev_del_pmk()
1222 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_del_pmk()
1223 return ret; in rdev_del_pmk()
1231 int ret = -EOPNOTSUPP; in rdev_external_auth() local
1235 ret = rdev->ops->external_auth(&rdev->wiphy, dev, params); in rdev_external_auth()
1236 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_external_auth()
1237 return ret; in rdev_external_auth()
1245 int ret = -EOPNOTSUPP; in rdev_get_ftm_responder_stats() local
1249 ret = rdev->ops->get_ftm_responder_stats(&rdev->wiphy, dev, in rdev_get_ftm_responder_stats()
1251 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_get_ftm_responder_stats()
1252 return ret; in rdev_get_ftm_responder_stats()
1260 int ret = -EOPNOTSUPP; in rdev_start_pmsr() local
1264 ret = rdev->ops->start_pmsr(&rdev->wiphy, wdev, request); in rdev_start_pmsr()
1265 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_start_pmsr()
1266 return ret; in rdev_start_pmsr()
1284 int ret = -EOPNOTSUPP; in rdev_update_owe_info() local
1288 ret = rdev->ops->update_owe_info(&rdev->wiphy, dev, oweinfo); in rdev_update_owe_info()
1289 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_update_owe_info()
1290 return ret; in rdev_update_owe_info()
1298 int ret; in rdev_probe_mesh_link() local
1301 ret = rdev->ops->probe_mesh_link(&rdev->wiphy, dev, buf, len); in rdev_probe_mesh_link()
1302 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_probe_mesh_link()
1303 return ret; in rdev_probe_mesh_link()