Lines Matching refs:buf_hdr
284 struct zyd_tx_header *buf_hdr;
386 buf_hdr = (struct zyd_tx_header *)m->b_rptr;
389 buf_hdr->frame_size = LE_16(frame_size);
397 buf_hdr->packet_size = LE_16(frame_size + additional_size);
399 buf_hdr->packet_size = LE_16(additional_size);
401 buf_hdr->rate_mod_flags = LE_8(zyd_plcp_signal(rate));
402 buf_hdr->type_flags = LE_8(ZYD_TX_FLAG_BACKOFF);
406 buf_hdr->type_flags |= ZYD_TX_FLAG_RTS;
410 buf_hdr->type_flags |=
413 buf_hdr->type_flags |= ZYD_TX_FLAG_RTS;
416 buf_hdr->type_flags |= ZYD_TX_FLAG_MULTICAST;
421 buf_hdr->type_flags |= ZYD_TX_FLAG_TYPE(ZYD_TX_TYPE_PS_POLL);
424 buf_hdr->rate_mod_flags |= ZYD_TX_RMF_OFDM;
426 buf_hdr->rate_mod_flags |= ZYD_TX_RMF_5GHZ;
428 buf_hdr->rate_mod_flags |= ZYD_TX_RMF_SH_PREAMBLE;
435 buf_hdr->frame_duration = LE_16((16 * frame_size + rate - 1) / rate);
436 buf_hdr->service = service;
437 buf_hdr->next_frame_duration = LE_16(0);
442 buf_hdr->service |= ZYD_TX_SERVICE_LENGTH_EXTENSION;