/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/rt2x00/ |
H A D | rt2x00ht.c | 33 struct txentry_desc *txdesc, 41 txdesc->mpdu_density = 44 txdesc->mpdu_density = 0; 46 txdesc->ba_size = 7; 48 txdesc->stbc = 56 txdesc->mcs = txrate->idx; 58 txdesc->mcs = rt2x00_get_rate_mcs(hwrate->mcs); 60 txdesc->mcs |= 0x08; 68 __set_bit(ENTRY_TXD_HT_AMPDU, &txdesc->flags); 74 txdesc 32 rt2x00ht_create_tx_descriptor(struct queue_entry *entry, struct txentry_desc *txdesc, const struct rt2x00_rate *hwrate) argument [all...] |
H A D | rt2x00crypto.c | 50 struct txentry_desc *txdesc) 59 __set_bit(ENTRY_TXD_ENCRYPT, &txdesc->flags); 61 txdesc->cipher = rt2x00crypto_key_to_cipher(hw_key); 64 __set_bit(ENTRY_TXD_ENCRYPT_PAIRWISE, &txdesc->flags); 66 txdesc->key_idx = hw_key->hw_key_idx; 67 txdesc->iv_offset = txdesc->header_length; 68 txdesc->iv_len = hw_key->iv_len; 71 __set_bit(ENTRY_TXD_ENCRYPT_IV, &txdesc->flags); 74 __set_bit(ENTRY_TXD_ENCRYPT_MMIC, &txdesc 49 rt2x00crypto_create_tx_descriptor(struct queue_entry *entry, struct txentry_desc *txdesc) argument 105 rt2x00crypto_tx_copy_iv(struct sk_buff *skb, struct txentry_desc *txdesc) argument 116 rt2x00crypto_tx_remove_iv(struct sk_buff *skb, struct txentry_desc *txdesc) argument [all...] |
H A D | rt2x00queue.c | 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 209 rt2x00queue_create_tx_descriptor_seq(struct queue_entry *entry, struct txentry_desc *txdesc) argument 233 rt2x00queue_create_tx_descriptor_plcp(struct queue_entry *entry, struct txentry_desc *txdesc, const struct rt2x00_rate *hwrate) argument 287 rt2x00queue_create_tx_descriptor(struct queue_entry *entry, struct txentry_desc *txdesc) argument 395 rt2x00queue_write_tx_data(struct queue_entry *entry, struct txentry_desc *txdesc) argument 435 rt2x00queue_write_tx_descriptor(struct queue_entry *entry, struct txentry_desc *txdesc) argument 450 rt2x00queue_kick_tx_queue(struct queue_entry *entry, struct txentry_desc *txdesc) argument 475 struct txentry_desc txdesc; local 567 struct txentry_desc txdesc; local [all...] |
H A D | rt2x00lib.h | 333 struct txentry_desc *txdesc); 337 struct txentry_desc *txdesc); 339 struct txentry_desc *txdesc); 351 struct txentry_desc *txdesc) 362 struct txentry_desc *txdesc) 367 struct txentry_desc *txdesc) 388 struct txentry_desc *txdesc, 395 struct txentry_desc *txdesc, 350 rt2x00crypto_create_tx_descriptor(struct queue_entry *entry, struct txentry_desc *txdesc) argument 361 rt2x00crypto_tx_copy_iv(struct sk_buff *skb, struct txentry_desc *txdesc) argument 366 rt2x00crypto_tx_remove_iv(struct sk_buff *skb, struct txentry_desc *txdesc) argument 394 rt2x00ht_create_tx_descriptor(struct queue_entry *entry, struct txentry_desc *txdesc, const struct rt2x00_rate *hwrate) argument
|
H A D | rt61pci.c | 1766 struct txentry_desc *txdesc) 1777 rt2x00_set_field32(&word, TXD_W1_HOST_Q_ID, txdesc->queue); 1778 rt2x00_set_field32(&word, TXD_W1_AIFSN, txdesc->aifs); 1779 rt2x00_set_field32(&word, TXD_W1_CWMIN, txdesc->cw_min); 1780 rt2x00_set_field32(&word, TXD_W1_CWMAX, txdesc->cw_max); 1781 rt2x00_set_field32(&word, TXD_W1_IV_OFFSET, txdesc->iv_offset); 1783 test_bit(ENTRY_TXD_GENERATE_SEQ, &txdesc->flags)); 1788 rt2x00_set_field32(&word, TXD_W2_PLCP_SIGNAL, txdesc->signal); 1789 rt2x00_set_field32(&word, TXD_W2_PLCP_SERVICE, txdesc->service); 1790 rt2x00_set_field32(&word, TXD_W2_PLCP_LENGTH_LOW, txdesc 1764 rt61pci_write_tx_desc(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) argument 1861 rt61pci_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument 2045 struct txdone_entry_desc txdesc; local [all...] |
H A D | rt2800pci.c | 570 struct txentry_desc *txdesc) 574 rt2800_write_txwi(txwi, txdesc); 580 struct txentry_desc *txdesc) 605 !test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags)); 607 test_bit(ENTRY_TXD_BURST, &txdesc->flags)); 620 !test_bit(ENTRY_TXD_ENCRYPT_IV, &txdesc->flags)); 736 struct txdone_entry_desc txdesc; local 795 txdesc.flags = 0; 812 __set_bit(TXDONE_SUCCESS, &txdesc.flags); 813 txdesc 569 rt2800pci_write_tx_data(struct queue_entry* entry, struct txentry_desc *txdesc) argument 578 rt2800pci_write_tx_desc(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) argument [all...] |
H A D | rt2400pci.c | 1012 struct txentry_desc *txdesc) 1027 rt2x00_set_field32(&word, TXD_W2_BUFFER_LENGTH, txdesc->length); 1028 rt2x00_set_field32(&word, TXD_W2_DATABYTE_COUNT, txdesc->length); 1032 rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL, txdesc->signal); 1035 rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->service); 1041 rt2x00_set_field32(&word, TXD_W4_PLCP_LENGTH_LOW, txdesc->length_low); 1044 rt2x00_set_field32(&word, TXD_W4_PLCP_LENGTH_HIGH, txdesc->length_high); 1058 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags)); 1060 test_bit(ENTRY_TXD_ACK, &txdesc->flags)); 1062 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc 1010 rt2400pci_write_tx_desc(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) argument 1080 rt2400pci_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument 1208 struct txdone_entry_desc txdesc; local [all...] |
H A D | rt2500usb.c | 1044 struct txentry_desc *txdesc) 1054 rt2x00_set_field32(&word, TXD_W0_RETRY_LIMIT, txdesc->retry_limit); 1056 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags)); 1058 test_bit(ENTRY_TXD_ACK, &txdesc->flags)); 1060 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags)); 1062 (txdesc->rate_mode == RATE_MODE_OFDM)); 1064 test_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags)); 1065 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->ifs); 1066 rt2x00_set_field32(&word, TXD_W0_DATABYTE_COUNT, txdesc->length); 1067 rt2x00_set_field32(&word, TXD_W0_CIPHER, !!txdesc 1042 rt2500usb_write_tx_desc(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) argument 1103 rt2500usb_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument [all...] |
H A D | rt2800lib.h | 138 void rt2800_write_txwi(__le32 *txwi, struct txentry_desc *txdesc); 139 void rt2800_process_rxwi(struct queue_entry *entry, struct rxdone_entry_desc *txdesc); 141 void rt2800_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc);
|
H A D | rt73usb.c | 1431 struct txentry_desc *txdesc) 1442 test_bit(ENTRY_TXD_BURST, &txdesc->flags)); 1445 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags)); 1447 test_bit(ENTRY_TXD_ACK, &txdesc->flags)); 1449 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags)); 1451 (txdesc->rate_mode == RATE_MODE_OFDM)); 1452 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->ifs); 1454 test_bit(ENTRY_TXD_RETRY_MODE, &txdesc->flags)); 1456 test_bit(ENTRY_TXD_ENCRYPT_MMIC, &txdesc->flags)); 1458 test_bit(ENTRY_TXD_ENCRYPT_PAIRWISE, &txdesc 1429 rt73usb_write_tx_desc(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) argument 1505 rt73usb_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument [all...] |
H A D | rt2500pci.c | 1166 struct txentry_desc *txdesc) 1182 rt2x00_set_field32(&word, TXD_W2_AIFS, txdesc->aifs); 1183 rt2x00_set_field32(&word, TXD_W2_CWMIN, txdesc->cw_min); 1184 rt2x00_set_field32(&word, TXD_W2_CWMAX, txdesc->cw_max); 1188 rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL, txdesc->signal); 1189 rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->service); 1190 rt2x00_set_field32(&word, TXD_W3_PLCP_LENGTH_LOW, txdesc->length_low); 1191 rt2x00_set_field32(&word, TXD_W3_PLCP_LENGTH_HIGH, txdesc->length_high); 1196 test_bit(ENTRY_TXD_RTS_FRAME, &txdesc->flags)); 1208 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc 1164 rt2500pci_write_tx_desc(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) argument 1233 rt2500pci_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument 1340 struct txdone_entry_desc txdesc; local [all...] |
H A D | rt2x00usb.c | 174 struct txdone_entry_desc txdesc; local 189 txdesc.flags = 0; 191 __set_bit(TXDONE_UNKNOWN, &txdesc.flags); 193 __set_bit(TXDONE_FAILURE, &txdesc.flags); 194 txdesc.retry = 0; 196 rt2x00lib_txdone(entry, &txdesc);
|
H A D | rt2x00.h | 564 struct txentry_desc *txdesc); 566 struct txentry_desc *txdesc); 568 struct txentry_desc *txdesc); 1074 struct txdone_entry_desc *txdesc);
|
H A D | rt2800lib.c | 430 void rt2800_write_txwi(__le32 *txwi, struct txentry_desc *txdesc) argument 439 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags)); 443 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags)); 445 test_bit(ENTRY_TXD_HT_AMPDU, &txdesc->flags)); 446 rt2x00_set_field32(&word, TXWI_W0_MPDU_DENSITY, txdesc->mpdu_density); 447 rt2x00_set_field32(&word, TXWI_W0_TX_OP, txdesc->txop); 448 rt2x00_set_field32(&word, TXWI_W0_MCS, txdesc->mcs); 450 test_bit(ENTRY_TXD_HT_BW_40, &txdesc->flags)); 452 test_bit(ENTRY_TXD_HT_SHORT_GI, &txdesc->flags)); 453 rt2x00_set_field32(&word, TXWI_W0_STBC, txdesc 572 rt2800_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument [all...] |
H A D | rt2800usb.c | 324 struct txentry_desc *txdesc) 328 rt2800_write_txwi(txwi, txdesc); 334 struct txentry_desc *txdesc) 347 !test_bit(ENTRY_TXD_ENCRYPT_IV, &txdesc->flags)); 352 test_bit(ENTRY_TXD_BURST, &txdesc->flags)); 323 rt2800usb_write_tx_data(struct queue_entry* entry, struct txentry_desc *txdesc) argument 332 rt2800usb_write_tx_desc(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) argument
|
H A D | rt2x00dev.c | 254 struct txdone_entry_desc *txdesc) 306 test_bit(TXDONE_SUCCESS, &txdesc->flags) || 307 test_bit(TXDONE_UNKNOWN, &txdesc->flags); 317 retry_rates = test_bit(TXDONE_FALLBACK, &txdesc->flags) ? 318 (txdesc->retry + 1) : 1; 253 rt2x00lib_txdone(struct queue_entry *entry, struct txdone_entry_desc *txdesc) argument
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/hostap/ |
H A D | hostap_hw.c | 18 * field in txdesc might be used to fix this (using Alloc event to increment 1804 struct hfa384x_tx_frame txdesc; local 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 2164 hostap_tx_callback(local_info_t *local, struct hfa384x_tx_frame *txdesc, int ok, char *payload) argument 2214 hostap_tx_compl_read(local_info_t *local, int error, struct hfa384x_tx_frame *txdesc, char **payload) argument 2267 struct hfa384x_tx_frame txdesc; local 2298 struct hfa384x_tx_frame *txdesc = local 2322 struct hfa384x_tx_frame txdesc; local 2355 memcpy(skb_put(skb, sizeof(txdesc)), &txdesc, local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/ |
H A D | jme.c | 1338 struct txdesc *txdesc = txring->desc; local 1361 !(txdesc[i].descwb.flags & TXWBFLAG_OWN))) { 1366 err = txdesc[i].descwb.flags & TXWBFLAG_ALLERR; 1370 txdesc[(i + j) & (mask)].dw[0] = 0; 1718 struct txdesc *txdesc, 1738 txdesc->dw[0] = 0; 1739 txdesc->dw[1] = 0; 1740 txdesc 1717 jme_fill_tx_map(struct pci_dev *pdev, struct txdesc *txdesc, struct jme_buffer_info *txbi, struct page *page, u32 page_offset, u32 len, u8 hidma) argument 1755 struct txdesc *txdesc = txring->desc, *ctxdesc; local 1868 struct txdesc *txdesc; local [all...] |
H A D | sh_eth.c | 478 struct sh_eth_txdesc *txdesc = NULL; local 480 int tx_ringsize = sizeof(*txdesc) * TX_RING_SIZE; 526 txdesc = &mdp->tx_ring[i]; 527 txdesc->status = cpu_to_edmac(mdp, TD_TFP); 528 txdesc->buffer_length = 0; 538 txdesc->status |= cpu_to_edmac(mdp, TD_TDLE); 701 struct sh_eth_txdesc *txdesc; local 707 txdesc = &mdp->tx_ring[entry]; 708 if (txdesc->status & cpu_to_edmac(mdp, TD_TACT)) 716 txdesc 1162 struct sh_eth_txdesc *txdesc; local [all...] |
H A D | sundance.c | 1030 struct netdev_desc *txdesc = local 1036 txdesc = &np->tx_ring[entry]; 1041 np->last_tx = txdesc; 1044 txdesc->status |= cpu_to_le32(DescIntrOnTx); 1055 struct netdev_desc *txdesc; local 1061 txdesc = &np->tx_ring[entry]; 1063 txdesc->next_desc = 0; 1064 txdesc->status = cpu_to_le32 ((entry << 2) | DisableAlign); 1065 txdesc->frag[0].addr = cpu_to_le32 (pci_map_single (np->pci_dev, skb->data, 1068 txdesc [all...] |
H A D | dl2k.c | 602 struct netdev_desc *txdesc; local 614 txdesc = &np->tx_ring[entry]; 621 txdesc->fraginfo = cpu_to_le64 (pci_map_single (np->pdev, skb->data, 624 txdesc->fraginfo |= cpu_to_le64((u64)skb->len << 48); 627 txdesc->status = cpu_to_le64 (entry | tfc_vlan_tag | 632 txdesc->status = cpu_to_le64 (entry | tfc_vlan_tag |
|
H A D | jme.h | 153 struct txdesc { struct
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/vmxnet3/ |
H A D | vmxnet3_drv.c | 263 # define VMXNET3_TXDESC_GET_GEN(txdesc) get_bitfield32(((const __le32 *) \ 264 txdesc) + VMXNET3_TXD_GEN_DWORD_SHIFT, \ 266 # define VMXNET3_TXDESC_GET_EOP(txdesc) get_bitfield32(((const __le32 *) \ 267 txdesc) + VMXNET3_TXD_EOP_DWORD_SHIFT, \ 285 # define VMXNET3_TXDESC_GET_GEN(txdesc) ((txdesc)->gen) 286 # define VMXNET3_TXDESC_GET_EOP(txdesc) ((txdesc)->eop)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wan/ |
H A D | farsync.c | 132 struct txdesc { /* Transmit descriptor */ struct 270 struct txdesc txDescrRing[FST_MAX_PORTS][NUM_TX_BUFFER];
|