Lines Matching refs:pktlen
451 int len, pktlen; in ural_rxeof() local
493 pktlen = (LE_32(desc->flags) >> 16) & 0xfff; in ural_rxeof()
495 if (pktlen > (len - RAL_RX_DESC_SIZE)) { in ural_rxeof()
497 "ural_rxeof(): pktlen mismatch <%d, %d>.\n", pktlen, len); in ural_rxeof()
502 pktlen -= IEEE80211_CRC_LEN; in ural_rxeof()
504 if ((m = allocb(pktlen, BPRI_MED)) == NULL) { in ural_rxeof()
511 bcopy(rxbuf, m->b_rptr, pktlen); in ural_rxeof()
512 m->b_wptr += pktlen; in ural_rxeof()
679 int off, mblen, pktlen, xferlen; in ural_send() local
787 pktlen = (uintptr_t)m->b_wptr - (uintptr_t)m->b_rptr - RAL_TX_DESC_SIZE; in ural_send()
788 ural_setup_tx_desc(sc, desc, flags, pktlen, rate); in ural_send()
791 xferlen = (RAL_TX_DESC_SIZE + pktlen + 1) & ~1; in ural_send()
803 pktlen, rate, xferlen); in ural_send()
808 ic->ic_stats.is_tx_bytes += pktlen; in ural_send()