Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
Dtx.c69 struct txpd *txpd; in lbs_hard_start_xmit() local
110 txpd = (void *)priv->tx_pending_buf; in lbs_hard_start_xmit()
111 memset(txpd, 0, sizeof(struct txpd)); in lbs_hard_start_xmit()
120 txpd->tx_control = cpu_to_le32(convert_radiotap_rate_to_mv(rtap_hdr->rate)); in lbs_hard_start_xmit()
127 memcpy(txpd->tx_dest_addr_high, p802x_hdr + 4, ETH_ALEN); in lbs_hard_start_xmit()
130 memcpy(txpd->tx_dest_addr_high, p802x_hdr, ETH_ALEN); in lbs_hard_start_xmit()
133 txpd->tx_packet_length = cpu_to_le16(pkt_len); in lbs_hard_start_xmit()
134 txpd->tx_packet_location = cpu_to_le32(sizeof(struct txpd)); in lbs_hard_start_xmit()
136 lbs_mesh_set_txpd(priv, dev, txpd); in lbs_hard_start_xmit()
138 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.c1061 struct net_device *dev, struct txpd *txpd) in lbs_mesh_set_txpd() argument
1065 txpd->tx_control |= cpu_to_le32(TxPD_MESH_FRAME); in lbs_mesh_set_txpd()
1067 txpd->u.bss.bss_num = MESH_IFACE_ID; in lbs_mesh_set_txpd()
Ddefs.h263 (ETH_FRAME_LEN + sizeof(struct txpd) + EXTRA_LEN)
Dhost.h292 struct txpd { struct
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Duap_txrx.c461 struct uap_txpd *txpd; in mwifiex_process_uap_txpd() local
478 pad = ((void *)skb->data - (sizeof(*txpd) + hroom) - NULL) & in mwifiex_process_uap_txpd()
481 skb_push(skb, sizeof(*txpd) + pad); in mwifiex_process_uap_txpd()
483 txpd = (struct uap_txpd *)skb->data; in mwifiex_process_uap_txpd()
484 memset(txpd, 0, sizeof(*txpd)); in mwifiex_process_uap_txpd()
485 txpd->bss_num = priv->bss_num; in mwifiex_process_uap_txpd()
486 txpd->bss_type = priv->bss_type; in mwifiex_process_uap_txpd()
487 txpd->tx_pkt_length = cpu_to_le16((u16)(skb->len - (sizeof(*txpd) + in mwifiex_process_uap_txpd()
489 txpd->priority = (u8)skb->priority; in mwifiex_process_uap_txpd()
491 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()
186 skb_reserve(skb_aggr, headroom + sizeof(struct txpd)); in mwifiex_11n_aggregate_pkt()
239 ptx_pd = (struct txpd *)skb_aggr->data; in mwifiex_11n_aggregate_pkt()
250 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.c949 (sizeof(struct txpd) + adapter->intf_hdr_len); in mwifiex_usb_prepare_tx_aggr_skb()
977 struct txpd *local_tx_pd = in mwifiex_usb_aggr_tx_data()
978 (struct txpd *)((u8 *)skb->data + adapter->intf_hdr_len); in mwifiex_usb_aggr_tx_data()
Dwmm.c1276 sizeof(struct txpd) : 0); in mwifiex_send_single_packet()
1365 sizeof(struct txpd) : 0); in mwifiex_send_processed_packet()
Dfw.h680 struct txpd { struct
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas_tf/
Dmain.c202 struct txpd *txpd; in lbtf_tx_work() local
221 txpd = skb_push(skb, sizeof(struct txpd)); in lbtf_tx_work()
229 memset(txpd, 0, sizeof(struct txpd)); in lbtf_tx_work()
231 txpd->tx_control |= cpu_to_le32(MRVL_PER_PACKET_RATE | in lbtf_tx_work()
235 memcpy(txpd->tx_dest_addr_high, skb->data + sizeof(struct txpd) + 4, in lbtf_tx_work()
237 txpd->tx_packet_length = cpu_to_le16(len); in lbtf_tx_work()
238 txpd->tx_packet_location = cpu_to_le32(sizeof(struct txpd)); in lbtf_tx_work()
574 hw->extra_tx_headroom = sizeof(struct txpd); in lbtf_add_card()
663 skb_pull(priv->tx_skb, sizeof(struct txpd)); in lbtf_send_tx_feedback()
Dlibertas_tf.h131 (ETH_FRAME_LEN + sizeof(struct txpd) + EXTRA_LEN)
263 struct txpd { struct
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
Dtxc43128_phy.c375 int txpd = (1 << TXC_ATXCTL_TXPD3_LBN) | (1 << TXC_ATXCTL_TXPD2_LBN) in txc_analog_lane_power() local
383 txctl &= ~txpd; in txc_analog_lane_power()
386 txctl |= txpd; in txc_analog_lane_power()