static bool ath11k_ce_need_shadow_fix(int ce_id)
 {
-       /* only ce4 needs shadow workaroud*/
+       /* only ce4 needs shadow workaround */
        if (ce_id == 4)
                return true;
        return false;
 
                ret = ath11k_ce_alloc_pipe(ab, i);
                if (ret) {
-                       /* Free any parial successful allocation */
+                       /* Free any partial successful allocation */
                        ath11k_ce_free_pipes(ab);
                        return ret;
                }
 
 
        /* Below regd's are protected by ab->data_lock */
        /* This is the regd set for every radio
-        * by the firmware during initializatin
+        * by the firmware during initialization
         */
        struct ieee80211_regdomain *default_regd[MAX_RADIOS];
        /* This regd is set during dynamic country setting
 
  * completing the burst, we identify the txop used in the burst and
  * incr the corresponding bin.
  * Each bin represents 1ms & we have 10 bins in this histogram.
- * they are deined in FW using the following macros
+ * they are defined in FW using the following macros
  * #define WAL_MAX_TXOP_USED_CNT_HISTOGRAM 10
  * #define WAL_TXOP_USED_HISTOGRAM_INTERVAL 1000 ( 1 ms )
  */
        u32 phytx_abort_cnt;
        /* number of times rx abort initiated by phy */
        u32 phyrx_abort_cnt;
-       /* number of rx defered count initiated by phy */
+       /* number of rx deferred count initiated by phy */
        u32 phyrx_defer_abort_cnt;
        /* number of sizing events generated at LSTF */
        u32 rx_gain_adj_lstf_event_cnt;
 
 {
         /* When v2_map_support is true:for STA mode, enable address
          * search index, tcl uses ast_hash value in the descriptor.
-         * When v2_map_support is false: for STA mode, dont' enable
+         * When v2_map_support is false: for STA mode, don't enable
          * address search index.
          */
        switch (arvif->vdev_type) {
 
 
 #define HTT_TX_WBM_COMP_STATUS_OFFSET 8
 
-/* HTT tx completion is overlayed in wbm_release_ring */
+/* HTT tx completion is overlaid in wbm_release_ring */
 #define HTT_TX_WBM_COMP_INFO0_STATUS           GENMASK(12, 9)
 #define HTT_TX_WBM_COMP_INFO0_REINJECT_REASON  GENMASK(16, 13)
 #define HTT_TX_WBM_COMP_INFO0_REINJECT_REASON  GENMASK(16, 13)
  *                     3'b010: 4 usec
  *                     3'b011: 8 usec (default)
  *                     3'b100: 16 usec
- *                     Others: Reserverd
+ *                     Others: Reserved
  *           b'19    - response_required:
  *                     Host needs HTT_T2H_MSG_TYPE_SRING_SETUP_DONE as response
  *           b'20:31 - reserved:  reserved for future use
 
 
        /* PN for multicast packets are not validate in HW,
         * so skip 802.3 rx path
-        * Also, fast_rx expectes the STA to be authorized, hence
+        * Also, fast_rx expects the STA to be authorized, hence
         * eapol packets are sent in slow path.
         */
        if (decap == DP_RX_DECAP_TYPE_ETHERNET2_DIX && !is_eapol &&
 
                return 0;
 
        /* Can this be optimized so that we keep the pending command list only
-        * for tid delete command to free up the resoruce on the command status
+        * for tid delete command to free up the resource on the command status
         * indication?
         */
        dp_cmd = kzalloc(sizeof(*dp_cmd), GFP_ATOMIC);
 
 {
        lockdep_assert_held(&srng->lock);
 
-       /* check whether the ring is emptry. Update the shadow
+       /* check whether the ring is empty. Update the shadow
         * HP only when then ring isn't empty.
         */
        if (srng->ring_dir == HAL_SRNG_DIR_SRC &&
 
 #define HAL_WBM0_RELEASE_RING_HP               0x000030c0
 #define HAL_WBM1_RELEASE_RING_HP               0x000030c8
 
-/* TCL ring feild mask and offset */
+/* TCL ring field mask and offset */
 #define HAL_TCL1_RING_BASE_MSB_RING_SIZE               GENMASK(27, 8)
 #define HAL_TCL1_RING_BASE_MSB_RING_BASE_ADDR_MSB      GENMASK(7, 0)
 #define HAL_TCL1_RING_ID_ENTRY_SIZE                    GENMASK(7, 0)
 #define HAL_TCL1_RING_FIELD_DSCP_TID_MAP6              GENMASK(20, 18)
 #define HAL_TCL1_RING_FIELD_DSCP_TID_MAP7              GENMASK(23, 21)
 
-/* REO ring feild mask and offset */
+/* REO ring field mask and offset */
 #define HAL_REO1_RING_BASE_MSB_RING_SIZE               GENMASK(27, 8)
 #define HAL_REO1_RING_BASE_MSB_RING_BASE_ADDR_MSB      GENMASK(7, 0)
 #define HAL_REO1_RING_ID_RING_ID                       GENMASK(15, 8)
        } u;
 };
 
-/* Interrupt mitigation - Batch threshold in terms of numer of frames */
+/* Interrupt mitigation - Batch threshold in terms of number of frames */
 #define HAL_SRNG_INT_BATCH_THRESHOLD_TX 256
 #define HAL_SRNG_INT_BATCH_THRESHOLD_RX 128
 #define HAL_SRNG_INT_BATCH_THRESHOLD_OTHER 1
 
  *
  * msdu_continuation
  *             When set, this MSDU buffer was not able to hold the entire MSDU.
- *             The next buffer will therefor contain additional information
+ *             The next buffer will therefore contain additional information
  *             related to this MSDU.
  *
  * msdu_length
  *
  * da_idx_timeout
  *             Indicates, an unsuccessful MAC destination address search due
- *             to the expiration of search timer fot this MSDU.
+ *             to the expiration of search timer for this MSDU.
  */
 
 enum hal_reo_dest_ring_buffer_type {
  *     Producer: SW/TQM/RXDMA/REO/SWITCH
  *     Consumer: WBM/SW/FW
  *
- * HTT tx status is overlayed on wbm_release ring on 4-byte words 2, 3, 4 and 5
+ * HTT tx status is overlaid on wbm_release ring on 4-byte words 2, 3, 4 and 5
  * for software based completions.
  *
  * buf_addr_info
  *             commands.
  *
  * execution_time (in us)
- *             The amount of time REO took to excecute the command. Note that
+ *             The amount of time REO took to execute the command. Note that
  *             this time does not include the duration of the command waiting
  *             in the command ring, before the execution started.
  *
 
                return ret;
        }
 
-       /* Enable all patial BSSID mask for SRG */
+       /* Enable all partial BSSID mask for SRG */
        ret = ath11k_wmi_pdev_srg_obss_bssid_enable_bitmap(ar, bitmap);
        if (ret) {
                ath11k_warn(ar->ab,
                return ret;
        }
 
-       /* Enable all patial BSSID mask for non-SRG */
+       /* Enable all partial BSSID mask for non-SRG */
        ret = ath11k_wmi_pdev_non_srg_obss_bssid_enable_bitmap(ar, bitmap);
        if (ret) {
                ath11k_warn(ar->ab,
 
 
        /* For QCA6390 by default FW requests a block of ~4M contiguous
         * DMA memory, it's hard to allocate from OS. So host returns
-        * failure to FW and FW will then request mulitple blocks of small
+        * failure to FW and FW will then request multiple blocks of small
         * chunk size memory.
         */
        if (!(ab->hw_params.fixed_mem_region ||
 
  *
  * l4_offset
  *             Depending upon mode bit, this field either indicates the
- *             L4 offset nin bytes from the start of RX_HEADER (only valid
+ *             L4 offset in bytes from the start of RX_HEADER (only valid
  *             if either ipv4_proto or ipv6_proto is set to 1) or indicates
  *             the offset in bytes to the start of TCP or UDP header from
  *             the start of the IP header after decapsulation (Only valid if
 
        temperature = ar->thermal.temperature;
        spin_unlock_bh(&ar->data_lock);
 
-       /* display in millidegree celcius */
+       /* display in millidegree Celsius */
        ret = snprintf(buf, PAGE_SIZE, "%d\n", temperature * 1000);
 out:
        mutex_unlock(&ar->conf_mutex);
 
 
        /* protected by conf_mutex */
        u32 throttle_state;
-       /* temperature value in Celcius degree
+       /* temperature value in Celsius degree
         * protected by data_lock
         */
        int temperature;
 
 
        /* tx/rx chainmask reported from fw depends on the actual hw chains used,
         * For example, for 4x4 capable macphys, first 4 chains can be used for first
-        * mac and the remaing 4 chains can be used for the second mac or vice-versa.
+        * mac and the remaining 4 chains can be used for the second mac or vice-versa.
         * In this case, tx/rx chainmask 0xf will be advertised for first mac and 0xf0
         * will be advertised for second mac or vice-versa. Compute the shift value
         * for tx/rx chainmask which will be used to advertise supported ht/vht rates to
 
 
 #define PSOC_HOST_MAX_NUM_SS (8)
 
-/* defines to set Packet extension values whic can be 0 us, 8 usec or 16 usec */
+/* defines to set Packet extension values which can be 0 us, 8 usec or 16 usec */
 #define MAX_HE_NSS               8
 #define MAX_HE_MODULATION        8
 #define MAX_HE_RU                4
 } __packed;
 
 struct wmi_pdev_temperature_event {
-       /* temperature value in Celcius degree */
+       /* temperature value in Celsius degree */
        s32 temp;
        u32 pdev_id;
 } __packed;
  */
 enum wmi_sta_ps_param_pspoll_count {
        WMI_STA_PS_PSPOLL_COUNT_NO_MAX = 0,
-       /* Values greater than 0 indicate the maximum numer of PS-Poll frames
+       /* Values greater than 0 indicate the maximum number of PS-Poll frames
         * FW will send before waking up.
         */
 };