Lines Matching refs:txdesc

1809 	struct hfa384x_tx_frame txdesc;  in prism2_tx_80211()  local
1830 memset(&txdesc, 0, sizeof(txdesc)); in prism2_tx_80211()
1834 skb_copy_from_linear_data(skb, &txdesc.frame_control, hdr_len); in prism2_tx_80211()
1835 fc = le16_to_cpu(txdesc.frame_control); in prism2_tx_80211()
1836 if (ieee80211_is_data(txdesc.frame_control) && in prism2_tx_80211()
1837 ieee80211_has_a4(txdesc.frame_control) && in prism2_tx_80211()
1840 skb_copy_from_linear_data_offset(skb, hdr_len, txdesc.addr4, in prism2_tx_80211()
1848 txdesc.sw_support = cpu_to_le32(meta->tx_cb_idx); in prism2_tx_80211()
1850 txdesc.tx_control = cpu_to_le16(tx_control); in prism2_tx_80211()
1851 txdesc.tx_rate = meta->rate; in prism2_tx_80211()
1854 txdesc.data_len = cpu_to_le16(data_len); in prism2_tx_80211()
1855 txdesc.len = cpu_to_be16(data_len); in prism2_tx_80211()
1862 hostap_dump_tx_header(dev->name, &txdesc); in prism2_tx_80211()
1868 res = hfa384x_to_bap(dev, BAP0, &txdesc, sizeof(txdesc)); in prism2_tx_80211()
2170 struct hfa384x_tx_frame *txdesc, int ok, in hostap_tx_callback() argument
2178 if (!ether_addr_equal(txdesc->addr2, local->dev->dev_addr)) { in hostap_tx_callback()
2184 sw_support = le32_to_cpu(txdesc->sw_support); in hostap_tx_callback()
2198 hdrlen = hostap_80211_get_hdrlen(txdesc->frame_control); in hostap_tx_callback()
2199 len = le16_to_cpu(txdesc->data_len); in hostap_tx_callback()
2207 memcpy(skb_put(skb, hdrlen), (void *) &txdesc->frame_control, hdrlen); in hostap_tx_callback()
2220 struct hfa384x_tx_frame *txdesc, in hostap_tx_compl_read() argument
2234 res = hfa384x_from_bap(dev, BAP0, txdesc, sizeof(*txdesc)); in hostap_tx_compl_read()
2244 if (txdesc->sw_support) { in hostap_tx_compl_read()
2245 len = le16_to_cpu(txdesc->data_len); in hostap_tx_compl_read()
2272 struct hfa384x_tx_frame txdesc; in prism2_tx_ev() local
2274 if (hostap_tx_compl_read(local, 0, &txdesc, &payload)) in prism2_tx_ev()
2281 dev->name, le16_to_cpu(txdesc.status), in prism2_tx_ev()
2282 txdesc.retry_count, txdesc.tx_rate, in prism2_tx_ev()
2283 le16_to_cpu(txdesc.seq_ctrl), in prism2_tx_ev()
2284 le16_to_cpu(txdesc.duration_id)); in prism2_tx_ev()
2287 if (txdesc.sw_support) in prism2_tx_ev()
2288 hostap_tx_callback(local, &txdesc, 1, payload); in prism2_tx_ev()
2303 struct hfa384x_tx_frame *txdesc = in hostap_sta_tx_exc_tasklet() local
2306 if (skb->len >= sizeof(*txdesc)) { in hostap_sta_tx_exc_tasklet()
2309 int hdrlen = hostap_80211_get_hdrlen(txdesc->frame_control); in hostap_sta_tx_exc_tasklet()
2310 memmove(skb_pull(skb, sizeof(*txdesc) - hdrlen), in hostap_sta_tx_exc_tasklet()
2311 &txdesc->frame_control, hdrlen); in hostap_sta_tx_exc_tasklet()
2327 struct hfa384x_tx_frame txdesc; in prism2_txexc() local
2332 res = hostap_tx_compl_read(local, 1, &txdesc, &payload); in prism2_txexc()
2337 status = le16_to_cpu(txdesc.status); in prism2_txexc()
2348 memcpy(wrqu.addr.sa_data, txdesc.addr1, ETH_ALEN); in prism2_txexc()
2358 skb = dev_alloc_skb(sizeof(txdesc)); in prism2_txexc()
2360 memcpy(skb_put(skb, sizeof(txdesc)), &txdesc, in prism2_txexc()
2361 sizeof(txdesc)); in prism2_txexc()
2367 if (txdesc.sw_support) in prism2_txexc()
2368 hostap_tx_callback(local, &txdesc, 0, payload); in prism2_txexc()
2381 le16_to_cpu(txdesc.tx_control)); in prism2_txexc()
2383 fc = le16_to_cpu(txdesc.frame_control); in prism2_txexc()
2386 txdesc.retry_count, txdesc.tx_rate, fc, in prism2_txexc()
2387 ieee80211_is_mgmt(txdesc.frame_control) ? "Mgmt" : "", in prism2_txexc()
2388 ieee80211_is_ctl(txdesc.frame_control) ? "Ctrl" : "", in prism2_txexc()
2389 ieee80211_is_data(txdesc.frame_control) ? "Data" : "", in prism2_txexc()
2391 ieee80211_has_tods(txdesc.frame_control) ? " ToDS" : "", in prism2_txexc()
2392 ieee80211_has_fromds(txdesc.frame_control) ? " FromDS" : ""); in prism2_txexc()
2394 txdesc.addr1, txdesc.addr2, in prism2_txexc()
2395 txdesc.addr3, txdesc.addr4); in prism2_txexc()