| /freebsd/sys/dev/sbni/ |
| H A D | if_sbni.c | 444 u_int framelen, frameno, ack; in recv_frame() local 448 if (check_fhdr(sc, &framelen, &frameno, &ack, &is_first, &crc)) { in recv_frame() 449 frame_ok = framelen > 4 ? in recv_frame() 450 upload_data(sc, framelen, frameno, is_first, crc) : in recv_frame() 451 skip_tail(sc, framelen, crc); in recv_frame() 455 framelen = 0; in recv_frame() 462 if (framelen > 4) in recv_frame() 471 return (!frame_ok || framelen > 4); in recv_frame() 485 if (sc->framelen != 0) in send_frame() 502 if (sc->framelen) { in send_frame() [all …]
|
| H A D | if_sbnivar.h | 83 u_int framelen; /* current frame length */ member
|
| /freebsd/tools/tools/net80211/wlantxtime/ |
| H A D | wlantxtime.c | 66 uint32_t frameLen, uint16_t rate, int isShortPreamble); 322 * Compute the time to transmit a frame of length frameLen bytes 328 uint32_t frameLen, uint16_t rate, int isShortPreamble) in ieee80211_compute_duration() argument 344 numBits = frameLen << 3; in ieee80211_compute_duration() 352 numBits = OFDM_PLCP_BITS + (frameLen << 3); in ieee80211_compute_duration() 362 numBits = OFDM_PLCP_BITS + (frameLen << 3); in ieee80211_compute_duration() 372 numBits = OFDM_PLCP_BITS + (frameLen << 3); in ieee80211_compute_duration() 383 numBits = TURBO_PLCP_BITS + (frameLen << 3); in ieee80211_compute_duration() 398 uint32_t frameLen, uint16_t rate, in ieee80211_compute_duration_ht() argument 418 numBits = OFDM_PLCP_BITS + (frameLen << 3); in ieee80211_compute_duration_ht() [all …]
|
| /freebsd/sys/net80211/ |
| H A D | ieee80211_superg.c | 278 int framelen; in ieee80211_ff_decap() local 320 m = ieee80211_decap1(m, &framelen); in ieee80211_ff_decap() 327 n = m_split(m, framelen, IEEE80211_M_NOWAIT); in ieee80211_ff_decap() 342 m_adj(n, roundup2(framelen, 4) - framelen); /* padding */ in ieee80211_ff_decap() 343 n = ieee80211_decap1(n, &framelen); in ieee80211_ff_decap() 349 /* XXX verify framelen against mbuf contents */ in ieee80211_ff_decap() 728 uint32_t framelen; in ff_approx_txtime() local 741 framelen = m1->m_pkthdr.len + 32 + in ff_approx_txtime() 744 framelen += 24; in ff_approx_txtime() 746 framelen += m2->m_pkthdr.len; in ff_approx_txtime() [all …]
|
| H A D | ieee80211_phy.c | 497 * Compute the time to transmit a frame of length frameLen bytes 503 uint32_t frameLen, uint16_t rate, int isShortPreamble) in ieee80211_compute_duration() argument 519 numBits = frameLen << 3; in ieee80211_compute_duration() 527 numBits = OFDM_PLCP_BITS + (frameLen << 3); in ieee80211_compute_duration() 537 numBits = OFDM_PLCP_BITS + (frameLen << 3); in ieee80211_compute_duration() 547 numBits = OFDM_PLCP_BITS + (frameLen << 3); in ieee80211_compute_duration() 558 numBits = TURBO_PLCP_BITS + (frameLen << 3); in ieee80211_compute_duration() 595 ieee80211_compute_duration_ht(uint32_t frameLen, uint16_t rate, in ieee80211_compute_duration_ht() argument 607 numBits = OFDM_PLCP_BITS + (frameLen << 3); in ieee80211_compute_duration_ht()
|
| H A D | ieee80211_phy.h | 195 * Compute the time to transmit a frame of length frameLen bytes 202 uint32_t frameLen, uint16_t rate, int isShortPreamble); 220 uint32_t ieee80211_compute_duration_ht(uint32_t frameLen,
|
| H A D | ieee80211_input.c | 380 ieee80211_decap1(struct mbuf *m, int *framelen) in ieee80211_decap1() argument 411 *framelen = ntohs(eh->ether_type) /* encap'd frame size */ in ieee80211_decap1()
|
| H A D | ieee80211_ht.c | 472 int framelen; in ieee80211_decap_amsdu() local 487 m = ieee80211_decap1(m, &framelen); in ieee80211_decap_amsdu() 494 if (m->m_pkthdr.len == framelen) in ieee80211_decap_amsdu() 496 n = m_split(m, framelen, IEEE80211_M_NOWAIT); in ieee80211_decap_amsdu() 512 m_adj(m, roundup2(framelen, 4) - framelen); /* padding */ in ieee80211_decap_amsdu()
|
| /freebsd/sys/dev/ath/ath_rate/sample/ |
| H A D | sample.c | 573 int frameLen) in ath_rate_pick_seed_rate_legacy() argument 581 const int size_bin = size_to_bin(frameLen); in ath_rate_pick_seed_rate_legacy() 614 int frameLen) in ath_rate_pick_seed_rate_ht() argument 622 const int size_bin = size_to_bin(frameLen); in ath_rate_pick_seed_rate_ht() 661 int shortPreamble, size_t frameLen, int tid, in ath_rate_findrate() argument 672 int size_bin = size_to_bin(frameLen); in ath_rate_findrate() 686 *maxpktlen = frameLen; in ath_rate_findrate() 707 *maxpktlen = frameLen = MIN(frameLen, max_pkt_len); in ath_rate_findrate() 708 size_bin = size_to_bin(frameLen); in ath_rate_findrate() 732 (int) frameLen, max_pkt_len); in ath_rate_findrate() [all …]
|
| /freebsd/sys/dev/ath/ath_hal/ |
| H A D | ah.c | 361 ath_hal_pkt_txtime(struct ath_hal *ah, const HAL_RATE_TABLE *rates, uint32_t frameLen, in ath_hal_pkt_txtime() argument 372 return ath_hal_computetxtime(ah, rates, frameLen, rateix, in ath_hal_pkt_txtime() 382 return ath_computedur_ht(frameLen, rc, numStreams, isht40, in ath_hal_pkt_txtime() 403 ath_computedur_ht(uint32_t frameLen, uint16_t rate, int streams, in ath_computedur_ht() argument 415 numBits = OFDM_PLCP_BITS + (frameLen << 3); in ath_computedur_ht() 426 * Compute the time to transmit a frame of length frameLen bytes 431 const HAL_RATE_TABLE *rates, uint32_t frameLen, uint16_t rateix, in ath_hal_computetxtime() argument 454 numBits = frameLen << 3; in ath_hal_computetxtime() 464 numBits = OFDM_PLCP_BITS + (frameLen << 3); in ath_hal_computetxtime() 475 numBits = OFDM_HALF_PLCP_BITS + (frameLen << 3); in ath_hal_computetxtime() [all …]
|
| H A D | ah.h | 1651 const HAL_RATE_TABLE *rates, uint32_t frameLen, 1658 extern uint32_t __ahdecl ath_computedur_ht(uint32_t frameLen, uint16_t rate, 1665 const HAL_RATE_TABLE *rates, uint32_t frameLen,
|
| /freebsd/usr.sbin/usbdump/ |
| H A D | usbdump.c | 523 uint32_t framelen; in print_apacket() local 532 framelen = le32toh(uf->length); in print_apacket() 539 (int)framelen); in print_apacket() 546 tot_frame_len = USBPF_FRAME_ALIGN(framelen); in print_apacket() 551 (int)framelen < 0 || (int)ptr_len < 0) in print_apacket() 557 ret = write(p->bfd, ptr, framelen); in print_apacket() 558 if (ret != (int)framelen) in print_apacket() 562 hexdump(ptr, framelen); in print_apacket()
|
| /freebsd/sys/powerpc/include/ |
| H A D | frame.h | 74 * FRAMELEN is the size of the stack region used by the low-level trap 79 #define FRAMELEN roundup(sizeof(struct trapframe) + \ macro
|
| /freebsd/sys/dev/usb/wlan/ |
| H A D | if_uath.c | 1534 int framelen, msglen; in uath_tx_start() local 1568 framelen = m0->m_pkthdr.len + IEEE80211_CRC_LEN; in uath_tx_start() 1569 msglen = framelen + sizeof (struct uath_tx_desc); in uath_tx_start() 1616 "send frame ix %u framelen %d msglen %d connid 0x%x txqid 0x%x\n", in uath_tx_start() 1617 desc->msgid, framelen, msglen, be32toh(desc->connid), in uath_tx_start() 2634 "keycachemiss %u\n", __func__, be32toh(desc->framelen) in uath_data_rxeof() 2656 uint32_t framelen; in uath_data_rxeof() local 2658 if (be32toh(desc->framelen) < UATH_RX_DUMMYSIZE) { in uath_data_rxeof() 2660 "%s: framelen too small (%u)\n", in uath_data_rxeof() 2661 __func__, be32toh(desc->framelen)); in uath_data_rxeof() [all …]
|
| H A D | if_uathreg.h | 158 uint32_t framelen; /* frame length */ member
|
| H A D | if_urtw.c | 4295 urtw_compute_txtime(uint16_t framelen, uint16_t rate, in urtw_compute_txtime() argument 4303 (framelen * 8 / (rate / 2))); in urtw_compute_txtime() 4306 (framelen * 8 / (rate / 2))); in urtw_compute_txtime() 4307 if ((framelen * 8 % (rate / 2)) != 0) in urtw_compute_txtime() 4311 ceiling = (16 + 8 * framelen + 6) / n_dbps in urtw_compute_txtime() 4312 + (((16 + 8 * framelen + 6) % n_dbps) ? 1 : 0); in urtw_compute_txtime()
|
| /freebsd/sys/powerpc/powerpc/ |
| H A D | genassym.c | 144 ASSYM(FRAMELEN, FRAMELEN);
|
| /freebsd/sys/dev/ath/ |
| H A D | if_athrate.h | 140 int shortPreamble, size_t frameLen, int tid, int is_aggr,
|
| /freebsd/crypto/openssl/ssl/quic/ |
| H A D | quic_rx_depack.c | 1406 size_t framelen = PACKET_data(pkt) - sof; in depack_process_frames() local 1413 framelen -= (size_t)datalen; in depack_process_frames() 1416 ch->msg_callback(0, OSSL_QUIC1_VERSION, ctype, sof, framelen, in depack_process_frames()
|
| /freebsd/sys/dev/mwl/ |
| H A D | mwlhal.c | 1280 mwl_hal_setbeacon(struct mwl_hal_vap *vap, const void *frame, size_t frameLen) in mwl_hal_setbeacon() argument 1286 /* XXX verify frameLen fits */ in mwl_hal_setbeacon() 1290 pCmd->CmdHdr.Length = htole16(sizeof(HostCmd_DS_SET_BEACON)-1+frameLen); in mwl_hal_setbeacon() 1291 pCmd->FrmBodyLen = htole16(frameLen); in mwl_hal_setbeacon() 1292 memcpy(pCmd->FrmBody, frame, frameLen); in mwl_hal_setbeacon()
|
| /freebsd/sys/dev/ath/ath_rate/onoe/ |
| H A D | onoe.c | 113 int shortPreamble, size_t frameLen, int tid, int is_aggr, in ath_rate_findrate() argument
|
| /freebsd/sys/dev/ath/ath_rate/amrr/ |
| H A D | amrr.c | 105 int shortPreamble, size_t frameLen, int tid, int is_aggr, in ath_rate_findrate() argument
|
| /freebsd/sys/dev/iwi/ |
| H A D | if_iwi.c | 1185 int type, error, framelen; in iwi_frame_intr() local 1189 framelen = le16toh(frame->len); in iwi_frame_intr() 1190 if (framelen < IEEE80211_MIN_LEN || framelen > MCLBYTES) { in iwi_frame_intr() 1253 sizeof (struct iwi_frame) + framelen; in iwi_frame_intr()
|
| /freebsd/sys/contrib/edk2/Include/Uefi/ |
| H A D | UefiPxe.h | 1689 PXE_UINT32 FrameLen; member 1755 PXE_UINT32 FrameLen; member
|
| /freebsd/sys/dev/pms/RefTisa/tisa/sassata/common/ |
| H A D | tdmisc.c | 1429 agSMPFrame->frameLen = tiPassthroughCmnd->tiSgl.len; in tiCOMPassthroughCmndStart() 1661 agSMPFrame->frameLen = SMPFrameLen; in tiCOMPassthroughCmndStart()
|