Lines Matching refs:driver
18 if (wpa_s->driver->init2) in wpa_drv_init()
19 return wpa_s->driver->init2(wpa_s, ifname, in wpa_drv_init()
21 if (wpa_s->driver->init) { in wpa_drv_init()
22 return wpa_s->driver->init(wpa_s, ifname); in wpa_drv_init()
29 if (wpa_s->driver->deinit) in wpa_drv_deinit()
30 wpa_s->driver->deinit(wpa_s->drv_priv); in wpa_drv_deinit()
36 if (wpa_s->driver->set_param) in wpa_drv_set_param()
37 return wpa_s->driver->set_param(wpa_s->drv_priv, param); in wpa_drv_set_param()
44 if (wpa_s->driver->set_countermeasures) { in wpa_drv_set_countermeasures()
45 return wpa_s->driver->set_countermeasures(wpa_s->drv_priv, in wpa_drv_set_countermeasures()
54 if (wpa_s->driver->authenticate) in wpa_drv_authenticate()
55 return wpa_s->driver->authenticate(wpa_s->drv_priv, params); in wpa_drv_authenticate()
62 if (wpa_s->driver->associate) { in wpa_drv_associate()
63 return wpa_s->driver->associate(wpa_s->drv_priv, params); in wpa_drv_associate()
70 if (wpa_s->driver->init_mesh) in wpa_drv_init_mesh()
71 return wpa_s->driver->init_mesh(wpa_s->drv_priv); in wpa_drv_init_mesh()
78 if (wpa_s->driver->join_mesh) in wpa_drv_join_mesh()
79 return wpa_s->driver->join_mesh(wpa_s->drv_priv, params); in wpa_drv_join_mesh()
85 if (wpa_s->driver->leave_mesh) in wpa_drv_leave_mesh()
86 return wpa_s->driver->leave_mesh(wpa_s->drv_priv); in wpa_drv_leave_mesh()
97 if (wpa_s->driver->scan2) in wpa_drv_scan()
98 return wpa_s->driver->scan2(wpa_s->drv_priv, params); in wpa_drv_scan()
105 if (wpa_s->driver->sched_scan) in wpa_drv_sched_scan()
106 return wpa_s->driver->sched_scan(wpa_s->drv_priv, params); in wpa_drv_sched_scan()
112 if (wpa_s->driver->stop_sched_scan) in wpa_drv_stop_sched_scan()
113 return wpa_s->driver->stop_sched_scan(wpa_s->drv_priv); in wpa_drv_stop_sched_scan()
120 if (wpa_s->driver->get_scan_results2) in wpa_drv_get_scan_results2()
121 return wpa_s->driver->get_scan_results2(wpa_s->drv_priv); in wpa_drv_get_scan_results2()
127 if (wpa_s->driver->get_bssid) { in wpa_drv_get_bssid()
128 return wpa_s->driver->get_bssid(wpa_s->drv_priv, bssid); in wpa_drv_get_bssid()
135 if (wpa_s->driver->get_ssid) { in wpa_drv_get_ssid()
136 return wpa_s->driver->get_ssid(wpa_s->drv_priv, ssid); in wpa_drv_get_ssid()
153 if (wpa_s->driver->set_key) { in wpa_drv_set_key()
154 return wpa_s->driver->set_key(wpa_s->ifname, wpa_s->drv_priv, in wpa_drv_set_key()
164 if (wpa_s->driver->sta_deauth) { in wpa_drv_sta_deauth()
165 return wpa_s->driver->sta_deauth(wpa_s->drv_priv, in wpa_drv_sta_deauth()
175 if (wpa_s->driver->deauthenticate) { in wpa_drv_deauthenticate()
176 return wpa_s->driver->deauthenticate(wpa_s->drv_priv, addr, in wpa_drv_deauthenticate()
185 if (wpa_s->driver->add_pmkid) { in wpa_drv_add_pmkid()
186 return wpa_s->driver->add_pmkid(wpa_s->drv_priv, bssid, pmkid); in wpa_drv_add_pmkid()
194 if (wpa_s->driver->remove_pmkid) { in wpa_drv_remove_pmkid()
195 return wpa_s->driver->remove_pmkid(wpa_s->drv_priv, bssid, in wpa_drv_remove_pmkid()
203 if (wpa_s->driver->flush_pmkid) { in wpa_drv_flush_pmkid()
204 return wpa_s->driver->flush_pmkid(wpa_s->drv_priv); in wpa_drv_flush_pmkid()
212 if (wpa_s->driver->get_capa) { in wpa_drv_get_capa()
213 return wpa_s->driver->get_capa(wpa_s->drv_priv, capa); in wpa_drv_get_capa()
220 if (wpa_s->driver->poll) { in wpa_drv_poll()
221 wpa_s->driver->poll(wpa_s->drv_priv); in wpa_drv_poll()
227 if (wpa_s->driver->get_ifname) { in wpa_drv_get_ifname()
228 return wpa_s->driver->get_ifname(wpa_s->drv_priv); in wpa_drv_get_ifname()
236 if (wpa_s->driver->get_radio_name) in wpa_driver_get_radio_name()
237 return wpa_s->driver->get_radio_name(wpa_s->drv_priv); in wpa_driver_get_radio_name()
243 if (wpa_s->driver->get_mac_addr) { in wpa_drv_get_mac_addr()
244 return wpa_s->driver->get_mac_addr(wpa_s->drv_priv); in wpa_drv_get_mac_addr()
252 if (wpa_s->driver->set_operstate) in wpa_drv_set_operstate()
253 return wpa_s->driver->set_operstate(wpa_s->drv_priv, state); in wpa_drv_set_operstate()
261 if (wpa_s->driver->mlme_setprotection) in wpa_drv_mlme_setprotection()
262 return wpa_s->driver->mlme_setprotection(wpa_s->drv_priv, addr, in wpa_drv_mlme_setprotection()
272 if (wpa_s->driver->get_hw_feature_data) in wpa_drv_get_hw_feature_data()
273 return wpa_s->driver->get_hw_feature_data(wpa_s->drv_priv, in wpa_drv_get_hw_feature_data()
281 if (wpa_s->driver->set_country) in wpa_drv_set_country()
282 return wpa_s->driver->set_country(wpa_s->drv_priv, alpha2); in wpa_drv_set_country()
290 if (wpa_s->driver->send_mlme) in wpa_drv_send_mlme()
291 return wpa_s->driver->send_mlme(wpa_s->drv_priv, in wpa_drv_send_mlme()
301 if (wpa_s->driver->update_ft_ies) in wpa_drv_update_ft_ies()
302 return wpa_s->driver->update_ft_ies(wpa_s->drv_priv, md, in wpa_drv_update_ft_ies()
310 if (wpa_s->driver->set_ap) in wpa_drv_set_ap()
311 return wpa_s->driver->set_ap(wpa_s->drv_priv, params); in wpa_drv_set_ap()
318 if (wpa_s->driver->sta_add) in wpa_drv_sta_add()
319 return wpa_s->driver->sta_add(wpa_s->drv_priv, params); in wpa_drv_sta_add()
326 if (wpa_s->driver->sta_remove) in wpa_drv_sta_remove()
327 return wpa_s->driver->sta_remove(wpa_s->drv_priv, addr); in wpa_drv_sta_remove()
336 if (wpa_s->driver->hapd_send_eapol) in wpa_drv_hapd_send_eapol()
337 return wpa_s->driver->hapd_send_eapol(wpa_s->drv_priv, addr, in wpa_drv_hapd_send_eapol()
347 if (wpa_s->driver->sta_set_flags) in wpa_drv_sta_set_flags()
348 return wpa_s->driver->sta_set_flags(wpa_s->drv_priv, addr, in wpa_drv_sta_set_flags()
357 if (wpa_s->driver->set_supp_port) { in wpa_drv_set_supp_port()
358 return wpa_s->driver->set_supp_port(wpa_s->drv_priv, in wpa_drv_set_supp_port()
372 if (wpa_s->driver->send_action) in wpa_drv_send_action()
373 return wpa_s->driver->send_action(wpa_s->drv_priv, freq, in wpa_drv_send_action()
381 if (wpa_s->driver->send_action_cancel_wait) in wpa_drv_send_action_cancel_wait()
382 wpa_s->driver->send_action_cancel_wait(wpa_s->drv_priv); in wpa_drv_send_action_cancel_wait()
388 if (wpa_s->driver->set_freq) in wpa_drv_set_freq()
389 return wpa_s->driver->set_freq(wpa_s->drv_priv, freq); in wpa_drv_set_freq()
399 if (wpa_s->driver->if_add) in wpa_drv_if_add()
400 return wpa_s->driver->if_add(wpa_s->drv_priv, type, ifname, in wpa_drv_if_add()
410 if (wpa_s->driver->if_remove) in wpa_drv_if_remove()
411 return wpa_s->driver->if_remove(wpa_s->drv_priv, type, ifname); in wpa_drv_if_remove()
419 if (wpa_s->driver->remain_on_channel) in wpa_drv_remain_on_channel()
420 return wpa_s->driver->remain_on_channel(wpa_s->drv_priv, freq, in wpa_drv_remain_on_channel()
428 if (wpa_s->driver->cancel_remain_on_channel) in wpa_drv_cancel_remain_on_channel()
429 return wpa_s->driver->cancel_remain_on_channel( in wpa_drv_cancel_remain_on_channel()
437 if (wpa_s->driver->probe_req_report) in wpa_drv_probe_req_report()
438 return wpa_s->driver->probe_req_report(wpa_s->drv_priv, in wpa_drv_probe_req_report()
445 if (wpa_s->driver->deinit_ap) in wpa_drv_deinit_ap()
446 return wpa_s->driver->deinit_ap(wpa_s->drv_priv); in wpa_drv_deinit_ap()
452 if (wpa_s->driver->deinit_p2p_cli) in wpa_drv_deinit_p2p_cli()
453 return wpa_s->driver->deinit_p2p_cli(wpa_s->drv_priv); in wpa_drv_deinit_p2p_cli()
459 if (wpa_s->driver->suspend) in wpa_drv_suspend()
460 wpa_s->driver->suspend(wpa_s->drv_priv); in wpa_drv_suspend()
465 if (wpa_s->driver->resume) in wpa_drv_resume()
466 wpa_s->driver->resume(wpa_s->drv_priv); in wpa_drv_resume()
472 if (wpa_s->driver->signal_monitor) in wpa_drv_signal_monitor()
473 return wpa_s->driver->signal_monitor(wpa_s->drv_priv, in wpa_drv_signal_monitor()
481 if (wpa_s->driver->signal_poll) in wpa_drv_signal_poll()
482 return wpa_s->driver->signal_poll(wpa_s->drv_priv, si); in wpa_drv_signal_poll()
489 if (wpa_s->driver->read_sta_data) in wpa_drv_pktcnt_poll()
490 return wpa_s->driver->read_sta_data(wpa_s->drv_priv, sta, in wpa_drv_pktcnt_poll()
500 if (!wpa_s->driver->set_ap_wps_ie) in wpa_drv_set_ap_wps_ie()
502 return wpa_s->driver->set_ap_wps_ie(wpa_s->drv_priv, beacon, in wpa_drv_set_ap_wps_ie()
509 if (!wpa_s->driver->get_noa) in wpa_drv_get_noa()
511 return wpa_s->driver->get_noa(wpa_s->drv_priv, buf, buf_len); in wpa_drv_get_noa()
518 if (!wpa_s->driver->set_p2p_powersave) in wpa_drv_set_p2p_powersave()
520 return wpa_s->driver->set_p2p_powersave(wpa_s->drv_priv, legacy_ps, in wpa_drv_set_p2p_powersave()
526 if (!wpa_s->driver->ampdu) in wpa_drv_ampdu()
528 return wpa_s->driver->ampdu(wpa_s->drv_priv, ampdu); in wpa_drv_ampdu()
537 if (wpa_s->driver->send_tdls_mgmt) { in wpa_drv_send_tdls_mgmt()
538 return wpa_s->driver->send_tdls_mgmt(wpa_s->drv_priv, dst, in wpa_drv_send_tdls_mgmt()
549 if (!wpa_s->driver->tdls_oper) in wpa_drv_tdls_oper()
551 return wpa_s->driver->tdls_oper(wpa_s->drv_priv, oper, peer); in wpa_drv_tdls_oper()
558 if (!wpa_s->driver->driver_cmd) in wpa_drv_driver_cmd()
560 return wpa_s->driver->driver_cmd(wpa_s->drv_priv, cmd, buf, buf_len); in wpa_drv_driver_cmd()
569 if (!wpa_s->driver->set_rekey_info) in wpa_drv_set_rekey_info()
571 wpa_s->driver->set_rekey_info(wpa_s->drv_priv, kek, kek_len, in wpa_drv_set_rekey_info()
578 if (!wpa_s->driver->radio_disable) in wpa_drv_radio_disable()
580 return wpa_s->driver->radio_disable(wpa_s->drv_priv, disabled); in wpa_drv_radio_disable()
586 if (!wpa_s->driver->switch_channel) in wpa_drv_switch_channel()
588 return wpa_s->driver->switch_channel(wpa_s->drv_priv, settings); in wpa_drv_switch_channel()
595 if (!wpa_s->driver->add_tx_ts) in wpa_drv_add_ts()
597 return wpa_s->driver->add_tx_ts(wpa_s->drv_priv, tsid, address, in wpa_drv_add_ts()
604 if (!wpa_s->driver->del_tx_ts) in wpa_drv_del_ts()
606 return wpa_s->driver->del_tx_ts(wpa_s->drv_priv, tid, address); in wpa_drv_del_ts()
613 if (!wpa_s->driver->tdls_enable_channel_switch) in wpa_drv_tdls_enable_channel_switch()
615 return wpa_s->driver->tdls_enable_channel_switch(wpa_s->drv_priv, addr, in wpa_drv_tdls_enable_channel_switch()
624 if (!wpa_s->driver->tdls_disable_channel_switch) in wpa_drv_tdls_disable_channel_switch()
626 return wpa_s->driver->tdls_disable_channel_switch(wpa_s->drv_priv, in wpa_drv_tdls_disable_channel_switch()
634 if (!wpa_s->driver->wnm_oper) in wpa_drv_wnm_oper()
636 return wpa_s->driver->wnm_oper(wpa_s->drv_priv, oper, peer, buf, in wpa_drv_wnm_oper()
643 if (!wpa_s->driver->status) in wpa_drv_status()
645 return wpa_s->driver->status(wpa_s->drv_priv, buf, buflen); in wpa_drv_status()
651 if (!wpa_s->driver->set_qos_map) in wpa_drv_set_qos_map()
653 return wpa_s->driver->set_qos_map(wpa_s->drv_priv, qos_map_set, in wpa_drv_set_qos_map()
660 if (!wpa_s->driver->set_wowlan) in wpa_drv_wowlan()
662 return wpa_s->driver->set_wowlan(wpa_s->drv_priv, triggers); in wpa_drv_wowlan()
669 if (!wpa_s->driver->vendor_cmd) in wpa_drv_vendor_cmd()
671 return wpa_s->driver->vendor_cmd(wpa_s->drv_priv, vendor_id, subcmd, in wpa_drv_vendor_cmd()
678 if (!wpa_s->driver->roaming) in wpa_drv_roaming()
680 return wpa_s->driver->roaming(wpa_s->drv_priv, allowed, bssid); in wpa_drv_roaming()
686 if (!wpa_s->driver->set_mac_addr) in wpa_drv_set_mac_addr()
688 return wpa_s->driver->set_mac_addr(wpa_s->drv_priv, addr); in wpa_drv_set_mac_addr()
697 if (!wpa_s->driver->macsec_init) in wpa_drv_macsec_init()
699 return wpa_s->driver->macsec_init(wpa_s->drv_priv, params); in wpa_drv_macsec_init()
704 if (!wpa_s->driver->macsec_deinit) in wpa_drv_macsec_deinit()
706 return wpa_s->driver->macsec_deinit(wpa_s->drv_priv); in wpa_drv_macsec_deinit()
712 if (!wpa_s->driver->enable_protect_frames) in wpa_drv_enable_protect_frames()
714 return wpa_s->driver->enable_protect_frames(wpa_s->drv_priv, enabled); in wpa_drv_enable_protect_frames()
720 if (!wpa_s->driver->set_replay_protect) in wpa_drv_set_replay_protect()
722 return wpa_s->driver->set_replay_protect(wpa_s->drv_priv, enabled, in wpa_drv_set_replay_protect()
729 if (!wpa_s->driver->set_current_cipher_suite) in wpa_drv_set_current_cipher_suite()
731 return wpa_s->driver->set_current_cipher_suite(wpa_s->drv_priv, cs, in wpa_drv_set_current_cipher_suite()
738 if (!wpa_s->driver->enable_controlled_port) in wpa_drv_enable_controlled_port()
740 return wpa_s->driver->enable_controlled_port(wpa_s->drv_priv, enabled); in wpa_drv_enable_controlled_port()
747 if (!wpa_s->driver->get_receive_lowest_pn) in wpa_drv_get_receive_lowest_pn()
749 return wpa_s->driver->get_receive_lowest_pn(wpa_s->drv_priv, channel, in wpa_drv_get_receive_lowest_pn()
757 if (!wpa_s->driver->get_transmit_next_pn) in wpa_drv_get_transmit_next_pn()
759 return wpa_s->driver->get_transmit_next_pn(wpa_s->drv_priv, channel, in wpa_drv_get_transmit_next_pn()
767 if (!wpa_s->driver->set_transmit_next_pn) in wpa_drv_set_transmit_next_pn()
769 return wpa_s->driver->set_transmit_next_pn(wpa_s->drv_priv, channel, in wpa_drv_set_transmit_next_pn()
776 if (!wpa_s->driver->get_available_receive_sc) in wpa_drv_get_available_receive_sc()
778 return wpa_s->driver->get_available_receive_sc(wpa_s->drv_priv, in wpa_drv_get_available_receive_sc()
787 if (!wpa_s->driver->create_receive_sc) in wpa_drv_create_receive_sc()
789 return wpa_s->driver->create_receive_sc(wpa_s->drv_priv, channel, in wpa_drv_create_receive_sc()
797 if (!wpa_s->driver->delete_receive_sc) in wpa_drv_delete_receive_sc()
799 return wpa_s->driver->delete_receive_sc(wpa_s->drv_priv, channel); in wpa_drv_delete_receive_sc()
806 if (!wpa_s->driver->create_receive_sa) in wpa_drv_create_receive_sa()
808 return wpa_s->driver->create_receive_sa(wpa_s->drv_priv, channel, an, in wpa_drv_create_receive_sa()
815 if (!wpa_s->driver->enable_receive_sa) in wpa_drv_enable_receive_sa()
817 return wpa_s->driver->enable_receive_sa(wpa_s->drv_priv, channel, an); in wpa_drv_enable_receive_sa()
823 if (!wpa_s->driver->disable_receive_sa) in wpa_drv_disable_receive_sa()
825 return wpa_s->driver->disable_receive_sa(wpa_s->drv_priv, channel, an); in wpa_drv_disable_receive_sa()
831 if (!wpa_s->driver->get_available_transmit_sc) in wpa_drv_get_available_transmit_sc()
833 return wpa_s->driver->get_available_transmit_sc(wpa_s->drv_priv, in wpa_drv_get_available_transmit_sc()
842 if (!wpa_s->driver->create_transmit_sc) in wpa_drv_create_transmit_sc()
844 return wpa_s->driver->create_transmit_sc(wpa_s->drv_priv, channel, in wpa_drv_create_transmit_sc()
852 if (!wpa_s->driver->delete_transmit_sc) in wpa_drv_delete_transmit_sc()
854 return wpa_s->driver->delete_transmit_sc(wpa_s->drv_priv, channel); in wpa_drv_delete_transmit_sc()
863 if (!wpa_s->driver->create_transmit_sa) in wpa_drv_create_transmit_sa()
865 return wpa_s->driver->create_transmit_sa(wpa_s->drv_priv, channel, an, in wpa_drv_create_transmit_sa()
872 if (!wpa_s->driver->enable_transmit_sa) in wpa_drv_enable_transmit_sa()
874 return wpa_s->driver->enable_transmit_sa(wpa_s->drv_priv, channel, an); in wpa_drv_enable_transmit_sa()
880 if (!wpa_s->driver->disable_transmit_sa) in wpa_drv_disable_transmit_sa()
882 return wpa_s->driver->disable_transmit_sa(wpa_s->drv_priv, channel, an); in wpa_drv_disable_transmit_sa()
889 if (!wpa_s->driver->set_band) in wpa_drv_setband()
891 return wpa_s->driver->set_band(wpa_s->drv_priv, band); in wpa_drv_setband()
899 if (!wpa_s->driver->get_pref_freq_list) in wpa_drv_get_pref_freq_list()
901 return wpa_s->driver->get_pref_freq_list(wpa_s->drv_priv, if_type, in wpa_drv_get_pref_freq_list()
908 if (!wpa_s->driver->set_prob_oper_freq) in wpa_drv_set_prob_oper_freq()
910 return wpa_s->driver->set_prob_oper_freq(wpa_s->drv_priv, freq); in wpa_drv_set_prob_oper_freq()
915 if (!wpa_s->driver->abort_scan) in wpa_drv_abort_scan()
917 return wpa_s->driver->abort_scan(wpa_s->drv_priv); in wpa_drv_abort_scan()