txpd
int txpd = (1 << TXC_ATXCTL_TXPD3_LBN) | (1 << TXC_ATXCTL_TXPD2_LBN)
txctl &= ~txpd;
txctl |= txpd;
(ETH_FRAME_LEN + sizeof(struct txpd) + EXTRA_LEN)
struct net_device *dev, struct txpd *txpd)
txpd->tx_control |= cpu_to_le32(TxPD_MESH_FRAME);
txpd->u.bss.bss_num = MESH_IFACE_ID;
struct txpd;
struct net_device *dev, struct txpd *txpd);
#define lbs_mesh_set_txpd(priv, dev, txpd) do { } while (0)
txpd = (void *)priv->tx_pending_buf;
memset(txpd, 0, sizeof(struct txpd));
BUILD_BUG_ON(sizeof(txpd->tx_dest_addr) != ETH_ALEN);
txpd->tx_control = cpu_to_le32(convert_radiotap_rate_to_mv(rtap_hdr->rate));
memcpy(&txpd->tx_dest_addr, p802x_hdr + 4, ETH_ALEN);
memcpy(&txpd->tx_dest_addr, p802x_hdr, ETH_ALEN);
txpd->tx_packet_length = cpu_to_le16(pkt_len);
txpd->tx_packet_location = cpu_to_le32(sizeof(struct txpd));
lbs_mesh_set_txpd(priv, dev, txpd);
lbs_deb_hex(LBS_DEB_TX, "txpd", (u8 *) &txpd, sizeof(struct txpd));
lbs_deb_hex(LBS_DEB_TX, "Tx Data", (u8 *) p802x_hdr, le16_to_cpu(txpd->tx_packet_length));
memcpy(&txpd[1], p802x_hdr, le16_to_cpu(txpd->tx_packet_length));
priv->tx_pending_len = pkt_len + sizeof(struct txpd);
struct txpd *txpd;
(ETH_FRAME_LEN + sizeof(struct txpd) + EXTRA_LEN)
struct txpd *txpd;
txpd = skb_push(skb, sizeof(struct txpd));
memset(txpd, 0, sizeof(struct txpd));
txpd->tx_control |= cpu_to_le32(MRVL_PER_PACKET_RATE |
BUILD_BUG_ON(sizeof(txpd->tx_dest_addr) != ETH_ALEN);
memcpy(&txpd->tx_dest_addr, skb->data + sizeof(struct txpd) + 4,
txpd->tx_packet_length = cpu_to_le16(len);
txpd->tx_packet_location = cpu_to_le32(sizeof(struct txpd));
hw->extra_tx_headroom = sizeof(struct txpd);
skb_pull(priv->tx_skb, sizeof(struct txpd));
local_tx_pd->tx_pkt_offset = cpu_to_le16(sizeof(struct txpd));
struct txpd *ptx_pd = NULL;
skb_reserve(skb_aggr, headroom + sizeof(struct txpd));
ptx_pd = (struct txpd *)skb_aggr->data;
tx_param.next_pkt_len = skb_src->len + sizeof(struct txpd);
struct txpd *local_tx_pd;
local_tx_pd = (struct txpd *) skb->data;
memset(local_tx_pd, 0, sizeof(struct txpd));
struct txpd *local_tx_pd;
(sizeof(struct txpd) + adapter->intf_hdr_len);
skb_reserve(skb, sizeof(struct txpd) + adapter->intf_hdr_len);
skb_push(skb, sizeof(struct txpd));
local_tx_pd = (struct txpd *) skb->data;
local_tx_pd->tx_pkt_offset = cpu_to_le16(sizeof(struct txpd));
struct txpd *local_tx_pd;
local_tx_pd = (struct txpd *) skb->data;
memset(local_tx_pd, 0, sizeof(struct txpd));
pkt_length = (u16)(skb->len - (sizeof(struct txpd) + pad));
pkt_offset = sizeof(struct txpd) + pad;
local_tx_pd = (struct txpd *)(skb->data + hroom);
struct txpd *local_tx_pd = NULL;
local_tx_pd = (struct txpd *)(head_ptr + adapter->intf_hdr_len);
struct txpd *local_tx_pd = NULL;
struct uap_txpd *txpd;
pad = ((uintptr_t)skb->data - (sizeof(*txpd) + hroom)) &
skb_push(skb, sizeof(*txpd) + pad);
txpd = (struct uap_txpd *)skb->data;
memset(txpd, 0, sizeof(*txpd));
txpd->bss_num = priv->bss_num;
txpd->bss_type = priv->bss_type;
txpd->tx_pkt_length = cpu_to_le16((u16)(skb->len - (sizeof(*txpd) +
txpd->priority = (u8)skb->priority;
txpd->pkt_delay_2ms = mwifiex_wmm_compute_drv_pkt_delay(priv, skb);
txpd->tx_token_id = tx_info->ack_frame_id;
txpd->flags |= MWIFIEX_TXPD_FLAGS_REQ_TX_STATUS;
if (txpd->priority < ARRAY_SIZE(priv->wmm.user_pri_pkt_tx_ctrl))
txpd->tx_control =
cpu_to_le32(priv->wmm.user_pri_pkt_tx_ctrl[txpd->priority]);
pkt_offset = sizeof(*txpd) + pad;
txpd->tx_pkt_type = cpu_to_le16(pkt_type);
txpd->tx_pkt_offset = cpu_to_le16(pkt_offset);
if (!txpd->tx_control)
txpd->tx_control = cpu_to_le32(priv->pkt_tx_ctrl);
(sizeof(struct txpd) + adapter->intf_hdr_len);
struct txpd *local_tx_pd =
(struct txpd *)((u8 *)skb->data + adapter->intf_hdr_len);
sizeof(struct txpd) : 0);
sizeof(struct txpd) : 0);