Home
last modified time | relevance | path

Searched refs:txpd (Results 1 – 14 of 14) sorted by relevance

/drivers/net/wireless/libertas/
Dtx.c68 struct txpd *txpd; in lbs_hard_start_xmit() local
111 txpd = (void *)priv->tx_pending_buf; in lbs_hard_start_xmit()
112 memset(txpd, 0, sizeof(struct txpd)); in lbs_hard_start_xmit()
121 txpd->tx_control = cpu_to_le32(convert_radiotap_rate_to_mv(rtap_hdr->rate)); in lbs_hard_start_xmit()
128 memcpy(txpd->tx_dest_addr_high, p802x_hdr + 4, ETH_ALEN); in lbs_hard_start_xmit()
131 memcpy(txpd->tx_dest_addr_high, p802x_hdr, ETH_ALEN); in lbs_hard_start_xmit()
134 txpd->tx_packet_length = cpu_to_le16(pkt_len); in lbs_hard_start_xmit()
135 txpd->tx_packet_location = cpu_to_le32(sizeof(struct txpd)); in lbs_hard_start_xmit()
137 lbs_mesh_set_txpd(priv, dev, txpd); in lbs_hard_start_xmit()
139 lbs_deb_hex(LBS_DEB_TX, "txpd", (u8 *) &txpd, sizeof(struct txpd)); in lbs_hard_start_xmit()
[all …]
Dmesh.h35 struct txpd;
40 struct net_device *dev, struct txpd *txpd);
69 #define lbs_mesh_set_txpd(priv, dev, txpd) argument
Dmesh.c1076 struct net_device *dev, struct txpd *txpd) in lbs_mesh_set_txpd() argument
1080 txpd->tx_control |= cpu_to_le32(TxPD_MESH_FRAME); in lbs_mesh_set_txpd()
1082 txpd->u.bss.bss_num = MESH_IFACE_ID; in lbs_mesh_set_txpd()
Ddefs.h272 (ETH_FRAME_LEN + sizeof(struct txpd) + EXTRA_LEN)
Dhost.h291 struct txpd { struct
/drivers/net/wireless/mwifiex/
Duap_txrx.c372 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()
[all …]
Dsta_tx.c48 struct txpd *local_tx_pd; in mwifiex_process_sta_txpd()
70 local_tx_pd = (struct txpd *) skb->data; in mwifiex_process_sta_txpd()
71 memset(local_tx_pd, 0, sizeof(struct txpd)); in mwifiex_process_sta_txpd()
75 (sizeof(struct txpd) + in mwifiex_process_sta_txpd()
110 pkt_offset = sizeof(struct txpd) + pad; in mwifiex_process_sta_txpd()
138 struct txpd *local_tx_pd; in mwifiex_send_null_packet()
168 tx_info->pkt_len = data_len - (sizeof(struct txpd) + INTF_HEADER_LEN); in mwifiex_send_null_packet()
169 skb_reserve(skb, sizeof(struct txpd) + INTF_HEADER_LEN); in mwifiex_send_null_packet()
170 skb_push(skb, sizeof(struct txpd)); in mwifiex_send_null_packet()
172 local_tx_pd = (struct txpd *) skb->data; in mwifiex_send_null_packet()
[all …]
D11n_aggr.c102 struct txpd *local_tx_pd; in mwifiex_11n_form_amsdu_txpd()
107 local_tx_pd = (struct txpd *) skb->data; in mwifiex_11n_form_amsdu_txpd()
108 memset(local_tx_pd, 0, sizeof(struct txpd)); in mwifiex_11n_form_amsdu_txpd()
117 local_tx_pd->tx_pkt_offset = cpu_to_le16(sizeof(struct txpd)); in mwifiex_11n_form_amsdu_txpd()
166 struct txpd *ptx_pd = NULL; in mwifiex_11n_aggregate_pkt()
188 skb_reserve(skb_aggr, headroom + sizeof(struct txpd)); in mwifiex_11n_aggregate_pkt()
244 ptx_pd = (struct txpd *)skb_aggr->data; in mwifiex_11n_aggregate_pkt()
260 skb_src->len + sizeof(struct txpd); in mwifiex_11n_aggregate_pkt()
Dtxrx.c90 struct txpd *local_tx_pd = NULL; in mwifiex_process_tx()
116 local_tx_pd = (struct txpd *)(head_ptr + hroom); in mwifiex_process_tx()
166 struct txpd *local_tx_pd = NULL; in mwifiex_host_to_card()
184 local_tx_pd = (struct txpd *)head_ptr; in mwifiex_host_to_card()
186 local_tx_pd = (struct txpd *) (head_ptr + in mwifiex_host_to_card()
Dwmm.c1266 sizeof(struct txpd) : 0); in mwifiex_send_single_packet()
1362 sizeof(struct txpd) : 0); in mwifiex_send_processed_packet()
Dfw.h604 struct txpd { struct
/drivers/net/wireless/libertas_tf/
Dmain.c251 struct txpd *txpd; in lbtf_tx_work() local
270 txpd = (struct txpd *) skb_push(skb, sizeof(struct txpd)); in lbtf_tx_work()
278 memset(txpd, 0, sizeof(struct txpd)); in lbtf_tx_work()
280 txpd->tx_control |= cpu_to_le32(MRVL_PER_PACKET_RATE | in lbtf_tx_work()
284 memcpy(txpd->tx_dest_addr_high, skb->data + sizeof(struct txpd) + 4, in lbtf_tx_work()
286 txpd->tx_packet_length = cpu_to_le16(len); in lbtf_tx_work()
287 txpd->tx_packet_location = cpu_to_le32(sizeof(struct txpd)); in lbtf_tx_work()
638 hw->extra_tx_headroom = sizeof(struct txpd); in lbtf_add_card()
703 skb_pull(priv->tx_skb, sizeof(struct txpd)); in lbtf_send_tx_feedback()
Dlibertas_tf.h135 (ETH_FRAME_LEN + sizeof(struct txpd) + EXTRA_LEN)
264 struct txpd { struct
/drivers/net/ethernet/sfc/
Dtxc43128_phy.c378 int txpd = (1 << TXC_ATXCTL_TXPD3_LBN) | (1 << TXC_ATXCTL_TXPD2_LBN) in txc_analog_lane_power() local
386 txctl &= ~txpd; in txc_analog_lane_power()
389 txctl |= txpd; in txc_analog_lane_power()