Lines Matching refs:txdesc
1791 struct hfa384x_tx_frame txdesc; in prism2_tx_80211() local
1812 memset(&txdesc, 0, sizeof(txdesc)); in prism2_tx_80211()
1816 skb_copy_from_linear_data(skb, &txdesc.frame_control, hdr_len); in prism2_tx_80211()
1817 if (ieee80211_is_data(txdesc.frame_control) && in prism2_tx_80211()
1818 ieee80211_has_a4(txdesc.frame_control) && in prism2_tx_80211()
1821 skb_copy_from_linear_data_offset(skb, hdr_len, txdesc.addr4, in prism2_tx_80211()
1829 txdesc.sw_support = cpu_to_le32(meta->tx_cb_idx); in prism2_tx_80211()
1831 txdesc.tx_control = cpu_to_le16(tx_control); in prism2_tx_80211()
1832 txdesc.tx_rate = meta->rate; in prism2_tx_80211()
1835 txdesc.data_len = cpu_to_le16(data_len); in prism2_tx_80211()
1836 txdesc.len = cpu_to_be16(data_len); in prism2_tx_80211()
1843 hostap_dump_tx_header(dev->name, &txdesc); in prism2_tx_80211()
1849 res = hfa384x_to_bap(dev, BAP0, &txdesc, sizeof(txdesc)); in prism2_tx_80211()
2151 struct hfa384x_tx_frame *txdesc, int ok, in hostap_tx_callback() argument
2159 if (!ether_addr_equal(txdesc->addr2, local->dev->dev_addr)) { in hostap_tx_callback()
2165 sw_support = le32_to_cpu(txdesc->sw_support); in hostap_tx_callback()
2179 hdrlen = hostap_80211_get_hdrlen(txdesc->frame_control); in hostap_tx_callback()
2180 len = le16_to_cpu(txdesc->data_len); in hostap_tx_callback()
2188 skb_put_data(skb, (void *)&txdesc->frame_control, hdrlen); in hostap_tx_callback()
2201 struct hfa384x_tx_frame *txdesc, in hostap_tx_compl_read() argument
2215 res = hfa384x_from_bap(dev, BAP0, txdesc, sizeof(*txdesc)); in hostap_tx_compl_read()
2225 if (txdesc->sw_support) { in hostap_tx_compl_read()
2226 len = le16_to_cpu(txdesc->data_len); in hostap_tx_compl_read()
2253 struct hfa384x_tx_frame txdesc; in prism2_tx_ev() local
2255 if (hostap_tx_compl_read(local, 0, &txdesc, &payload)) in prism2_tx_ev()
2262 dev->name, le16_to_cpu(txdesc.status), in prism2_tx_ev()
2263 txdesc.retry_count, txdesc.tx_rate, in prism2_tx_ev()
2264 le16_to_cpu(txdesc.seq_ctrl), in prism2_tx_ev()
2265 le16_to_cpu(txdesc.duration_id)); in prism2_tx_ev()
2268 if (txdesc.sw_support) in prism2_tx_ev()
2269 hostap_tx_callback(local, &txdesc, 1, payload); in prism2_tx_ev()
2284 struct hfa384x_tx_frame *txdesc = in hostap_sta_tx_exc_tasklet() local
2287 if (skb->len >= sizeof(*txdesc)) { in hostap_sta_tx_exc_tasklet()
2290 int hdrlen = hostap_80211_get_hdrlen(txdesc->frame_control); in hostap_sta_tx_exc_tasklet()
2291 memmove(skb_pull(skb, sizeof(*txdesc) - hdrlen), in hostap_sta_tx_exc_tasklet()
2292 &txdesc->frame_control, hdrlen); in hostap_sta_tx_exc_tasklet()
2308 struct hfa384x_tx_frame txdesc; in prism2_txexc() local
2313 res = hostap_tx_compl_read(local, 1, &txdesc, &payload); in prism2_txexc()
2318 status = le16_to_cpu(txdesc.status); in prism2_txexc()
2329 memcpy(wrqu.addr.sa_data, txdesc.addr1, ETH_ALEN); in prism2_txexc()
2339 skb = dev_alloc_skb(sizeof(txdesc)); in prism2_txexc()
2341 skb_put_data(skb, &txdesc, sizeof(txdesc)); in prism2_txexc()
2347 if (txdesc.sw_support) in prism2_txexc()
2348 hostap_tx_callback(local, &txdesc, 0, payload); in prism2_txexc()
2361 le16_to_cpu(txdesc.tx_control)); in prism2_txexc()
2363 fc = le16_to_cpu(txdesc.frame_control); in prism2_txexc()
2366 txdesc.retry_count, txdesc.tx_rate, fc, in prism2_txexc()
2367 ieee80211_is_mgmt(txdesc.frame_control) ? "Mgmt" : "", in prism2_txexc()
2368 ieee80211_is_ctl(txdesc.frame_control) ? "Ctrl" : "", in prism2_txexc()
2369 ieee80211_is_data(txdesc.frame_control) ? "Data" : "", in prism2_txexc()
2371 ieee80211_has_tods(txdesc.frame_control) ? " ToDS" : "", in prism2_txexc()
2372 ieee80211_has_fromds(txdesc.frame_control) ? " FromDS" : ""); in prism2_txexc()
2374 txdesc.addr1, txdesc.addr2, in prism2_txexc()
2375 txdesc.addr3, txdesc.addr4); in prism2_txexc()