diff options
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-rx.c')
-rw-r--r-- | drivers/net/wireless/iwlegacy/iwl-rx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-rx.c b/drivers/net/wireless/iwlegacy/iwl-rx.c index a6bee8432798..5c0d1317d149 100644 --- a/drivers/net/wireless/iwlegacy/iwl-rx.c +++ b/drivers/net/wireless/iwlegacy/iwl-rx.c | |||
@@ -62,7 +62,7 @@ | |||
62 | * WRITE = READ. | 62 | * WRITE = READ. |
63 | * | 63 | * |
64 | * During initialization, the host sets up the READ queue position to the first | 64 | * During initialization, the host sets up the READ queue position to the first |
65 | * INDEX position, and WRITE to the last (READ - 1 wrapped) | 65 | * IDX position, and WRITE to the last (READ - 1 wrapped) |
66 | * | 66 | * |
67 | * When the firmware places a packet in a buffer, it will advance the READ index | 67 | * When the firmware places a packet in a buffer, it will advance the READ index |
68 | * and fire the RX interrupt. The driver can then query the READ index and | 68 | * and fire the RX interrupt. The driver can then query the READ index and |
@@ -74,13 +74,13 @@ | |||
74 | * iwl->rxq->free_count drops to or below RX_LOW_WATERMARK, work is scheduled | 74 | * iwl->rxq->free_count drops to or below RX_LOW_WATERMARK, work is scheduled |
75 | * to replenish the iwl->rxq->rx_free. | 75 | * to replenish the iwl->rxq->rx_free. |
76 | * + In il_rx_replenish (scheduled) if 'processed' != 'read' then the | 76 | * + In il_rx_replenish (scheduled) if 'processed' != 'read' then the |
77 | * iwl->rxq is replenished and the READ INDEX is updated (updating the | 77 | * iwl->rxq is replenished and the READ IDX is updated (updating the |
78 | * 'processed' and 'read' driver indexes as well) | 78 | * 'processed' and 'read' driver indexes as well) |
79 | * + A received packet is processed and handed to the kernel network stack, | 79 | * + A received packet is processed and handed to the kernel network stack, |
80 | * detached from the iwl->rxq. The driver 'processed' index is updated. | 80 | * detached from the iwl->rxq. The driver 'processed' index is updated. |
81 | * + The Host/Firmware iwl->rxq is replenished at tasklet time from the rx_free | 81 | * + The Host/Firmware iwl->rxq is replenished at tasklet time from the rx_free |
82 | * list. If there are no allocated buffers in iwl->rxq->rx_free, the READ | 82 | * list. If there are no allocated buffers in iwl->rxq->rx_free, the READ |
83 | * INDEX is not incremented and iwl->status(RX_STALLED) is set. If there | 83 | * IDX is not incremented and iwl->status(RX_STALLED) is set. If there |
84 | * were enough free buffers and RX_STALLED is set it is cleared. | 84 | * were enough free buffers and RX_STALLED is set it is cleared. |
85 | * | 85 | * |
86 | * | 86 | * |
@@ -96,7 +96,7 @@ | |||
96 | * | 96 | * |
97 | * -- enable interrupts -- | 97 | * -- enable interrupts -- |
98 | * ISR - il_rx() Detach il_rx_bufs from pool up to the | 98 | * ISR - il_rx() Detach il_rx_bufs from pool up to the |
99 | * READ INDEX, detaching the SKB from the pool. | 99 | * READ IDX, detaching the SKB from the pool. |
100 | * Moves the packet buffer from queue to rx_used. | 100 | * Moves the packet buffer from queue to rx_used. |
101 | * Calls il_rx_queue_restock to refill any empty | 101 | * Calls il_rx_queue_restock to refill any empty |
102 | * slots. | 102 | * slots. |