Преглед изворни кода

qcacmn: umac: regulatory: Fix misspellings

Fix misspellings in umac/regulatory/...

Change-Id: I9ede258627348c877cc824f80caae903fa0b21f2
CRs-Fixed: 3304700
Jeff Johnson пре 2 година
родитељ
комит
bbc6f89c23

+ 3 - 3
umac/regulatory/core/src/reg_build_chan_list.c

@@ -1613,7 +1613,7 @@ reg_populate_secondary_cur_chan_list(struct wlan_regulatory_pdev_priv_obj
 
 #ifdef CONFIG_AFC_SUPPORT
 /* reg_intersect_6g_afc_chan_list() - Do intersection of tx_powers of AFC master
- * channel list and SP channe list and store the power in the AFC channel list.
+ * channel list and SP channel list and store the power in the AFC channel list.
  * @pdev_priv_obj: pointer to pdev_priv_obj.
  *
  * Return type: void.
@@ -1652,7 +1652,7 @@ reg_intersect_6g_afc_chan_list(struct wlan_regulatory_pdev_priv_obj
 			   (sp_chan_list[i].chan_flags &
 			    REGULATORY_CHAN_AFC_NOT_DONE)) {
 			/* This is for the SP channels supported by
-			 * regulatory list that are mot supported by AFC i.e.
+			 * regulatory list that are not supported by AFC i.e.
 			 * SP channel list - AFC Channel list.
 			 */
 			afc_chan_list[i].tx_power = sp_chan_list[i].tx_power;
@@ -1919,7 +1919,7 @@ reg_modify_5g_maxbw(struct regulatory_channel *chan,
  * then channel 1, 2 and 3 will be disabled. Same logic apply for 5g.
  * For 5G, if the max bandwidth of the channel affected by avoid frequency
  * range then need to reduce the bandwidth or finally disabled.
- * For other bands, to-do in furture if need.
+ * For other bands, to-do in future if need.
  *
  * Return: void.
  */

+ 2 - 2
umac/regulatory/core/src/reg_opclass.c

@@ -698,7 +698,7 @@ static uint8_t reg_dmn_get_num_6g_opclasses(struct wlan_objmgr_pdev *pdev)
  * reg_dmn_fill_6g_opcls_chan_lists() - Copy the channel lists for 6g opclasses
  * to the output argument list ('channel_lists')
  * @pdev: Pointer to pdev.
- * @p_frange_lst: Pointer to frequencey range list (AFC)
+ * @p_frange_lst: Pointer to frequency range list (AFC)
  * @chansize_lst: Array of sizes of channel lists
  * @channel_lists: The array list pointers where the channel lists are to be
  *                 copied.
@@ -858,7 +858,7 @@ QDF_STATUS reg_dmn_get_6g_opclasses_and_channels(struct wlan_objmgr_pdev *pdev,
 		p_temp_alloc += l_chansize_lst[i] * sizeof(uint8_t *);
 	}
 
-	/* Fill the array with channl lists */
+	/* Fill the array with channel lists */
 	reg_dmn_fill_6g_opcls_chan_lists(pdev, p_frange_lst, l_chansize_lst, arr_chan_lists);
 
 	*opclass_lst = l_opcls_lst;

+ 1 - 1
umac/regulatory/core/src/reg_opclass.h

@@ -488,7 +488,7 @@ uint16_t reg_dmn_get_chanwidth_from_opclass_auto(uint8_t *country,
  * reg_dmn_get_6g_opclasses_and_channels()- Get the following from the
  * operating class table for 6Ghz band: number of operating classes, list of
  * opclasses, list channel sizes, list of channel lists.
- * @p_frange_lst: Pointer to frequencey range list (AFC)
+ * @p_frange_lst: Pointer to frequency range list (AFC)
  * @pdev: Pointer to pdev.
  * @num_opclasses: Pointer to number of operating classes. This is the number
  * of elements in the list array arguments

+ 5 - 5
umac/regulatory/core/src/reg_services_common.c

@@ -2647,7 +2647,7 @@ static inline bool BAND_6G_PRESENT(uint8_t band_mask)
  * @band_mask: Input bitmap with band set
  * @channel_list: Pointer to Channel List
  * @cur_chan_list: Pointer to primary current channel list for non-beaconing
- * entites (STA, p2p client) and secondary channel list for beaconing entities
+ * entities (STA, p2p client) and secondary channel list for beaconing entities
  * (SAP, p2p GO)
  *
  * Get the given channel list and number of channels from the current channel
@@ -3447,7 +3447,7 @@ reg_update_usable_chan_resp(struct wlan_objmgr_pdev *pdev,
 		/* In case usable channels are required for multiple filter
 		 * mask, Some frequencies may present in res_msg . To avoid
 		 * frequency duplication, only mode mask is updated for
-		 * existing freqency.
+		 * existing frequency.
 		 */
 		if (is_freq_present_in_resp_list(pcl_ch[i], res_msg, *count))
 			continue;
@@ -5977,7 +5977,7 @@ bool reg_is_dfs_in_secondary_list_for_freq(struct wlan_objmgr_pdev *pdev,
  * @pdev: pointer to pdev object
  * @psoc: pointer to psoc object
  *
- * Return: psoc master chanel list
+ * Return: psoc master channel list
  */
 static struct regulatory_channel *reg_get_psoc_mas_chan_list(
 						struct wlan_objmgr_pdev *pdev,
@@ -6744,7 +6744,7 @@ reg_intersect_ranges(struct freq_range *first_range,
 /**
  * reg_act_sp_rule_cb -  A function pointer type that calculate something
  * from the input frequency range
- * @rule_fr: Pointer to frequencey range
+ * @rule_fr: Pointer to frequency range
  * @arg: Pointer to generic argument (a.k.a. context)
  *
  * Return: Void
@@ -7098,7 +7098,7 @@ reg_fill_afc_opclasses_arr(struct wlan_objmgr_pdev *pdev,
 /**
  * reg_next_opcls_ptr() - Get the pointer to the next opclass object
  * @p_cur_opcls_obj: Pointer to the current operating class object
- * @num_cfis: number of center frequencey indices
+ * @num_cfis: number of center frequency indices
  *
  * Return: Pointer to next opclss object
  */

+ 2 - 2
umac/regulatory/core/src/reg_services_common.h

@@ -1246,7 +1246,7 @@ bool reg_chan_freq_is_49ghz(qdf_freq_t freq);
  * reg_update_nol_history_ch_for_freq() - Set nol-history flag for the channels
  * in the list.
  * @pdev: Pdev ptr.
- * @chan_list: Input channel freqeuncy list.
+ * @chan_list: Input channel frequency list.
  * @num_ch: Number of channels.
  * @nol_history_ch: NOL-History flag.
  *
@@ -2557,7 +2557,7 @@ enum channel_state reg_get_chan_state(struct wlan_objmgr_pdev *pdev,
 				      bool treat_nol_chan_as_disabled);
 
 /**
- * reg_is_chan_disabled() - Check if a chanel is disabled or not
+ * reg_is_chan_disabled() - Check if a channel is disabled or not
  *
  * @chan_flags: Channel flags
  * @chan_state: Channel state

+ 2 - 2
umac/regulatory/core/src/reg_utils.h

@@ -47,7 +47,7 @@ bool reg_is_world_ctry_code(uint16_t ctry_code);
 #if defined(CONFIG_REG_CLIENT) && defined(CONFIG_CHAN_FREQ_API)
 /**
  * reg_chan_has_dfs_attribute_for_freq() - check channel frequency has dfs
- * attribue or not
+ * attribute or not
  * @freq: channel frequency.
  *
  * This API gets initial dfs attribute flag of the channel frequency from
@@ -271,7 +271,7 @@ reg_get_6g_power_type_for_ctry(struct wlan_objmgr_psoc *psoc,
 #endif
 
 /**
- * reg_set_config_vars () - set configration variables
+ * reg_set_config_vars () - set configuration variables
  * @psoc: psoc ptr
  * @config_vars: configuration struct
  *

+ 3 - 3
umac/regulatory/dispatcher/inc/reg_services_public_struct.h

@@ -625,8 +625,8 @@ enum ctl_value {
 /**
  * struct freq_range: The range/band of frequencies, indicated by left and right
  * edge frequencies.
- * @left: Left edge freqency(inclusive)
- * @right: Right edge freqency(inclusive)
+ * @left: Left edge frequency(inclusive)
+ * @right: Right edge frequency(inclusive)
  */
 struct freq_range {
 	qdf_freq_t left;
@@ -722,7 +722,7 @@ enum behav_limit {
 };
 
 /**
- * struct c_freq_lst: The list data strucuture for the center frequencies
+ * struct c_freq_lst: The list data structure for the center frequencies
  * @num_cfis: Number of center frequencies
  * @p_cfis_arr: Start address of the array of center frequency indices. Center
  *              for 40/80/160/320MHz band channel opclasses. For 20MHz the list

+ 1 - 1
umac/regulatory/dispatcher/src/wlan_reg_tgt_api.c

@@ -20,7 +20,7 @@
 
  /**
  * @file wlan_req_tgt_api.c
- * @brief contains regulatory target interface definations
+ * @brief contains regulatory target interface definitions
  */
 
 #include <qdf_status.h>

+ 1 - 1
umac/regulatory/dispatcher/src/wlan_reg_ucfg_api.c

@@ -20,7 +20,7 @@
 
  /**
  * @file wlan_req_ucfg_api.c
- * @brief contains regulatory user config interface definations
+ * @brief contains regulatory user config interface definitions
  */
 
 #include <wlan_objmgr_vdev_obj.h>