Searched refs:rfkill (Results 1 - 9 of 9) sorted by relevance

/netbsd-current/external/bsd/wpa/dist/src/drivers/
H A Drfkill.c2 * Linux rfkill helper functions for driver wrappers
15 #include "rfkill.h"
57 struct rfkill_data *rfkill = eloop_ctx; local
62 len = read(rfkill->fd, &event, sizeof(event));
64 wpa_printf(MSG_ERROR, "rfkill: Event read failed: %s",
69 wpa_printf(MSG_DEBUG, "rfkill: Unexpected event size "
74 if (event.op != RFKILL_OP_CHANGE || event.idx != rfkill->idx)
77 wpa_printf(MSG_DEBUG, "rfkill: event: idx=%u type=%d "
83 wpa_printf(MSG_INFO, "rfkill: WLAN hard blocked");
86 wpa_printf(MSG_INFO, "rfkill
105 struct rfkill_data *rfkill; local
203 rfkill_deinit(struct rfkill_data *rfkill) argument
218 rfkill_is_blocked(struct rfkill_data *rfkill) argument
[all...]
H A Drfkill.h2 * Linux rfkill helper functions for driver wrappers
22 void rfkill_deinit(struct rfkill_data *rfkill);
23 int rfkill_is_blocked(struct rfkill_data *rfkill);
H A Ddriver_wext.h25 struct rfkill_data *rfkill; member in struct:wpa_driver_wext_data
H A Ddrivers.mk140 DRV_OBJS += src/drivers/rfkill.c
H A Ddrivers.mak148 DRV_OBJS += ../src/drivers/rfkill.o
H A Ddriver_nl80211.h104 struct rfkill_data *rfkill; member in struct:wpa_driver_nl80211_data
H A Ddriver_wext.c31 #include "rfkill.h"
741 "after rfkill unblock");
835 drv->rfkill = rfkill_init(rcfg);
836 if (drv->rfkill == NULL) {
851 rfkill_deinit(drv->rfkill);
973 if (rfkill_is_blocked(drv->rfkill)) {
975 "interface '%s' due to rfkill",
1046 rfkill_deinit(drv->rfkill);
H A Ddriver_nl80211.c39 #include "rfkill.h"
1838 "after rfkill unblock");
1940 if (drv->rfkill)
1949 /* rfkill uses netdev sysfs for initialization. However, P2P Device is
1963 !tmp1->rfkill)
1967 "nl80211: Use (%s) to initialize P2P Device rfkill",
1980 drv->rfkill = rfkill_init(rcfg);
1981 if (!drv->rfkill) {
2671 if (!rfkill_is_blocked(drv->rfkill)) {
2687 "interface '%s' due to rfkill", bs
[all...]
/netbsd-current/sys/dev/ic/
H A Dath_netbsd.c296 u_int rfkill; local
301 rfkill = ath_hal_getrfkill(sc->sc_ah);
302 node.sysctl_data = &rfkill;
306 return !ath_hal_setrfkill(sc->sc_ah, rfkill) ? EINVAL : 0;
503 if ((rc = SYSCTL_INT_SUBR(CTLFLAG_READWRITE, rfkill,

Completed in 297 milliseconds