Lines Matching refs:txpd
69 struct txpd *txpd;
110 txpd = (void *)priv->tx_pending_buf;
111 memset(txpd, 0, sizeof(struct txpd));
119 /* set txpd fields from the radiotap header */
120 txpd->tx_control = cpu_to_le32(convert_radiotap_rate_to_mv(rtap_hdr->rate));
127 memcpy(txpd->tx_dest_addr_high, p802x_hdr + 4, ETH_ALEN);
130 memcpy(txpd->tx_dest_addr_high, p802x_hdr, ETH_ALEN);
133 txpd->tx_packet_length = cpu_to_le16(pkt_len);
134 txpd->tx_packet_location = cpu_to_le32(sizeof(struct txpd));
136 lbs_mesh_set_txpd(priv, dev, txpd);
138 lbs_deb_hex(LBS_DEB_TX, "txpd", (u8 *) &txpd, sizeof(struct txpd));
140 lbs_deb_hex(LBS_DEB_TX, "Tx Data", (u8 *) p802x_hdr, le16_to_cpu(txpd->tx_packet_length));
142 memcpy(&txpd[1], p802x_hdr, le16_to_cpu(txpd->tx_packet_length));
145 priv->tx_pending_len = pkt_len + sizeof(struct txpd);