Lines Matching refs:wifi_mgmt_api

353 	return off_api ? off_api->wifi_mgmt_api : NULL;  in get_wifi_api()
363 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_connect() local
365 if (wifi_mgmt_api == NULL || wifi_mgmt_api->connect == NULL) { in wifi_connect()
405 return wifi_mgmt_api->connect(dev, params); in wifi_connect()
439 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_scan() local
441 if (wifi_mgmt_api == NULL || wifi_mgmt_api->scan == NULL) { in wifi_scan()
458 return wifi_mgmt_api->scan(dev, params, scan_result_cb); in wifi_scan()
467 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_disconnect() local
469 if (wifi_mgmt_api == NULL || wifi_mgmt_api->disconnect == NULL) { in wifi_disconnect()
477 return wifi_mgmt_api->disconnect(dev); in wifi_disconnect()
509 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_start_roaming() local
511 if (wifi_mgmt_api == NULL) { in wifi_start_roaming()
520 if (wifi_mgmt_api->start_11r_roaming == NULL) { in wifi_start_roaming()
524 return wifi_mgmt_api->start_11r_roaming(dev); in wifi_start_roaming()
527 if (wifi_mgmt_api->send_11k_neighbor_request == NULL) { in wifi_start_roaming()
531 return wifi_mgmt_api->send_11k_neighbor_request(dev, NULL); in wifi_start_roaming()
532 } else if (wifi_mgmt_api->bss_ext_capab && in wifi_start_roaming()
533 wifi_mgmt_api->bss_ext_capab(dev, WIFI_EXT_CAPAB_BSS_TRANSITION)) { in wifi_start_roaming()
534 if (wifi_mgmt_api->btm_query) { in wifi_start_roaming()
535 return wifi_mgmt_api->btm_query(dev, 0x10); in wifi_start_roaming()
539 } else if (wifi_mgmt_api->legacy_roam) { in wifi_start_roaming()
540 return wifi_mgmt_api->legacy_roam(dev); in wifi_start_roaming()
552 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_neighbor_rep_complete() local
567 if (wifi_mgmt_api == NULL || wifi_mgmt_api->candidate_scan == NULL) { in wifi_neighbor_rep_complete()
571 return wifi_mgmt_api->candidate_scan(dev, &params); in wifi_neighbor_rep_complete()
649 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_ap_enable() local
651 if (wifi_mgmt_api == NULL || wifi_mgmt_api->ap_enable == NULL) { in wifi_ap_enable()
659 return wifi_mgmt_api->ap_enable(dev, params); in wifi_ap_enable()
668 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_ap_disable() local
670 if (wifi_mgmt_api == NULL || wifi_mgmt_api->ap_disable == NULL) { in wifi_ap_disable()
678 return wifi_mgmt_api->ap_disable(dev); in wifi_ap_disable()
687 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_ap_sta_disconnect() local
694 if (wifi_mgmt_api == NULL || wifi_mgmt_api->ap_sta_disconnect == NULL) { in wifi_ap_sta_disconnect()
706 return wifi_mgmt_api->ap_sta_disconnect(dev, mac); in wifi_ap_sta_disconnect()
715 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_ap_config_params() local
722 if (wifi_mgmt_api == NULL || in wifi_ap_config_params()
723 wifi_mgmt_api->ap_config_params == NULL) { in wifi_ap_config_params()
744 return wifi_mgmt_api->ap_config_params(dev, params); in wifi_ap_config_params()
753 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_ap_set_rts_threshold() local
756 if (wifi_mgmt_api == NULL || wifi_mgmt_api->set_rts_threshold == NULL) { in wifi_ap_set_rts_threshold()
768 return wifi_mgmt_api->set_rts_threshold(dev, *rts_threshold); in wifi_ap_set_rts_threshold()
777 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_iface_status() local
780 if (wifi_mgmt_api == NULL || wifi_mgmt_api->iface_status == NULL) { in wifi_iface_status()
788 return wifi_mgmt_api->iface_status(dev, status); in wifi_iface_status()
805 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_iface_stats() local
808 if (wifi_mgmt_api == NULL || wifi_mgmt_api->get_stats == NULL) { in wifi_iface_stats()
816 return wifi_mgmt_api->get_stats(dev, stats); in wifi_iface_stats()
824 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_iface_stats_reset() local
826 if (wifi_mgmt_api == NULL || wifi_mgmt_api->reset_stats == NULL) { in wifi_iface_stats_reset()
830 return wifi_mgmt_api->reset_stats(dev); in wifi_iface_stats_reset()
839 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_11k_cfg() local
842 if (wifi_mgmt_api == NULL || wifi_mgmt_api->cfg_11k == NULL) { in wifi_11k_cfg()
856 return wifi_mgmt_api->cfg_11k(dev, params); in wifi_11k_cfg()
865 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_11k_neighbor_request() local
868 if (wifi_mgmt_api == NULL || wifi_mgmt_api->send_11k_neighbor_request == NULL) { in wifi_11k_neighbor_request()
876 return wifi_mgmt_api->send_11k_neighbor_request(dev, params); in wifi_11k_neighbor_request()
886 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_set_power_save() local
890 if (wifi_mgmt_api == NULL || wifi_mgmt_api->set_power_save == NULL) { in wifi_set_power_save()
931 return wifi_mgmt_api->set_power_save(dev, ps_params); in wifi_set_power_save()
940 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_get_power_save_config() local
943 if (wifi_mgmt_api == NULL || wifi_mgmt_api->get_power_save_config == NULL) { in wifi_get_power_save_config()
955 return wifi_mgmt_api->get_power_save_config(dev, ps_config); in wifi_get_power_save_config()
964 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_set_twt() local
968 if (wifi_mgmt_api == NULL || wifi_mgmt_api->set_twt == NULL) { in wifi_set_twt()
979 return wifi_mgmt_api->set_twt(dev, twt_params); in wifi_set_twt()
1019 return wifi_mgmt_api->set_twt(dev, twt_params); in wifi_set_twt()
1031 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_set_btwt() local
1035 if (wifi_mgmt_api == NULL || wifi_mgmt_api->set_btwt == NULL) { in wifi_set_btwt()
1052 return wifi_mgmt_api->set_btwt(dev, twt_params); in wifi_set_btwt()
1071 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_reg_domain() local
1074 if (wifi_mgmt_api == NULL || wifi_mgmt_api->reg_domain == NULL) { in wifi_reg_domain()
1086 return wifi_mgmt_api->reg_domain(dev, reg_domain); in wifi_reg_domain()
1103 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_mode() local
1110 if (wifi_mgmt_api == NULL || wifi_mgmt_api->mode == NULL) { in wifi_mode()
1118 return wifi_mgmt_api->mode(dev, mode_info); in wifi_mode()
1127 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_packet_filter() local
1134 if (wifi_mgmt_api == NULL || wifi_mgmt_api->filter == NULL) { in wifi_packet_filter()
1142 return wifi_mgmt_api->filter(dev, filter_info); in wifi_packet_filter()
1151 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_channel() local
1158 if (wifi_mgmt_api == NULL || wifi_mgmt_api->channel == NULL) { in wifi_channel()
1166 return wifi_mgmt_api->channel(dev, channel_info); in wifi_channel()
1175 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_get_version() local
1178 if (wifi_mgmt_api == NULL || wifi_mgmt_api->get_version == NULL) { in wifi_get_version()
1182 return wifi_mgmt_api->get_version(dev, ver_params); in wifi_get_version()
1190 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_btm_query() local
1193 if (wifi_mgmt_api == NULL || wifi_mgmt_api->btm_query == NULL) { in wifi_btm_query()
1203 return wifi_mgmt_api->btm_query(dev, query_reason); in wifi_btm_query()
1215 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_get_connection_params() local
1218 if (wifi_mgmt_api == NULL || wifi_mgmt_api->get_conn_params == NULL) { in wifi_get_connection_params()
1226 return wifi_mgmt_api->get_conn_params(dev, conn_params); in wifi_get_connection_params()
1234 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_wps_config() local
1237 if (wifi_mgmt_api == NULL || wifi_mgmt_api->wps_config == NULL) { in wifi_wps_config()
1245 return wifi_mgmt_api->wps_config(dev, params); in wifi_wps_config()
1254 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_set_rts_threshold() local
1257 if (wifi_mgmt_api == NULL || wifi_mgmt_api->set_rts_threshold == NULL) { in wifi_set_rts_threshold()
1269 return wifi_mgmt_api->set_rts_threshold(dev, *rts_threshold); in wifi_set_rts_threshold()
1279 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_dpp() local
1282 if (wifi_mgmt_api == NULL || wifi_mgmt_api->dpp_dispatch == NULL) { in wifi_dpp()
1290 return wifi_mgmt_api->dpp_dispatch(dev, params); in wifi_dpp()
1301 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_pmksa_flush() local
1303 if (wifi_mgmt_api == NULL || wifi_mgmt_api->pmksa_flush == NULL) { in wifi_pmksa_flush()
1311 return wifi_mgmt_api->pmksa_flush(dev); in wifi_pmksa_flush()
1320 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_get_rts_threshold() local
1323 if (wifi_mgmt_api == NULL || wifi_mgmt_api->get_rts_threshold == NULL) { in wifi_get_rts_threshold()
1335 return wifi_mgmt_api->get_rts_threshold(dev, rts_threshold); in wifi_get_rts_threshold()
1345 const struct wifi_mgmt_ops *const wifi_mgmt_api = get_wifi_api(iface); in wifi_set_enterprise_creds() local
1348 if (wifi_mgmt_api == NULL || wifi_mgmt_api->enterprise_creds == NULL) { in wifi_set_enterprise_creds()
1356 return wifi_mgmt_api->enterprise_creds(dev, params); in wifi_set_enterprise_creds()