Lines Matching defs:txpd
65 struct txpd *txpd;
108 txpd = (void *)priv->tx_pending_buf;
109 memset(txpd, 0, sizeof(struct txpd));
117 /* set txpd fields from the radiotap header */
118 txpd->tx_control = cpu_to_le32(convert_radiotap_rate_to_mv(rtap_hdr->rate));
125 memcpy(txpd->tx_dest_addr_high, p802x_hdr + 4, ETH_ALEN);
128 memcpy(txpd->tx_dest_addr_high, p802x_hdr, ETH_ALEN);
131 txpd->tx_packet_length = cpu_to_le16(pkt_len);
132 txpd->tx_packet_location = cpu_to_le32(sizeof(struct txpd));
134 lbs_mesh_set_txpd(priv, dev, txpd);
136 lbs_deb_hex(LBS_DEB_TX, "txpd", (u8 *) &txpd, sizeof(struct txpd));
138 lbs_deb_hex(LBS_DEB_TX, "Tx Data", (u8 *) p802x_hdr, le16_to_cpu(txpd->tx_packet_length));
140 memcpy(&txpd[1], p802x_hdr, le16_to_cpu(txpd->tx_packet_length));
143 priv->tx_pending_len = pkt_len + sizeof(struct txpd);