Lines Matching refs:local_tx_pd
48 struct txpd *local_tx_pd; in mwifiex_process_sta_txpd() local
65 pad = ((uintptr_t)skb->data - (sizeof(*local_tx_pd) + hroom)) & in mwifiex_process_sta_txpd()
67 skb_push(skb, sizeof(*local_tx_pd) + pad); in mwifiex_process_sta_txpd()
69 local_tx_pd = (struct txpd *) skb->data; in mwifiex_process_sta_txpd()
70 memset(local_tx_pd, 0, sizeof(struct txpd)); in mwifiex_process_sta_txpd()
71 local_tx_pd->bss_num = priv->bss_num; in mwifiex_process_sta_txpd()
72 local_tx_pd->bss_type = priv->bss_type; in mwifiex_process_sta_txpd()
73 local_tx_pd->tx_pkt_length = cpu_to_le16((u16)(skb->len - in mwifiex_process_sta_txpd()
77 local_tx_pd->priority = (u8) skb->priority; in mwifiex_process_sta_txpd()
78 local_tx_pd->pkt_delay_2ms = in mwifiex_process_sta_txpd()
83 local_tx_pd->tx_token_id = tx_info->ack_frame_id; in mwifiex_process_sta_txpd()
84 local_tx_pd->flags |= MWIFIEX_TXPD_FLAGS_REQ_TX_STATUS; in mwifiex_process_sta_txpd()
87 if (local_tx_pd->priority < in mwifiex_process_sta_txpd()
93 local_tx_pd->tx_control = in mwifiex_process_sta_txpd()
94 cpu_to_le32(priv->wmm.user_pri_pkt_tx_ctrl[local_tx_pd-> in mwifiex_process_sta_txpd()
100 local_tx_pd->flags = in mwifiex_process_sta_txpd()
106 local_tx_pd->flags |= MWIFIEX_TXPD_FLAGS_TDLS_PACKET; in mwifiex_process_sta_txpd()
112 local_tx_pd->tx_pkt_type = cpu_to_le16(pkt_type); in mwifiex_process_sta_txpd()
116 local_tx_pd->tx_pkt_offset = cpu_to_le16(pkt_offset); in mwifiex_process_sta_txpd()
121 if (!local_tx_pd->tx_control) in mwifiex_process_sta_txpd()
123 local_tx_pd->tx_control = cpu_to_le32(priv->pkt_tx_ctrl); in mwifiex_process_sta_txpd()
137 struct txpd *local_tx_pd; in mwifiex_send_null_packet() local
172 local_tx_pd = (struct txpd *) skb->data; in mwifiex_send_null_packet()
173 local_tx_pd->tx_control = cpu_to_le32(priv->pkt_tx_ctrl); in mwifiex_send_null_packet()
174 local_tx_pd->flags = flags; in mwifiex_send_null_packet()
175 local_tx_pd->priority = WMM_HIGHEST_PRIORITY; in mwifiex_send_null_packet()
176 local_tx_pd->tx_pkt_offset = cpu_to_le16(sizeof(struct txpd)); in mwifiex_send_null_packet()
177 local_tx_pd->bss_num = priv->bss_num; in mwifiex_send_null_packet()
178 local_tx_pd->bss_type = priv->bss_type; in mwifiex_send_null_packet()