Home
last modified time | relevance | path

Searched refs:rfkill (Results 1 – 12 of 12) sorted by relevance

/external/wpa_supplicant_8/src/drivers/
Drfkill.c57 struct rfkill_data *rfkill = eloop_ctx; in rfkill_receive() local
62 len = read(rfkill->fd, &event, sizeof(event)); in rfkill_receive()
74 if (event.op != RFKILL_OP_CHANGE || event.idx != rfkill->idx) in rfkill_receive()
93 if (new_blocked != rfkill->blocked) { in rfkill_receive()
94 rfkill->blocked = new_blocked; in rfkill_receive()
96 rfkill->cfg->blocked_cb(rfkill->cfg->ctx); in rfkill_receive()
98 rfkill->cfg->unblocked_cb(rfkill->cfg->ctx); in rfkill_receive()
105 struct rfkill_data *rfkill; in rfkill_init() local
113 rfkill = os_zalloc(sizeof(*rfkill)); in rfkill_init()
114 if (rfkill == NULL) in rfkill_init()
[all …]
Drfkill.h22 void rfkill_deinit(struct rfkill_data *rfkill);
23 int rfkill_is_blocked(struct rfkill_data *rfkill);
Ddriver_wext.h25 struct rfkill_data *rfkill; member
Ddrivers.mk149 DRV_OBJS += src/drivers/rfkill.c
Ddrivers.mak164 DRV_OBJS += ../src/drivers/rfkill.o
Ddriver_nl80211.h95 struct rfkill_data *rfkill; member
Ddriver_wext.c846 drv->rfkill = rfkill_init(rcfg); in wpa_driver_wext_init()
847 if (drv->rfkill == NULL) { in wpa_driver_wext_init()
862 rfkill_deinit(drv->rfkill); in wpa_driver_wext_init()
982 if (rfkill_is_blocked(drv->rfkill)) { in wpa_driver_wext_finish_drv_init()
1054 rfkill_deinit(drv->rfkill); in wpa_driver_wext_deinit()
Ddriver_nl80211.c1665 if (drv->rfkill) in wpa_driver_nl80211_drv_init_rfkill()
1688 !tmp1->rfkill) in wpa_driver_nl80211_drv_init_rfkill()
1705 drv->rfkill = rfkill_init(rcfg); in wpa_driver_nl80211_drv_init_rfkill()
1706 if (!drv->rfkill) { in wpa_driver_nl80211_drv_init_rfkill()
2302 if (!rfkill_is_blocked(drv->rfkill)) { in wpa_driver_nl80211_finish_drv_init()
2424 rfkill_deinit(drv->rfkill); in wpa_driver_nl80211_deinit()
/external/toybox/
DAndroid.mk119 toys/other/rfkill.c \
/external/toybox/generated/
Dnewtoys.h187 USE_RFKILL(NEWTOY(rfkill, "<1>2", TOYFLAG_USR|TOYFLAG_SBIN))
Dflags.h4765 #define TT this.rfkill
/external/wpa_supplicant_8/wpa_supplicant/
DChangeLog225 e.g., when rfkill blocking happens during scanning or when