···212212 int msi_enabled;213213 /* whether this driver could obtain the regions */214214 int got_regions;215215- /* irq line succesfully requested by this driver, -1 otherwise */215215+ /* irq line successfully requested by this driver, -1 otherwise */216216 int irq_line;217217 /* board revision */218218 u8 revision;···336336 printk(KERN_DEBUG "BAR[%d] mapped at 0x%p with length %lu(/%lu).\n", i,337337 ape->bar[i], bar_min_len[i], bar_length);338338 }339339- /* succesfully mapped all required BAR regions */339339+ /* successfully mapped all required BAR regions */340340 rc = 0;341341 goto success;342342fail:···911911 /* perform DMA engines loop back test */912912 rc = dma_test(ape, dev);913913 (void)rc;914914- /* succesfully took the device */914914+ /* successfully took the device */915915 rc = 0;916916 printk(KERN_DEBUG "probe() successful.\n");917917 goto end;
···38073807 s_ModuleInfo[b_ModulNbr].38083808 s_SiemensCounterInfo.s_InitFlag.b_CounterInit == 1) {38093809 /********************************************/38103810- /* Test if frequency mesurement initialised */38103810+ /* Test if frequency measurement initialised */38113811 /********************************************/3812381238133813 if (devpriv->···39533953 s_ModuleInfo[b_ModulNbr].39543954 s_SiemensCounterInfo.s_InitFlag.b_CounterInit == 1) {39553955 /********************************************/39563956- /* Test if frequency mesurement initialised */39563956+ /* Test if frequency measurement initialised */39573957 /********************************************/3958395839593959 if (devpriv->···51665166 s_ModuleInfo[b_ModulNbr].51675167 s_SiemensCounterInfo.s_InitFlag.b_CounterInit == 1) {51685168 /********************************************/51695169- /* Test if frequency mesurement initialised */51695169+ /* Test if frequency measurement initialised */51705170 /********************************************/5171517151725172 if (devpriv->
···82828383 int i_NbrDiChannel; /* Number of DI channels */8484 int i_NbrDoChannel; /* Number of DO channels */8585- int i_DoMaxdata; /* data to set all chanels high */8585+ int i_DoMaxdata; /* data to set all channels high */86868787 int i_NbrTTLChannel; /* Number of TTL channels */8888 const struct comedi_lrange *pr_TTLRangelist; /* rangelist for TTL */
···724724 APCI3501_TCW_IRQ) & 0x1;725725726726 if ((!ui_Timer_AOWatchdog)) {727727- comedi_error(dev, "IRQ from unknow source");727727+ comedi_error(dev, "IRQ from unknown source");728728 return;729729 }730730
+2-2
drivers/staging/comedi/drivers/cb_pcidio.c
···109109 several hardware drivers keep similar information in this structure,110110 feel free to suggest moving the variable to the struct comedi_device struct. */111111struct pcidio_private {112112- int data; /* curently unused */112112+ int data; /* currently unused */113113114114 /* would be useful for a PCI device */115115 struct pci_dev *pci_dev;116116117117- /* used for DO readback, curently unused */117117+ /* used for DO readback, currently unused */118118 unsigned int do_readback[4]; /* up to 4 unsigned int suffice to hold 96 bits for PCI-DIO96 */119119120120 unsigned long dio_reg_base; /* address of port A of the first 8255 chip on board */
+1-1
drivers/staging/comedi/drivers/me4000.c
···840840 "comedi%d: me4000: xilinx_download(): DONE flag is not set\n",841841 dev->minor);842842 printk(KERN_ERR843843- "comedi%d: me4000: xilinx_download(): Download not succesful\n",843843+ "comedi%d: me4000: xilinx_download(): Download not successful\n",844844 dev->minor);845845 return -EIO;846846 }
···203203 * so to play good with all cases we just queue BIO into the queue204204 * and wake up processing thread, which gets completed request and205205 * send (encrypting if needed) it back to the client (if it was a read206206- * request), or sends back reply that writing succesfully completed.206206+ * request), or sends back reply that writing successfully completed.207207 */208208static int dst_export_process_request_queue(struct dst_state *st)209209{
···316316317317/*318318 * HV_STATUS_VMX_INSTRUCTION_FAILED319319- * The requested VMX instruction failed to complete succesfully.319319+ * The requested VMX instruction failed to complete successfully.320320 */321321#define HV_STATUS_VMX_INSTRUCTION_FAILED ((u16)0x1011)322322323323/*324324 * HV_STATUS_VMX_INSTRUCTION_FAILED_WITH_STATUS325325- * The requested VMX instruction failed to complete succesfully indicating325325+ * The requested VMX instruction failed to complete successfully indicating326326 * status.327327 */328328#define HV_STATUS_VMX_INSTRUCTION_FAILED_WITH_STATUS ((u16)0x1012)
+3-3
drivers/staging/iio/accel/accel.h
···3131 IIO_DEVICE_ATTR(accel_z, S_IRUGO, _show, NULL, _addr)32323333/* Thresholds are somewhat chip dependent - may need quite a few defs here */3434-/* For unified thesholds (shared across all directions */3434+/* For unified thresholds (shared across all directions */35353636/**3737 * IIO_DEV_ATTR_ACCEL_THRESH: unified threshold3838 * @_mode: read/write3939 * @_show: read detector threshold value4040- * @_store: write detector theshold value4040+ * @_store: write detector threshold value4141 * @_addr: driver specific data, typically a register address4242 *4343 * This one is for cases where as single threshold covers all directions···4848/**4949 * IIO_DEV_ATTR_ACCEL_THRESH_X: independant direction threshold, x axis5050 * @_mode: readable / writable5151- * @_show: read x axis detector theshold value5151+ * @_show: read x axis detector threshold value5252 * @_store: write x axis detector threshold value5353 * @_addr: device driver dependant, typically a register address5454 **/
+2-2
drivers/staging/iio/accel/sca3000.h
···7474#define SCA3000_MEAS_MODE_OP_2 0x0275757676/* In motion detection mode the accelerations are band pass filtered7777- * (aprox 1 - 25Hz) and then a programmable theshold used to trigger7777+ * (aprox 1 - 25Hz) and then a programmable threshold used to trigger7878 * and interrupt.7979 */8080#define SCA3000_MEAS_MODE_MOT_DET 0x03···139139/* Values of mulipexed registers (write to ctrl_data after select) */140140#define SCA3000_REG_ADDR_CTRL_DATA 0x22141141142142-/* Measurment modes available on some sca3000 series chips. Code assumes others142142+/* Measurement modes available on some sca3000 series chips. Code assumes others143143 * may become available in the future.144144 *145145 * Bypass - Bypass the low-pass filter in the signal channel so as to increase
+1-1
drivers/staging/iio/accel/sca3000_core.c
···720720static IIO_DEV_ATTR_TEMP(sca3000_read_temp);721721722722/**723723- * sca3000_show_thresh() sysfs query of a theshold723723+ * sca3000_show_thresh() sysfs query of a threshold724724 **/725725static ssize_t sca3000_show_thresh(struct device *dev,726726 struct device_attribute *attr,
+1-1
drivers/staging/octeon/cvmx-pow.h
···19591959 * @buffer_size:19601960 * The size of the supplied buffer19611961 *19621962- * Returns Zero on sucess, negative on failure19621962+ * Returns Zero on success, negative on failure19631963 */19641964extern int cvmx_pow_capture(void *buffer, int buffer_size);19651965
+1-1
drivers/staging/octeon/ethernet-tx.c
···624624EXPORT_SYMBOL(cvm_oct_transmit_qos);625625626626/**627627- * This function frees all skb that are currenty queued for TX.627627+ * This function frees all skb that are currently queued for TX.628628 *629629 * @dev: Device being shutdown630630 */
+2-2
drivers/staging/otus/80211core/ccmd.c
···899899 zfStaDisableSWEncryption(dev);900900 }901901902902- /* Improve WEP/TKIP performace with HT AP,902902+ /* Improve WEP/TKIP performance with HT AP,903903 detail information please look bug#32495 */904904 /* zfHpSetTTSIFSTime(dev, 0x8); */905905···14071407 zfStaDisableSWEncryption(dev);14081408 }1409140914101410- /* Improve WEP/TKIP performace with HT AP,14101410+ /* Improve WEP/TKIP performance with HT AP,14111411 detail information please look bug#3249514121412 */14131413 /* zfHpSetTTSIFSTime(dev, 0x8); */
+2-2
drivers/staging/otus/80211core/cmm.c
···14281428 {14291429 /* Beacon */14301430 case ZM_WLAN_FRAME_TYPE_BEACON :14311431- /* if enable 802.11h and current chanel is silent but receive beacon from other AP */14311431+ /* if enable 802.11h and current channel is silent but receive beacon from other AP */14321432 if (((wd->regulationTable.allowChannel[wd->regulationTable.CurChIndex].channelFlags14331433 & ZM_REG_FLAG_CHANNEL_CSA) != 0) && wd->sta.DFSEnable)14341434 {···14691469 break;14701470 /* Probe response */14711471 case ZM_WLAN_FRAME_TYPE_PROBERSP :14721472- /* if enable 802.11h and current chanel is silent but receive probe response from other AP */14721472+ /* if enable 802.11h and current channel is silent but receive probe response from other AP */14731473 if (((wd->regulationTable.allowChannel[wd->regulationTable.CurChIndex].channelFlags14741474 & ZM_REG_FLAG_CHANNEL_CSA) != 0) && wd->sta.DFSEnable)14751475 {
+2-2
drivers/staging/otus/80211core/cmmsta.c
···216216 /* Change internal state */217217 zfChangeAdapterState(dev, ZM_STA_STATE_DISCONNECT);218218219219- /* Improve WEP/TKIP performace with HT AP, detail information please look bug#32495 */219219+ /* Improve WEP/TKIP performance with HT AP, detail information please look bug#32495 */220220 //zfHpSetTTSIFSTime(dev, 0x8);221221222222 /* Notify wrapper of connection status changes */···41484148 wd->sta.bIsSharedKey = 0;41494149 }4150415041514151- /* Improve WEP/TKIP performace with HT AP, detail information please look bug#32495 */41514151+ /* Improve WEP/TKIP performance with HT AP, detail information please look bug#32495 */41524152 /*41534153 if ( (pBssInfo->broadcomHTAp == 1)41544154 && (wd->sta.SWEncryptEnable != 0) )
+1-1
drivers/staging/otus/80211core/ctxrx.c
···3093309330943094 frameType = zmw_rx_buf_readh(dev, buf, offset);3095309530963096- // Don't divide 2^4 because we don't want the fragementation pkt to be treated as30963096+ // Don't divide 2^4 because we don't want the fragmentation pkt to be treated as30973097 // duplicated frames30983098 seq = zmw_rx_buf_readh(dev, buf, offset+22);30993099 dst0 = zmw_rx_buf_readh(dev, buf, offset+4);
···16701670 dbg("%s(): failed resubmitting read urb, error %d",16711671 __func__, result);16721672 } else {16731673- dbg("%s() sucessfully resumitted read urb", __func__);16731673+ dbg("%s() successfully resubmitted read urb", __func__);16741674 if (tty_st && RxCount) {16751675 /* if some inbound data was processed, then16761676 * we need to push that through the tty layer
+2-2
drivers/staging/rar/rar_driver.c
···6666static void __exit rar_exit_handler(void);67676868/*6969- function that is activated on the succesfull probe of the RAR device6969+ function that is activated on the successfull probe of the RAR device7070*/7171static int __devinit rar_probe(struct pci_dev *pdev, const struct pci_device_id *ent);7272···319319}320320321321/*322322- function that is activaed on the succesfull probe of the RAR device322322+ function that is activated on the successfull probe of the RAR device323323*/324324static int __devinit rar_probe(struct pci_dev *pdev, const struct pci_device_id *ent)325325{
+1-1
drivers/staging/rt2860/sta/rtmp_data.c
···913913 pPacket Pointer to send packet914914915915Return Value:916916- NDIS_STATUS_SUCCESS If succes to queue the packet into TxSwQueue.916916+ NDIS_STATUS_SUCCESS If success to queue the packet into TxSwQueue.917917 NDIS_STATUS_FAILURE If failed to do en-queue.918918919919Note:
···1837183718381838 if (((ieee->current_network.wmm_info^info_element->data[6])& \18391839 0x0f)||(!ieee->init_wmmparam_flag)) {18401840- //refresh paramete element for current network18401840+ // refresh parameter element for current network18411841 // update the register parameter for hardware18421842 ieee->init_wmmparam_flag = 1;18431843 queue_work(ieee->wq, &ieee->wmm_param_update_wq);···19581958 * care of the ieee802.11 fragmentation.19591959 * So the driver receives a fragment per time and might19601960 * call the stop function when it want without take care19611961- * to have enought room to TX an entire packet.19611961+ * to have enough room to TX an entire packet.19621962 * This might be useful if each fragment need it's own19631963 * descriptor, thus just keep a total free memory > than19641964- * the max fragmentation treshold is not enought.. If the19641964+ * the max fragmentation threshold is not enough.. If the19651965 * ieee802.11 stack passed a TXB struct then you needed19661966 * to keep N free descriptors where19671967 * N = MAX_PACKET_SIZE / MIN_FRAG_TRESHOLD
+1-1
drivers/staging/rtl8187se/r8180.h
···599599 u8 RSSI;600600 char RxPower;601601 u8 InitialGain;602602- //For adjust Dig Threshhold during Legacy/Leisure Power Save Mode602602+ //For adjust Dig Threshold during Legacy/Leisure Power Save Mode603603 u32 DozePeriodInPast2Sec;604604 // Don't access BB/RF under disable PLL situation.605605 u8 InitialGainBackUp;
+5-5
drivers/staging/rtl8187se/r8180_core.c
···18481848 sizeof(u8),18491849 PCI_DMA_FROMDEVICE);1850185018511851-drop: // this is used when we have not enought mem18511851+drop: // this is used when we have not enough mem18521852 /* restore the descriptor */18531853 *(priv->rxringtail+2)=priv->rxbuffer->dma;18541854 *(priv->rxringtail)=*(priv->rxringtail) &~ 0xfff;···19191919 /*19201920 * This function doesn't require lock because we make19211921 * sure it's called with the tx_lock already acquired.19221922- * this come from the kernel's hard_xmit callback (trought19231923- * the ieee stack, or from the try_wake_queue (again trought19221922+ * this come from the kernel's hard_xmit callback (through19231923+ * the ieee stack, or from the try_wake_queue (again through19241924 * the ieee stack.19251925 */19261926 priority = AC2Q(skb->priority);···33993399 /*34003400 The following is very strange. seems to be that 1 means test mode,34013401 but we need to acknolwledges the nic when a packet is ready34023402- altought we set it to 034023402+ although we set it to 034033403 */3404340434053405 write_nic_byte(dev,···41444144 }4145414541464146 /* we check all the descriptors between the head and the nic,41474147- * but not the currenly pointed by the nic (the next to be txed)41474147+ * but not the currently pointed by the nic (the next to be txed)41484148 * and the previous of the pointed (might be in process ??)41494149 */41504150 offs = (nic - nicbegin);
+6-6
drivers/staging/rtl8187se/r8180_dm.c
···3636//3737// Note:3838// The reason why we udpate Tx power level here instead of DoRxHighPower()3939-// is the number of IO to change Tx power is much more than chane TR switch3939+// is the number of IO to change Tx power is much more than channel TR switch4040// and they are related to OFDM and MAC registers.4141// So, we don't want to update it so frequently in per-Rx packet base.4242//···13261326 break;1327132713281328 default:13291329- printk("SetAntenna8185: unkown RFChipID(%d)\n", priv->rf_chip);13291329+ printk("SetAntenna8185: unknown RFChipID(%d)\n", priv->rf_chip);13301330 break;13311331 }13321332 break;···13461346 break;1347134713481348 default:13491349- printk("SetAntenna8185: unkown RFChipID(%d)\n", priv->rf_chip);13491349+ printk("SetAntenna8185: unknown RFChipID(%d)\n", priv->rf_chip);13501350 break;13511351 }13521352 break;1353135313541354 default:13551355- printk("SetAntenna8185: unkown u1bAntennaIndex(%d)\n", u1bAntennaIndex);13551355+ printk("SetAntenna8185: unknown u1bAntennaIndex(%d)\n", u1bAntennaIndex);13561356 break;13571357 }13581358···1448144814491449 priv->bAdSwitchedChecking = false;1450145014511451- // Adjust Rx signal strength threashold.14511451+ // Adjust Rx signal strength threshold.14521452 priv->AdRxSsThreshold = (priv->AdRxSignalStrength + priv->AdRxSsBeforeSwitched) / 2;1453145314541454 priv->AdRxSsThreshold = (priv->AdRxSsThreshold > priv->AdMaxRxSsThreshold) ?···15621562// priv->AdRxSignalStrength, priv->AdRxSsThreshold);1563156315641564 priv->bAdSwitchedChecking = false;15651565- // Increase Rx signal strength threashold if necessary.15651565+ // Increase Rx signal strength threshold if necessary.15661566 if( (priv->AdRxSignalStrength > (priv->AdRxSsThreshold + 10)) && // Signal is much stronger than current threshold15671567 priv->AdRxSsThreshold <= priv->AdMaxRxSsThreshold) // Current threhold is not yet reach upper limit.15681568 {
+1-1
drivers/staging/rtl8187se/r8180_rtl8225z2.c
···10581058 break;10591059 default:10601060 bResult = false;10611061- printk("SetZebraRFPowerState8185(): unknow state to set: 0x%X!!!\n", eRFPowerState);10611061+ printk("SetZebraRFPowerState8185(): unknown state to set: 0x%X!!!\n", eRFPowerState);10621062 break;10631063 }10641064 break;
+1-1
drivers/staging/rtl8187se/r8180_wx.c
···276276 range->max_qual.updated = 7; /* Updated all three */277277278278 range->avg_qual.qual = 92; /* > 8% missed beacons is 'bad' */279279- /* TODO: Find real 'good' to 'bad' threshol value for RSSI */279279+ /* TODO: Find real 'good' to 'bad' threshold value for RSSI */280280 range->avg_qual.level = 20 + -98;281281 range->avg_qual.noise = 0;282282 range->avg_qual.updated = 7; /* Updated all three */
+2-2
drivers/staging/rtl8187se/r8185b_init.c
···24932493 PhyConfig8185(dev);2494249424952495 // We assume RegWirelessMode has already been initialized before,24962496- // however, we has to validate the wireless mode here and provide a reasonble24972497- // initialized value if necessary. 2005.01.13, by rcnjko.24962496+ // however, we has to validate the wireless mode here and provide a24972497+ // reasonable initialized value if necessary. 2005.01.13, by rcnjko.24982498 SupportedWirelessMode = GetSupportedWirelessMode8185(dev);24992499 if( (ieee->mode != WIRELESS_MODE_B) &&25002500 (ieee->mode != WIRELESS_MODE_G) &&
···23302330 * care of the ieee802.11 fragmentation.23312331 * So the driver receives a fragment per time and might23322332 * call the stop function when it want without take care23332333- * to have enought room to TX an entire packet.23332333+ * to have enough room to TX an entire packet.23342334 * This might be useful if each fragment need it's own23352335 * descriptor, thus just keep a total free memory > than23362336- * the max fragmentation treshold is not enought.. If the23362336+ * the max fragmentation threshold is not enough.. If the23372337 * ieee802.11 stack passed a TXB struct then you needed23382338 * to keep N free descriptors where23392339 * N = MAX_PACKET_SIZE / MIN_FRAG_TRESHOLD
+1-1
drivers/staging/rtl8192e/r8190_rtl8256.c
···629629630630 default:631631 bResult = false;632632- RT_TRACE(COMP_ERR, "SetRFPowerState8190(): unknow state to set: 0x%X!!!\n", eRFPowerState);632632+ RT_TRACE(COMP_ERR, "SetRFPowerState8190(): unknown state to set: 0x%X!!!\n", eRFPowerState);633633 break;634634 }635635
+3-3
drivers/staging/rtl8192e/r8192E_core.c
···10411041 tx_desc_819x_pci *entry = &ring->desc[ring->idx];10421042 struct sk_buff *skb;1043104310441044- /* beacon packet will only use the first descriptor defautly,10441044+ /* beacon packet will only use the first descriptor defaultly,10451045 * and the OWN may not be cleared by the hardware10461046 * */10471047 if(prio != BEACON_QUEUE) {···25622562 priv->bTXPowerDataReadFromEEPORM = false;25632563 }2564256425652565- // 2007/11/15 MH 8190PCI Default=2T4R, 8192PCIE dafault=1T2R25652565+ // 2007/11/15 MH 8190PCI Default=2T4R, 8192PCIE default=1T2R25662566 priv->rf_type = RTL819X_DEFAULT_RF_TYPE;2567256725682568 if(priv->card_8192_version > VERSION_8190_BD)···35543554 //spin_lock_irqsave(&priv->tx_lock,flags);35553555 /* prepare misc info for the beacon xmit */35563556 tcb_desc->queue_index = BEACON_QUEUE;35573557- /* IBSS does not support HT yet, use 1M defautly */35573557+ /* IBSS does not support HT yet, use 1M defaultly */35583558 tcb_desc->data_rate = 2;35593559 tcb_desc->RATRIndex = 7;35603560 tcb_desc->bTxDisableRateFallBack = 1;
+10-10
drivers/staging/rtl8192e/r8192E_dm.c
···455455 (pra->low_rssi_thresh_for_ra40M):(pra->low_rssi_thresh_for_ra20M);456456 }457457458458- //DbgPrint("[DM] THresh H/L=%d/%d\n\r", RATR.HighRSSIThreshForRA, RATR.LowRSSIThreshForRA);458458+ //DbgPrint("[DM] Thresh H/L=%d/%d\n\r", RATR.HighRSSIThreshForRA, RATR.LowRSSIThreshForRA);459459 if(priv->undecorated_smoothed_pwdb >= (long)HighRSSIThreshForRA)460460 {461461 //DbgPrint("[DM] RSSI=%d STA=HIGH\n\r", pHalData->UndecoratedSmoothedPWDB);···571571 0x5a400169, // 3, +3db572572 0x50800142, // 4, +2db573573 0x47c0011f, // 5, +1db574574- 0x40000100, // 6, +0db ===> default, upper for higher temprature, lower for low temprature574574+ 0x40000100, // 6, +0db ===> default, upper for higher temperature, lower for low temperature575575 0x390000e4, // 7, -1db576576 0x32c000cb, // 8, -2db577577 0x2d4000b5, // 9, -3db···932932 RT_TRACE(COMP_POWER_TRACKING, "Readback ThermalMeterA = %d \n", tmpRegA);933933 if(tmpRegA < 3 || tmpRegA > 13)934934 return;935935- if(tmpRegA >= 12) // if over 12, TP will be bad when high temprature935935+ if(tmpRegA >= 12) // if over 12, TP will be bad when high temperature936936 tmpRegA = 12;937937 RT_TRACE(COMP_POWER_TRACKING, "Valid ThermalMeterA = %d \n", tmpRegA);938938 priv->ThermalMeter[0] = ThermalMeterVal; //We use fixed value by Bryant's suggestion939939 priv->ThermalMeter[1] = ThermalMeterVal; //We use fixed value by Bryant's suggestion940940941941- //Get current RF-A temprature index942942- if(priv->ThermalMeter[0] >= (u8)tmpRegA) //lower temprature941941+ //Get current RF-A temperature index942942+ if(priv->ThermalMeter[0] >= (u8)tmpRegA) //lower temperature943943 {944944 tmpOFDMindex = tmpCCK20Mindex = 6+(priv->ThermalMeter[0]-(u8)tmpRegA);945945 tmpCCK40Mindex = tmpCCK20Mindex - 6;···953953 else954954 {955955 tmpval = ((u8)tmpRegA - priv->ThermalMeter[0]);956956- if(tmpval >= 6) // higher temprature956956+ if(tmpval >= 6) // higher temperature957957 tmpOFDMindex = tmpCCK20Mindex = 0; // max to +6dB958958 else959959 tmpOFDMindex = tmpCCK20Mindex = 6 - tmpval;···20172017 dm_digtable.dbg_mode = DM_DBG_OFF; //off=by real rssi value, on=by DM_DigTable.Rssi_val for new dig20182018 dm_digtable.dig_algorithm_switch = 0;2019201920202020- /* 2007/10/04 MH Define init gain threshol. */20202020+ /* 2007/10/04 MH Define init gain threshold. */20212021 dm_digtable.dig_state = DM_STA_DIG_MAX;20222022 dm_digtable.dig_highpwr_state = DM_STA_DIG_MAX;20232023 dm_digtable.initialgain_lowerbound_state = false;···21452145 /*DbgPrint("DIG Check\n\r RSSI=%d LOW=%d HIGH=%d STATE=%d",21462146 pHalData->UndecoratedSmoothedPWDB, DM_DigTable.RssiLowThresh,21472147 DM_DigTable.RssiHighThresh, DM_DigTable.Dig_State);*/21482148- /* 1. When RSSI decrease, We have to judge if it is smaller than a treshold21482148+ /* 1. When RSSI decrease, We have to judge if it is smaller than a threshold21492149 and then execute below step. */21502150 if ((priv->undecorated_smoothed_pwdb <= dm_digtable.rssi_low_thresh))21512151 {···2205220522062206 }2207220722082208- /* 2. When RSSI increase, We have to judge if it is larger than a treshold22082208+ /* 2. When RSSI increase, We have to judge if it is larger than a threshold22092209 and then execute below step. */22102210 if ((priv->undecorated_smoothed_pwdb >= dm_digtable.rssi_high_thresh) )22112211 {···23142314 }2315231523162316 /* 3. When RSSI >75% or <70%, it is a high power issue. We have to judge if23172317- it is larger than a treshold and then execute below step. */23172317+ it is larger than a threshold and then execute below step. */23182318 // 2008/02/05 MH SD3-Jerry Modify PD_TH for high power issue.23192319 if (priv->undecorated_smoothed_pwdb >= dm_digtable.rssi_high_power_highthresh)23202320 {
+1-1
drivers/staging/rtl8192e/r8192E_wx.c
···446446 range->max_qual.updated = 7; /* Updated all three */447447448448 range->avg_qual.qual = 92; /* > 8% missed beacons is 'bad' */449449- /* TODO: Find real 'good' to 'bad' threshol value for RSSI */449449+ /* TODO: Find real 'good' to 'bad' threshold value for RSSI */450450 range->avg_qual.level = 20 + -98;451451 range->avg_qual.noise = 0;452452 range->avg_qual.updated = 7; /* Updated all three */
+1-1
drivers/staging/rtl8192e/r819xE_cmdpkt.c
···783783784784 default:785785786786- RT_TRACE(COMP_EVENTS, "---->cmpk_message_handle_rx():unknow CMD Element\n");786786+ RT_TRACE(COMP_EVENTS, "---->cmpk_message_handle_rx():unknown CMD Element\n");787787 return 1; /* This is a command packet. */788788 }789789 // 2007/01/22 MH Display received rx command packet info.
+1-1
drivers/staging/rtl8192e/r819xE_phyreg.h
···294294#define bR2RCCAMask 0x00000f00295295#define bHSSI_R2TDelay 0xf8000000296296#define bHSSI_T2RDelay 0xf80000297297-#define bContTxHSSI 0x400 //chane gain at continue Tx297297+#define bContTxHSSI 0x400 //channel gain at continue Tx298298#define bIGFromCCK 0x200299299#define bAGCAddress 0x3f300300#define bRxHPTx 0x7000
···21202120 * care of the ieee802.11 fragmentation.21212121 * So the driver receives a fragment per time and might21222122 * call the stop function when it want without take care21232123- * to have enought room to TX an entire packet.21232123+ * to have enough room to TX an entire packet.21242124 * This might be useful if each fragment need it's own21252125 * descriptor, thus just keep a total free memory > than21262126- * the max fragmentation treshold is not enought.. If the21262126+ * the max fragmentation threshold is not enough.. If the21272127 * ieee802.11 stack passed a TXB struct then you needed21282128 * to keep N free descriptors where21292129 * N = MAX_PACKET_SIZE / MIN_FRAG_TRESHOLD
+1-1
drivers/staging/rtl8192su/ieee80211/readme
···3737 disassociate clients, and it is really prone to always allow access.3838 In bss client mode it is a bit rough with AP deauth and disassoc requests.3939- It has not any entry point to view the collected stats.4040-- Altought it takes care of the card supported rates in the management frame4040+- Although it takes care of the card supported rates in the management frame4141 it sends, support for rate changing on TXed packet is not complete.4242- Give up once associated in bss client mode (it never detect a4343 signal loss condition to disassociate and restart scanning)
+2-2
drivers/staging/rtl8192su/r8192S_phy.c
···1728172817291729 default:17301730 bResult = FALSE;17311731- //RT_ASSERT(FALSE, ("phy_SetRFPowerState8192SU(): unknow state to set: 0x%X!!!\n", eRFPowerState));17311731+ //RT_ASSERT(FALSE, ("phy_SetRFPowerState8192SU(): unknown state to set: 0x%X!!!\n", eRFPowerState));17321732 break;17331733 }17341734 break;···27112711// However, this procedure is performed synchronously which should be running under27122712// passive level.27132713//27142714-//not understant it27142714+//not understand it27152715void PHY_SwChnlPhy8192S( // Only called during initialize27162716 struct net_device* dev,27172717 u8 channel
+1-1
drivers/staging/rtl8192su/r8192S_phyreg.h
···453453#define bR2RCCAMask 0x00000f00454454#define bHSSI_R2TDelay 0xf8000000455455#define bHSSI_T2RDelay 0xf80000456456-#define bContTxHSSI 0x400 //chane gain at continue Tx456456+#define bContTxHSSI 0x400 //channel gain at continue Tx457457#define bIGFromCCK 0x200458458#define bAGCAddress 0x3f459459#define bRxHPTx 0x7000
+2-2
drivers/staging/rtl8192su/r8192S_rtl6052.c
···326326327327 //328328 // If path A and Path B coexist, we must limit Path A tx power.329329- // Protect Path B pwr over or under flow. We need to calculate upper and329329+ // Protect Path B pwr over or underflow. We need to calculate upper and330330 // lower bound of path A tx power.331331 //332332 if (priv->rf_type == RF_2T2R)···354354355355 //356356 // If path A and Path B coexist, we must limit Path A tx power.357357- // Protect Path B pwr over or under flow. We need to calculate upper and357357+ // Protect Path B pwr under/over flow. We need to calculate upper and358358 // lower bound of path A tx power.359359 //360360 if (priv->rf_type == RF_2T2R)
+5-5
drivers/staging/rtl8192su/r8192U_dm.c
···593593 0x5a400169, // 3, +3db594594 0x50800142, // 4, +2db595595 0x47c0011f, // 5, +1db596596- 0x40000100, // 6, +0db ===> default, upper for higher temprature, lower for low temprature596596+ 0x40000100, // 6, +0db ===> default, upper for higher temperature, lower for low temperature597597 0x390000e4, // 7, -1db598598 0x32c000cb, // 8, -2db599599 0x2d4000b5, // 9, -3db···912912 RT_TRACE(COMP_POWER_TRACKING, "Readback ThermalMeterA = %d \n", tmpRegA);913913 if(tmpRegA < 3 || tmpRegA > 13)914914 return;915915- if(tmpRegA >= 12) // if over 12, TP will be bad when high temprature915915+ if(tmpRegA >= 12) // if over 12, TP will be bad when high temperature916916 tmpRegA = 12;917917 RT_TRACE(COMP_POWER_TRACKING, "Valid ThermalMeterA = %d \n", tmpRegA);918918 priv->ThermalMeter[0] = ThermalMeterVal; //We use fixed value by Bryant's suggestion919919 priv->ThermalMeter[1] = ThermalMeterVal; //We use fixed value by Bryant's suggestion920920921921- //Get current RF-A temprature index922922- if(priv->ThermalMeter[0] >= (u8)tmpRegA) //lower temprature921921+ //Get current RF-A temperature index922922+ if(priv->ThermalMeter[0] >= (u8)tmpRegA) //lower temperature923923 {924924 tmpOFDMindex = tmpCCK20Mindex = 6+(priv->ThermalMeter[0]-(u8)tmpRegA);925925 tmpCCK40Mindex = tmpCCK20Mindex - 6;···933933 else934934 {935935 tmpval = ((u8)tmpRegA - priv->ThermalMeter[0]);936936- if(tmpval >= 6) // higher temprature936936+ if(tmpval >= 6) // higher temperature937937 tmpOFDMindex = tmpCCK20Mindex = 0; // max to +6dB938938 else939939 tmpOFDMindex = tmpCCK20Mindex = 6 - tmpval;
+1-1
drivers/staging/rtl8192su/r8192U_wx.c
···435435 range->max_qual.updated = 7; /* Updated all three */436436437437 range->avg_qual.qual = 92; /* > 8% missed beacons is 'bad' */438438- /* TODO: Find real 'good' to 'bad' threshol value for RSSI */438438+ /* TODO: Find real 'good' to 'bad' threshold value for RSSI */439439 range->avg_qual.level = 20 + -98;440440 range->avg_qual.noise = 0;441441 range->avg_qual.updated = 7; /* Updated all three */
+1-1
drivers/staging/rtl8192su/r819xU_cmdpkt.c
···697697698698 default:699699700700- RT_TRACE(COMP_ERR, "---->cmpk_message_handle_rx():unknow CMD Element\n");700700+ RT_TRACE(COMP_ERR, "---->cmpk_message_handle_rx():unknown CMD Element\n");701701 return 1; /* This is a command packet. */702702 }703703 // 2007/01/22 MH Display received rx command packet info.
+1-1
drivers/staging/sep/sep_driver.c
···24492449#endif2450245024512451/*24522452- Function that is activaed on the succesful probe of the SEP device24522452+ Function that is activated on the successful probe of the SEP device24532453*/24542454static int __devinit sep_probe(struct pci_dev *pdev, const struct pci_device_id *ent)24552455{
+1-1
drivers/staging/serqt_usb2/serqt_usb2.c
···929929 dbg(__FILE__ "qt_setuart completed.\n");930930931931 /*932932- * Put this here to make it responsive to stty and defauls set by932932+ * Put this here to make it responsive to stty and defaults set by933933 * the tty layer934934 */935935 /* FIXME: is this needed? */
+1-1
drivers/staging/vt6655/device_main.c
···661661 if(zonetype!=pDevice->abyEEPROM[EEP_OFS_ZONETYPE])662662 printk("zonetype in file[%02x] mismatch with in EEPROM[%02x]\n",zonetype,pDevice->abyEEPROM[EEP_OFS_ZONETYPE]);663663 else664664- printk("Read Zonetype file sucess,use default zonetype setting[%02x]\n",zonetype);664664+ printk("Read Zonetype file success,use default zonetype setting[%02x]\n",zonetype);665665 }666666 }667667 else