Home
last modified time | relevance | path

Searched refs:i_val (Results 1 – 13 of 13) sorted by relevance

/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_ioctl.c569 ireq->i_val = wmep->wmep_logcwmin; in ieee80211_ioctl_getwmeparam()
572 ireq->i_val = wmep->wmep_logcwmax; in ieee80211_ioctl_getwmeparam()
575 ireq->i_val = wmep->wmep_aifsn; in ieee80211_ioctl_getwmeparam()
578 ireq->i_val = wmep->wmep_txopLimit; in ieee80211_ioctl_getwmeparam()
582 ireq->i_val = wmep->wmep_acm; in ieee80211_ioctl_getwmeparam()
586 ireq->i_val = !wmep->wmep_noackPolicy; in ieee80211_ioctl_getwmeparam()
636 fc0 = ireq->i_val & 0xff; in ieee80211_ioctl_getappie()
812 ireq->i_val = 1; in ieee80211_ioctl_get80211()
816 ireq->i_val = IEEE80211_WEP_OFF; in ieee80211_ioctl_get80211()
818 ireq->i_val = IEEE80211_WEP_ON; in ieee80211_ioctl_get80211()
[all …]
H A Dieee80211_tdma.c755 ireq->i_val = ts->tdma_slot; in tdma_ioctl_get80211()
758 ireq->i_val = ts->tdma_slotcnt; in tdma_ioctl_get80211()
761 ireq->i_val = ts->tdma_slotlen; in tdma_ioctl_get80211()
764 ireq->i_val = ts->tdma_bintval; in tdma_ioctl_get80211()
783 if (!(0 <= ireq->i_val && ireq->i_val <= ts->tdma_slotcnt)) in tdma_ioctl_set80211()
785 if (ireq->i_val != ts->tdma_slot) { in tdma_ioctl_set80211()
786 ts->tdma_slot = ireq->i_val; in tdma_ioctl_set80211()
791 if (!TDMA_SLOTCNT_VALID(ireq->i_val)) in tdma_ioctl_set80211()
793 if (ireq->i_val != ts->tdma_slotcnt) { in tdma_ioctl_set80211()
794 ts->tdma_slotcnt = ireq->i_val; in tdma_ioctl_set80211()
[all …]
H A Dieee80211_acl.c297 switch (ireq->i_val) { in acl_getioctl()
299 ireq->i_val = as->as_policy; in acl_getioctl()
H A Dieee80211_superg.c1025 ireq->i_val = getathcap(vap, IEEE80211_F_FF); in superg_ioctl_get80211()
1028 ireq->i_val = getathcap(vap, IEEE80211_F_TURBOP); in superg_ioctl_get80211()
1042 if (ireq->i_val) { in superg_ioctl_set80211()
1050 if (ireq->i_val) { in superg_ioctl_set80211()
H A Dieee80211_hwmp.c2047 ireq->i_val = hs->hs_rootmode; in hwmp_ioctl_get80211()
2050 ireq->i_val = hs->hs_maxhops; in hwmp_ioctl_get80211()
2070 if (ireq->i_val < 0 || ireq->i_val > 3) in hwmp_ioctl_set80211()
2072 hs->hs_rootmode = ireq->i_val; in hwmp_ioctl_set80211()
2076 if (ireq->i_val <= 0 || ireq->i_val > 255) in hwmp_ioctl_set80211()
2078 hs->hs_maxhops = ireq->i_val; in hwmp_ioctl_set80211()
H A Dieee80211_mesh.c3429 ireq->i_val = (ms->ms_flags & IEEE80211_MESHFLAGS_AP) != 0; in mesh_ioctl_get80211()
3432 ireq->i_val = (ms->ms_flags & IEEE80211_MESHFLAGS_FWD) != 0; in mesh_ioctl_get80211()
3435 ireq->i_val = (ms->ms_flags & IEEE80211_MESHFLAGS_GATE) != 0; in mesh_ioctl_get80211()
3438 ireq->i_val = ms->ms_ttl; in mesh_ioctl_get80211()
3441 switch (ireq->i_val) { in mesh_ioctl_get80211()
3530 if (ireq->i_val != 0 || ireq->i_len > IEEE80211_MESHID_LEN) in mesh_ioctl_set80211()
3541 if (ireq->i_val) in mesh_ioctl_set80211()
3548 if (ireq->i_val) in mesh_ioctl_set80211()
3555 if (ireq->i_val) in mesh_ioctl_set80211()
3561 ms->ms_ttl = (uint8_t) ireq->i_val; in mesh_ioctl_set80211()
[all …]
H A Dieee80211_ioctl.h603 int16_t i_val; /* Index or simple value */ member
/haiku/src/add-ons/kernel/drivers/network/wlan/aironetwifi/dev/an/
H A Dif_an.c2033 if (ireq->i_val == -1) { in an_ioctl()
2043 } else if (ireq->i_val >= 0) { in an_ioctl()
2059 if (ireq->i_val > max) { in an_ioctl()
2064 len = ssids->an_entry[ireq->i_val].an_len; in an_ioctl()
2065 tmpptr = ssids->an_entry[ireq->i_val].an_ssid; in an_ioctl()
2103 ireq->i_val = max; in an_ioctl()
2118 ireq->i_val = IEEE80211_WEP_MIXED; in an_ioctl()
2120 ireq->i_val = IEEE80211_WEP_ON; in an_ioctl()
2122 ireq->i_val = IEEE80211_WEP_OFF; in an_ioctl()
2132 if (ireq->i_val < 0 || ireq->i_val > 8) { in an_ioctl()
[all …]
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_ioctl.c842 if (!(IEEE80211_TXPOWER_MIN <= txpower->i_val && in ieee80211_ioctl()
843 txpower->i_val <= IEEE80211_TXPOWER_MAX)) { in ieee80211_ioctl()
847 ic->ic_txpower = txpower->i_val; in ieee80211_ioctl()
855 txpower->i_val = ic->ic_txpower; in ieee80211_ioctl()
H A Dieee80211_ioctl.h207 int16_t i_val; /* dBm */ member
/haiku/src/kits/network/libnetapi/
H A DNetworkDevice.cpp60 ireq.i_val = 0; in get_80211()
84 ireq.i_val = value; in set_80211()
/haiku/src/bin/network/ifconfig/
H A Difconfig.cpp439 request.i_val = controlValue; in configure_wireless()
/haiku/src/servers/net/
H A DNetServer.cpp127 ireq.i_val = value; in set_80211()