Staging: fix assorted typos all over the place
authorAndré Goddard Rosa <andre.goddard@gmail.com>
Sat, 14 Nov 2009 15:09:06 +0000 (13:09 -0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 20:23:20 +0000 (12:23 -0800)
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
63 files changed:
drivers/staging/altpciechdma/altpciechdma.c
drivers/staging/comedi/drivers/addi-data/APCI1710_INCCPT.c
drivers/staging/comedi/drivers/addi-data/APCI1710_Tor.c
drivers/staging/comedi/drivers/addi-data/addi_common.h
drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.c
drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c
drivers/staging/comedi/drivers/cb_pcidio.c
drivers/staging/comedi/drivers/me4000.c
drivers/staging/comedi/drivers/pcl812.c
drivers/staging/comedi/drivers/pcl816.c
drivers/staging/comedi/drivers/pcl818.c
drivers/staging/dst/export.c
drivers/staging/et131x/et131x_adapter.h
drivers/staging/hv/hv_api.h
drivers/staging/iio/accel/accel.h
drivers/staging/iio/accel/sca3000.h
drivers/staging/iio/accel/sca3000_core.c
drivers/staging/octeon/cvmx-pow.h
drivers/staging/octeon/ethernet-tx.c
drivers/staging/otus/80211core/ccmd.c
drivers/staging/otus/80211core/cmm.c
drivers/staging/otus/80211core/cmmsta.c
drivers/staging/otus/80211core/ctxrx.c
drivers/staging/otus/80211core/pub_zfi.h
drivers/staging/quatech_usb2/quatech_usb2.c
drivers/staging/rar/rar_driver.c
drivers/staging/rt2860/sta/rtmp_data.c
drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c
drivers/staging/rtl8187se/r8180.h
drivers/staging/rtl8187se/r8180_core.c
drivers/staging/rtl8187se/r8180_dm.c
drivers/staging/rtl8187se/r8180_rtl8225z2.c
drivers/staging/rtl8187se/r8180_wx.c
drivers/staging/rtl8187se/r8185b_init.c
drivers/staging/rtl8192e/ieee80211/ieee80211_module.c
drivers/staging/rtl8192e/ieee80211/ieee80211_softmac.c
drivers/staging/rtl8192e/r8190_rtl8256.c
drivers/staging/rtl8192e/r8192E_core.c
drivers/staging/rtl8192e/r8192E_dm.c
drivers/staging/rtl8192e/r8192E_wx.c
drivers/staging/rtl8192e/r819xE_cmdpkt.c
drivers/staging/rtl8192e/r819xE_phyreg.h
drivers/staging/rtl8192su/ieee80211/ieee80211_module.c
drivers/staging/rtl8192su/ieee80211/ieee80211_softmac.c
drivers/staging/rtl8192su/ieee80211/readme
drivers/staging/rtl8192su/r8192S_phy.c
drivers/staging/rtl8192su/r8192S_phyreg.h
drivers/staging/rtl8192su/r8192S_rtl6052.c
drivers/staging/rtl8192su/r8192U_dm.c
drivers/staging/rtl8192su/r8192U_wx.c
drivers/staging/rtl8192su/r819xU_cmdpkt.c
drivers/staging/sep/sep_driver.c
drivers/staging/serqt_usb2/serqt_usb2.c
drivers/staging/vt6655/device_main.c
drivers/staging/vt6655/ioctl.c
drivers/staging/vt6655/mib.h
drivers/staging/vt6656/baseband.c
drivers/staging/vt6656/channel.c
drivers/staging/vt6656/ioctl.c
drivers/staging/vt6656/iwctl.c
drivers/staging/vt6656/main_usb.c
drivers/staging/vt6656/mib.h
drivers/staging/vt6656/wcmd.c

index e0c5ba4b4c2907abc0092795c35a4998bab04c41..2f07dd4563aca51b732f1141aef1a29f905b7537 100644 (file)
@@ -212,7 +212,7 @@ struct ape_dev {
        int msi_enabled;
        /* whether this driver could obtain the regions */
        int got_regions;
-       /* irq line succesfully requested by this driver, -1 otherwise */
+       /* irq line successfully requested by this driver, -1 otherwise */
        int irq_line;
        /* board revision */
        u8 revision;
@@ -336,7 +336,7 @@ static int __devinit map_bars(struct ape_dev *ape, struct pci_dev *dev)
                printk(KERN_DEBUG "BAR[%d] mapped at 0x%p with length %lu(/%lu).\n", i,
                ape->bar[i], bar_min_len[i], bar_length);
        }
-       /* succesfully mapped all required BAR regions */
+       /* successfully mapped all required BAR regions */
        rc = 0;
        goto success;
 fail:
@@ -911,7 +911,7 @@ static int __devinit probe(struct pci_dev *dev, const struct pci_device_id *id)
        /* perform DMA engines loop back test */
        rc = dma_test(ape, dev);
        (void)rc;
-       /* succesfully took the device */
+       /* successfully took the device */
        rc = 0;
        printk(KERN_DEBUG "probe() successful.\n");
        goto end;
index 6c092efee7bddc041b2410e9a47ede2efb3c1ab6..a15c952c0fabd3360414d65794d2c4a6d4413804 100644 (file)
@@ -3807,7 +3807,7 @@ int i_APCI1710_EnableFrequencyMeasurement(struct comedi_device *dev,
                        s_ModuleInfo[b_ModulNbr].
                        s_SiemensCounterInfo.s_InitFlag.b_CounterInit == 1) {
              /********************************************/
-                       /* Test if frequency mesurement initialised */
+                       /* Test if frequency measurement initialised */
              /********************************************/
 
                        if (devpriv->
@@ -3953,7 +3953,7 @@ int i_APCI1710_DisableFrequencyMeasurement(struct comedi_device *dev, unsigned c
                        s_ModuleInfo[b_ModulNbr].
                        s_SiemensCounterInfo.s_InitFlag.b_CounterInit == 1) {
              /********************************************/
-                       /* Test if frequency mesurement initialised */
+                       /* Test if frequency measurement initialised */
              /********************************************/
 
                        if (devpriv->
@@ -5166,7 +5166,7 @@ int i_APCI1710_ReadFrequencyMeasurement(struct comedi_device *dev,
                        s_ModuleInfo[b_ModulNbr].
                        s_SiemensCounterInfo.s_InitFlag.b_CounterInit == 1) {
              /********************************************/
-                       /* Test if frequency mesurement initialised */
+                       /* Test if frequency measurement initialised */
              /********************************************/
 
                        if (devpriv->
index 43198aafb2dcba5d126998f89836b7ec09ae2eae..7e12544757922c7459ca42ed25d78f70b7e0224c 100644 (file)
@@ -1808,7 +1808,7 @@ int i_APCI1710_InsnBitsGetTorCounterProgressStatusAndValue(struct comedi_device
                                                                        2) {
                                                                        if (dw_Status & 4) {
                                /************************/
-                                                                               /* Tor counter owerflow */
+                                                                               /* Tor counter overflow */
                                /************************/
 
                                                                                *pb_TorCounterStatus
index edd657b902aa70db2dc8dcc1d5d952bba917f3cf..3ab27cf0facc2eee408b9e9d6ef51340434a8766 100644 (file)
@@ -82,7 +82,7 @@ struct addi_board {
 
        int i_NbrDiChannel;     /*  Number of DI channels */
        int i_NbrDoChannel;     /*  Number of DO channels */
-       int i_DoMaxdata;        /*  data to set all chanels high */
+       int i_DoMaxdata;        /*  data to set all channels high */
 
        int i_NbrTTLChannel;    /*  Number of TTL channels */
        const struct comedi_lrange *pr_TTLRangelist;    /* rangelist for TTL */
index 222b5499dc0e073981034d043b39905769d76737..172fba8dbfe59cf8cbcfccb09ef98f9f9e159eeb 100644 (file)
@@ -1468,7 +1468,7 @@ void v_APCI3120_Interrupt(int irq, void *d)
        int_amcc = inl(devpriv->i_IobaseAmcc + AMCC_OP_REG_INTCSR);     /*  get AMCC int register */
 
        if ((!int_daq) && (!(int_amcc & ANY_S593X_INT))) {
-               comedi_error(dev, "IRQ from unknow source");
+               comedi_error(dev, "IRQ from unknown source");
                return;
        }
 
index ef21f03fc961f5e8e78bf1c133d671c595d2afdf..7b38d177394b36e9fad9fb1e0e9191abebf26a96 100644 (file)
@@ -724,7 +724,7 @@ void v_APCI3501_Interrupt(int irq, void *d)
                APCI3501_TCW_IRQ) & 0x1;
 
        if ((!ui_Timer_AOWatchdog)) {
-               comedi_error(dev, "IRQ from unknow source");
+               comedi_error(dev, "IRQ from unknown source");
                return;
        }
 
index 09e6e3bdfb3e6d9b9d0021ca3faf9f8d99d59091..7daad0a17fb1f978b96175a82c1170641687645a 100644 (file)
@@ -109,12 +109,12 @@ MODULE_DEVICE_TABLE(pci, pcidio_pci_table);
    several hardware drivers keep similar information in this structure,
    feel free to suggest moving the variable to the struct comedi_device struct.  */
 struct pcidio_private {
-       int data;               /*  curently unused */
+       int data;               /*  currently unused */
 
        /* would be useful for a PCI device */
        struct pci_dev *pci_dev;
 
-       /* used for DO readback, curently unused */
+       /* used for DO readback, currently unused */
        unsigned int do_readback[4];    /* up to 4 unsigned int suffice to hold 96 bits for PCI-DIO96 */
 
        unsigned long dio_reg_base;     /*  address of port A of the first 8255 chip on board */
index 6079913d14b0890b39bf06c5ebcf3da93c0b69d5..8b9fa0f9f1f62606eb0d8e618ae0c0f5e0862ba0 100644 (file)
@@ -840,7 +840,7 @@ static int xilinx_download(struct comedi_device *dev)
                       "comedi%d: me4000: xilinx_download(): DONE flag is not set\n",
                       dev->minor);
                printk(KERN_ERR
-                      "comedi%d: me4000: xilinx_download(): Download not succesful\n",
+                      "comedi%d: me4000: xilinx_download(): Download not successful\n",
                       dev->minor);
                return -EIO;
        }
index 0b51a48c3ad83fe2f54840427955afe76da961a1..0a5bc3d6da8c30549a8be2d6865574ee07be9686 100644 (file)
@@ -51,7 +51,7 @@ Options for PCL-812:
         5=A/D input range is +/-0.3125V
   [5] - 0=D/A outputs 0-5V  (internal reference -5V)
         1=D/A outputs 0-10V (internal reference -10V)
-        2=D/A outputs unknow (external reference)
+        2=D/A outputs unknown (external reference)
 
 Options for PCL-812PG, ACL-8112PG:
   [0] - IO Base
@@ -63,7 +63,7 @@ Options for PCL-812PG, ACL-8112PG:
         1=A/D have max +/-10V input
   [5] - 0=D/A outputs 0-5V  (internal reference -5V)
         1=D/A outputs 0-10V (internal reference -10V)
-        2=D/A outputs unknow (external reference)
+        2=D/A outputs unknown (external reference)
 
 Options for ACL-8112DG/HG, A-822PGL/PGH, A-823PGL/PGH, ACL-8216, A-826PG:
   [0] - IO Base
@@ -75,7 +75,7 @@ Options for ACL-8112DG/HG, A-822PGL/PGH, A-823PGL/PGH, ACL-8216, A-826PG:
         1=A/D channels are DIFF
   [5] - 0=D/A outputs 0-5V  (internal reference -5V)
         1=D/A outputs 0-10V (internal reference -10V)
-        2=D/A outputs unknow (external reference)
+        2=D/A outputs unknown (external reference)
 
 Options for A-821PGL/PGH:
   [0] - IO Base
index 1b1708a58b677c265fe3c0684e20210bf44d0a07..852fe2458fdc16682c1953de9efc974e5806654f 100644 (file)
@@ -112,7 +112,7 @@ struct pcl816_board {
        int n_dichan;           /*  num of DI chans */
        int n_dochan;           /*  num of DO chans */
        const struct comedi_lrange *ai_range_type;      /*  default A/D rangelist */
-       const struct comedi_lrange *ao_range_type;      /*  dafault D/A rangelist */
+       const struct comedi_lrange *ao_range_type;      /*  default D/A rangelist */
        unsigned int io_range;  /*  len of IO space */
        unsigned int IRQbits;   /*  allowed interrupts */
        unsigned int DMAbits;   /*  allowed DMA chans */
@@ -445,7 +445,7 @@ static irqreturn_t interrupt_pcl816(int irq, void *d)
                comedi_error(dev, "bad IRQ!");
                return IRQ_NONE;
        }
-       comedi_error(dev, "IRQ from unknow source!");
+       comedi_error(dev, "IRQ from unknown source!");
        return IRQ_NONE;
 }
 
index 819dd838b075a74dafa7d729a66bec81610ca911..d0481013a837bb5fcc30da7a6cb8aedd70b85c80 100644 (file)
@@ -50,7 +50,7 @@ A word or two about DMA. Driver support DMA operations at two ways:
           1, 10=A/D input -10V..+10V
     [5] - 0,  5=D/A output 0-5V  (internal reference -5V)
           1, 10=D/A output 0-10V (internal reference -10V)
-         2    =D/A output unknow (external reference)
+         2    =D/A output unknown (external reference)
 
    Options for PCL-818, PCL-818H:
     [0] - IO Base
@@ -60,7 +60,7 @@ A word or two about DMA. Driver support DMA operations at two ways:
               1= 1MHz clock for 8254
     [4] - 0,  5=D/A output 0-5V  (internal reference -5V)
           1, 10=D/A output 0-10V (internal reference -10V)
-         2    =D/A output unknow (external reference)
+         2    =D/A output unknown (external reference)
 
    Options for PCL-818HD, PCL-818HG:
     [0] - IO Base
@@ -71,7 +71,7 @@ A word or two about DMA. Driver support DMA operations at two ways:
               1= 1MHz clock for 8254
     [4] - 0,  5=D/A output 0-5V  (internal reference -5V)
           1, 10=D/A output 0-10V (internal reference -10V)
-         2    =D/A output unknow (external reference)
+         2    =D/A output unknown (external reference)
 
    Options for PCL-718:
     [0] - IO Base
@@ -92,7 +92,7 @@ A word or two about DMA. Driver support DMA operations at two ways:
             10=             user defined unipolar
     [5] - 0,  5=D/A outputs 0-5V  (internal reference -5V)
           1, 10=D/A outputs 0-10V (internal reference -10V)
-             2=D/A outputs unknow (external reference)
+             2=D/A outputs unknown (external reference)
     [6] - 0, 60=max  60kHz A/D sampling
           1,100=max 100kHz A/D sampling (PCL-718 with Option 001 installed)
 
@@ -876,7 +876,7 @@ static irqreturn_t interrupt_pcl818(int irq, void *d)
                return IRQ_NONE;
        }
 
-       comedi_error(dev, "IRQ from unknow source!");
+       comedi_error(dev, "IRQ from unknown source!");
        return IRQ_NONE;
 }
 
index da5b6cf9baace61bac1e04a783f377fcdab53a54..c324230e8b60c9c74e0be1cf3b8392ffb1adceef 100644 (file)
@@ -203,7 +203,7 @@ err_out_exit:
  * so to play good with all cases we just queue BIO into the queue
  * and wake up processing thread, which gets completed request and
  * send (encrypting if needed) it back to the client (if it was a read
- * request), or sends back reply that writing succesfully completed.
+ * request), or sends back reply that writing successfully completed.
  */
 static int dst_export_process_request_queue(struct dst_state *st)
 {
index cc5a6ba55dcf27d1aead5c01df333e1319d326ca..81109b302cf56052fffb68ee4524dfb3494a1555 100644 (file)
@@ -162,7 +162,7 @@ typedef struct _ce_stats_t {
        u32 tx_deferred;
 
        /* Rx Statistics. */
-       u32 rx_ov_flow; /* Rx Over Flow */
+       u32 rx_ov_flow; /* Rx Overflow */
 
        u32 length_err;
        u32 alignment_err;
index 251e2d155331d61295e582167223db39da9f7800..9eb818ee07ba6cadfb175956dd53ed3b0642a09f 100644 (file)
 
 /*
  * HV_STATUS_VMX_INSTRUCTION_FAILED
- * The requested VMX instruction failed to complete succesfully.
+ * The requested VMX instruction failed to complete successfully.
  */
 #define HV_STATUS_VMX_INSTRUCTION_FAILED               ((u16)0x1011)
 
 /*
  * HV_STATUS_VMX_INSTRUCTION_FAILED_WITH_STATUS
- * The requested VMX instruction failed to complete succesfully indicating
+ * The requested VMX instruction failed to complete successfully indicating
  * status.
  */
 #define HV_STATUS_VMX_INSTRUCTION_FAILED_WITH_STATUS   ((u16)0x1012)
index 811fa0527a4360671f2cd00803aa2f6c4b32ede6..d7fc7f98348e8776be3773d35a2616effb68019c 100644 (file)
        IIO_DEVICE_ATTR(accel_z, S_IRUGO, _show, NULL, _addr)
 
 /* Thresholds are somewhat chip dependent - may need quite a few defs here */
-/* For unified thesholds (shared across all directions */
+/* For unified thresholds (shared across all directions */
 
 /**
  * IIO_DEV_ATTR_ACCEL_THRESH: unified threshold
  * @_mode: read/write
  * @_show: read detector threshold value
- * @_store: write detector theshold value
+ * @_store: write detector threshold value
  * @_addr: driver specific data, typically a register address
  *
  * This one is for cases where as single threshold covers all directions
@@ -48,7 +48,7 @@
 /**
  * IIO_DEV_ATTR_ACCEL_THRESH_X: independant direction threshold, x axis
  * @_mode: readable / writable
- * @_show: read x axis detector theshold value
+ * @_show: read x axis detector threshold value
  * @_store: write x axis detector threshold value
  * @_addr: device driver dependant, typically a register address
  **/
index 29e11da095720680fb77c6f13d1a2ffa0f055470..da7d3cb5ae71ba918aae34045ef95301ac338ba3 100644 (file)
@@ -74,7 +74,7 @@
 #define SCA3000_MEAS_MODE_OP_2                 0x02
 
 /* In motion detection mode the accelerations are band pass filtered
- * (aprox 1 - 25Hz) and then a programmable theshold used to trigger
+ * (aprox 1 - 25Hz) and then a programmable threshold used to trigger
  * and interrupt.
  */
 #define SCA3000_MEAS_MODE_MOT_DET              0x03
 /* Values of mulipexed registers (write to ctrl_data after select) */
 #define SCA3000_REG_ADDR_CTRL_DATA             0x22
 
-/* Measurment modes available on some sca3000 series chips. Code assumes others
+/* Measurement modes available on some sca3000 series chips. Code assumes others
  * may become available in the future.
  *
  * Bypass - Bypass the low-pass filter in the signal channel so as to increase
index e27e3b7d1003aeef43285765b55e85e7763d52fa..cedcaa2b3d1f2d5d81d4bac4a59878aeb8be4662 100644 (file)
@@ -720,7 +720,7 @@ error_ret:
 static IIO_DEV_ATTR_TEMP(sca3000_read_temp);
 
 /**
- * sca3000_show_thresh() sysfs query of a theshold
+ * sca3000_show_thresh() sysfs query of a threshold
  **/
 static ssize_t sca3000_show_thresh(struct device *dev,
                                   struct device_attribute *attr,
index c5d66f272b0d091796fe965afa2a0352fa6e4a87..bf9e069a898ca84aeaee5c9536d69fb1b08107c7 100644 (file)
@@ -1959,7 +1959,7 @@ static inline uint32_t cvmx_pow_tag_get_hw_bits(uint64_t tag)
  * @buffer_size:
  *               The size of the supplied buffer
  *
- * Returns Zero on sucess, negative on failure
+ * Returns Zero on success, negative on failure
  */
 extern int cvmx_pow_capture(void *buffer, int buffer_size);
 
index 81a851390f1bfc47d762a912114fbce62d14210f..535294105f6585e37f45e9acb1c5f4bb27e90cfc 100644 (file)
@@ -624,7 +624,7 @@ int cvm_oct_transmit_qos(struct net_device *dev, void *work_queue_entry,
 EXPORT_SYMBOL(cvm_oct_transmit_qos);
 
 /**
- * This function frees all skb that are currenty queued for TX.
+ * This function frees all skb that are currently queued for TX.
  *
  * @dev:    Device being shutdown
  */
index 83dd8ba1328c9f0ee6de328d3dcd68582a39ae1f..8da28eee7fb0c63c5842567b9bb935e6b5af2abb 100644 (file)
@@ -899,7 +899,7 @@ u16_t zfiWlanDisable(zdev_t *dev, u8_t ResetKeyCache)
                zfStaDisableSWEncryption(dev);
        }
 
-       /* Improve WEP/TKIP performace with HT AP,
+       /* Improve WEP/TKIP performance with HT AP,
        detail information please look bug#32495 */
        /* zfHpSetTTSIFSTime(dev, 0x8); */
 
@@ -1407,7 +1407,7 @@ u16_t zfWlanReset(zdev_t *dev)
                zfStaDisableSWEncryption(dev);
        }
 
-       /*      Improve WEP/TKIP performace with HT AP,
+       /*      Improve WEP/TKIP performance with HT AP,
                detail information please look bug#32495
        */
        /* zfHpSetTTSIFSTime(dev, 0x8); */
index bed16b581a5f3bf313e68274b934247cd556ffe9..a6c1b41ba8486be970116b2d6986106a9baa5fcb 100644 (file)
@@ -1428,7 +1428,7 @@ void zfProcessManagement(zdev_t* dev, zbuf_t* buf, struct zsAdditionInfo* AddInf
         {
                 /* Beacon */
             case ZM_WLAN_FRAME_TYPE_BEACON :
-                /* if enable 802.11h and current chanel is silent but receive beacon from other AP */
+                /* if enable 802.11h and current channel is silent but receive beacon from other AP */
                 if (((wd->regulationTable.allowChannel[wd->regulationTable.CurChIndex].channelFlags
                         & ZM_REG_FLAG_CHANNEL_CSA) != 0) && wd->sta.DFSEnable)
                 {
@@ -1469,7 +1469,7 @@ void zfProcessManagement(zdev_t* dev, zbuf_t* buf, struct zsAdditionInfo* AddInf
                 break;
                 /* Probe response */
             case ZM_WLAN_FRAME_TYPE_PROBERSP :
-                /* if enable 802.11h and current chanel is silent but receive probe response from other AP */
+                /* if enable 802.11h and current channel is silent but receive probe response from other AP */
                 if (((wd->regulationTable.allowChannel[wd->regulationTable.CurChIndex].channelFlags
                         & ZM_REG_FLAG_CHANNEL_CSA) != 0) && wd->sta.DFSEnable)
                 {
index b28a4e25e107e80c81bedfbfef409d5de5cf17e5..a11d559167b139fd0a31a008165fbd6434e808a9 100644 (file)
@@ -216,7 +216,7 @@ void zfStaConnectFail(zdev_t* dev, u16_t reason, u16_t* bssid, u8_t weight)
     /* Change internal state */
     zfChangeAdapterState(dev, ZM_STA_STATE_DISCONNECT);
 
-    /* Improve WEP/TKIP performace with HT AP, detail information please look bug#32495 */
+    /* Improve WEP/TKIP performance with HT AP, detail information please look bug#32495 */
     //zfHpSetTTSIFSTime(dev, 0x8);
 
     /* Notify wrapper of connection status changes */
@@ -4148,7 +4148,7 @@ void zfInfraConnectNetwork(zdev_t* dev)
             wd->sta.bIsSharedKey = 0;
         }
 
-        /* Improve WEP/TKIP performace with HT AP, detail information please look bug#32495 */
+        /* Improve WEP/TKIP performance with HT AP, detail information please look bug#32495 */
         /*
         if ( (pBssInfo->broadcomHTAp == 1)
              && (wd->sta.SWEncryptEnable != 0) )
index e258a7df53632cabc0fe644ae2cd2b12bb3d8416..ac54d5a636b0907d5a17a00bfea4577fc5506ff5 100644 (file)
@@ -3093,7 +3093,7 @@ u16_t zfWlanRxFilter(zdev_t* dev, zbuf_t* buf)
 
     frameType = zmw_rx_buf_readh(dev, buf, offset);
 
-    // Don't divide 2^4 because we don't want the fragementation pkt to be treated as
+    // Don't divide 2^4 because we don't want the fragmentation pkt to be treated as
     // duplicated frames
     seq = zmw_rx_buf_readh(dev, buf, offset+22);
     dst0 = zmw_rx_buf_readh(dev, buf, offset+4);
index 60b7d1c56deeefad85280e81a5f127923b506871..b7b7f455f357f17d8d30b539daf43cbde595a599 100644 (file)
@@ -782,7 +782,7 @@ extern void zfiWlanSetDynamicSIFSParam(zdev_t* dev, u8_t val);
 
 /***** End of section 2 *****/
 
-/***** section 3 performace evaluation *****/
+/***** section 3 performance evaluation *****/
 #ifdef ZM_ENABLE_PERFORMANCE_EVALUATION
 extern void zfiTxPerformanceMSDU(zdev_t* dev, u32_t tick);
 extern void zfiRxPerformanceMPDU(zdev_t* dev, zbuf_t* buf);
index 2acef9466d47fdd0fbc7793458f6b4c092ee5b20..f7726f1d3641895e238d4364e0c6f15cc46aa2d3 100644 (file)
@@ -1670,7 +1670,7 @@ __func__);
                dbg("%s(): failed resubmitting read urb, error %d",
                        __func__, result);
        } else {
-               dbg("%s() sucessfully resumitted read urb", __func__);
+               dbg("%s() successfully resubmitted read urb", __func__);
                if (tty_st && RxCount) {
                        /* if some inbound data was processed, then
                         * we need to push that through the tty layer
index 9805d74bd3411a168d97f02931251f662576f93d..d85d1890e81e1d4bb09a06918c0d3319afc676f4 100644 (file)
@@ -66,7 +66,7 @@ static int __init rar_init_handler(void);
 static void __exit rar_exit_handler(void);
 
 /*
-  function that is activated on the succesfull probe of the RAR device
+  function that is activated on the successfull probe of the RAR device
 */
 static int __devinit rar_probe(struct pci_dev *pdev, const struct pci_device_id *ent);
 
@@ -319,7 +319,7 @@ static int memrar_init_rar_params(struct pci_dev *pdev)
 }
 
 /*
-  function that is activaed on the succesfull probe of the RAR device
+  function that is activated on the successfull probe of the RAR device
 */
 static int __devinit rar_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
 {
index c50394759079001b40b55de2334361ce0936da33..5d348e9d9b797c1a09528290664e896307a9dbb7 100644 (file)
@@ -913,7 +913,7 @@ Arguments:
        pPacket         Pointer to send packet
 
 Return Value:
-       NDIS_STATUS_SUCCESS                     If succes to queue the packet into TxSwQueue.
+       NDIS_STATUS_SUCCESS                     If success to queue the packet into TxSwQueue.
        NDIS_STATUS_FAILURE                     If failed to do en-queue.
 
 Note:
index 334e4c7ec61bda83a9a80792a5f95f4e6db5dade..1fe19c39d702000a95652f0dbeed42e08506bac6 100644 (file)
@@ -1837,7 +1837,7 @@ ieee80211_rx_frame_softmac(struct ieee80211_device *ieee, struct sk_buff *skb,
 
                                                            if (((ieee->current_network.wmm_info^info_element->data[6])& \
                                                                                    0x0f)||(!ieee->init_wmmparam_flag)) {
-                                                             //refresh paramete element for current network
+                                                             // refresh parameter element for current network
                                                              // update the register parameter for hardware
                                                              ieee->init_wmmparam_flag = 1;
                                                              queue_work(ieee->wq, &ieee->wmm_param_update_wq);
@@ -1958,10 +1958,10 @@ associate_complete:
  * care of the ieee802.11 fragmentation.
  * So the driver receives a fragment per time and might
  * call the stop function when it want without take care
- * to have enought room to TX an entire packet.
+ * to have enough room to TX an entire packet.
  * This might be useful if each fragment need it's own
  * descriptor, thus just keep a total free memory > than
- * the max fragmentation treshold is not enought.. If the
+ * the max fragmentation threshold is not enough.. If the
  * ieee802.11 stack passed a TXB struct then you needed
  * to keep N free descriptors where
  * N = MAX_PACKET_SIZE / MIN_FRAG_TRESHOLD
index 35ed60be891a09f81603991ee09b3489a6cf1d5b..1fd95303639964da51782f0f301405113bb7f27f 100644 (file)
@@ -599,7 +599,7 @@ typedef struct r8180_priv
        u8                                              RSSI;
        char                                    RxPower;
         u8 InitialGain;
-        //For adjust Dig Threshhold during Legacy/Leisure Power Save Mode
+        //For adjust Dig Threshold during Legacy/Leisure Power Save Mode
        u32                             DozePeriodInPast2Sec;
         // Don't access BB/RF under disable PLL situation.
        u8                                      InitialGainBackUp;
index 53e654d0d4fa43aa284ecea15570c1bc376e360c..dfe5ed90739a97f928f41b2e83583f78db6c26ee 100644 (file)
@@ -1848,7 +1848,7 @@ void rtl8180_rx(struct net_device *dev)
                                    sizeof(u8),
                                    PCI_DMA_FROMDEVICE);
 
-drop: // this is used when we have not enought mem
+drop: // this is used when we have not enough mem
                /* restore the descriptor */
                *(priv->rxringtail+2)=priv->rxbuffer->dma;
                *(priv->rxringtail)=*(priv->rxringtail) &~ 0xfff;
@@ -1919,8 +1919,8 @@ rate)
        /*
        * This function doesn't require lock because we make
        * sure it's called with the tx_lock already acquired.
-       * this come from the kernel's hard_xmit callback (trought
-       * the ieee stack, or from the try_wake_queue (again trought
+       * this come from the kernel's hard_xmit callback (through
+       * the ieee stack, or from the try_wake_queue (again through
        * the ieee stack.
        */
        priority = AC2Q(skb->priority);
@@ -3399,7 +3399,7 @@ void rtl8180_adapter_start(struct net_device *dev)
        /*
           The following is very strange. seems to be that 1 means test mode,
           but we need to acknolwledges the nic when a packet is ready
-          altought we set it to 0
+          although we set it to 0
        */
 
        write_nic_byte(dev,
@@ -4144,7 +4144,7 @@ void rtl8180_tx_isr(struct net_device *dev, int pri,short error)
                }
 
        /* we check all the descriptors between the head and the nic,
-        * but not the currenly pointed by the nic (the next to be txed)
+        * but not the currently pointed by the nic (the next to be txed)
         * and the previous of the pointed (might be in process ??)
        */
        offs = (nic - nicbegin);
index b6eeeeccff9e2f708fdb7ab71f58fd7e1395c85b..e0c1606677d42206d36545286c780c8ccb29eab5 100644 (file)
@@ -36,7 +36,7 @@ bool CheckHighPower(struct net_device *dev)
 //
 //     Note:
 //             The reason why we udpate Tx power level here instead of DoRxHighPower()
-//             is the number of IO to change Tx power is much more than chane TR switch
+//             is the number of IO to change Tx power is much more than channel TR switch
 //             and they are related to OFDM and MAC registers.
 //             So, we don't want to update it so frequently in per-Rx packet base.
 //
@@ -1326,7 +1326,7 @@ SetAntenna8185(
                        break;
 
                default:
-                       printk("SetAntenna8185: unkown RFChipID(%d)\n", priv->rf_chip);
+                       printk("SetAntenna8185: unknown RFChipID(%d)\n", priv->rf_chip);
                        break;
                }
                break;
@@ -1346,13 +1346,13 @@ SetAntenna8185(
                        break;
 
                default:
-                       printk("SetAntenna8185: unkown RFChipID(%d)\n", priv->rf_chip);
+                       printk("SetAntenna8185: unknown RFChipID(%d)\n", priv->rf_chip);
                        break;
                }
                break;
 
        default:
-               printk("SetAntenna8185: unkown u1bAntennaIndex(%d)\n", u1bAntennaIndex);
+               printk("SetAntenna8185: unknown u1bAntennaIndex(%d)\n", u1bAntennaIndex);
                break;
        }
 
@@ -1448,7 +1448,7 @@ SwAntennaDiversity(
 
                priv->bAdSwitchedChecking = false;
 
-               // Adjust Rx signal strength threashold.
+               // Adjust Rx signal strength threshold.
                priv->AdRxSsThreshold = (priv->AdRxSignalStrength + priv->AdRxSsBeforeSwitched) / 2;
 
                priv->AdRxSsThreshold = (priv->AdRxSsThreshold > priv->AdMaxRxSsThreshold) ?
@@ -1562,7 +1562,7 @@ SwAntennaDiversity(
 //                             priv->AdRxSignalStrength, priv->AdRxSsThreshold);
 
                        priv->bAdSwitchedChecking = false;
-                       // Increase Rx signal strength threashold if necessary.
+                       // Increase Rx signal strength threshold if necessary.
                        if(     (priv->AdRxSignalStrength > (priv->AdRxSsThreshold + 10)) && // Signal is much stronger than current threshold
                                priv->AdRxSsThreshold <= priv->AdMaxRxSsThreshold) // Current threhold is not yet reach upper limit.
                        {
index b648751cdaa37a31d36a3ee8c75fa8628074ed17..60ee3bcb63ab19e623bee5516e98e858a425b53a 100644 (file)
@@ -1058,7 +1058,7 @@ bool SetZebraRFPowerState8185(struct net_device *dev,
                        break;
                default:
                        bResult = false;
-                       printk("SetZebraRFPowerState8185(): unknow state to set: 0x%X!!!\n", eRFPowerState);
+                       printk("SetZebraRFPowerState8185(): unknown state to set: 0x%X!!!\n", eRFPowerState);
                        break;
                }
                break;
index 766892e31f52196ed2c914c47932c392c34f1d9e..536cb6e8e7966ea12021c0c2da969e99f3409d04 100644 (file)
@@ -276,7 +276,7 @@ static int rtl8180_wx_get_range(struct net_device *dev,
        range->max_qual.updated = 7; /* Updated all three */
 
        range->avg_qual.qual = 92; /* > 8% missed beacons is 'bad' */
-       /* TODO: Find real 'good' to 'bad' threshol value for RSSI */
+       /* TODO: Find real 'good' to 'bad' threshold value for RSSI */
        range->avg_qual.level = 20 + -98;
        range->avg_qual.noise = 0;
        range->avg_qual.updated = 7; /* Updated all three */
index cd07059b25b51dc29da0651b769f5e57f743e803..bdb66d83778c85f3937bbb7923785f2899bcaa4b 100644 (file)
@@ -2493,8 +2493,8 @@ void rtl8185b_adapter_start(struct net_device *dev)
        PhyConfig8185(dev);
 
        // We assume RegWirelessMode has already been initialized before,
-       // however, we has to validate the wireless mode here and provide a reasonble
-       // initialized value if necessary. 2005.01.13, by rcnjko.
+       // however, we has to validate the wireless mode here and provide a
+       // reasonable initialized value if necessary. 2005.01.13, by rcnjko.
        SupportedWirelessMode = GetSupportedWirelessMode8185(dev);
        if(     (ieee->mode != WIRELESS_MODE_B) &&
                (ieee->mode != WIRELESS_MODE_G) &&
index 12c2a18e1fa2a832803aa1fdc11f661b837bc5ed..2644155737a8e2c4a4535ddd71607f7fda1279b9 100644 (file)
@@ -164,7 +164,7 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
        ieee->privacy_invoked = 0;
        ieee->ieee802_1x = 1;
        ieee->raw_tx = 0;
-       //ieee->hwsec_support = 1; //defalt support hw security. //use module_param instead.
+       //ieee->hwsec_support = 1; //default support hw security. //use module_param instead.
        ieee->hwsec_active = 0; //disable hwsec, switch it on when necessary.
 
        ieee80211_softmac_init(ieee);
index eae7c4579a681d8ab4b0f2fb9a4ec98e013c6197..593d228251849692dfded47831551c360ba42da0 100644 (file)
@@ -2330,10 +2330,10 @@ ieee80211_rx_frame_softmac(struct ieee80211_device *ieee, struct sk_buff *skb,
  * care of the ieee802.11 fragmentation.
  * So the driver receives a fragment per time and might
  * call the stop function when it want without take care
- * to have enought room to TX an entire packet.
+ * to have enough room to TX an entire packet.
  * This might be useful if each fragment need it's own
  * descriptor, thus just keep a total free memory > than
- * the max fragmentation treshold is not enought.. If the
+ * the max fragmentation threshold is not enough.. If the
  * ieee802.11 stack passed a TXB struct then you needed
  * to keep N free descriptors where
  * N = MAX_PACKET_SIZE / MIN_FRAG_TRESHOLD
index 0eaee3ad22303b4fdf5a5ae2444361f8a533c6fc..3d67fbb65b9663eccafd445ca2753064d0043e75 100644 (file)
@@ -629,7 +629,7 @@ SetRFPowerState8190(
 
                        default:
                                        bResult = false;
-                                       RT_TRACE(COMP_ERR, "SetRFPowerState8190(): unknow state to set: 0x%X!!!\n", eRFPowerState);
+                                       RT_TRACE(COMP_ERR, "SetRFPowerState8190(): unknown state to set: 0x%X!!!\n", eRFPowerState);
                                        break;
                }
 
index b0802a7aeb5f01b40839e54bffdefaf7c494ecbd..ff8fe7e32a9284d6a6cac344961fd9423867767e 100644 (file)
@@ -1041,7 +1041,7 @@ static void rtl8192_tx_isr(struct net_device *dev, int prio)
         tx_desc_819x_pci *entry = &ring->desc[ring->idx];
         struct sk_buff *skb;
 
-        /* beacon packet will only use the first descriptor defautly,
+        /* beacon packet will only use the first descriptor defaultly,
          * and the OWN may not be cleared by the hardware
          * */
         if(prio != BEACON_QUEUE) {
@@ -2562,7 +2562,7 @@ static void rtl8192_read_eeprom_info(struct net_device* dev)
                priv->bTXPowerDataReadFromEEPORM = false;
        }
 
-       // 2007/11/15 MH 8190PCI Default=2T4R, 8192PCIE dafault=1T2R
+       // 2007/11/15 MH 8190PCI Default=2T4R, 8192PCIE default=1T2R
        priv->rf_type = RTL819X_DEFAULT_RF_TYPE;
 
        if(priv->card_8192_version > VERSION_8190_BD)
@@ -3554,7 +3554,7 @@ void rtl8192_prepare_beacon(struct r8192_priv *priv)
        //spin_lock_irqsave(&priv->tx_lock,flags);
        /* prepare misc info for the beacon xmit */
        tcb_desc->queue_index = BEACON_QUEUE;
-       /* IBSS does not support HT yet, use 1M defautly */
+       /* IBSS does not support HT yet, use 1M defaultly */
        tcb_desc->data_rate = 2;
        tcb_desc->RATRIndex = 7;
        tcb_desc->bTxDisableRateFallBack = 1;
index bf876322dac2130ccd969d548be67ed10104c704..5ffb4f74055bf327652a95cd25c97ec8d4e1f5c9 100644 (file)
@@ -455,7 +455,7 @@ static void dm_check_rate_adaptive(struct net_device * dev)
                                        (pra->low_rssi_thresh_for_ra40M):(pra->low_rssi_thresh_for_ra20M);
                }
 
-               //DbgPrint("[DM] THresh H/L=%d/%d\n\r", RATR.HighRSSIThreshForRA, RATR.LowRSSIThreshForRA);
+               //DbgPrint("[DM] Thresh H/L=%d/%d\n\r", RATR.HighRSSIThreshForRA, RATR.LowRSSIThreshForRA);
                if(priv->undecorated_smoothed_pwdb >= (long)HighRSSIThreshForRA)
                {
                        //DbgPrint("[DM] RSSI=%d STA=HIGH\n\r", pHalData->UndecoratedSmoothedPWDB);
@@ -571,7 +571,7 @@ static u32 OFDMSwingTable[OFDM_Table_Length] = {
        0x5a400169,     // 3, +3db
        0x50800142,     // 4, +2db
        0x47c0011f,     // 5, +1db
-       0x40000100,     // 6, +0db ===> default, upper for higher temprature, lower for low temprature
+       0x40000100,     // 6, +0db ===> default, upper for higher temperature, lower for low temperature
        0x390000e4,     // 7, -1db
        0x32c000cb,     // 8, -2db
        0x2d4000b5,     // 9, -3db
@@ -932,14 +932,14 @@ static void dm_TXPowerTrackingCallback_ThermalMeter(struct net_device * dev)
        RT_TRACE(COMP_POWER_TRACKING, "Readback ThermalMeterA = %d \n", tmpRegA);
        if(tmpRegA < 3 || tmpRegA > 13)
                return;
-       if(tmpRegA >= 12)       // if over 12, TP will be bad when high temprature
+       if(tmpRegA >= 12)       // if over 12, TP will be bad when high temperature
                tmpRegA = 12;
        RT_TRACE(COMP_POWER_TRACKING, "Valid ThermalMeterA = %d \n", tmpRegA);
        priv->ThermalMeter[0] = ThermalMeterVal;        //We use fixed value by Bryant's suggestion
        priv->ThermalMeter[1] = ThermalMeterVal;        //We use fixed value by Bryant's suggestion
 
-       //Get current RF-A temprature index
-       if(priv->ThermalMeter[0] >= (u8)tmpRegA)        //lower temprature
+       //Get current RF-A temperature index
+       if(priv->ThermalMeter[0] >= (u8)tmpRegA)        //lower temperature
        {
                tmpOFDMindex = tmpCCK20Mindex = 6+(priv->ThermalMeter[0]-(u8)tmpRegA);
                tmpCCK40Mindex = tmpCCK20Mindex - 6;
@@ -953,7 +953,7 @@ static void dm_TXPowerTrackingCallback_ThermalMeter(struct net_device * dev)
        else
        {
                tmpval = ((u8)tmpRegA - priv->ThermalMeter[0]);
-               if(tmpval >= 6)                                                         // higher temprature
+               if(tmpval >= 6)                                                         // higher temperature
                        tmpOFDMindex = tmpCCK20Mindex = 0;              // max to +6dB
                else
                        tmpOFDMindex = tmpCCK20Mindex = 6 - tmpval;
@@ -2017,7 +2017,7 @@ static void dm_dig_init(struct net_device *dev)
        dm_digtable.dbg_mode = DM_DBG_OFF;      //off=by real rssi value, on=by DM_DigTable.Rssi_val for new dig
        dm_digtable.dig_algorithm_switch = 0;
 
-       /* 2007/10/04 MH Define init gain threshol. */
+       /* 2007/10/04 MH Define init gain threshold. */
        dm_digtable.dig_state           = DM_STA_DIG_MAX;
        dm_digtable.dig_highpwr_state   = DM_STA_DIG_MAX;
        dm_digtable.initialgain_lowerbound_state = false;
@@ -2145,7 +2145,7 @@ static void dm_ctrl_initgain_byrssi_by_fwfalse_alarm(
        /*DbgPrint("DIG Check\n\r RSSI=%d LOW=%d HIGH=%d STATE=%d",
        pHalData->UndecoratedSmoothedPWDB, DM_DigTable.RssiLowThresh,
        DM_DigTable.RssiHighThresh, DM_DigTable.Dig_State);*/
-       /* 1. When RSSI decrease, We have to judge if it is smaller than a treshold
+       /* 1. When RSSI decrease, We have to judge if it is smaller than a threshold
                  and then execute below step. */
        if ((priv->undecorated_smoothed_pwdb <= dm_digtable.rssi_low_thresh))
        {
@@ -2205,7 +2205,7 @@ static void dm_ctrl_initgain_byrssi_by_fwfalse_alarm(
 
        }
 
-       /* 2. When RSSI increase, We have to judge if it is larger than a treshold
+       /* 2. When RSSI increase, We have to judge if it is larger than a threshold
                  and then execute below step.  */
        if ((priv->undecorated_smoothed_pwdb >= dm_digtable.rssi_high_thresh) )
        {
@@ -2314,7 +2314,7 @@ static void dm_ctrl_initgain_byrssi_highpwr(
        }
 
        /* 3. When RSSI >75% or <70%, it is a high power issue. We have to judge if
-                 it is larger than a treshold and then execute below step.  */
+                 it is larger than a threshold and then execute below step.  */
        // 2008/02/05 MH SD3-Jerry Modify PD_TH for high power issue.
        if (priv->undecorated_smoothed_pwdb >= dm_digtable.rssi_high_power_highthresh)
        {
index e9e799c228632d6f292b99322c3988075567fedc..d1eb89229cdf43119d0c00078bc31ab34ed327ad 100644 (file)
@@ -446,7 +446,7 @@ static int rtl8180_wx_get_range(struct net_device *dev,
        range->max_qual.updated = 7; /* Updated all three */
 
        range->avg_qual.qual = 92; /* > 8% missed beacons is 'bad' */
-       /* TODO: Find real 'good' to 'bad' threshol value for RSSI */
+       /* TODO: Find real 'good' to 'bad' threshold value for RSSI */
        range->avg_qual.level = 20 + -98;
        range->avg_qual.noise = 0;
        range->avg_qual.updated = 7; /* Updated all three */
index d6b7d2f39e3efb73af5f9296a07fd719fe64bb78..2aaa4e1bb37593e665426657bb639c3c0c19adae 100644 (file)
@@ -783,7 +783,7 @@ u32 cmpk_message_handle_rx(struct net_device *dev, struct ieee80211_rx_stats *ps
 
                        default:
 
-                               RT_TRACE(COMP_EVENTS, "---->cmpk_message_handle_rx():unknow CMD Element\n");
+                               RT_TRACE(COMP_EVENTS, "---->cmpk_message_handle_rx():unknown CMD Element\n");
                                return 1;       /* This is a command packet. */
                }
                // 2007/01/22 MH Display received rx command packet info.
index d4a439275effa999d2862d41521a8d8532793fbc..37f0feefaf2c13e6cdb68b0a512cacd93b4820d5 100644 (file)
 #define bR2RCCAMask                            0x00000f00
 #define bHSSI_R2TDelay                         0xf8000000
 #define bHSSI_T2RDelay                         0xf80000
-#define bContTxHSSI                            0x400     //chane gain at continue Tx
+#define bContTxHSSI                            0x400     //channel gain at continue Tx
 #define bIGFromCCK                             0x200
 #define bAGCAddress                            0x3f
 #define bRxHPTx                                        0x7000
index c3383bb8b760dda21229cedbca5daffe2988a1b0..e8c67d5dfb76285bc5443dcf121758809759d0d7 100644 (file)
@@ -156,7 +156,7 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
        ieee->privacy_invoked = 0;
        ieee->ieee802_1x = 1;
        ieee->raw_tx = 0;
-       //ieee->hwsec_support = 1; //defalt support hw security. //use module_param instead.
+       //ieee->hwsec_support = 1; //default support hw security. //use module_param instead.
        ieee->hwsec_active = 0; //disable hwsec, switch it on when necessary.
 
        ieee80211_softmac_init(ieee);
index fd8e11252f1b254ca5e5a8b01182839d3ee024bd..203c0a5cc8c16f2f7dbeed4da26efefb3554c26f 100644 (file)
@@ -2120,10 +2120,10 @@ ieee80211_rx_frame_softmac(struct ieee80211_device *ieee, struct sk_buff *skb,
  * care of the ieee802.11 fragmentation.
  * So the driver receives a fragment per time and might
  * call the stop function when it want without take care
- * to have enought room to TX an entire packet.
+ * to have enough room to TX an entire packet.
  * This might be useful if each fragment need it's own
  * descriptor, thus just keep a total free memory > than
- * the max fragmentation treshold is not enought.. If the
+ * the max fragmentation threshold is not enough.. If the
  * ieee802.11 stack passed a TXB struct then you needed
  * to keep N free descriptors where
  * N = MAX_PACKET_SIZE / MIN_FRAG_TRESHOLD
index 5764f2859286f9ef5ead5ae4ce366aa5d5a24cc1..7ba177ba3e335ea764c9a35c7b4de70544f17aa2 100644 (file)
@@ -37,7 +37,7 @@ What this layer doesn't do (yet)
   disassociate clients, and it is really prone to always allow access.
   In bss client mode it is a bit rough with AP deauth and disassoc requests.
 - It has not any entry point to view the collected stats.
-- Altought it takes care of the card supported rates in the management frame
+- Although it takes care of the card supported rates in the management frame
   it sends, support for rate changing on TXed packet is not complete.
 - Give up once associated in bss client mode (it never detect a
   signal loss condition to disassociate and restart scanning)
index 2c111d712f8fd61aa7fd21dd441397d29fc2b2c1..77ab026288d366b4647b303d4342972062869f78 100644 (file)
@@ -1728,7 +1728,7 @@ static bool phy_SetRFPowerState8192SU(struct net_device* dev,RT_RF_POWER_STATE e
 
                        default:
                                bResult = FALSE;
-                               //RT_ASSERT(FALSE, ("phy_SetRFPowerState8192SU(): unknow state to set: 0x%X!!!\n", eRFPowerState));
+                               //RT_ASSERT(FALSE, ("phy_SetRFPowerState8192SU(): unknown state to set: 0x%X!!!\n", eRFPowerState));
                                break;
                }
                break;
@@ -2711,7 +2711,7 @@ u8 rtl8192_phy_SwChnl(struct net_device* dev, u8 channel)
 // However, this procedure is performed synchronously  which should be running under
 // passive level.
 //
-//not understant it
+//not understand it
 void PHY_SwChnlPhy8192S(       // Only called during initialize
        struct net_device* dev,
        u8              channel
index acf644f430aa3d101cf5b30b2eb6ae941ce23b2f..2e4d76d196aa7ebef93653a690703e4600027026 100644 (file)
 #define                bR2RCCAMask                                     0x00000f00
 #define                bHSSI_R2TDelay                          0xf8000000
 #define                bHSSI_T2RDelay                          0xf80000
-#define                bContTxHSSI                                     0x400     //chane gain at continue Tx
+#define                bContTxHSSI                                     0x400     //channel gain at continue Tx
 #define                bIGFromCCK                                      0x200
 #define                bAGCAddress                                     0x3f
 #define                bRxHPTx                                         0x7000
index 69ef6dfc588be41ccdfe140ea68d9212abbdcc22..22398099adae514f31e6179609f6a306011a0e34 100644 (file)
@@ -326,7 +326,7 @@ extern void PHY_RF6052SetOFDMTxPower(struct net_device* dev, u8 powerlevel)
 
                //
                // If path A and Path B coexist, we must limit Path A tx power.
-               // Protect Path B pwr over or under flow. We need to calculate upper and
+               // Protect Path B pwr over or underflow. We need to calculate upper and
                // lower bound of path A tx power.
                //
                if (priv->rf_type == RF_2T2R)
@@ -354,7 +354,7 @@ extern void PHY_RF6052SetOFDMTxPower(struct net_device* dev, u8 powerlevel)
 
                        //
                        // If path A and Path B coexist, we must limit Path A tx power.
-                       // Protect Path B pwr over or under flow. We need to calculate upper and
+                       // Protect Path B pwr under/over flow. We need to calculate upper and
                        // lower bound of path A tx power.
                        //
                        if (priv->rf_type == RF_2T2R)
index 5358ae8ba6166a88a76a6f66938cede8c46839a0..7891e96402726bd753fa412c81f5b4cf4e5c4049 100644 (file)
@@ -593,7 +593,7 @@ static u32 OFDMSwingTable[OFDM_Table_Length] = {
        0x5a400169,     // 3, +3db
        0x50800142,     // 4, +2db
        0x47c0011f,     // 5, +1db
-       0x40000100,     // 6, +0db ===> default, upper for higher temprature, lower for low temprature
+       0x40000100,     // 6, +0db ===> default, upper for higher temperature, lower for low temperature
        0x390000e4,     // 7, -1db
        0x32c000cb,     // 8, -2db
        0x2d4000b5,     // 9, -3db
@@ -912,14 +912,14 @@ static void dm_TXPowerTrackingCallback_ThermalMeter(struct net_device * dev)
        RT_TRACE(COMP_POWER_TRACKING, "Readback ThermalMeterA = %d \n", tmpRegA);
        if(tmpRegA < 3 || tmpRegA > 13)
                return;
-       if(tmpRegA >= 12)       // if over 12, TP will be bad when high temprature
+       if(tmpRegA >= 12)       // if over 12, TP will be bad when high temperature
                tmpRegA = 12;
        RT_TRACE(COMP_POWER_TRACKING, "Valid ThermalMeterA = %d \n", tmpRegA);
        priv->ThermalMeter[0] = ThermalMeterVal;        //We use fixed value by Bryant's suggestion
        priv->ThermalMeter[1] = ThermalMeterVal;        //We use fixed value by Bryant's suggestion
 
-       //Get current RF-A temprature index
-       if(priv->ThermalMeter[0] >= (u8)tmpRegA)        //lower temprature
+       //Get current RF-A temperature index
+       if(priv->ThermalMeter[0] >= (u8)tmpRegA)        //lower temperature
        {
                tmpOFDMindex = tmpCCK20Mindex = 6+(priv->ThermalMeter[0]-(u8)tmpRegA);
                tmpCCK40Mindex = tmpCCK20Mindex - 6;
@@ -933,7 +933,7 @@ static void dm_TXPowerTrackingCallback_ThermalMeter(struct net_device * dev)
        else
        {
                tmpval = ((u8)tmpRegA - priv->ThermalMeter[0]);
-               if(tmpval >= 6)                                                         // higher temprature
+               if(tmpval >= 6)                                                         // higher temperature
                        tmpOFDMindex = tmpCCK20Mindex = 0;              // max to +6dB
                else
                        tmpOFDMindex = tmpCCK20Mindex = 6 - tmpval;
index 2208c9b1e726d90bb77a71258b2cda2204445ba8..a7cc6f9a4739d4f9a6a78e819c5689aa1a020c44 100644 (file)
@@ -435,7 +435,7 @@ static int rtl8180_wx_get_range(struct net_device *dev,
        range->max_qual.updated = 7; /* Updated all three */
 
        range->avg_qual.qual = 92; /* > 8% missed beacons is 'bad' */
-       /* TODO: Find real 'good' to 'bad' threshol value for RSSI */
+       /* TODO: Find real 'good' to 'bad' threshold value for RSSI */
        range->avg_qual.level = 20 + -98;
        range->avg_qual.noise = 0;
        range->avg_qual.updated = 7; /* Updated all three */
index e2ba93e307578c4507daec1f816fc2cbc56d6f7b..3ebfe79bb663b388bbabddd49075aade6466f208 100644 (file)
@@ -697,7 +697,7 @@ cmpk_message_handle_rx(
 
                        default:
 
-                               RT_TRACE(COMP_ERR, "---->cmpk_message_handle_rx():unknow CMD Element\n");
+                               RT_TRACE(COMP_ERR, "---->cmpk_message_handle_rx():unknown CMD Element\n");
                                return 1;       /* This is a command packet. */
                }
                // 2007/01/22 MH Display received rx command packet info.
index 67c7d2ca7ca06a9d061438028150905c7d7f6c19..e7bc9ec63a8c7efecb8c9ea260a580cd6231118d 100644 (file)
@@ -2449,7 +2449,7 @@ static void sep_configure_dma_burst(struct sep_device *sep)
 #endif
 
 /*
-  Function that is activaed on the succesful probe of the SEP device
+  Function that is activated on the successful probe of the SEP device
 */
 static int __devinit sep_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
 {
index 52af44cfbe83a66dd45b1b65034247362648cebe..060e9de3b065d1300cbe8dded0dd3a009e003af2 100644 (file)
@@ -929,7 +929,7 @@ static int qt_open(struct tty_struct *tty,
        dbg(__FILE__ "qt_setuart completed.\n");
 
        /*
-        * Put this here to make it responsive to stty and defauls set by
+        * Put this here to make it responsive to stty and defaults set by
         * the tty layer
         */
        /* FIXME: is this needed? */
index 53450b48eaa6e615ae4626f7aa4192003bbc3447..0db8d7b6e79cc8a7eedeaa6783e8fead7bb94197 100644 (file)
@@ -661,7 +661,7 @@ else
    if(zonetype!=pDevice->abyEEPROM[EEP_OFS_ZONETYPE])
       printk("zonetype in file[%02x] mismatch with in EEPROM[%02x]\n",zonetype,pDevice->abyEEPROM[EEP_OFS_ZONETYPE]);
    else
-      printk("Read Zonetype file sucess,use default zonetype setting[%02x]\n",zonetype);
+      printk("Read Zonetype file success,use default zonetype setting[%02x]\n",zonetype);
  }
        }
   else
index fc9cbe0acd64d17d9e3d530fd74c42d30ff10b4e..d9a5fd21ab31d305b1896052177ed5f2cb43c48c 100644 (file)
@@ -159,7 +159,7 @@ int private_ioctl(PSDevice pDevice, struct ifreq *rq) {
         else if(zonetype == 0x02) { //Europe
              sZoneTypeCmd.ZoneType = ZoneType_Europe;
         }
-        else { //Unknow ZoneType
+        else { //Unknown ZoneType
                printk("Error:ZoneType[%x] Unknown ???\n",zonetype);
                 result = -EFAULT;
                break;
@@ -692,7 +692,7 @@ if(wpa_Result.authenticated==TRUE) {
      wireless_send_event(pDevice->dev, IWEVCUSTOM, &wrqu, pItemSSID->abySSID);
    }
    #endif
-         pDevice->fWPA_Authened = TRUE;           //is sucessful peer to wpa_Result.authenticated?
+         pDevice->fWPA_Authened = TRUE;           //is successful peer to wpa_Result.authenticated?
 }
 
         //printk("get private wpa_supplicant announce WPA SM\n");
index 69e04f70b6c109a2ea747b787e1bd4bdd12bc642..2aa2b91de72b335d343338e18192b5ae58282aa1 100644 (file)
@@ -325,10 +325,10 @@ typedef struct tagSStatCounter {
    #ifdef Calcu_LinkQual
        //Tx count:
     ULONG TxNoRetryOkCount;         //success tx no retry !
-    ULONG TxRetryOkCount;              //sucess tx but retry !
+    ULONG TxRetryOkCount;              //success tx but retry !
     ULONG TxFailCount;                      //fail tx ?
       //Rx count:
-    ULONG RxOkCnt;                          //sucess rx !
+    ULONG RxOkCnt;                          //success rx !
     ULONG RxFcsErrCnt;                    //fail rx ?
       //statistic
     ULONG SignalStren;
index 59a86e27f20d1f9a0151d82aefb79c94fdcb4844..7dc01dbfc6ff2453a67053a1196724f7be84fbc7 100644 (file)
@@ -1040,7 +1040,7 @@ else {
    if(pDevice->config_file.ZoneType !=pDevice->abyEEPROM[EEP_OFS_ZONETYPE])
       printk("zonetype in file[%02x] mismatch with in EEPROM[%02x]\n",pDevice->config_file.ZoneType,pDevice->abyEEPROM[EEP_OFS_ZONETYPE]);
    else
-      printk("Read Zonetype file sucess,use default zonetype setting[%02x]\n",pDevice->config_file.ZoneType);
+      printk("Read Zonetype file success,use default zonetype setting[%02x]\n",pDevice->config_file.ZoneType);
  }
 }
 
index e49796f7b814733101ab4561c0136c98a08301c9..f7136b0073bb9ee373e82be23fffa2cb9ad20e54 100644 (file)
@@ -19,7 +19,7 @@
  *
  * File: channel.c
  *
- * Purpose: Channel number maping
+ * Purpose: Channel number mapping
  *
  * Author: Lucas Lin
  *
index d94131fe52434b8bc5364a4db3596ae5517c3317..6f33005a615fb31bda7dd221f156b6cc40c3475d 100644 (file)
@@ -152,7 +152,7 @@ int private_ioctl(PSDevice pDevice, struct ifreq *rq) {
         else if(zonetype == 0x02) { //Europe
              sZoneTypeCmd.ZoneType = ZoneType_Europe;
         }
-        else { //Unknow ZoneType
+        else { //Unknown ZoneType
                printk("Error:ZoneType[%x] Unknown ???\n",zonetype);
                 result = -EFAULT;
                break;
@@ -679,7 +679,7 @@ if(wpa_Result.authenticated==TRUE) {
      wireless_send_event(pDevice->dev, IWEVCUSTOM, &wrqu, pItemSSID->abySSID);
    }
    #endif
-         pDevice->fWPA_Authened = TRUE;           //is sucessful peer to wpa_Result.authenticated?
+         pDevice->fWPA_Authened = TRUE;           //is successful peer to wpa_Result.authenticated?
 }
 
         //printk("get private wpa_supplicant announce WPA SM\n");
index aa8d1a2394a4b25f3c00a081d3bffa75e6e08eec..b7c6a22fe32191fe931d8d2aa565c846523c3e1c 100644 (file)
@@ -1724,7 +1724,7 @@ int iwctl_siwauth(struct net_device *dev,
        case IW_AUTH_WPA_ENABLED:
                //pDevice->bWPADEVUp = !! wrq->value;
                //if(pDevice->bWPADEVUp==TRUE)
-                 // printk("iwctl_siwauth:set WPADEV to enable sucessful*******\n");
+                 // printk("iwctl_siwauth:set WPADEV to enable successful*******\n");
                //else
                 //  printk("iwctl_siwauth:set WPADEV to enable fail?????\n");
                break;
index 3c1efaa6e4b6209bbc0c2e979f82b0d0e316dfa3..ef17c4958c67afa1a2f2ed4330bbcb42b2cf47eb 100644 (file)
@@ -1537,7 +1537,7 @@ if(result!=0) {
   return buffer;
 }
 
-//return --->-1:fail;  >=0:sucessful
+//return --->-1:fail;  >=0:successful
 static int Read_config_file(PSDevice pDevice) {
   int result=0;
   UCHAR      tmpbuffer[100];
index b806b4d297174ec8f76274e33c23b9ab1e085bc0..ac996d2cd91134aafeed1a3c5eb25217dab1f50a 100644 (file)
@@ -357,10 +357,10 @@ typedef struct tagSStatCounter {
    #ifdef Calcu_LinkQual
        //Tx count:
     ULONG TxNoRetryOkCount;         //success tx no retry !
-    ULONG TxRetryOkCount;              //sucess tx but retry !
+    ULONG TxRetryOkCount;              //success tx but retry !
     ULONG TxFailCount;                      //fail tx ?
       //Rx count:
-    ULONG RxOkCnt;                          //sucess rx !
+    ULONG RxOkCnt;                          //success rx !
     ULONG RxFcsErrCnt;                    //fail rx ?
       //statistic
     ULONG SignalStren;
index 0464093ed840b7dfa50302b323d08abcc8794434..51b2dcfbab9131fabe49ca9da64d8b39e229ca3f 100644 (file)
@@ -1331,7 +1331,7 @@ BSSvSecondTxData(
     }
 
   spin_lock_irq(&pDevice->lock);
-  //is wap_supplicant running sucessful OR only open && sharekey mode!
+  //is wap_supplicant running successful OR only open && sharekey mode!
   #if 1
   if(((pDevice->bLinkPass ==TRUE)&&(pMgmt->eAuthenMode < WMAC_AUTH_WPA)) ||  //open && sharekey linking
       (pDevice->fWPA_Authened == TRUE)) {   //wpa linking