Searched defs:wh (Results 1 - 25 of 46) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_crypto_none.c106 struct ieee80211_frame *wh = (struct ieee80211_frame *)mp->b_rptr; local
107 const uint8_t *ivp = (const uint8_t *)&wh[1];
H A Dnet80211_crypto_ccmp.c360 ccmp_init(struct ieee80211_frame *wh, uint64_t pn, size_t dlen, argument
372 IEEE80211_ADDR_COPY(b0 + 2, wh->i_addr2);
392 aad[2] = wh->i_fc[0] & 0x8f; /* magic #s */
393 aad[3] = wh->i_fc[1] & 0xc7; /* magic #s */
395 (void) memcpy(aad + 4, wh->i_addr1, 3 * IEEE80211_ADDR_LEN);
396 aad[22] = wh->i_seq[0] & IEEE80211_SEQ_FRAG_MASK;
408 if (IEEE80211_QOS_HAS_SEQ(wh)) {
410 (struct ieee80211_qosframe *)wh;
427 struct ieee80211_frame *wh; local
433 wh
458 struct ieee80211_frame *wh; local
[all...]
H A Dnet80211_crypto_wep.c129 struct ieee80211_frame *wh = (struct ieee80211_frame *)mp->b_rptr; local
136 hdrlen = ieee80211_hdrspace(ctx->wc_ic, wh);
138 ivp = (uint8_t *)wh;
H A Dnet80211_output.c56 struct ieee80211_frame *wh, int type, const uint8_t *sa, const uint8_t *da,
59 wh->i_fc[0] = (uint8_t)(IEEE80211_FC0_VERSION_0 | type);
63 wh->i_fc[1] = IEEE80211_FC1_DIR_TODS;
64 IEEE80211_ADDR_COPY(wh->i_addr1, bssid);
65 IEEE80211_ADDR_COPY(wh->i_addr2, sa);
66 IEEE80211_ADDR_COPY(wh->i_addr3, da);
70 wh->i_fc[1] = IEEE80211_FC1_DIR_NODS;
71 IEEE80211_ADDR_COPY(wh->i_addr1, da);
72 IEEE80211_ADDR_COPY(wh->i_addr2, sa);
73 IEEE80211_ADDR_COPY(wh
55 ieee80211_send_setup(ieee80211com_t *ic, ieee80211_node_t *in, struct ieee80211_frame *wh, int type, const uint8_t *sa, const uint8_t *da, const uint8_t *bssid) argument
108 struct ieee80211_frame *wh; local
140 struct ieee80211_frame *wh; local
178 struct ieee80211_frame *wh; local
430 struct ieee80211_frame *wh; local
796 struct ieee80211_frame *wh; local
[all...]
H A Dnet80211.c560 const struct ieee80211_frame *wh = data; local
564 ASSERT((wh->i_fc[0]&IEEE80211_FC0_TYPE_MASK) !=
566 if ((wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) == IEEE80211_FC1_DIR_DSTODS)
568 if (IEEE80211_QOS_HAS_SEQ(wh))
594 const struct ieee80211_frame *wh = data; local
596 if ((wh->i_fc[0]&IEEE80211_FC0_TYPE_MASK) == IEEE80211_FC0_TYPE_CTL) {
597 switch (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) {
H A Dnet80211_input.c64 struct ieee80211_frame *wh; local
86 wh = (struct ieee80211_frame *)mp->b_rptr;
88 dir = wh->i_fc[1] & IEEE80211_FC1_DIR_MASK;
90 hdrspace = ieee80211_hdrspace(ic, wh); /* optimize */
111 wh = (struct ieee80211_frame *)mp->b_rptr;
112 if ((wh->i_fc[0] & IEEE80211_FC0_VERSION_MASK) !=
115 "discard pkt with wrong version %x", wh->i_fc[0]);
119 dir = wh->i_fc[1] & IEEE80211_FC1_DIR_MASK;
120 type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
121 subtype = wh
429 struct ieee80211_frame *wh = (struct ieee80211_frame *)mp->b_rptr; local
554 ieee80211_auth_open(ieee80211com_t *ic, struct ieee80211_frame *wh, struct ieee80211_node *in, uint16_t seq, uint16_t status) argument
611 ieee80211_auth_shared(ieee80211com_t *ic, struct ieee80211_frame *wh, uint8_t *frm, uint8_t *efrm, struct ieee80211_node *in, uint16_t seq, uint16_t status) argument
783 ieee80211_parse_wmeparams(struct ieee80211com *ic, uint8_t *frm, const struct ieee80211_frame *wh) argument
830 struct ieee80211_frame *wh; local
1138 struct ieee80211_frame *wh; local
[all...]
H A Dnet80211_proto.c115 struct ieee80211_frame *wh; local
122 wh = (struct ieee80211_frame *)buf;
123 switch (wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) {
126 ieee80211_macaddr_sprintf(wh->i_addr2));
129 ieee80211_macaddr_sprintf(wh->i_addr1));
132 ieee80211_macaddr_sprintf(wh->i_addr3));
137 ieee80211_macaddr_sprintf(wh->i_addr2));
140 ieee80211_macaddr_sprintf(wh->i_addr3));
143 ieee80211_macaddr_sprintf(wh->i_addr1));
148 ieee80211_macaddr_sprintf(wh
[all...]
H A Dnet80211_crypto_tkip.c619 const struct ieee80211_frame_addr4 *wh = local
622 switch (wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) {
624 IEEE80211_ADDR_COPY(hdr, wh->i_addr1); /* DA */
625 IEEE80211_ADDR_COPY(hdr + IEEE80211_ADDR_LEN, wh->i_addr2);
628 IEEE80211_ADDR_COPY(hdr, wh->i_addr3); /* DA */
629 IEEE80211_ADDR_COPY(hdr + IEEE80211_ADDR_LEN, wh->i_addr2);
632 IEEE80211_ADDR_COPY(hdr, wh->i_addr1); /* DA */
633 IEEE80211_ADDR_COPY(hdr + IEEE80211_ADDR_LEN, wh->i_addr3);
636 IEEE80211_ADDR_COPY(hdr, wh->i_addr3); /* DA */
637 IEEE80211_ADDR_COPY(hdr + IEEE80211_ADDR_LEN, wh
715 struct ieee80211_frame *wh; local
746 struct ieee80211_frame *wh; local
[all...]
H A Dnet80211_node.c1073 const struct ieee80211_frame *wh, int subtype, int rssi, int rstamp)
1079 in = ieee80211_find_node(nt, wh->i_addr3);
1084 in = ieee80211_alloc_node(ic, nt, wh->i_addr3);
1112 IEEE80211_ADDR_COPY(in->in_bssid, wh->i_addr3);
1161 ieee80211_init_neighbor(ieee80211_node_t *in, const struct ieee80211_frame *wh, argument
1166 IEEE80211_ADDR_COPY(in->in_bssid, wh->i_addr3);
1190 ieee80211_add_neighbor(ieee80211com_t *ic, const struct ieee80211_frame *wh, argument
1195 in = ieee80211_dup_bss(&ic->ic_sta, wh->i_addr2);
1197 ieee80211_init_neighbor(in, wh, sp);
1204 #define IEEE80211_IS_CTL(wh) \
1072 ieee80211_add_scan(ieee80211com_t *ic, const struct ieee80211_scanparams *sp, const struct ieee80211_frame *wh, int subtype, int rssi, int rstamp) argument
1224 ieee80211_find_rxnode(ieee80211com_t *ic, const struct ieee80211_frame *wh) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ral/
H A Dral_rate.c82 struct ieee80211_frame *wh, uint32_t len,
88 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == IEEE80211_FC0_TYPE_CTL)
81 ral_rssadapt_choose(struct ral_rssadapt *ra, struct ieee80211_rateset *rs, struct ieee80211_frame *wh, uint32_t len, const char *dvname, int do_not_adapt) argument
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_cmds2.c56 int wh = skipwh(); local
59 if (wh && isalpha(c = peekchar()) && isascii(c) && !isdigit(c))
61 if (wh && isalpha(c = peekchar()) && isascii(c))
H A Dex_subr.c760 int wh; local
762 wh = 0;
764 wh++;
767 return (wh);
/illumos-gate/usr/src/lib/libm/common/complex/
H A Dk_clog_r.c250 double t1, t2, t3, t4, tk, z, wh, w, zh, zk; local
281 ((int *)&wh)[HIWORD] = iy;
282 ((unsigned *)&wh)[LOWORD] = ly & 0xf8000000;
283 *er = half * ((y - wh) * (y + wh) - (t2 - wh * wh));
344 ((int *)&wh)[HIWORD] = ix + (j >> 5);
345 ((unsigned *)&wh)[LOWORD] = (j << 27);
350 tk = wh
[all...]
H A Dk_clog_rl.c411 long double t1, t2, t3, t4, tk, z, wh, w, zh, zk; local
457 wh = (long double) dk;
458 *er = half * ((y - wh) * (y + wh) - (t2 - wh * wh));
526 wh = x;
530 ((unsigned *)&wh)[0] = 0; /* 32 bits chopped */
532 lx = ((unsigned *)&wh)[2]; /* 56 rounded */
534 ((unsigned *)&wh)[
[all...]
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_recv.c428 struct ieee80211_frame *wh; local
531 wh = (struct ieee80211_frame *)rx_mp->b_rptr;
533 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) ==
549 if (IEEE80211_IS_DATA_QOS(wh)) {
550 if ((wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) ==
553 wh)->i_qos[0];
556 ((struct ieee80211_qosframe *)wh)->i_qos[0];
569 in = ieee80211_find_rxnode(ic, wh);
610 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) ==
612 subtype = wh
[all...]
H A Darn_rc.c1618 struct ieee80211_frame *wh)
1630 if (!IEEE80211_IS_DATA(wh) || IEEE80211_IS_MULTICAST(wh->i_addr1)) {
1633 IEEE80211_IS_MULTICAST(wh->i_addr1) ?
1665 if (ieee80211_is_data_qos(wh)) {
1670 qwh = (struct ieee80211_qosframe *)wh;
1617 arn_get_rate(struct arn_softc *sc, struct ath_buf *bf, struct ieee80211_frame *wh) argument
/illumos-gate/usr/src/uts/common/io/mac/plugins/
H A Dmac_wifi.c187 struct ieee80211_frame *wh; local
202 wh = (struct ieee80211_frame *)mp->b_rptr;
204 wh->i_fc[0] = IEEE80211_FC0_VERSION_0 | IEEE80211_FC0_TYPE_DATA;
208 wh->i_fc[1] = IEEE80211_FC1_DIR_TODS;
209 IEEE80211_ADDR_COPY(wh->i_addr1, wdp->wd_bssid);
210 IEEE80211_ADDR_COPY(wh->i_addr2, saddr);
211 IEEE80211_ADDR_COPY(wh->i_addr3, daddr);
216 wh->i_fc[1] = IEEE80211_FC1_DIR_NODS;
217 IEEE80211_ADDR_COPY(wh->i_addr1, daddr);
218 IEEE80211_ADDR_COPY(wh
280 struct ieee80211_frame *wh; local
[all...]
/illumos-gate/usr/src/uts/common/io/zyd/
H A Dzyd.c227 struct ieee80211_frame *wh; local
262 wh = (struct ieee80211_frame *)m->b_rptr;
263 in = ieee80211_find_rxnode(ic, wh);
285 struct ieee80211_frame *wh; local
337 wh = (struct ieee80211_frame *)m->b_rptr;
338 in = ieee80211_find_txnode(ic, wh->i_addr1);
351 if (wh->i_fc[1] & IEEE80211_FC1_WEP) {
361 wh = (struct ieee80211_frame *)m->b_rptr;
403 if (!IEEE80211_IS_MULTICAST(wh->i_addr1)) {
419 (wh
[all...]
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dshnodes.h195 struct whnod wh; member in union:Shnode_u
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dtgamma.c1408 double r1, r2, t2, z, xh, xl, yh, yl, zh, z1, z2, zl, x5, wh, wl; local
1502 /* wh+wl=(x+5)*yy */
1503 wh = (double) ((float) (x5 * (yy.h + yy.l)));
1504 wl = (z1 * yy.h + x5 * yy.l) - (wh - zh * yy.h);
1505 rr.h = wh * xh;
1506 rr.l = z * wl + xl * wh;
1521 /* wh+wl=(x+1)(x+6)*yy */
1523 wh = (double) ((float) (z2 * (yy.h + yy.l)));
1524 wl = (z2 * yy.l + yl * yy.h) - (wh - (yh - 6.0) * yy.h);
1525 rr.h = wh * x
[all...]
H A Dtgammal.c883 long double r1, r2, t2, z, xh, xl, yh, yl, zh, z1, z2, zl, x5, wh, wl; local
943 /* wh+wl=(x+2)*yy */
944 wh = CHOPPED((z1 * (yy.h + yy.l)));
945 wl = (zl * yy.h + z1 * yy.l) - (wh - zh * yy.h);
947 rr.h = xh * wh;
948 rr.l = z2 * wl + xl * wh;
980 /* wh+wl=(x+5)*yy */
981 wh = CHOPPED((x5 * (yy.h + yy.l)));
982 wl = (z1 * yy.h + x5 * yy.l) - (wh - zh * yy.h);
983 rr.h = wh * x
[all...]
/illumos-gate/usr/src/uts/common/io/atu/
H A Datu.c603 struct ieee80211_frame *wh; local
632 wh = (struct ieee80211_frame *)mp->b_rptr;
634 if (wh->i_fc[1] & IEEE80211_FC1_WEP)
635 wh->i_fc[1] &= ~IEEE80211_FC1_WEP;
637 ni = ieee80211_find_rxnode(ic, wh);
775 struct ieee80211_frame *wh; local
801 wh = (struct ieee80211_frame *)m->b_rptr;
803 ni = ieee80211_find_txnode(ic, wh->i_addr1);
815 if (wh->i_fc[1] & IEEE80211_FC1_WEP) {
/illumos-gate/usr/src/uts/common/pcmcia/cs/
H A Dcs_stubs.c278 csx_RequestWindow(client_handle_t ch, window_handle_t *wh, win_req_t *wr) argument
284 return (CardServices(RequestWindow, ch, wh, wr));
288 csx_ReleaseWindow(window_handle_t wh) argument
292 cmn_err(CE_CONT, "csx_ReleaseWindow: handle: 0x%x\n", wh);
294 return (CardServices(ReleaseWindow, wh));
298 csx_ModifyWindow(window_handle_t wh, modify_win_t *mw) argument
302 cmn_err(CE_CONT, "csx_ModifyWindow: handle: 0x%x\n", wh);
304 return (CardServices(ModifyWindow, wh, mw));
308 csx_MapMemPage(window_handle_t wh, map_mem_page_t *mmp) argument
312 cmn_err(CE_CONT, "csx_MapMemPage: handle: 0x%x\n", wh);
[all...]
/illumos-gate/usr/src/uts/common/io/ipw/
H A Dipw2100.c2024 struct ieee80211_frame wh, *wh_tmp; local
2165 * extract 802.11 header from message, fill wh from m0
2167 hdat = (uint8_t *)&wh;
2173 while (off < sizeof (wh)) {
2175 if (cnt > (sizeof (wh) - off))
2176 cnt = sizeof (wh) - off;
2197 IEEE80211_ADDR_COPY(h->saddr, wh.i_addr2);
2199 IEEE80211_ADDR_COPY(h->daddr, wh.i_addr3);
2201 IEEE80211_ADDR_COPY(h->daddr, wh.i_addr1);
2605 struct ieee80211_frame *wh; local
2645 struct ieee80211_frame *wh = (struct ieee80211_frame *)rxbuf; local
[all...]
/illumos-gate/usr/src/uts/common/io/iwi/
H A Dipw2200.c2178 struct ieee80211_frame *wh; local
2255 wh = (struct ieee80211_frame *)m->b_rptr;
2256 in = ieee80211_find_txnode(ic, wh->i_addr1);
2269 if (wh->i_fc[1] & IEEE80211_FC1_WEP) {
2281 wh = (struct ieee80211_frame *)m->b_rptr;
2293 p = (uint8_t *)&txdsc->wh;
2312 if (!IEEE80211_IS_MULTICAST(wh->i_addr1))
2314 } else if (!IEEE80211_IS_MULTICAST(wh->i_addr3))
2670 struct ieee80211_frame *wh; local
2674 wh
2707 struct ieee80211_frame *wh; local
[all...]

Completed in 124 milliseconds

12