Searched refs:rcfg (Results 1 – 3 of 3) sorted by relevance
803 struct rfkill_config *rcfg; in wpa_driver_wext_init() local839 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()
1663 struct rfkill_config *rcfg; in wpa_driver_nl80211_drv_init_rfkill() local1668 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 …]
1504 struct wps_registrar_config rcfg; in wpas_wps_init() local1568 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()