Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/marvell/libertas/
Dtx.c68 struct txpd *txpd; in lbs_hard_start_xmit() local
109 txpd = (void *)priv->tx_pending_buf; in lbs_hard_start_xmit()
110 memset(txpd, 0, sizeof(struct txpd)); in lbs_hard_start_xmit()
119 txpd->tx_control = cpu_to_le32(convert_radiotap_rate_to_mv(rtap_hdr->rate)); in lbs_hard_start_xmit()
126 memcpy(txpd->tx_dest_addr_high, p802x_hdr + 4, ETH_ALEN); in lbs_hard_start_xmit()
129 memcpy(txpd->tx_dest_addr_high, p802x_hdr, ETH_ALEN); in lbs_hard_start_xmit()
132 txpd->tx_packet_length = cpu_to_le16(pkt_len); in lbs_hard_start_xmit()
133 txpd->tx_packet_location = cpu_to_le32(sizeof(struct txpd)); in lbs_hard_start_xmit()
135 lbs_mesh_set_txpd(priv, dev, txpd); in lbs_hard_start_xmit()
137 lbs_deb_hex(LBS_DEB_TX, "txpd", (u8 *) &txpd, sizeof(struct txpd)); in lbs_hard_start_xmit()
[all …]
Dmesh.h36 struct txpd;
41 struct net_device *dev, struct txpd *txpd);
70 #define lbs_mesh_set_txpd(priv, dev, txpd) argument
Dmesh.c1077 struct net_device *dev, struct txpd *txpd) in lbs_mesh_set_txpd() argument
1081 txpd->tx_control |= cpu_to_le32(TxPD_MESH_FRAME); in lbs_mesh_set_txpd()
1083 txpd->u.bss.bss_num = MESH_IFACE_ID; in lbs_mesh_set_txpd()
Ddefs.h264 (ETH_FRAME_LEN + sizeof(struct txpd) + EXTRA_LEN)
Dhost.h292 struct txpd { struct
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Duap_txrx.c470 struct uap_txpd *txpd; in mwifiex_process_uap_txpd() local
487 pad = ((void *)skb->data - (sizeof(*txpd) + hroom) - NULL) & in mwifiex_process_uap_txpd()
490 skb_push(skb, sizeof(*txpd) + pad); in mwifiex_process_uap_txpd()
492 txpd = (struct uap_txpd *)skb->data; in mwifiex_process_uap_txpd()
493 memset(txpd, 0, sizeof(*txpd)); in mwifiex_process_uap_txpd()
494 txpd->bss_num = priv->bss_num; in mwifiex_process_uap_txpd()
495 txpd->bss_type = priv->bss_type; in mwifiex_process_uap_txpd()
496 txpd->tx_pkt_length = cpu_to_le16((u16)(skb->len - (sizeof(*txpd) + in mwifiex_process_uap_txpd()
498 txpd->priority = (u8)skb->priority; in mwifiex_process_uap_txpd()
500 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()
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()
74 (sizeof(struct txpd) + in mwifiex_process_sta_txpd()
109 pkt_offset = sizeof(struct txpd) + pad; in mwifiex_process_sta_txpd()
137 struct txpd *local_tx_pd; in mwifiex_send_null_packet()
168 (sizeof(struct txpd) + adapter->intf_hdr_len); in mwifiex_send_null_packet()
169 skb_reserve(skb, sizeof(struct txpd) + adapter->intf_hdr_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()
243 ptx_pd = (struct txpd *)skb_aggr->data; in mwifiex_11n_aggregate_pkt()
254 tx_param.next_pkt_len = 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()
183 local_tx_pd = (struct txpd *)(head_ptr + adapter->intf_hdr_len); in mwifiex_host_to_card()
Dusb.c919 (sizeof(struct txpd) + adapter->intf_hdr_len); in mwifiex_usb_prepare_tx_aggr_skb()
947 struct txpd *local_tx_pd = in mwifiex_usb_aggr_tx_data()
948 (struct txpd *)((u8 *)skb->data + adapter->intf_hdr_len); in mwifiex_usb_aggr_tx_data()
Dwmm.c1271 sizeof(struct txpd) : 0); in mwifiex_send_single_packet()
1365 sizeof(struct txpd) : 0); in mwifiex_send_processed_packet()
Dfw.h679 struct txpd { struct
/Linux-v4.19/drivers/net/wireless/marvell/libertas_tf/
Dmain.c243 struct txpd *txpd; in lbtf_tx_work() local
262 txpd = skb_push(skb, sizeof(struct txpd)); in lbtf_tx_work()
270 memset(txpd, 0, sizeof(struct txpd)); in lbtf_tx_work()
272 txpd->tx_control |= cpu_to_le32(MRVL_PER_PACKET_RATE | in lbtf_tx_work()
276 memcpy(txpd->tx_dest_addr_high, skb->data + sizeof(struct txpd) + 4, in lbtf_tx_work()
278 txpd->tx_packet_length = cpu_to_le16(len); in lbtf_tx_work()
279 txpd->tx_packet_location = cpu_to_le32(sizeof(struct txpd)); in lbtf_tx_work()
630 hw->extra_tx_headroom = sizeof(struct txpd); in lbtf_add_card()
697 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
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
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()