Lines Matching refs:txdesc

1794 	struct hfa384x_tx_frame txdesc;  in prism2_tx_80211()  local
1815 memset(&txdesc, 0, sizeof(txdesc)); in prism2_tx_80211()
1818 hdr_len = sizeof(txdesc.header); in prism2_tx_80211()
1820 skb_copy_from_linear_data(skb, &txdesc.header, hdr_len); in prism2_tx_80211()
1821 if (ieee80211_is_data(txdesc.frame_control) && in prism2_tx_80211()
1822 ieee80211_has_a4(txdesc.frame_control) && in prism2_tx_80211()
1825 skb_copy_from_linear_data_offset(skb, hdr_len, txdesc.addr4, in prism2_tx_80211()
1833 txdesc.sw_support = cpu_to_le32(meta->tx_cb_idx); in prism2_tx_80211()
1835 txdesc.tx_control = cpu_to_le16(tx_control); in prism2_tx_80211()
1836 txdesc.tx_rate = meta->rate; in prism2_tx_80211()
1839 txdesc.data_len = cpu_to_le16(data_len); in prism2_tx_80211()
1840 txdesc.len = cpu_to_be16(data_len); in prism2_tx_80211()
1847 hostap_dump_tx_header(dev->name, &txdesc); in prism2_tx_80211()
1853 res = hfa384x_to_bap(dev, BAP0, &txdesc, sizeof(txdesc)); in prism2_tx_80211()
2155 struct hfa384x_tx_frame *txdesc, int ok, in hostap_tx_callback() argument
2163 if (!ether_addr_equal(txdesc->addr2, local->dev->dev_addr)) { in hostap_tx_callback()
2169 sw_support = le32_to_cpu(txdesc->sw_support); in hostap_tx_callback()
2183 hdrlen = hostap_80211_get_hdrlen(txdesc->frame_control); in hostap_tx_callback()
2184 len = le16_to_cpu(txdesc->data_len); in hostap_tx_callback()
2192 skb_put_data(skb, (void *)&txdesc->frame_control, hdrlen); in hostap_tx_callback()
2205 struct hfa384x_tx_frame *txdesc, in hostap_tx_compl_read() argument
2219 res = hfa384x_from_bap(dev, BAP0, txdesc, sizeof(*txdesc)); in hostap_tx_compl_read()
2229 if (txdesc->sw_support) { in hostap_tx_compl_read()
2230 len = le16_to_cpu(txdesc->data_len); in hostap_tx_compl_read()
2257 struct hfa384x_tx_frame txdesc; in prism2_tx_ev() local
2259 if (hostap_tx_compl_read(local, 0, &txdesc, &payload)) in prism2_tx_ev()
2266 dev->name, le16_to_cpu(txdesc.status), in prism2_tx_ev()
2267 txdesc.retry_count, txdesc.tx_rate, in prism2_tx_ev()
2268 le16_to_cpu(txdesc.seq_ctrl), in prism2_tx_ev()
2269 le16_to_cpu(txdesc.duration_id)); in prism2_tx_ev()
2272 if (txdesc.sw_support) in prism2_tx_ev()
2273 hostap_tx_callback(local, &txdesc, 1, payload); in prism2_tx_ev()
2288 struct hfa384x_tx_frame *txdesc = in hostap_sta_tx_exc_tasklet() local
2291 if (skb->len >= sizeof(*txdesc)) { in hostap_sta_tx_exc_tasklet()
2294 int hdrlen = hostap_80211_get_hdrlen(txdesc->frame_control); in hostap_sta_tx_exc_tasklet()
2295 memmove(skb_pull(skb, sizeof(*txdesc) - hdrlen), in hostap_sta_tx_exc_tasklet()
2296 &txdesc->frame_control, hdrlen); in hostap_sta_tx_exc_tasklet()
2312 struct hfa384x_tx_frame txdesc; in prism2_txexc() local
2317 res = hostap_tx_compl_read(local, 1, &txdesc, &payload); in prism2_txexc()
2322 status = le16_to_cpu(txdesc.status); in prism2_txexc()
2333 memcpy(wrqu.addr.sa_data, txdesc.addr1, ETH_ALEN); in prism2_txexc()
2343 skb = dev_alloc_skb(sizeof(txdesc)); in prism2_txexc()
2345 skb_put_data(skb, &txdesc, sizeof(txdesc)); in prism2_txexc()
2351 if (txdesc.sw_support) in prism2_txexc()
2352 hostap_tx_callback(local, &txdesc, 0, payload); in prism2_txexc()
2365 le16_to_cpu(txdesc.tx_control)); in prism2_txexc()
2367 fc = le16_to_cpu(txdesc.frame_control); in prism2_txexc()
2370 txdesc.retry_count, txdesc.tx_rate, fc, in prism2_txexc()
2371 ieee80211_is_mgmt(txdesc.frame_control) ? "Mgmt" : "", in prism2_txexc()
2372 ieee80211_is_ctl(txdesc.frame_control) ? "Ctrl" : "", in prism2_txexc()
2373 ieee80211_is_data(txdesc.frame_control) ? "Data" : "", in prism2_txexc()
2375 ieee80211_has_tods(txdesc.frame_control) ? " ToDS" : "", in prism2_txexc()
2376 ieee80211_has_fromds(txdesc.frame_control) ? " FromDS" : ""); in prism2_txexc()
2378 txdesc.addr1, txdesc.addr2, in prism2_txexc()
2379 txdesc.addr3, txdesc.addr4); in prism2_txexc()