Lines Matching defs:wh
1121 struct ieee80211_frame *wh;
1131 wh = mtod(m, struct ieee80211_frame *);
1132 hdrlen = ieee80211_get_hdrlen(wh);
1133 ivp = (uint8_t *)wh + hdrlen;
1139 hasqos = ieee80211_has_qos(wh);
1140 tid = hasqos ? ieee80211_get_qos(wh) & IEEE80211_QOS_TID : 0;
1168 struct ieee80211_frame *wh;
1189 if (__predict_false(pktlen < sizeof(*wh) || pktlen > MCLBYTES)) {
1222 wh = (struct ieee80211_frame *)((uint8_t *)&rxd[1] + infosz);
1223 memcpy(mtod(m, uint8_t *), wh, pktlen);
1271 ni = ieee80211_find_rxnode(ic, wh);
1276 if (((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) != IEEE80211_FC0_TYPE_CTL)
1277 && (wh->i_fc[1] & IEEE80211_FC1_PROTECTED) &&
1279 ((!IEEE80211_IS_MULTICAST(wh->i_addr1) &&
1281 (IEEE80211_IS_MULTICAST(wh->i_addr1) &&
1450 struct ieee80211_frame *wh, struct ieee80211_key *k,
1469 type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
1475 if (IEEE80211_IS_MULTICAST(wh->i_addr1))
1478 if (!IEEE80211_IS_MULTICAST(wh->i_addr1) &&
1541 txd->txdseq |= (*(uint16_t *)wh->i_seq) >> IEEE80211_SEQ_SEQ_SHIFT;
1543 if (!ieee80211_has_qos(wh)) {
1553 struct ieee80211_frame *wh, struct ieee80211_key *k,
1565 type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
1578 if (IEEE80211_IS_MULTICAST(wh->i_addr1))
1581 if (!IEEE80211_IS_MULTICAST(wh->i_addr1) &&
1625 txd->txdseq2 |= htole16(SM(R92E_TXDSEQ2_HWSEQ, *(uint16_t *)wh->i_seq));
1627 if (!ieee80211_has_qos(wh)) {
1638 struct ieee80211_frame *wh;
1647 wh = mtod(m, struct ieee80211_frame *);
1649 if (wh->i_fc[1] & IEEE80211_FC1_PROTECTED) {
1650 k = ieee80211_get_txkey(ic, wh, ni);
1654 wh = mtod(m, struct ieee80211_frame *);
1658 if (ieee80211_has_qos(wh)) {
1659 qos = ieee80211_get_qos(wh);
1662 } else if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK)
1679 urtwn_tx_fill_desc_gen2(sc, &txdp, m, wh, k, ni);
1681 urtwn_tx_fill_desc(sc, &txdp, m, wh, k, ni);
1711 headerlen = ieee80211_get_hdrlen(wh);