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

Lines Matching refs:ticket

314 iwm_rx_ticket_node_alloc(struct iwm_priv *iwm, struct iwm_rx_ticket *ticket)
320 IWM_ERR(iwm, "Couldn't allocate ticket node\n");
324 ticket_node->ticket = kmemdup(ticket, sizeof(struct iwm_rx_ticket),
326 if (!ticket_node->ticket) {
327 IWM_ERR(iwm, "Couldn't allocate RX ticket\n");
339 kfree(ticket_node->ticket);
390 struct iwm_rx_ticket_node *ticket, *nt;
395 list_for_each_entry_safe(ticket, nt, &iwm->rx_tickets, node) {
396 list_del(&ticket->node);
397 iwm_rx_ticket_node_free(ticket);
418 struct iwm_rx_ticket *ticket =
425 switch (le16_to_cpu(ticket->action)) {
429 ticket_node = iwm_rx_ticket_node_alloc(iwm, ticket);
434 __le16_to_cpu(ticket->action) ==
437 ticket->id);
443 * We received an Rx ticket, most likely there's
453 IWM_ERR(iwm, "Invalid RX ticket action: 0x%x\n",
454 ticket->action);
457 ticket++;
496 /* We might (unlikely) have received the packet _after_ the ticket */
1516 struct iwm_rx_ticket *ticket = ticket_node->ticket;
1524 (le16_to_cpu(ticket->flags) & IWM_RX_TICKET_PAD_SIZE_MSK);
1525 payload_len -= ticket->tail_len;
1528 "ticket offset:%d ticket tail len:%d\n",
1529 payload_len, payload_offset, ticket->payload_offset,
1530 ticket->tail_len);
1537 iwm_remove_iv(packet->skb, ticket->payload_offset);
1607 switch (le16_to_cpu(ticket_node->ticket->action)) {
1615 if (le16_to_cpu(ticket_node->ticket->flags) &
1645 le16_to_cpu(ticket_node->ticket->flags));
1649 IWM_ERR(iwm, "Unknown ticket action: %d\n",
1650 le16_to_cpu(ticket_node->ticket->action));
1661 * We're receiving Rx packet from the LMAC, and Rx ticket from
1664 * kernel network stack), we must have received an Rx ticket
1665 * that tells us we're allowed to release this packet (ticket
1666 * action is IWM_RX_TICKET_RELEASE). The Rx ticket also indicates,
1673 struct iwm_rx_ticket_node *ticket, *next;
1680 * We stop whenever a ticket is missing its packet, as we're
1684 list_for_each_entry_safe(ticket, next, &iwm->rx_tickets, node) {
1686 iwm_rx_packet_get(iwm, le16_to_cpu(ticket->ticket->id));
1689 IWM_DBG_RX(iwm, DBG, "Skip rx_work: Wait for ticket %d "
1691 le16_to_cpu(ticket->ticket->id));
1695 list_del(&ticket->node);
1696 iwm_rx_process_packet(iwm, packet, ticket);