diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800lib.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00.h | 8 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00config.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00crypto.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00dump.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00link.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00queue.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00queue.h | 12 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00usb.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00usb.h | 2 |
11 files changed, 20 insertions, 20 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800.h b/drivers/net/wireless/rt2x00/rt2800.h index 3b3d851fe266..ce2010952886 100644 --- a/drivers/net/wireless/rt2x00/rt2800.h +++ b/drivers/net/wireless/rt2x00/rt2800.h | |||
@@ -616,7 +616,7 @@ | |||
616 | * READ_CONTROL: 0 write BBP, 1 read BBP | 616 | * READ_CONTROL: 0 write BBP, 1 read BBP |
617 | * BUSY: ASIC is busy executing BBP commands | 617 | * BUSY: ASIC is busy executing BBP commands |
618 | * BBP_PAR_DUR: 0 4 MAC clocks, 1 8 MAC clocks | 618 | * BBP_PAR_DUR: 0 4 MAC clocks, 1 8 MAC clocks |
619 | * BBP_RW_MODE: 0 serial, 1 paralell | 619 | * BBP_RW_MODE: 0 serial, 1 parallel |
620 | */ | 620 | */ |
621 | #define BBP_CSR_CFG 0x101c | 621 | #define BBP_CSR_CFG 0x101c |
622 | #define BBP_CSR_CFG_VALUE FIELD32(0x000000ff) | 622 | #define BBP_CSR_CFG_VALUE FIELD32(0x000000ff) |
diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c index 6ed646a02d49..790afd3ed946 100644 --- a/drivers/net/wireless/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/rt2x00/rt2800lib.c | |||
@@ -1550,7 +1550,7 @@ static void rt2800_config_channel_rf2xxx(struct rt2x00_dev *rt2x00dev, | |||
1550 | if (rf->channel > 14) { | 1550 | if (rf->channel > 14) { |
1551 | /* | 1551 | /* |
1552 | * When TX power is below 0, we should increase it by 7 to | 1552 | * When TX power is below 0, we should increase it by 7 to |
1553 | * make it a positive value (Minumum value is -7). | 1553 | * make it a positive value (Minimum value is -7). |
1554 | * However this means that values between 0 and 7 have | 1554 | * However this means that values between 0 and 7 have |
1555 | * double meaning, and we should set a 7DBm boost flag. | 1555 | * double meaning, and we should set a 7DBm boost flag. |
1556 | */ | 1556 | */ |
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h index 73d3332be614..c446db69bd3c 100644 --- a/drivers/net/wireless/rt2x00/rt2x00.h +++ b/drivers/net/wireless/rt2x00/rt2x00.h | |||
@@ -490,13 +490,13 @@ struct rt2x00intf_conf { | |||
490 | enum nl80211_iftype type; | 490 | enum nl80211_iftype type; |
491 | 491 | ||
492 | /* | 492 | /* |
493 | * TSF sync value, this is dependant on the operation type. | 493 | * TSF sync value, this is dependent on the operation type. |
494 | */ | 494 | */ |
495 | enum tsf_sync sync; | 495 | enum tsf_sync sync; |
496 | 496 | ||
497 | /* | 497 | /* |
498 | * The MAC and BSSID addressess are simple array of bytes, | 498 | * The MAC and BSSID addresses are simple array of bytes, |
499 | * these arrays are little endian, so when sending the addressess | 499 | * these arrays are little endian, so when sending the addresses |
500 | * to the drivers, copy the it into a endian-signed variable. | 500 | * to the drivers, copy the it into a endian-signed variable. |
501 | * | 501 | * |
502 | * Note that all devices (except rt2500usb) have 32 bits | 502 | * Note that all devices (except rt2500usb) have 32 bits |
@@ -1173,7 +1173,7 @@ void rt2x00queue_stop_queue(struct data_queue *queue); | |||
1173 | * @drop: True to drop all pending frames. | 1173 | * @drop: True to drop all pending frames. |
1174 | * | 1174 | * |
1175 | * This function will flush the queue. After this call | 1175 | * This function will flush the queue. After this call |
1176 | * the queue is guarenteed to be empty. | 1176 | * the queue is guaranteed to be empty. |
1177 | */ | 1177 | */ |
1178 | void rt2x00queue_flush_queue(struct data_queue *queue, bool drop); | 1178 | void rt2x00queue_flush_queue(struct data_queue *queue, bool drop); |
1179 | 1179 | ||
diff --git a/drivers/net/wireless/rt2x00/rt2x00config.c b/drivers/net/wireless/rt2x00/rt2x00config.c index edebbf04bc57..555180d8f4aa 100644 --- a/drivers/net/wireless/rt2x00/rt2x00config.c +++ b/drivers/net/wireless/rt2x00/rt2x00config.c | |||
@@ -60,7 +60,7 @@ void rt2x00lib_config_intf(struct rt2x00_dev *rt2x00dev, | |||
60 | * Note that when NULL is passed as address we will send | 60 | * Note that when NULL is passed as address we will send |
61 | * 00:00:00:00:00 to the device to clear the address. | 61 | * 00:00:00:00:00 to the device to clear the address. |
62 | * This will prevent the device being confused when it wants | 62 | * This will prevent the device being confused when it wants |
63 | * to ACK frames or consideres itself associated. | 63 | * to ACK frames or considers itself associated. |
64 | */ | 64 | */ |
65 | memset(conf.mac, 0, sizeof(conf.mac)); | 65 | memset(conf.mac, 0, sizeof(conf.mac)); |
66 | if (mac) | 66 | if (mac) |
diff --git a/drivers/net/wireless/rt2x00/rt2x00crypto.c b/drivers/net/wireless/rt2x00/rt2x00crypto.c index e1e0c51fcde8..1bb9d46077ff 100644 --- a/drivers/net/wireless/rt2x00/rt2x00crypto.c +++ b/drivers/net/wireless/rt2x00/rt2x00crypto.c | |||
@@ -237,7 +237,7 @@ void rt2x00crypto_rx_insert_iv(struct sk_buff *skb, | |||
237 | } | 237 | } |
238 | 238 | ||
239 | /* | 239 | /* |
240 | * NOTE: Always count the payload as transfered, | 240 | * NOTE: Always count the payload as transferred, |
241 | * even when alignment was set to zero. This is required | 241 | * even when alignment was set to zero. This is required |
242 | * for determining the correct offset for the ICV data. | 242 | * for determining the correct offset for the ICV data. |
243 | */ | 243 | */ |
diff --git a/drivers/net/wireless/rt2x00/rt2x00dump.h b/drivers/net/wireless/rt2x00/rt2x00dump.h index 5d6e0b83151f..063ebcce97f8 100644 --- a/drivers/net/wireless/rt2x00/rt2x00dump.h +++ b/drivers/net/wireless/rt2x00/rt2x00dump.h | |||
@@ -51,7 +51,7 @@ | |||
51 | * [rt2x00dump header][hardware descriptor][ieee802.11 frame] | 51 | * [rt2x00dump header][hardware descriptor][ieee802.11 frame] |
52 | * | 52 | * |
53 | * rt2x00dump header: The description of the dumped frame, as well as | 53 | * rt2x00dump header: The description of the dumped frame, as well as |
54 | * additional information usefull for debugging. See &rt2x00dump_hdr. | 54 | * additional information useful for debugging. See &rt2x00dump_hdr. |
55 | * hardware descriptor: Descriptor that was used to receive or transmit | 55 | * hardware descriptor: Descriptor that was used to receive or transmit |
56 | * the frame. | 56 | * the frame. |
57 | * ieee802.11 frame: The actual frame that was received or transmitted. | 57 | * ieee802.11 frame: The actual frame that was received or transmitted. |
diff --git a/drivers/net/wireless/rt2x00/rt2x00link.c b/drivers/net/wireless/rt2x00/rt2x00link.c index fa55399be192..ea10b0068f82 100644 --- a/drivers/net/wireless/rt2x00/rt2x00link.c +++ b/drivers/net/wireless/rt2x00/rt2x00link.c | |||
@@ -273,7 +273,7 @@ void rt2x00link_start_tuner(struct rt2x00_dev *rt2x00dev) | |||
273 | /** | 273 | /** |
274 | * While scanning, link tuning is disabled. By default | 274 | * While scanning, link tuning is disabled. By default |
275 | * the most sensitive settings will be used to make sure | 275 | * the most sensitive settings will be used to make sure |
276 | * that all beacons and probe responses will be recieved | 276 | * that all beacons and probe responses will be received |
277 | * during the scan. | 277 | * during the scan. |
278 | */ | 278 | */ |
279 | if (test_bit(DEVICE_STATE_SCANNING, &rt2x00dev->flags)) | 279 | if (test_bit(DEVICE_STATE_SCANNING, &rt2x00dev->flags)) |
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.c b/drivers/net/wireless/rt2x00/rt2x00queue.c index 56f9d0df9c61..ab8c16f8bcaf 100644 --- a/drivers/net/wireless/rt2x00/rt2x00queue.c +++ b/drivers/net/wireless/rt2x00/rt2x00queue.c | |||
@@ -615,7 +615,7 @@ int rt2x00queue_write_tx_frame(struct data_queue *queue, struct sk_buff *skb, | |||
615 | } | 615 | } |
616 | 616 | ||
617 | /* | 617 | /* |
618 | * When DMA allocation is required we should guarentee to the | 618 | * When DMA allocation is required we should guarantee to the |
619 | * driver that the DMA is aligned to a 4-byte boundary. | 619 | * driver that the DMA is aligned to a 4-byte boundary. |
620 | * However some drivers require L2 padding to pad the payload | 620 | * However some drivers require L2 padding to pad the payload |
621 | * rather then the header. This could be a requirement for | 621 | * rather then the header. This could be a requirement for |
@@ -760,7 +760,7 @@ bool rt2x00queue_for_each_entry(struct data_queue *queue, | |||
760 | spin_unlock_irqrestore(&queue->index_lock, irqflags); | 760 | spin_unlock_irqrestore(&queue->index_lock, irqflags); |
761 | 761 | ||
762 | /* | 762 | /* |
763 | * Start from the TX done pointer, this guarentees that we will | 763 | * Start from the TX done pointer, this guarantees that we will |
764 | * send out all frames in the correct order. | 764 | * send out all frames in the correct order. |
765 | */ | 765 | */ |
766 | if (index_start < index_end) { | 766 | if (index_start < index_end) { |
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.h b/drivers/net/wireless/rt2x00/rt2x00queue.h index 36f4d03eff61..167d45873dca 100644 --- a/drivers/net/wireless/rt2x00/rt2x00queue.h +++ b/drivers/net/wireless/rt2x00/rt2x00queue.h | |||
@@ -345,8 +345,8 @@ struct txentry_desc { | |||
345 | * only be touched after the device has signaled it is done with it. | 345 | * only be touched after the device has signaled it is done with it. |
346 | * @ENTRY_DATA_PENDING: This entry contains a valid frame and is waiting | 346 | * @ENTRY_DATA_PENDING: This entry contains a valid frame and is waiting |
347 | * for the signal to start sending. | 347 | * for the signal to start sending. |
348 | * @ENTRY_DATA_IO_FAILED: Hardware indicated that an IO error occured | 348 | * @ENTRY_DATA_IO_FAILED: Hardware indicated that an IO error occurred |
349 | * while transfering the data to the hardware. No TX status report will | 349 | * while transferring the data to the hardware. No TX status report will |
350 | * be expected from the hardware. | 350 | * be expected from the hardware. |
351 | * @ENTRY_DATA_STATUS_PENDING: The entry has been send to the device and | 351 | * @ENTRY_DATA_STATUS_PENDING: The entry has been send to the device and |
352 | * returned. It is now waiting for the status reporting before the | 352 | * returned. It is now waiting for the status reporting before the |
@@ -367,7 +367,7 @@ enum queue_entry_flags { | |||
367 | * @last_action: Timestamp of last change. | 367 | * @last_action: Timestamp of last change. |
368 | * @queue: The data queue (&struct data_queue) to which this entry belongs. | 368 | * @queue: The data queue (&struct data_queue) to which this entry belongs. |
369 | * @skb: The buffer which is currently being transmitted (for TX queue), | 369 | * @skb: The buffer which is currently being transmitted (for TX queue), |
370 | * or used to directly recieve data in (for RX queue). | 370 | * or used to directly receive data in (for RX queue). |
371 | * @entry_idx: The entry index number. | 371 | * @entry_idx: The entry index number. |
372 | * @priv_data: Private data belonging to this queue entry. The pointer | 372 | * @priv_data: Private data belonging to this queue entry. The pointer |
373 | * points to data specific to a particular driver and queue type. | 373 | * points to data specific to a particular driver and queue type. |
@@ -391,7 +391,7 @@ struct queue_entry { | |||
391 | * @Q_INDEX: Index pointer to the current entry in the queue, if this entry is | 391 | * @Q_INDEX: Index pointer to the current entry in the queue, if this entry is |
392 | * owned by the hardware then the queue is considered to be full. | 392 | * owned by the hardware then the queue is considered to be full. |
393 | * @Q_INDEX_DMA_DONE: Index pointer for the next entry which will have been | 393 | * @Q_INDEX_DMA_DONE: Index pointer for the next entry which will have been |
394 | * transfered to the hardware. | 394 | * transferred to the hardware. |
395 | * @Q_INDEX_DONE: Index pointer to the next entry which will be completed by | 395 | * @Q_INDEX_DONE: Index pointer to the next entry which will be completed by |
396 | * the hardware and for which we need to run the txdone handler. If this | 396 | * the hardware and for which we need to run the txdone handler. If this |
397 | * entry is not owned by the hardware the queue is considered to be empty. | 397 | * entry is not owned by the hardware the queue is considered to be empty. |
@@ -635,7 +635,7 @@ static inline int rt2x00queue_threshold(struct data_queue *queue) | |||
635 | } | 635 | } |
636 | 636 | ||
637 | /** | 637 | /** |
638 | * rt2x00queue_status_timeout - Check if a timeout occured for STATUS reports | 638 | * rt2x00queue_status_timeout - Check if a timeout occurred for STATUS reports |
639 | * @entry: Queue entry to check. | 639 | * @entry: Queue entry to check. |
640 | */ | 640 | */ |
641 | static inline int rt2x00queue_status_timeout(struct queue_entry *entry) | 641 | static inline int rt2x00queue_status_timeout(struct queue_entry *entry) |
@@ -646,7 +646,7 @@ static inline int rt2x00queue_status_timeout(struct queue_entry *entry) | |||
646 | } | 646 | } |
647 | 647 | ||
648 | /** | 648 | /** |
649 | * rt2x00queuedma__timeout - Check if a timeout occured for DMA transfers | 649 | * rt2x00queue_dma_timeout - Check if a timeout occurred for DMA transfers |
650 | * @entry: Queue entry to check. | 650 | * @entry: Queue entry to check. |
651 | */ | 651 | */ |
652 | static inline int rt2x00queue_dma_timeout(struct queue_entry *entry) | 652 | static inline int rt2x00queue_dma_timeout(struct queue_entry *entry) |
diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.c b/drivers/net/wireless/rt2x00/rt2x00usb.c index e027ebd44583..39e1052123e3 100644 --- a/drivers/net/wireless/rt2x00/rt2x00usb.c +++ b/drivers/net/wireless/rt2x00/rt2x00usb.c | |||
@@ -226,7 +226,7 @@ static void rt2x00usb_work_txdone_entry(struct queue_entry *entry) | |||
226 | /* | 226 | /* |
227 | * If the transfer to hardware succeeded, it does not mean the | 227 | * If the transfer to hardware succeeded, it does not mean the |
228 | * frame was send out correctly. It only means the frame | 228 | * frame was send out correctly. It only means the frame |
229 | * was succesfully pushed to the hardware, we have no | 229 | * was successfully pushed to the hardware, we have no |
230 | * way to determine the transmission status right now. | 230 | * way to determine the transmission status right now. |
231 | * (Only indirectly by looking at the failed TX counters | 231 | * (Only indirectly by looking at the failed TX counters |
232 | * in the register). | 232 | * in the register). |
diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.h b/drivers/net/wireless/rt2x00/rt2x00usb.h index a69f18758871..323ca7b2b095 100644 --- a/drivers/net/wireless/rt2x00/rt2x00usb.h +++ b/drivers/net/wireless/rt2x00/rt2x00usb.h | |||
@@ -413,7 +413,7 @@ void rt2x00usb_flush_queue(struct data_queue *queue, bool drop); | |||
413 | * @rt2x00dev: Pointer to &struct rt2x00_dev | 413 | * @rt2x00dev: Pointer to &struct rt2x00_dev |
414 | * | 414 | * |
415 | * Check the health of the USB communication and determine | 415 | * Check the health of the USB communication and determine |
416 | * if timeouts have occured. If this is the case, this function | 416 | * if timeouts have occurred. If this is the case, this function |
417 | * will reset all communication to restore functionality again. | 417 | * will reset all communication to restore functionality again. |
418 | */ | 418 | */ |
419 | void rt2x00usb_watchdog(struct rt2x00_dev *rt2x00dev); | 419 | void rt2x00usb_watchdog(struct rt2x00_dev *rt2x00dev); |