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