{0x02, 0x1F},   /* 0x57, RT_CHANNEL_DOMAIN_FCC1_FCC10 */
 };
 
-static RT_CHANNEL_PLAN_MAP     RTW_CHANNEL_PLAN_MAP_REALTEK_DEFINE = {0x03, 0x02}; /* use the conbination for max channel numbers */
+static RT_CHANNEL_PLAN_MAP     RTW_CHANNEL_PLAN_MAP_REALTEK_DEFINE = {0x03, 0x02}; /* use the combination for max channel numbers */
 
 /*
  * Search the @param ch in given @param ch_set
 
 /****************************************************************************
 
-Following are some TX fuctions for WiFi MLME
+Following are some TX functions for WiFi MLME
 
 *****************************************************************************/
 
        return ret;
 }
 
-/*  if psta == NULL, indiate we are station(client) now... */
+/*  if psta == NULL, indicate we are station(client) now... */
 void issue_auth(struct adapter *padapter, struct sta_info *psta, unsigned short status)
 {
        struct xmit_frame                       *pmgntframe;
                                if ((!padapter->registrypriv.wifi_spec) && (!memcmp(pIE->data, WPS_OUI, 4))) {
                                        /* Commented by Kurt 20110629 */
                                        /* In some older APs, WPS handshake */
-                                       /* would be fail if we append vender extensions informations to AP */
+                                       /* would be fail if we append vender extensions information to AP */
 
                                        vs_ie_length = 14;
                                }
                rtw_buf_free(&pmlmepriv->assoc_req, &pmlmepriv->assoc_req_len);
 }
 
-/* when wait_ack is ture, this function shoule be called at process context */
+/* when wait_ack is true, this function should be called at process context */
 static int _issue_nulldata(struct adapter *padapter, unsigned char *da,
                           unsigned int power_mode, bool wait_ack)
 {
 /*
  * [IMPORTANT] Don't call this function in interrupt context
  *
- * When wait_ms > 0, this function shoule be called at process context
+ * When wait_ms > 0, this function should be called at process context
  * da == NULL for station mode
  */
 int issue_nulldata(struct adapter *padapter, unsigned char *da, unsigned int power_mode, int try_cnt, int wait_ms)
        struct sta_info *psta;
 
 
-       /* da == NULL, assum it's null data for sta to ap*/
+       /* da == NULL, assume it's null data for sta to ap*/
        if (!da)
                da = get_my_bssid(&(pmlmeinfo->network));
 
        pmlmeext = &padapter->mlmeextpriv;
        pmlmeinfo = &pmlmeext->mlmext_info;
 
-       /* da == NULL, assum it's null data for sta to ap*/
+       /* da == NULL, assume it's null data for sta to ap*/
        if (!da)
                da = get_my_bssid(&(pmlmeinfo->network));
 
        return _issue_nulldata(padapter, da, 0, false);
 }
 
-/* when wait_ack is ture, this function shoule be called at process context */
+/* when wait_ack is true, this function should be called at process context */
 static int _issue_qos_nulldata(struct adapter *padapter, unsigned char *da,
                               u16 tid, bool wait_ack)
 {
        return ret;
 }
 
-/* when wait_ms >0 , this function shoule be called at process context */
+/* when wait_ms >0 , this function should be called at process context */
 /* da == NULL for station mode */
 int issue_qos_nulldata(struct adapter *padapter, unsigned char *da, u16 tid, int try_cnt, int wait_ms)
 {
        struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv);
        struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info);
 
-       /* da == NULL, assum it's null data for sta to ap*/
+       /* da == NULL, assume it's null data for sta to ap*/
        if (!da)
                da = get_my_bssid(&(pmlmeinfo->network));
 
 
 /****************************************************************************
 
-Following are some utitity fuctions for WiFi MLME
+Following are some utility functions for WiFi MLME
 
 *****************************************************************************/
 
        }
        #endif
 
-       /*  mark bss info receving from nearby channel as SignalQuality 101 */
+       /*  mark bss info receiving from nearby channel as SignalQuality 101 */
        if (bssid->Configuration.DSConfig != rtw_get_oper_ch(padapter))
                bssid->PhyInfo.SignalQuality = 101;
 
        /* update wireless mode */
        update_wireless_mode(padapter);
 
-       /* udpate capability */
+       /* update capability */
        caps = rtw_get_capability((struct wlan_bssid_ex *)pnetwork);
        update_capinfo(padapter, caps);
        if (caps&cap_IBSS) {/* adhoc master */
        /* update wireless mode */
        update_wireless_mode(padapter);
 
-       /* udpate capability */
+       /* update capability */
        caps = rtw_get_capability((struct wlan_bssid_ex *)pnetwork);
        update_capinfo(padapter, caps);
        if (caps&cap_ESS) {
        /* turn on dynamic functions */
        Switch_DM_Func(padapter, DYNAMIC_ALL_FUNC_ENABLE, true);
 
-       /*  update IOT-releated issue */
+       /*  update IOT-related issue */
        update_IOT_info(padapter);
 
        rtw_hal_set_hwreg(padapter, HW_VAR_BASIC_RATE, cur_network->SupportedRates);
        /* BCN interval */
        rtw_hal_set_hwreg(padapter, HW_VAR_BEACON_INTERVAL, (u8 *)(&pmlmeinfo->bcn_interval));
 
-       /* udpate capability */
+       /* update capability */
        update_capinfo(padapter, pmlmeinfo->capability);
 
        /* WMM, Update EDCA param */
                Save_DM_Func_Flag(padapter);
                Switch_DM_Func(padapter, DYNAMIC_FUNC_DISABLE, false);
 
-               /* config the initial gain under scaning, need to write the BB registers */
+               /* config the initial gain under scanning, need to write the BB registers */
                initialgain = 0x1e;
 
                rtw_hal_set_hwreg(padapter, HW_VAR_INITIAL_GAIN, (u8 *)(&initialgain));
 
                /* if (RFPath == ODM_RF_PATH_A) */
                switch (RFPath) {
                case ODM_RF_PATH_A:
-                       /* wirte new elements A, C, D to regC80 and regC94, element B is always 0 */
+                       /* write new elements A, C, D to regC80 and regC94, element B is always 0 */
                        value32 = (ele_D<<22)|((ele_C&0x3F)<<16)|ele_A;
                        PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XATxIQImbalance, bMaskDWord, value32);
 
                        PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_ECCAThreshold, BIT24, value32);
                        break;
                case ODM_RF_PATH_B:
-                       /* wirte new elements A, C, D to regC88 and regC9C, element B is always 0 */
+                       /* write new elements A, C, D to regC88 and regC9C, element B is always 0 */
                        value32 = (ele_D<<22)|((ele_C&0x3F)<<16)|ele_A;
                        PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XBTxIQImbalance, bMaskDWord, value32);
 
 /*-----------------------------------------------------------------------------
  * Function:   odm_TxPwrTrackSetPwr88E()
  *
- * Overview:   88E change all channel tx power accordign to flag.
+ * Overview:   88E change all channel tx power according to flag.
  *                     OFDM & CCK are all different.
  *
  * Input:              NONE
 
                rtw_write8(padapter, 0x6B, tempval);
 
                /*  Attention!! Between 0x6A[14] and 0x6A[15] setting need 100us delay */
-               /*  So don't wirte 0x6A[14]= 1 and 0x6A[15]= 0 together! */
+               /*  So don't write 0x6A[14]= 1 and 0x6A[15]= 0 together! */
                msleep(1);
                /*  disable BT output isolation */
                /*  0x6A[15] = 0 */
                rtw_write8(padapter, 0x6B, tempval);
 
                /*  Attention!! Between 0x6A[14] and 0x6A[15] setting need 100us delay */
-               /*  So don't wirte 0x6A[14]= 1 and 0x6A[15]= 0 together! */
+               /*  So don't write 0x6A[14]= 1 and 0x6A[15]= 0 together! */
 
                /*  disable BT power cut */
                /*  0x6A[14] = 1 */
        goto exit;
 
 error:
-       /*  report max size to prevent wirte efuse */
+       /*  report max size to prevent write efuse */
        EFUSE_GetEfuseDefinition(padapter, EFUSE_WIFI, TYPE_AVAILABLE_EFUSE_BYTES_TOTAL, &efuse_addr, bPseudoTest);
 
 exit:
        u8 val;
 
        val = rtw_read8(padapter, REG_LEDCFG2);
-       /*  Let 8051 take control antenna settting */
+       /*  Let 8051 take control antenna setting */
        val |= BIT(7); /*  DPDT_SEL_EN, 0x4C[23] */
        rtw_write8(padapter, REG_LEDCFG2, val);
 }
 
        /*  2009.11.05. tynli_test. Suggested by SD4 Filen for FW LPS. */
        /*  (1) The sequence number of each non-Qos frame / broadcast / multicast / */
-       /*  mgnt frame should be controled by Hw because Fw will also send null data */
+       /*  mgnt frame should be controlled by Hw because Fw will also send null data */
        /*  which we cannot control when Fw LPS enable. */
        /*  --> default enable non-Qos data sequense number. 2010.06.23. by tynli. */
        /*  (2) Enable HW SEQ control for beacon packet, because we use Hw beacon. */
                        rtw_write8(padapter, reg_bcn_ctl, val8);
                }
 
-               /*  Save orignal RRSR setting. */
+               /*  Save original RRSR setting. */
                pHalData->RegRRSR = rtw_read16(padapter, REG_RRSR);
        } else {
                /*  sitesurvey done */
                value_rcr |= rcr_clear_bit;
                rtw_write32(padapter, REG_RCR, value_rcr);
 
-               /*  Restore orignal RRSR setting. */
+               /*  Restore original RRSR setting. */
                rtw_write16(padapter, REG_RRSR, pHalData->RegRRSR);
        }
 }