Lines Matching refs:txpd
372 struct uap_txpd *txpd; in mwifiex_process_uap_txpd() local
390 pad = ((void *)skb->data - (sizeof(*txpd) + hroom) - NULL) & in mwifiex_process_uap_txpd()
393 skb_push(skb, sizeof(*txpd) + pad); in mwifiex_process_uap_txpd()
395 txpd = (struct uap_txpd *)skb->data; in mwifiex_process_uap_txpd()
396 memset(txpd, 0, sizeof(*txpd)); in mwifiex_process_uap_txpd()
397 txpd->bss_num = priv->bss_num; in mwifiex_process_uap_txpd()
398 txpd->bss_type = priv->bss_type; in mwifiex_process_uap_txpd()
399 txpd->tx_pkt_length = cpu_to_le16((u16)(skb->len - (sizeof(*txpd) + in mwifiex_process_uap_txpd()
401 txpd->priority = (u8)skb->priority; in mwifiex_process_uap_txpd()
403 txpd->pkt_delay_2ms = mwifiex_wmm_compute_drv_pkt_delay(priv, skb); in mwifiex_process_uap_txpd()
407 txpd->tx_token_id = tx_info->ack_frame_id; in mwifiex_process_uap_txpd()
408 txpd->flags |= MWIFIEX_TXPD_FLAGS_REQ_TX_STATUS; in mwifiex_process_uap_txpd()
411 if (txpd->priority < ARRAY_SIZE(priv->wmm.user_pri_pkt_tx_ctrl)) in mwifiex_process_uap_txpd()
416 txpd->tx_control = in mwifiex_process_uap_txpd()
417 cpu_to_le32(priv->wmm.user_pri_pkt_tx_ctrl[txpd->priority]); in mwifiex_process_uap_txpd()
420 pkt_offset = sizeof(*txpd) + pad; in mwifiex_process_uap_txpd()
423 txpd->tx_pkt_type = cpu_to_le16(pkt_type); in mwifiex_process_uap_txpd()
427 txpd->tx_pkt_offset = cpu_to_le16(pkt_offset); in mwifiex_process_uap_txpd()
432 if (!txpd->tx_control) in mwifiex_process_uap_txpd()
434 txpd->tx_control = cpu_to_le32(priv->pkt_tx_ctrl); in mwifiex_process_uap_txpd()