Lines Matching refs:txpd
68 struct txpd *txpd; in lbs_hard_start_xmit() local
111 txpd = (void *)priv->tx_pending_buf; in lbs_hard_start_xmit()
112 memset(txpd, 0, sizeof(struct txpd)); in lbs_hard_start_xmit()
121 txpd->tx_control = cpu_to_le32(convert_radiotap_rate_to_mv(rtap_hdr->rate)); in lbs_hard_start_xmit()
128 memcpy(txpd->tx_dest_addr_high, p802x_hdr + 4, ETH_ALEN); in lbs_hard_start_xmit()
131 memcpy(txpd->tx_dest_addr_high, p802x_hdr, ETH_ALEN); in lbs_hard_start_xmit()
134 txpd->tx_packet_length = cpu_to_le16(pkt_len); in lbs_hard_start_xmit()
135 txpd->tx_packet_location = cpu_to_le32(sizeof(struct txpd)); in lbs_hard_start_xmit()
137 lbs_mesh_set_txpd(priv, dev, txpd); in lbs_hard_start_xmit()
139 lbs_deb_hex(LBS_DEB_TX, "txpd", (u8 *) &txpd, sizeof(struct txpd)); in lbs_hard_start_xmit()
141 lbs_deb_hex(LBS_DEB_TX, "Tx Data", (u8 *) p802x_hdr, le16_to_cpu(txpd->tx_packet_length)); in lbs_hard_start_xmit()
143 memcpy(&txpd[1], p802x_hdr, le16_to_cpu(txpd->tx_packet_length)); in lbs_hard_start_xmit()
146 priv->tx_pending_len = pkt_len + sizeof(struct txpd); in lbs_hard_start_xmit()