Lines Matching refs:local_tx_pd

36 	struct txpd *local_tx_pd;  in mwifiex_process_sta_txpd()  local
53 pad = ((uintptr_t)skb->data - (sizeof(*local_tx_pd) + hroom)) & in mwifiex_process_sta_txpd()
55 skb_push(skb, sizeof(*local_tx_pd) + pad); in mwifiex_process_sta_txpd()
57 local_tx_pd = (struct txpd *) skb->data; in mwifiex_process_sta_txpd()
58 memset(local_tx_pd, 0, sizeof(struct txpd)); in mwifiex_process_sta_txpd()
59 local_tx_pd->bss_num = priv->bss_num; in mwifiex_process_sta_txpd()
60 local_tx_pd->bss_type = priv->bss_type; in mwifiex_process_sta_txpd()
61 local_tx_pd->tx_pkt_length = cpu_to_le16((u16)(skb->len - in mwifiex_process_sta_txpd()
65 local_tx_pd->priority = (u8) skb->priority; in mwifiex_process_sta_txpd()
66 local_tx_pd->pkt_delay_2ms = in mwifiex_process_sta_txpd()
71 local_tx_pd->tx_token_id = tx_info->ack_frame_id; in mwifiex_process_sta_txpd()
72 local_tx_pd->flags |= MWIFIEX_TXPD_FLAGS_REQ_TX_STATUS; in mwifiex_process_sta_txpd()
75 if (local_tx_pd->priority < in mwifiex_process_sta_txpd()
81 local_tx_pd->tx_control = in mwifiex_process_sta_txpd()
82 cpu_to_le32(priv->wmm.user_pri_pkt_tx_ctrl[local_tx_pd-> in mwifiex_process_sta_txpd()
88 local_tx_pd->flags = in mwifiex_process_sta_txpd()
94 local_tx_pd->flags |= MWIFIEX_TXPD_FLAGS_TDLS_PACKET; in mwifiex_process_sta_txpd()
100 local_tx_pd->tx_pkt_type = cpu_to_le16(pkt_type); in mwifiex_process_sta_txpd()
104 local_tx_pd->tx_pkt_offset = cpu_to_le16(pkt_offset); in mwifiex_process_sta_txpd()
109 if (!local_tx_pd->tx_control) in mwifiex_process_sta_txpd()
111 local_tx_pd->tx_control = cpu_to_le32(priv->pkt_tx_ctrl); in mwifiex_process_sta_txpd()
125 struct txpd *local_tx_pd; in mwifiex_send_null_packet() local
160 local_tx_pd = (struct txpd *) skb->data; in mwifiex_send_null_packet()
161 local_tx_pd->tx_control = cpu_to_le32(priv->pkt_tx_ctrl); in mwifiex_send_null_packet()
162 local_tx_pd->flags = flags; in mwifiex_send_null_packet()
163 local_tx_pd->priority = WMM_HIGHEST_PRIORITY; in mwifiex_send_null_packet()
164 local_tx_pd->tx_pkt_offset = cpu_to_le16(sizeof(struct txpd)); in mwifiex_send_null_packet()
165 local_tx_pd->bss_num = priv->bss_num; in mwifiex_send_null_packet()
166 local_tx_pd->bss_type = priv->bss_type; in mwifiex_send_null_packet()