Lines Matching refs:rcfg
2104 struct rfkill_config *rcfg; in wpa_driver_nl80211_drv_init_rfkill() local
2109 rcfg = os_zalloc(sizeof(*rcfg)); in wpa_driver_nl80211_drv_init_rfkill()
2110 if (!rcfg) in wpa_driver_nl80211_drv_init_rfkill()
2113 rcfg->ctx = drv; in wpa_driver_nl80211_drv_init_rfkill()
2135 os_strlcpy(rcfg->ifname, tmp1->first_bss->ifname, in wpa_driver_nl80211_drv_init_rfkill()
2136 sizeof(rcfg->ifname)); in wpa_driver_nl80211_drv_init_rfkill()
2140 os_strlcpy(rcfg->ifname, drv->first_bss->ifname, in wpa_driver_nl80211_drv_init_rfkill()
2141 sizeof(rcfg->ifname)); in wpa_driver_nl80211_drv_init_rfkill()
2144 rcfg->blocked_cb = wpa_driver_nl80211_rfkill_blocked; in wpa_driver_nl80211_drv_init_rfkill()
2145 rcfg->unblocked_cb = wpa_driver_nl80211_rfkill_unblocked; in wpa_driver_nl80211_drv_init_rfkill()
2146 drv->rfkill = rfkill_init(rcfg); in wpa_driver_nl80211_drv_init_rfkill()
2149 os_free(rcfg); in wpa_driver_nl80211_drv_init_rfkill()