• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/hostap/

Lines Matching refs:txdesc

18  *   field in txdesc might be used to fix this (using Alloc event to increment
1804 struct hfa384x_tx_frame txdesc;
1825 memset(&txdesc, 0, sizeof(txdesc));
1827 /* skb->data starts with txdesc->frame_control */
1829 skb_copy_from_linear_data(skb, &txdesc.frame_control, hdr_len);
1830 fc = le16_to_cpu(txdesc.frame_control);
1831 if (ieee80211_is_data(txdesc.frame_control) &&
1832 ieee80211_has_a4(txdesc.frame_control) &&
1835 skb_copy_from_linear_data_offset(skb, hdr_len, txdesc.addr4,
1843 txdesc.sw_support = cpu_to_le32(meta->tx_cb_idx);
1845 txdesc.tx_control = cpu_to_le16(tx_control);
1846 txdesc.tx_rate = meta->rate;
1849 txdesc.data_len = cpu_to_le16(data_len);
1850 txdesc.len = cpu_to_be16(data_len);
1857 hostap_dump_tx_header(dev->name, &txdesc);
1863 res = hfa384x_to_bap(dev, BAP0, &txdesc, sizeof(txdesc));
2165 struct hfa384x_tx_frame *txdesc, int ok,
2173 if (memcmp(txdesc->addr2, local->dev->dev_addr, ETH_ALEN)) {
2179 sw_support = le32_to_cpu(txdesc->sw_support);
2193 hdrlen = hostap_80211_get_hdrlen(txdesc->frame_control);
2194 len = le16_to_cpu(txdesc->data_len);
2202 memcpy(skb_put(skb, hdrlen), (void *) &txdesc->frame_control, hdrlen);
2215 struct hfa384x_tx_frame *txdesc,
2229 res = hfa384x_from_bap(dev, BAP0, txdesc, sizeof(*txdesc));
2232 "read txdesc\n", dev->name, error, fid);
2239 if (txdesc->sw_support) {
2240 len = le16_to_cpu(txdesc->data_len);
2267 struct hfa384x_tx_frame txdesc;
2269 if (hostap_tx_compl_read(local, 0, &txdesc, &payload))
2276 dev->name, le16_to_cpu(txdesc.status),
2277 txdesc.retry_count, txdesc.tx_rate,
2278 le16_to_cpu(txdesc.seq_ctrl),
2279 le16_to_cpu(txdesc.duration_id));
2282 if (txdesc.sw_support)
2283 hostap_tx_callback(local, &txdesc, 1, payload);
2298 struct hfa384x_tx_frame *txdesc =
2301 if (skb->len >= sizeof(*txdesc)) {
2304 int hdrlen = hostap_80211_get_hdrlen(txdesc->frame_control);
2305 memmove(skb_pull(skb, sizeof(*txdesc) - hdrlen),
2306 &txdesc->frame_control, hdrlen);
2322 struct hfa384x_tx_frame txdesc;
2327 res = hostap_tx_compl_read(local, 1, &txdesc, &payload);
2332 status = le16_to_cpu(txdesc.status);
2343 memcpy(wrqu.addr.sa_data, txdesc.addr1, ETH_ALEN);
2353 skb = dev_alloc_skb(sizeof(txdesc));
2355 memcpy(skb_put(skb, sizeof(txdesc)), &txdesc,
2356 sizeof(txdesc));
2362 if (txdesc.sw_support)
2363 hostap_tx_callback(local, &txdesc, 0, payload);
2376 le16_to_cpu(txdesc.tx_control));
2378 fc = le16_to_cpu(txdesc.frame_control);
2381 txdesc.retry_count, txdesc.tx_rate, fc,
2382 ieee80211_is_mgmt(txdesc.frame_control) ? "Mgmt" : "",
2383 ieee80211_is_ctl(txdesc.frame_control) ? "Ctrl" : "",
2384 ieee80211_is_data(txdesc.frame_control) ? "Data" : "",
2386 ieee80211_has_tods(txdesc.frame_control) ? " ToDS" : "",
2387 ieee80211_has_fromds(txdesc.frame_control) ? " FromDS" : "");
2389 txdesc.addr1, txdesc.addr2,
2390 txdesc.addr3, txdesc.addr4);
3126 local->func->need_tx_headroom = 0; /* no need to add txdesc in