• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/hostap/

Lines Matching defs:txdesc

18  *   field in txdesc might be used to fix this (using Alloc event to increment
1807 struct hfa384x_tx_frame txdesc;
1828 memset(&txdesc, 0, sizeof(txdesc));
1830 /* skb->data starts with txdesc->frame_control */
1832 skb_copy_from_linear_data(skb, &txdesc.frame_control, hdr_len);
1833 fc = le16_to_cpu(txdesc.frame_control);
1838 skb_copy_from_linear_data_offset(skb, hdr_len, txdesc.addr4,
1846 txdesc.sw_support = cpu_to_le16(meta->tx_cb_idx);
1848 txdesc.tx_control = cpu_to_le16(tx_control);
1849 txdesc.tx_rate = meta->rate;
1852 txdesc.data_len = cpu_to_le16(data_len);
1853 txdesc.len = cpu_to_be16(data_len);
1860 hostap_dump_tx_header(dev->name, &txdesc);
1866 res = hfa384x_to_bap(dev, BAP0, &txdesc, sizeof(txdesc));
2170 struct hfa384x_tx_frame *txdesc, int ok,
2178 if (memcmp(txdesc->addr2, local->dev->dev_addr, ETH_ALEN)) {
2184 sw_support = le16_to_cpu(txdesc->sw_support);
2198 hdrlen = hostap_80211_get_hdrlen(le16_to_cpu(txdesc->frame_control));
2199 len = le16_to_cpu(txdesc->data_len);
2207 memcpy(skb_put(skb, hdrlen), (void *) &txdesc->frame_control, hdrlen);
2220 struct hfa384x_tx_frame *txdesc,
2234 res = hfa384x_from_bap(dev, BAP0, txdesc, sizeof(*txdesc));
2237 "read txdesc\n", dev->name, error, fid);
2244 if (txdesc->sw_support) {
2245 len = le16_to_cpu(txdesc->data_len);
2272 struct hfa384x_tx_frame txdesc;
2274 if (hostap_tx_compl_read(local, 0, &txdesc, &payload))
2281 dev->name, le16_to_cpu(txdesc.status),
2282 txdesc.retry_count, txdesc.tx_rate,
2283 le16_to_cpu(txdesc.seq_ctrl),
2284 le16_to_cpu(txdesc.duration_id));
2287 if (txdesc.sw_support)
2288 hostap_tx_callback(local, &txdesc, 1, payload);
2303 struct hfa384x_tx_frame *txdesc =
2306 if (skb->len >= sizeof(*txdesc)) {
2309 u16 fc = le16_to_cpu(txdesc->frame_control);
2311 memmove(skb_pull(skb, sizeof(*txdesc) - hdrlen),
2312 &txdesc->frame_control, hdrlen);
2328 struct hfa384x_tx_frame txdesc;
2333 res = hostap_tx_compl_read(local, 1, &txdesc, &payload);
2338 status = le16_to_cpu(txdesc.status);
2349 memcpy(wrqu.addr.sa_data, txdesc.addr1, ETH_ALEN);
2359 skb = dev_alloc_skb(sizeof(txdesc));
2361 memcpy(skb_put(skb, sizeof(txdesc)), &txdesc,
2362 sizeof(txdesc));
2368 if (txdesc.sw_support)
2369 hostap_tx_callback(local, &txdesc, 0, payload);
2382 le16_to_cpu(txdesc.tx_control));
2384 fc = le16_to_cpu(txdesc.frame_control);
2387 txdesc.retry_count, txdesc.tx_rate, fc,
2396 MAC2STR(txdesc.addr1), MAC2STR(txdesc.addr2),
2397 MAC2STR(txdesc.addr3), MAC2STR(txdesc.addr4));
3147 local->func->need_tx_headroom = 0; /* no need to add txdesc in