• Home
  • Raw
  • Download

Lines Matching refs:txdesc

1816 	struct hfa384x_tx_frame txdesc;  in prism2_tx_80211()  local
1837 memset(&txdesc, 0, sizeof(txdesc)); in prism2_tx_80211()
1841 skb_copy_from_linear_data(skb, &txdesc.frame_control, hdr_len); in prism2_tx_80211()
1842 fc = le16_to_cpu(txdesc.frame_control); in prism2_tx_80211()
1847 skb_copy_from_linear_data_offset(skb, hdr_len, txdesc.addr4, in prism2_tx_80211()
1855 txdesc.sw_support = cpu_to_le32(meta->tx_cb_idx); in prism2_tx_80211()
1857 txdesc.tx_control = cpu_to_le16(tx_control); in prism2_tx_80211()
1858 txdesc.tx_rate = meta->rate; in prism2_tx_80211()
1861 txdesc.data_len = cpu_to_le16(data_len); in prism2_tx_80211()
1862 txdesc.len = cpu_to_be16(data_len); in prism2_tx_80211()
1869 hostap_dump_tx_header(dev->name, &txdesc); in prism2_tx_80211()
1875 res = hfa384x_to_bap(dev, BAP0, &txdesc, sizeof(txdesc)); in prism2_tx_80211()
2179 struct hfa384x_tx_frame *txdesc, int ok, in hostap_tx_callback() argument
2187 if (memcmp(txdesc->addr2, local->dev->dev_addr, ETH_ALEN)) { in hostap_tx_callback()
2193 sw_support = le32_to_cpu(txdesc->sw_support); in hostap_tx_callback()
2207 hdrlen = hostap_80211_get_hdrlen(le16_to_cpu(txdesc->frame_control)); in hostap_tx_callback()
2208 len = le16_to_cpu(txdesc->data_len); in hostap_tx_callback()
2216 memcpy(skb_put(skb, hdrlen), (void *) &txdesc->frame_control, hdrlen); in hostap_tx_callback()
2229 struct hfa384x_tx_frame *txdesc, in hostap_tx_compl_read() argument
2243 res = hfa384x_from_bap(dev, BAP0, txdesc, sizeof(*txdesc)); in hostap_tx_compl_read()
2253 if (txdesc->sw_support) { in hostap_tx_compl_read()
2254 len = le16_to_cpu(txdesc->data_len); in hostap_tx_compl_read()
2281 struct hfa384x_tx_frame txdesc; in prism2_tx_ev() local
2283 if (hostap_tx_compl_read(local, 0, &txdesc, &payload)) in prism2_tx_ev()
2290 dev->name, le16_to_cpu(txdesc.status), in prism2_tx_ev()
2291 txdesc.retry_count, txdesc.tx_rate, in prism2_tx_ev()
2292 le16_to_cpu(txdesc.seq_ctrl), in prism2_tx_ev()
2293 le16_to_cpu(txdesc.duration_id)); in prism2_tx_ev()
2296 if (txdesc.sw_support) in prism2_tx_ev()
2297 hostap_tx_callback(local, &txdesc, 1, payload); in prism2_tx_ev()
2312 struct hfa384x_tx_frame *txdesc = in hostap_sta_tx_exc_tasklet() local
2315 if (skb->len >= sizeof(*txdesc)) { in hostap_sta_tx_exc_tasklet()
2318 u16 fc = le16_to_cpu(txdesc->frame_control); in hostap_sta_tx_exc_tasklet()
2320 memmove(skb_pull(skb, sizeof(*txdesc) - hdrlen), in hostap_sta_tx_exc_tasklet()
2321 &txdesc->frame_control, hdrlen); in hostap_sta_tx_exc_tasklet()
2337 struct hfa384x_tx_frame txdesc; in prism2_txexc() local
2342 res = hostap_tx_compl_read(local, 1, &txdesc, &payload); in prism2_txexc()
2347 status = le16_to_cpu(txdesc.status); in prism2_txexc()
2358 memcpy(wrqu.addr.sa_data, txdesc.addr1, ETH_ALEN); in prism2_txexc()
2368 skb = dev_alloc_skb(sizeof(txdesc)); in prism2_txexc()
2370 memcpy(skb_put(skb, sizeof(txdesc)), &txdesc, in prism2_txexc()
2371 sizeof(txdesc)); in prism2_txexc()
2377 if (txdesc.sw_support) in prism2_txexc()
2378 hostap_tx_callback(local, &txdesc, 0, payload); in prism2_txexc()
2391 le16_to_cpu(txdesc.tx_control)); in prism2_txexc()
2393 fc = le16_to_cpu(txdesc.frame_control); in prism2_txexc()
2396 txdesc.retry_count, txdesc.tx_rate, fc, in prism2_txexc()
2404 txdesc.addr1, txdesc.addr2, in prism2_txexc()
2405 txdesc.addr3, txdesc.addr4); in prism2_txexc()