Searched refs:wh (Results 26 - 50 of 84) sorted by relevance

1234

/freebsd-11-stable/sys/dev/iwm/
H A Dif_iwm_scan.c302 struct ieee80211_frame *wh = (struct ieee80211_frame *)preq->buf; local
310 if (remain < sizeof(*wh) + 2)
317 wh->i_fc[0] = IEEE80211_FC0_VERSION_0 | IEEE80211_FC0_TYPE_MGT |
319 wh->i_fc[1] = IEEE80211_FC1_DIR_NODS;
320 IEEE80211_ADDR_COPY(wh->i_addr1, ieee80211broadcastaddr);
321 IEEE80211_ADDR_COPY(wh->i_addr2, vap ? vap->iv_myaddr : ic->ic_macaddr);
322 IEEE80211_ADDR_COPY(wh->i_addr3, ieee80211broadcastaddr);
323 *(uint16_t *)&wh->i_dur[0] = 0; /* filled by HW */
324 *(uint16_t *)&wh->i_seq[0] = 0; /* filled by HW */
326 frm = (uint8_t *)(wh
[all...]
/freebsd-11-stable/sys/dev/malo/
H A Dif_malo.c100 #define IS_BEACON(wh) \
101 ((wh->i_fc[0] & (IEEE80211_FC0_TYPE_MASK | \
104 #define IFF_DUMPPKTS_RECV(sc, wh) \
106 ((sc->malo_debug & MALO_DEBUG_RECV_ALL) || !IS_BEACON(wh))))
1034 #define IS_DATA_FRAME(wh) \
1035 ((wh->i_fc[0] & (IEEE80211_FC0_TYPE_MASK)) == IEEE80211_FC0_TYPE_DATA)
1038 struct ieee80211_frame *wh; local
1046 wh = mtod(m0, struct ieee80211_frame *);
1047 iswep = wh->i_fc[1] & IEEE80211_FC1_PROTECTED;
1048 ismcast = IEEE80211_IS_MULTICAST(wh
1948 struct ieee80211_qosframe *wh; local
[all...]
/freebsd-11-stable/sys/dev/ath/
H A Dif_ath_tx.c184 const struct ieee80211_frame *wh; local
187 wh = mtod(m0, const struct ieee80211_frame *);
188 if (! IEEE80211_QOS_HAS_SEQ(wh))
197 struct ieee80211_frame *wh; local
199 wh = mtod(bf->bf_m, struct ieee80211_frame *);
202 wh->i_fc[1] |= IEEE80211_FC1_RETRY;
231 const struct ieee80211_frame *wh; local
233 wh = mtod(m0, const struct ieee80211_frame *);
234 if (IEEE80211_QOS_HAS_SEQ(wh))
706 struct ieee80211_frame *wh; local
1033 struct ieee80211_frame *wh; local
1096 struct ieee80211_frame *wh; local
1418 struct ieee80211_frame *wh; local
1536 struct ieee80211_frame *wh; local
1851 const struct ieee80211_frame *wh; local
2069 struct ieee80211_frame *wh; local
2327 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); local
2488 ieee80211_is_action(struct ieee80211_frame *wh) argument
2514 struct ieee80211_frame *wh = mtod(m0, struct ieee80211_frame *); local
2754 struct ieee80211_frame *wh; local
2888 struct ieee80211_frame *wh; local
3033 struct ieee80211_frame *wh; local
[all...]
/freebsd-11-stable/sys/net80211/
H A Dieee80211_crypto.c537 struct ieee80211_frame *wh; local
545 wh = mtod(m, struct ieee80211_frame *);
546 if (IEEE80211_IS_MULTICAST(wh->i_addr1) ||
550 wh->i_addr1,
592 struct ieee80211_frame *wh; local
611 wh = mtod(m, struct ieee80211_frame *);
613 if (IEEE80211_IS_MULTICAST(wh->i_addr1) ||
625 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2,
H A Dieee80211_tdma.c123 const u_int8_t *ie, int rssi, int nf, const struct ieee80211_frame *wh);
335 struct ieee80211_frame *wh = mtod(m0, struct ieee80211_frame *); local
349 wh, ieee80211_mgt_subtype_name(subtype),
355 !IEEE80211_ADDR_EQ(wh->i_addr2, ni->ni_macaddr)) {
360 ni = ieee80211_add_neighbor(vap, wh, &scan);
369 if (IEEE80211_ADDR_EQ(wh->i_addr3, ni->ni_bssid)) {
390 (void) tdma_process_params(ni, scan.tdma, rssi, nf, wh);
521 int rssi, int nf, const struct ieee80211_frame *wh)
535 wh, "tdma", "too short, len %u", len);
541 wh, "tdm
520 tdma_process_params(struct ieee80211_node *ni, const u_int8_t *ie, int rssi, int nf, const struct ieee80211_frame *wh) argument
[all...]
H A Dieee80211_hwmp.c302 const struct ieee80211_frame *wh, const uint8_t *iefrm)
320 wh, NULL, "PREQ (AE=%s) with wrong len",
333 const struct ieee80211_frame *wh, const uint8_t *iefrm)
344 wh, NULL, "PREP (AE=%s) with wrong len",
357 const struct ieee80211_frame *wh, const uint8_t *iefrm)
367 wh, NULL, "PERR with wrong number of destionat (>19), %u",
385 wh, NULL, "%s", "PERR with wrong len");
393 const struct ieee80211_frame *wh,
414 ndest = verify_mesh_preq_len(vap, wh, iefrm_t);
454 hwmp_recv_preq(vap, ni, wh, pre
301 verify_mesh_preq_len(struct ieee80211vap *vap, const struct ieee80211_frame *wh, const uint8_t *iefrm) argument
332 verify_mesh_prep_len(struct ieee80211vap *vap, const struct ieee80211_frame *wh, const uint8_t *iefrm) argument
356 verify_mesh_perr_len(struct ieee80211vap *vap, const struct ieee80211_frame *wh, const uint8_t *iefrm) argument
392 hwmp_recv_action_meshpath(struct ieee80211_node *ni, const struct ieee80211_frame *wh, const uint8_t *frm, const uint8_t *efrm) argument
937 hwmp_recv_preq(struct ieee80211vap *vap, struct ieee80211_node *ni, const struct ieee80211_frame *wh, const struct ieee80211_meshpreq_ie *preq) argument
1259 hwmp_recv_prep(struct ieee80211vap *vap, struct ieee80211_node *ni, const struct ieee80211_frame *wh, const struct ieee80211_meshprep_ie *prep) argument
1532 hwmp_recv_perr(struct ieee80211vap *vap, struct ieee80211_node *ni, const struct ieee80211_frame *wh, const struct ieee80211_meshperr_ie *perr) argument
1731 hwmp_recv_rann(struct ieee80211vap *vap, struct ieee80211_node *ni, const struct ieee80211_frame *wh, const struct ieee80211_meshrann_ie *rann) argument
[all...]
H A Dieee80211_proto.c548 const struct ieee80211_frame *wh; local
551 wh = (const struct ieee80211_frame *)buf;
552 switch (wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) {
554 printf("NODS %s", ether_sprintf(wh->i_addr2));
555 printf("->%s", ether_sprintf(wh->i_addr1));
556 printf("(%s)", ether_sprintf(wh->i_addr3));
559 printf("TODS %s", ether_sprintf(wh->i_addr2));
560 printf("->%s", ether_sprintf(wh->i_addr3));
561 printf("(%s)", ether_sprintf(wh->i_addr1));
564 printf("FRDS %s", ether_sprintf(wh
[all...]
H A Dieee80211_acl.c156 acl_check(struct ieee80211vap *vap, const struct ieee80211_frame *wh) argument
165 return _find_acl(as, wh->i_addr2) != NULL;
167 return _find_acl(as, wh->i_addr2) == NULL;
H A Dieee80211_action.c165 recv_inval(struct ieee80211_node *ni, const struct ieee80211_frame *wh, argument
243 const struct ieee80211_frame *wh,
286 return f(ni, wh, frm, efrm);
242 ieee80211_recv_action(struct ieee80211_node *ni, const struct ieee80211_frame *wh, const uint8_t *frm, const uint8_t *efrm) argument
H A Dieee80211_node.h418 #define ieee80211_find_rxnode(ic, wh) \
419 ieee80211_find_rxnode_debug(ic, wh, __func__, __LINE__)
420 #define ieee80211_find_rxnode_withkey(ic, wh, keyix) \
421 ieee80211_find_rxnode_withkey_debug(ic, wh, keyix, __func__, __LINE__)
H A Dieee80211_node.c1542 const struct ieee80211_frame *wh,
1549 IEEE80211_ADDR_COPY(ni->ni_bssid, wh->i_addr3);
1560 ieee80211_mesh_init_neighbor(ni, wh, sp);
1617 const struct ieee80211_frame *wh,
1623 "%s: mac<%s>\n", __func__, ether_sprintf(wh->i_addr2));
1624 ni = ieee80211_dup_bss(vap, wh->i_addr2);/* XXX alloc_node? */
1628 ieee80211_init_neighbor(ni, wh, sp);
1641 #define IS_PROBEREQ(wh) \
1642 ((wh->i_fc[0] & (IEEE80211_FC0_TYPE_MASK|IEEE80211_FC0_SUBTYPE_MASK)) \
1644 #define IS_BCAST_PROBEREQ(wh) \
1541 ieee80211_init_neighbor(struct ieee80211_node *ni, const struct ieee80211_frame *wh, const struct ieee80211_scanparams *sp) argument
1616 ieee80211_add_neighbor(struct ieee80211vap *vap, const struct ieee80211_frame *wh, const struct ieee80211_scanparams *sp) argument
1649 _find_rxnode(struct ieee80211_node_table *nt, const struct ieee80211_frame_min *wh) argument
1664 ieee80211_find_rxnode_debug(struct ieee80211com *ic, const struct ieee80211_frame_min *wh, const char *func, int line) argument
1692 ieee80211_find_rxnode_withkey_debug(struct ieee80211com *ic, const struct ieee80211_frame_min *wh, ieee80211_keyix keyix, const char *func, int line) argument
[all...]
H A Dieee80211_freebsd.c736 const struct ieee80211_frame *wh, const struct ieee80211_key *k,
741 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2,
750 IEEE80211_ADDR_COPY(iev.iev_dst, wh->i_addr1);
751 IEEE80211_ADDR_COPY(iev.iev_src, wh->i_addr2);
767 const struct ieee80211_frame *wh, u_int keyix)
771 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2,
778 IEEE80211_ADDR_COPY(iev.iev_dst, wh->i_addr1);
779 IEEE80211_ADDR_COPY(iev.iev_src, wh->i_addr2);
735 ieee80211_notify_replay_failure(struct ieee80211vap *vap, const struct ieee80211_frame *wh, const struct ieee80211_key *k, u_int64_t rsc, int tid) argument
766 ieee80211_notify_michael_failure(struct ieee80211vap *vap, const struct ieee80211_frame *wh, u_int keyix) argument
H A Dieee80211_ht.c787 struct ieee80211_qosframe *wh; local
798 wh = mtod(m, struct ieee80211_qosframe *);
799 if (wh->i_fc[0] != IEEE80211_FC0_QOSDATA) {
806 tid = ieee80211_getqos(wh)[0];
815 rxseq = le16toh(*(uint16_t *)wh->i_seq);
823 wh->i_fc[1] & IEEE80211_FC1_RETRY ? " (retransmit)" : "");
958 wh->i_fc[1] & IEEE80211_FC1_RETRY ? " (retransmit)" : "");
978 struct ieee80211_frame_bar *wh; local
991 wh = mtod(m0, struct ieee80211_frame_bar *);
993 tid = MS(le16toh(wh
1924 ht_recv_action_ba_addba_request(struct ieee80211_node *ni, const struct ieee80211_frame *wh, const uint8_t *frm, const uint8_t *efrm) argument
1990 ht_recv_action_ba_addba_response(struct ieee80211_node *ni, const struct ieee80211_frame *wh, const uint8_t *frm, const uint8_t *efrm) argument
2064 ht_recv_action_ba_delba(struct ieee80211_node *ni, const struct ieee80211_frame *wh, const uint8_t *frm, const uint8_t *efrm) argument
2095 ht_recv_action_ht_txchwidth(struct ieee80211_node *ni, const struct ieee80211_frame *wh, const uint8_t *frm, const uint8_t *efrm) argument
2114 ht_recv_action_ht_mimopwrsave(struct ieee80211_node *ni, const struct ieee80211_frame *wh, const uint8_t *frm, const uint8_t *efrm) argument
[all...]
/freebsd-11-stable/tools/tools/net80211/stumbler/
H A Dstumbler.c682 int get_packet_info(struct ieee80211_frame* wh, argument
693 type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
698 if (wh->i_addr2[0] != 0) {
699 mvprintw(30,30,"%s %x",mac2str(wh->i_addr2), wh->i_fc[0]);
703 stype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK;
714 if (wh->i_fc[1] & IEEE80211_FC1_PROTECTED) {
732 if (wh->i_fc[1] & IEEE80211_FC1_DIR_FROMDS)
738 memcpy(node->mac, wh->i_addr2, 6);
744 struct ieee80211_frame* wh; local
[all...]
/freebsd-11-stable/sys/dev/mwl/
H A Dif_mwl.c232 #define IS_BEACON(wh) \
233 ((wh->i_fc[0] & (IEEE80211_FC0_TYPE_MASK|IEEE80211_FC0_SUBTYPE_MASK)) == \
235 #define IFF_DUMPPKTS_RECV(sc, wh) \
237 ((sc->sc_debug & MWL_DEBUG_RECV_ALL) || !IS_BEACON(wh)))
252 #define IFF_DUMPPKTS_RECV(sc, wh) 0
268 struct ieee80211_frame_addr4 wh; member in struct:mwltxrec
2558 const struct ieee80211_frame *wh = data; local
2560 if ((wh->i_fc[0]&IEEE80211_FC0_TYPE_MASK) == IEEE80211_FC0_TYPE_CTL) {
2561 switch (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) {
2576 const struct ieee80211_frame *wh; local
2614 struct ieee80211_qosframe *wh; local
3074 struct ieee80211_frame *wh; local
3534 mwl_recv_action(struct ieee80211_node *ni, const struct ieee80211_frame *wh, const uint8_t *frm, const uint8_t *efrm) argument
[all...]
/freebsd-11-stable/sys/dev/usb/wlan/
H A Dif_rsu.c1489 struct ieee80211_frame *wh; local
1515 if (__predict_false(ieslen > (size_t)(MCLBYTES - sizeof(*wh))))
1517 pktlen = sizeof(*wh) + ieslen;
1521 wh = mtod(m, struct ieee80211_frame *);
1522 wh->i_fc[0] = IEEE80211_FC0_VERSION_0 | IEEE80211_FC0_TYPE_MGT |
1524 wh->i_fc[1] = IEEE80211_FC1_DIR_NODS;
1525 USETW(wh->i_dur, 0);
1526 IEEE80211_ADDR_COPY(wh->i_addr1, ieee80211broadcastaddr);
1527 IEEE80211_ADDR_COPY(wh->i_addr2, bss->macaddr);
1528 IEEE80211_ADDR_COPY(wh
1753 struct ieee80211_frame *wh; local
1799 memcpy(mtod(m, uint8_t *), wh, pktlen); local
1919 struct ieee80211_frame *wh; local
2119 struct ieee80211_frame *wh; local
[all...]
H A Dif_rum.c1131 struct ieee80211_frame_min *wh; local
1195 wh = mtod(m, struct ieee80211_frame_min *);
1197 if ((wh->i_fc[1] & IEEE80211_FC1_PROTECTED) &&
1200 wh->i_fc[1] &= ~IEEE80211_FC1_PROTECTED;
1233 ni = ieee80211_find_rxnode(ic, wh);
1365 const struct ieee80211_frame *wh; local
1375 wh = mtod(m, const struct ieee80211_frame *);
1388 mprot = ieee80211_alloc_rts(ic, wh->i_addr1, wh->i_addr2, dur);
1452 struct ieee80211_frame *wh; local
1526 struct ieee80211_frame *wh; local
1587 struct ieee80211_frame *wh; local
[all...]
H A Dif_ural.c1070 struct ieee80211_frame *wh; local
1083 wh = mtod(m0, struct ieee80211_frame *);
1084 if (wh->i_fc[1] & IEEE80211_FC1_PROTECTED) {
1090 wh = mtod(m0, struct ieee80211_frame *);
1098 if (!IEEE80211_IS_MULTICAST(wh->i_addr1)) {
1103 USETW(wh->i_dur, dur);
1106 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) ==
1108 (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) ==
1129 const struct ieee80211_frame *wh; local
1138 wh
1234 struct ieee80211_frame *wh; local
[all...]
/freebsd-11-stable/sys/dev/ral/
H A Drt2661.c968 struct ieee80211_frame *wh; local
1075 wh = mtod(m, struct ieee80211_frame *);
1079 (struct ieee80211_frame_min *)wh);
1280 struct ieee80211_frame *wh; local
1292 wh = mtod(m0, struct ieee80211_frame *);
1294 if (wh->i_fc[1] & IEEE80211_FC1_PROTECTED) {
1325 wh = mtod(m0, struct ieee80211_frame *);
1327 if (!IEEE80211_IS_MULTICAST(wh->i_addr1)) {
1332 *(uint16_t *)wh->i_dur = htole16(dur);
1335 if ((wh
1365 const struct ieee80211_frame *wh; local
1438 struct ieee80211_frame *wh; local
[all...]
H A Drt2560.c1096 struct ieee80211_frame *wh; local
1199 wh = mtod(m, struct ieee80211_frame *);
1201 (struct ieee80211_frame_min *)wh);
1511 struct ieee80211_frame *wh; local
1523 wh = mtod(m0, struct ieee80211_frame *);
1525 if (wh->i_fc[1] & IEEE80211_FC1_PROTECTED) {
1557 wh = mtod(m0, struct ieee80211_frame *);
1559 if (!IEEE80211_IS_MULTICAST(wh->i_addr1)) {
1564 *(uint16_t *)wh->i_dur = htole16(dur);
1567 if ((wh
1597 const struct ieee80211_frame *wh; local
1748 struct ieee80211_frame *wh; local
[all...]
H A Drt2860.c1182 struct ieee80211_frame *wh; local
1266 wh = mtod(m, struct ieee80211_frame *);
1268 if (wh->i_fc[1] & IEEE80211_FC1_PROTECTED) {
1270 wh->i_fc[1] &= ~IEEE80211_FC1_PROTECTED;
1276 u_int hdrlen = ieee80211_hdrsize(wh);
1277 ovbcopy(wh, (caddr_t)wh + 2, hdrlen);
1279 wh = mtod(m, struct ieee80211_frame *);
1322 wh = mtod(m, struct ieee80211_frame *);
1326 (struct ieee80211_frame_min *)wh);
1459 struct ieee80211_frame *wh; local
1736 struct ieee80211_frame *wh; local
[all...]
/freebsd-11-stable/sys/dev/wi/
H A Dif_wi.c935 struct ieee80211_frame *wh; local
954 wh = mtod(m0, struct ieee80211_frame *);
955 switch (wh->i_fc[1]) {
958 wh->i_addr2);
960 wh->i_addr3);
964 wh->i_addr2);
966 wh->i_addr1);
970 wh->i_addr3);
972 wh->i_addr1);
976 mtod(m0, const uint8_t *) + ieee80211_hdrsize(wh));
1041 struct ieee80211_frame *wh; local
1260 struct ieee80211_frame *wh; local
[all...]
/freebsd-11-stable/sys/dev/wpi/
H A Dif_wpi.c1912 struct ieee80211_frame *wh; local
1992 wh = mtod(m, struct ieee80211_frame *);
1994 if ((wh->i_fc[1] & IEEE80211_FC1_PROTECTED) &&
2006 ni = ieee80211_find_rxnode(ic, (struct ieee80211_frame_min *)wh);
2603 struct ieee80211_frame *wh; local
2626 wh = mtod(buf->m, struct ieee80211_frame *);
2627 hdrlen = ieee80211_anyhdrsize(wh);
2657 memcpy((uint8_t *)(cmd->data + buf->size), wh, hdrlen);
2767 struct ieee80211_frame *wh; local
2776 wh
2940 struct ieee80211_frame *wh; local
4078 struct ieee80211_frame *wh; local
[all...]
/freebsd-11-stable/contrib/subversion/subversion/libsvn_repos/
H A Dload.c308 svn_txdelta_window_handler_t wh;
311 SVN_ERR(parse_fns->apply_textdelta(&wh, &whb, record_baton));
312 if (wh)
313 text_stream = svn_txdelta_parse_svndiff(wh, whb, TRUE, pool);
307 svn_txdelta_window_handler_t wh; local
/freebsd-11-stable/sys/dev/bwi/
H A Dif_bwi.c1350 struct ieee80211_frame *wh; local
1364 wh = mtod(m, struct ieee80211_frame *);
1365 if ((wh->i_fc[1] & IEEE80211_FC1_PROTECTED) != 0 &&
2602 struct ieee80211_frame_min *wh; local
2656 wh = mtod(m, struct ieee80211_frame_min *);
2657 ni = ieee80211_find_rxnode(ic, wh);
2922 struct ieee80211_frame *wh; local
2938 wh = mtod(m, struct ieee80211_frame *);
2939 type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
2940 ismcast = IEEE80211_IS_MULTICAST(wh
3114 struct ieee80211_frame *wh; local
3769 const struct ieee80211_frame_min *wh; local
[all...]

Completed in 242 milliseconds

1234