Home
last modified time | relevance | path

Searched refs:rcfg (Results 1 – 3 of 3) sorted by relevance

/external/wpa_supplicant_8/src/drivers/
Ddriver_wext.c803 struct rfkill_config *rcfg; in wpa_driver_wext_init() local
839 rcfg = os_zalloc(sizeof(*rcfg)); in wpa_driver_wext_init()
840 if (rcfg == NULL) in wpa_driver_wext_init()
842 rcfg->ctx = drv; in wpa_driver_wext_init()
843 os_strlcpy(rcfg->ifname, ifname, sizeof(rcfg->ifname)); in wpa_driver_wext_init()
844 rcfg->blocked_cb = wpa_driver_wext_rfkill_blocked; in wpa_driver_wext_init()
845 rcfg->unblocked_cb = wpa_driver_wext_rfkill_unblocked; in wpa_driver_wext_init()
846 drv->rfkill = rfkill_init(rcfg); in wpa_driver_wext_init()
849 os_free(rcfg); in wpa_driver_wext_init()
Ddriver_nl80211.c1663 struct rfkill_config *rcfg; in wpa_driver_nl80211_drv_init_rfkill() local
1668 rcfg = os_zalloc(sizeof(*rcfg)); in wpa_driver_nl80211_drv_init_rfkill()
1669 if (!rcfg) in wpa_driver_nl80211_drv_init_rfkill()
1672 rcfg->ctx = drv; in wpa_driver_nl80211_drv_init_rfkill()
1694 os_strlcpy(rcfg->ifname, tmp1->first_bss->ifname, in wpa_driver_nl80211_drv_init_rfkill()
1695 sizeof(rcfg->ifname)); in wpa_driver_nl80211_drv_init_rfkill()
1699 os_strlcpy(rcfg->ifname, drv->first_bss->ifname, in wpa_driver_nl80211_drv_init_rfkill()
1700 sizeof(rcfg->ifname)); in wpa_driver_nl80211_drv_init_rfkill()
1703 rcfg->blocked_cb = wpa_driver_nl80211_rfkill_blocked; in wpa_driver_nl80211_drv_init_rfkill()
1704 rcfg->unblocked_cb = wpa_driver_nl80211_rfkill_unblocked; in wpa_driver_nl80211_drv_init_rfkill()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c1504 struct wps_registrar_config rcfg; in wpas_wps_init() local
1568 os_memset(&rcfg, 0, sizeof(rcfg)); in wpas_wps_init()
1569 rcfg.new_psk_cb = wpas_wps_new_psk_cb; in wpas_wps_init()
1570 rcfg.pin_needed_cb = wpas_wps_pin_needed_cb; in wpas_wps_init()
1571 rcfg.set_sel_reg_cb = wpas_wps_set_sel_reg_cb; in wpas_wps_init()
1572 rcfg.cb_ctx = wpa_s; in wpas_wps_init()
1574 wps->registrar = wps_registrar_init(wps, &rcfg); in wpas_wps_init()