• 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/rt2x00/

Lines Matching refs:txdesc

210 						 struct txentry_desc *txdesc)
223 if (test_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags))
230 __set_bit(ENTRY_TXD_GENERATE_SEQ, &txdesc->flags);
234 struct txentry_desc *txdesc,
252 txdesc->signal = hwrate->plcp;
253 txdesc->service = 0x04;
256 txdesc->length_high = (data_length >> 6) & 0x3f;
257 txdesc->length_low = data_length & 0x3f;
272 txdesc->service |= 0x80;
275 txdesc->length_high = (duration >> 8) & 0xff;
276 txdesc->length_low = duration & 0xff;
283 txdesc->signal |= 0x08;
288 struct txentry_desc *txdesc)
297 memset(txdesc, 0, sizeof(*txdesc));
302 txdesc->queue = entry->queue->qid;
303 txdesc->cw_min = entry->queue->cw_min;
304 txdesc->cw_max = entry->queue->cw_max;
305 txdesc->aifs = entry->queue->aifs;
310 txdesc->length = entry->skb->len;
311 txdesc->header_length = ieee80211_get_hdrlen_from_skb(entry->skb);
317 __set_bit(ENTRY_TXD_ACK, &txdesc->flags);
324 __set_bit(ENTRY_TXD_BURST, &txdesc->flags);
326 __set_bit(ENTRY_TXD_RTS_FRAME, &txdesc->flags);
328 __set_bit(ENTRY_TXD_CTS_FRAME, &txdesc->flags);
337 txdesc->retry_limit = tx_info->control.rates[0].count - 1;
338 if (txdesc->retry_limit >= rt2x00dev->long_retry)
339 __set_bit(ENTRY_TXD_RETRY_MODE, &txdesc->flags);
345 __set_bit(ENTRY_TXD_BURST, &txdesc->flags);
346 __set_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags);
353 __set_bit(ENTRY_TXD_BURST, &txdesc->flags);
364 __set_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags);
372 !test_bit(ENTRY_TXD_RTS_FRAME, &txdesc->flags)) {
373 __set_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags);
374 txdesc->ifs = IFS_BACKOFF;
376 txdesc->ifs = IFS_SIFS;
382 txdesc->rate_mode = RATE_MODE_CCK;
384 txdesc->rate_mode = RATE_MODE_OFDM;
389 rt2x00crypto_create_tx_descriptor(entry, txdesc);
390 rt2x00ht_create_tx_descriptor(entry, txdesc, hwrate);
391 rt2x00queue_create_tx_descriptor_seq(entry, txdesc);
392 rt2x00queue_create_tx_descriptor_plcp(entry, txdesc, hwrate);
396 struct txentry_desc *txdesc)
424 rt2x00dev->ops->lib->write_tx_data(entry, txdesc);
436 struct txentry_desc *txdesc)
441 rt2x00dev->ops->lib->write_tx_desc(rt2x00dev, entry->skb, txdesc);
451 struct txentry_desc *txdesc)
466 !test_bit(ENTRY_TXD_BURST, &txdesc->flags))
475 struct txentry_desc txdesc;
491 * Copy all TX descriptor information into txdesc,
496 rt2x00queue_create_tx_descriptor(entry, &txdesc);
520 if (test_bit(ENTRY_TXD_ENCRYPT, &txdesc.flags) &&
521 !test_bit(ENTRY_TXD_ENCRYPT_IV, &txdesc.flags)) {
523 rt2x00crypto_tx_copy_iv(skb, &txdesc);
525 rt2x00crypto_tx_remove_iv(skb, &txdesc);
537 rt2x00queue_insert_l2pad(entry->skb, txdesc.header_length);
546 if (unlikely(rt2x00queue_write_tx_data(entry, &txdesc))) {
555 rt2x00queue_write_tx_descriptor(entry, &txdesc);
556 rt2x00queue_kick_tx_queue(entry, &txdesc);
567 struct txentry_desc txdesc;
593 * Copy all TX descriptor information into txdesc,
597 rt2x00queue_create_tx_descriptor(intf->beacon, &txdesc);
609 rt2x00dev->ops->lib->write_beacon(intf->beacon, &txdesc);