Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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.mk145 DRV_OBJS += src/drivers/rfkill.c
Ddrivers.mak154 DRV_OBJS += ../src/drivers/rfkill.o
Ddriver_nl80211.h106 struct rfkill_data *rfkill; member
Ddriver_wext.c835 drv->rfkill = rfkill_init(rcfg); in wpa_driver_wext_init()
836 if (drv->rfkill == NULL) { in wpa_driver_wext_init()
851 rfkill_deinit(drv->rfkill); in wpa_driver_wext_init()
974 if (rfkill_is_blocked(drv->rfkill)) { in wpa_driver_wext_finish_drv_init()
1051 rfkill_deinit(drv->rfkill); in wpa_driver_wext_deinit()
Ddriver_nl80211.c2145 if (drv->rfkill) in wpa_driver_nl80211_drv_init_rfkill()
2168 !tmp1->rfkill) in wpa_driver_nl80211_drv_init_rfkill()
2185 drv->rfkill = rfkill_init(rcfg); in wpa_driver_nl80211_drv_init_rfkill()
2186 if (!drv->rfkill) { in wpa_driver_nl80211_drv_init_rfkill()
2911 if (!rfkill_is_blocked(drv->rfkill)) { in wpa_driver_nl80211_finish_drv_init()
3035 rfkill_deinit(drv->rfkill); in wpa_driver_nl80211_deinit()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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.mk146 DRV_OBJS += src/drivers/rfkill.c
Ddrivers.mak154 DRV_OBJS += ../src/drivers/rfkill.o
Ddriver_nl80211.h104 struct rfkill_data *rfkill; member
Ddriver_wext.c835 drv->rfkill = rfkill_init(rcfg); in wpa_driver_wext_init()
836 if (drv->rfkill == NULL) { in wpa_driver_wext_init()
851 rfkill_deinit(drv->rfkill); in wpa_driver_wext_init()
973 if (rfkill_is_blocked(drv->rfkill)) { in wpa_driver_wext_finish_drv_init()
1046 rfkill_deinit(drv->rfkill); in wpa_driver_wext_deinit()
Ddriver_nl80211.c1940 if (drv->rfkill) in wpa_driver_nl80211_drv_init_rfkill()
1963 !tmp1->rfkill) in wpa_driver_nl80211_drv_init_rfkill()
1980 drv->rfkill = rfkill_init(rcfg); in wpa_driver_nl80211_drv_init_rfkill()
1981 if (!drv->rfkill) { in wpa_driver_nl80211_drv_init_rfkill()
2671 if (!rfkill_is_blocked(drv->rfkill)) { in wpa_driver_nl80211_finish_drv_init()
2797 rfkill_deinit(drv->rfkill); in wpa_driver_nl80211_deinit()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/
DBUILD.gn564 "$WPA_ROOT_DIR/src/drivers/rfkill.c",
726 "$WPA_ROOT_DIR/src/drivers/rfkill.c",
887 "$WPA_ROOT_DIR/src/drivers/rfkill.c",
1050 "$WPA_ROOT_DIR/src/drivers/rfkill.c",
DCMakeLists.txt376 src/drivers/rfkill.c
377 src/drivers/rfkill.h
/third_party/toybox/
DBUILD.gn54 "toys/net/rfkill.c",
388 "bin/rfkill",
545 "toys/net/rfkill.c",
903 "rfkill",
/third_party/toybox/generated/
Dnewtoys.h217 USE_RFKILL(NEWTOY(rfkill, "<1>2", TOYFLAG_USR|TOYFLAG_SBIN))
Dflags.h5499 #define TT this.rfkill
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
DChangeLog590 e.g., when rfkill blocking happens during scanning or when
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
DChangeLog537 e.g., when rfkill blocking happens during scanning or when