Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/marvell/libertas/
H A 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()
116 BUILD_BUG_ON(sizeof(txpd->tx_dest_addr) != ETH_ALEN); 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, p802x_hdr + 4, ETH_ALEN); in lbs_hard_start_xmit()
131 memcpy(&txpd->tx_dest_addr, 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()
[all …]
H A Dmesh.c1083 struct net_device *dev, struct txpd *txpd) in lbs_mesh_set_txpd() argument
1087 txpd->tx_control |= cpu_to_le32(TxPD_MESH_FRAME); in lbs_mesh_set_txpd()
1089 txpd->u.bss.bss_num = MESH_IFACE_ID; in lbs_mesh_set_txpd()
H A Ddefs.h263 (ETH_FRAME_LEN + sizeof(struct txpd) + EXTRA_LEN)
H A Dhost.h292 struct txpd { struct
/linux/drivers/net/wireless/marvell/mwifiex/
H A Duap_txrx.c477 struct uap_txpd *txpd; in mwifiex_process_uap_txpd() local
485 pad = ((uintptr_t)skb->data - (sizeof(*txpd) + hroom)) & in mwifiex_process_uap_txpd()
488 skb_push(skb, sizeof(*txpd) + pad); in mwifiex_process_uap_txpd()
490 txpd = (struct uap_txpd *)skb->data; in mwifiex_process_uap_txpd()
491 memset(txpd, 0, sizeof(*txpd)); in mwifiex_process_uap_txpd()
492 txpd->bss_num = priv->bss_num; in mwifiex_process_uap_txpd()
493 txpd->bss_type = priv->bss_type; in mwifiex_process_uap_txpd()
494 txpd->tx_pkt_length = cpu_to_le16((u16)(skb->len - (sizeof(*txpd) + in mwifiex_process_uap_txpd()
496 txpd->priority = (u8)skb->priority; in mwifiex_process_uap_txpd()
498 txpd->pkt_delay_2ms = mwifiex_wmm_compute_drv_pkt_delay(priv, skb); in mwifiex_process_uap_txpd()
[all …]
H A Dsta_tx.c36 struct txpd *local_tx_pd; in mwifiex_process_sta_txpd()
48 local_tx_pd = (struct txpd *) skb->data; in mwifiex_process_sta_txpd()
49 memset(local_tx_pd, 0, sizeof(struct txpd)); in mwifiex_process_sta_txpd()
52 pkt_length = (u16)(skb->len - (sizeof(struct txpd) + pad)); in mwifiex_process_sta_txpd()
89 pkt_offset = sizeof(struct txpd) + pad; in mwifiex_process_sta_txpd()
115 struct txpd *local_tx_pd; in mwifiex_send_null_packet()
146 (sizeof(struct txpd) + adapter->intf_hdr_len); in mwifiex_send_null_packet()
147 skb_reserve(skb, sizeof(struct txpd) + adapter->intf_hdr_len); in mwifiex_send_null_packet()
148 skb_push(skb, sizeof(struct txpd)); in mwifiex_send_null_packet()
150 local_tx_pd = (struct txpd *) skb->data; in mwifiex_send_null_packet()
[all …]
H A D11n_aggr.c90 struct txpd *local_tx_pd; in mwifiex_11n_form_amsdu_txpd()
95 local_tx_pd = (struct txpd *) skb->data; in mwifiex_11n_form_amsdu_txpd()
96 memset(local_tx_pd, 0, sizeof(struct txpd)); in mwifiex_11n_form_amsdu_txpd()
105 local_tx_pd->tx_pkt_offset = cpu_to_le16(sizeof(struct txpd)); in mwifiex_11n_form_amsdu_txpd()
154 struct txpd *ptx_pd = NULL; in mwifiex_11n_aggregate_pkt()
174 skb_reserve(skb_aggr, headroom + sizeof(struct txpd)); in mwifiex_11n_aggregate_pkt()
227 ptx_pd = (struct txpd *)skb_aggr->data; in mwifiex_11n_aggregate_pkt()
238 tx_param.next_pkt_len = skb_src->len + sizeof(struct txpd); in mwifiex_11n_aggregate_pkt()
H A Dtxrx.c77 struct txpd *local_tx_pd = NULL; in mwifiex_process_tx()
108 local_tx_pd = (struct txpd *)(skb->data + hroom); in mwifiex_process_tx()
162 struct txpd *local_tx_pd = NULL; in mwifiex_host_to_card()
179 local_tx_pd = (struct txpd *)(head_ptr + adapter->intf_hdr_len); in mwifiex_host_to_card()
H A Dusb.c932 (sizeof(struct txpd) + adapter->intf_hdr_len); in mwifiex_usb_prepare_tx_aggr_skb()
960 struct txpd *local_tx_pd = in mwifiex_usb_aggr_tx_data()
961 (struct txpd *)((u8 *)skb->data + adapter->intf_hdr_len); in mwifiex_usb_aggr_tx_data()
H A Dwmm.c1260 sizeof(struct txpd) : 0); in mwifiex_send_single_packet()
1349 sizeof(struct txpd) : 0); in mwifiex_send_processed_packet()
H A Dfw.h678 struct txpd { struct
/linux/drivers/net/wireless/marvell/libertas_tf/
H A 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 BUILD_BUG_ON(sizeof(txpd->tx_dest_addr) != ETH_ALEN); in lbtf_tx_work()
236 memcpy(&txpd->tx_dest_addr, skb->data + sizeof(struct txpd) + 4, in lbtf_tx_work()
238 txpd->tx_packet_length = cpu_to_le16(len); in lbtf_tx_work()
239 txpd->tx_packet_location = cpu_to_le32(sizeof(struct txpd)); in lbtf_tx_work()
580 hw->extra_tx_headroom = sizeof(struct txpd); in lbtf_add_card()
669 skb_pull(priv->tx_skb, sizeof(struct txpd)); in lbtf_send_tx_feedback()
H A Dlibertas_tf.h131 (ETH_FRAME_LEN + sizeof(struct txpd) + EXTRA_LEN)
263 struct txpd { struct
/linux/drivers/net/ethernet/sfc/falcon/
H A 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()