Home
last modified time | relevance | path

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

/freebsd/sys/net80211/
H A Dieee80211_ioctl.c568 ireq->i_val = wmep->wmep_logcwmin; in ieee80211_ioctl_getwmeparam()
571 ireq->i_val = wmep->wmep_logcwmax; in ieee80211_ioctl_getwmeparam()
574 ireq->i_val = wmep->wmep_aifsn; in ieee80211_ioctl_getwmeparam()
577 ireq->i_val = wmep->wmep_txopLimit; in ieee80211_ioctl_getwmeparam()
581 ireq->i_val = wmep->wmep_acm; in ieee80211_ioctl_getwmeparam()
585 ireq->i_val = !wmep->wmep_noackPolicy; in ieee80211_ioctl_getwmeparam()
635 fc0 = ireq->i_val & 0xff; in ieee80211_ioctl_getappie()
811 ireq->i_val = 1; in ieee80211_ioctl_get80211()
815 ireq->i_val = IEEE80211_WEP_OFF; in ieee80211_ioctl_get80211()
817 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.h593 int16_t i_val; /* Index or simple value */ member
/freebsd/sys/contrib/openzfs/module/lua/
H A Dltable.h15 #define gval(n) (&(n)->i_val)
22 (gkey(cast(Node *, cast(char *, (v)) - offsetof(Node, i_val))))
H A Dlobject.h555 TValue i_val; member
/freebsd/lib/lib80211/
H A Dlib80211_ioctl.c137 *val = ireq.i_val; in lib80211_get80211val()
149 ireq.i_val = val; in lib80211_set80211()
/freebsd/contrib/lua/src/
H A Dltable.h14 #define gval(n) (&(n)->i_val)
H A Dlobject.h708 TValue i_val; /* direct access to node's value as a proper 'TValue' */ member
/freebsd/tools/tools/net80211/mlme_assoc/
H A Dmlme_assoc.c102 ireq.i_val = 0; in try_mlme_assoc()
/freebsd/sbin/ifconfig/
H A Difieee80211.c4320 *val = ireq.i_val; in get80211wme()
4518 ireq.i_val = IEEE80211_MACCMD_POLICY; in list_mac()
4526 policy = ireq.i_val; in list_mac()
4542 ireq.i_val = IEEE80211_MACCMD_LIST; in list_mac()
4623 ireq.i_val = IEEE80211_MESH_RTCMD_LIST; in list_mesh()
4729 switch (ireq->i_val) {
4755 printf("UNKNOWN (0x%x)", ireq->i_val);
4853 ireq.i_val = ix; in getid()
4869 ireq.i_val = -1; in getdevicename()
5029 LINE_CHECK("RSN caps 0x%x", ireq.i_val); in ieee80211_status()
[all...]
/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_sys.c175 ireq.i_val = *val; in wlan_ioctl()
187 *val = ireq.i_val; in wlan_ioctl()
2376 ireq.i_val = IEEE80211_MACCMD_POLICY; in wlan_get_mac_policy()
2503 ireq.i_val = IEEE80211_MACCMD_LIST; in wlan_get_mac_acl_macs()
/freebsd/tools/tools/net80211/wlaninject/
H A Dwlaninject.c63 ireq.i_val = chan; in setup_if()
/freebsd/tools/tools/net80211/stumbler/
H A Dstumbler.c260 chaninfo.ireq.i_val = c; in set_chan()
/freebsd/sys/contrib/dev/rtw88/
H A Drtw8822c.c3507 u32 i_val, q_val; in rtw8822c_dpk_pas_read() local
3516 i_val = rtw_read32_mask(rtwdev, REG_STAT_RPT, MASKLWORD); in rtw8822c_dpk_pas_read()
3518 if (i_val & BIT(15)) in rtw8822c_dpk_pas_read()
3519 i_val = 0x10000 - i_val; in rtw8822c_dpk_pas_read()
3525 return i_val * i_val + q_val * q_val; in rtw8822c_dpk_pas_read()
/freebsd/contrib/wpa/src/drivers/
H A Ddriver_bsd.c117 ireq.i_val = val; in bsd_set80211()
1141 return ireq.i_val; in get80211param()
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_atomic.cpp1948 kmp_int##BITS i_val; \
1953 old_value.i_val = KMP_COMPARE_AND_STORE_RET##BITS( \
1955 *VOLATILE_CAST(kmp_int##BITS *) & old_value.i_val, \
1956 *VOLATILE_CAST(kmp_int##BITS *) & old_value.i_val); \
/freebsd/tools/tools/net80211/wesside/wesside/
H A Dwesside.c329 chaninfo.ireq.i_val = c; in set_chan()