Browse Source

qcacld-3.0: Fix misspellings of "capability" and "capabilities"

Fix misspellings of "capability" and "capabilities":
capabiities ==> capabilities
capabilites ==> capabilities
capabilties ==> capabilities
capabilty ==> capability
capablities ==> capabilities
capablity ==> capability

Change-Id: Ie4f14088fb86b63e3ee985c004f82d73d2c73963
CRs-Fixed: 3274606
Jeff Johnson 2 years ago
parent
commit
c5b6befd72

+ 1 - 1
components/cmn_services/policy_mgr/src/wlan_policy_mgr_get_set_utils.c

@@ -6219,7 +6219,7 @@ bool policy_mgr_is_concurrency_allowed(struct wlan_objmgr_psoc *psoc,
 		return status;
 	}
 
-	/* Allow sta+p2p+p2p only if firmware supports the capablity */
+	/* Allow sta+p2p+p2p only if firmware supports the capability */
 	if (!policy_mgr_is_third_conn_sta_p2p_p2p_valid(psoc, mode)) {
 		policy_mgr_err("Don't allow third connection as GO or GC or STA with old fw");
 		return status;

+ 1 - 1
components/mlme/dispatcher/inc/wlan_mlme_public_struct.h

@@ -1087,7 +1087,7 @@ struct wlan_mlme_chain_cfg {
  * @dual_sta_roam_fw_support: Firmware support for dual sta roaming feature
  * @ocv_support: FW supports OCV
  *
- * Add all the mlme-tgt related capablities here, and the public API would fill
+ * Add all the mlme-tgt related capabilities here, and the public API would fill
  * the related capability in the required mlme cfg structure.
  */
 struct mlme_tgt_caps {

+ 1 - 1
components/son/dispatcher/inc/son_ucfg_api.h

@@ -181,7 +181,7 @@ uint8_t ucfg_son_get_tx_power(struct element_info assoc_req_ies);
 /**
  * ucfg_son_get_peer_rrm_info() - Get RRM info for peer
  * @assoc_req_ies: assoc req ies
- * @rrmcaps: rrm capabiities
+ * @rrmcaps: rrm capabilities
  * @is_beacon_meas_supported: if beacon meas is supported
  *
  * Return: Returns QDF_STATUS_SUCCESS if succeed

+ 1 - 1
components/tdls/core/src/wlan_tdls_main.h

@@ -193,7 +193,7 @@ struct tdls_set_state_info {
  * @tdls_osif_init_cb: Callback to initialize the tdls private
  * @tdls_osif_deinit_cb: Callback to deinitialize the tdls private
  * @tdls_osif_update_cb: Callback for updating osif params
- * @fw_tdls_11ax_capablity: bool for tdls 11ax fw capability
+ * @fw_tdls_11ax_capability: bool for tdls 11ax fw capability
  * @fw_tdls_6g_capability: bool for tdls 6g fw capability
  * @bss_sta_power: bss sta power
  * @@bss_sta_power_type: bss sta power type

+ 1 - 1
components/tdls/dispatcher/inc/wlan_tdls_public_structs.h

@@ -937,7 +937,7 @@ struct tdls_ch_params {
 };
 
 /**
- * struct tdls_peer_params - TDLS peer capablities parameters
+ * struct tdls_peer_params - TDLS peer capabilities parameters
  * @is_peer_responder: is peer responder or not
  * @peer_uapsd_queue: peer uapsd queue
  * @peer_max_sp: peer max SP value

+ 1 - 1
core/hdd/inc/wlan_hdd_eht.h

@@ -75,7 +75,7 @@ void wlan_hdd_check_11be_support(struct hdd_beacon_data *beacon,
  * hdd_update_wiphy_eht_cap() - update the wiphy with eht capabilities
  * @hdd_ctx: HDD context
  *
- * update wiphy with the eht capabilties.
+ * update wiphy with the eht capabilities.
  *
  * Return: None
  */

+ 1 - 1
core/hdd/src/wlan_hdd_cfg.c

@@ -719,7 +719,7 @@ bool hdd_update_config_cfg(struct hdd_context *hdd_ctx)
 
 	/*
 	 * During the initialization both 2G and 5G capabilities should be same.
-	 * So read 5G HT capablity and update 2G and 5G capablities.
+	 * So read 5G HT capability and update 2G and 5G capabilities.
 	 */
 
 	if (0 != hdd_update_he_cap_in_cfg(hdd_ctx)) {

+ 1 - 1
core/mac/src/pe/include/lim_api.h

@@ -257,7 +257,7 @@ void lim_send_sme_tdls_del_sta_ind(struct mac_context *mac, tpDphHashNode sta,
 				   uint16_t reasonCode);
 #endif
 
-/* / Function that checks for change in AP's capabilties on STA */
+/* / Function that checks for change in AP's capabilities on STA */
 void lim_detect_change_in_ap_capabilities(struct mac_context *,
 					  tpSirProbeRespBeacon,
 					  struct pe_session *);

+ 2 - 2
core/mac/src/pe/lim/lim_process_assoc_req_frame.c

@@ -715,7 +715,7 @@ lim_process_for_spectrum_mgmt(struct mac_context *mac_ctx, tSirMacAddr sa,
 		} /* if(assoc.capabilityInfo.spectrumMgt) */
 		else {
 			/*
-			 * As per the capabiities, the spectrum management is
+			 * As per the capabilities, the spectrum management is
 			 * not enabled on the station. The AP may allow the
 			 * associations to happen even if spectrum management
 			 * is not allowed, if the transmit power of station is
@@ -2572,7 +2572,7 @@ QDF_STATUS lim_proc_assoc_req_frm_cmn(struct mac_context *mac_ctx,
 		 * WAR: In P2P GO mode, if the P2P client device
 		 * is only HT capable and not VHT capable, but the P2P
 		 * GO device is VHT capable and advertises 2x2 NSS with
-		 * HT capablity client device, which results in IOT
+		 * HT capability client device, which results in IOT
 		 * issues.
 		 * When GO is operating in DBS mode, GO beacons
 		 * advertise 2x2 capability but include OMN IE to

+ 2 - 2
core/mac/src/pe/lim/lim_process_assoc_rsp_frame.c

@@ -456,7 +456,7 @@ static void lim_update_ese_tsm(struct mac_context *mac_ctx,
  * @assoc_rsp:  pointer to assoc response
  *
  * This function is called by lim_process_assoc_rsp_frame() to
- * update STA DS with ext capablities.
+ * update STA DS with ext capabilities.
  *
  * Return: None
  */
@@ -766,7 +766,7 @@ lim_update_iot_aggr_sz(struct mac_context *mac_ctx, uint8_t *ie_ptr,
 /**
  * hdd_cm_update_mcs_rate_set() - Update MCS rate set from HT capability
  * @vdev: Pointer to vdev boject
- * @ht_cap: pointer to parsed HT capablity
+ * @ht_cap: pointer to parsed HT capability
  *
  * Return: None.
  */

+ 1 - 1
core/mac/src/pe/lim/lim_process_sme_req_messages.c

@@ -7838,7 +7838,7 @@ static void lim_process_set_vdev_ies_per_band(struct mac_context *mac_ctx,
 
 	pe_debug("rcvd set vdev ie per band req vdev_id = %d",
 		p_msg->vdev_id);
-	/* intentionally using NULL here so that self capabilty are sent */
+	/* intentionally using NULL here so that self capability are sent */
 	if (lim_send_ies_per_band(mac_ctx, NULL, p_msg->vdev_id,
 				  p_msg->dot11_mode, p_msg->device_mode) !=
 	    QDF_STATUS_SUCCESS)

+ 1 - 1
core/mac/src/pe/lim/lim_send_management_frames.c

@@ -1703,7 +1703,7 @@ lim_send_assoc_rsp_mgmt_frame(struct mac_context *mac_ctx,
 			 * WAR: In P2P GO mode, if the P2P client device
 			 * is only HT capable and not VHT capable, but the P2P
 			 * GO device is VHT capable and advertises 2x2 NSS with
-			 * HT capablity client device, which results in IOT
+			 * HT capability client device, which results in IOT
 			 * issues.
 			 * When GO is operating in DBS mode, GO beacons
 			 * advertise 2x2 capability but include OMN IE to

+ 1 - 1
core/wma/inc/wma.h

@@ -826,7 +826,7 @@ struct wma_wlm_stats_data {
  *   was done
  * @last_umac_data_nbuf: cache nbuf ptr for the last umac data buf
  * @tgt_cfg_update_cb: configuration update callback
- * @reg_cap: regulatory capablities
+ * @reg_cap: regulatory capabilities
  * @scan_id: scan id
  * @interfaces: txrx nodes(per vdev)
  * @pdevconfig: pdev related configrations

+ 1 - 1
core/wma/inc/wma_if.h

@@ -353,7 +353,7 @@ typedef struct sLimMlmSetKeysReq {
  * @updateBss: update the existing BSS entry, if this flag is set
  * @maxTxPower: max power to be used after applying the power constraint
  * @bSpectrumMgtEnabled: Spectrum Management Capability, 1:Enabled, 0:Disabled.
- * @vhtCapable: VHT capablity
+ * @vhtCapable: VHT capability
  * @ch_width: VHT tx channel width
  * @he_capable: HE Capability
  * @no_ptk_4_way: Do not need 4-way handshake

+ 2 - 2
core/wma/src/wma_main.c

@@ -126,7 +126,7 @@
 
 static uint32_t g_fw_wlan_feat_caps;
 /**
- * wma_get_fw_wlan_feat_caps() - get fw feature capablity
+ * wma_get_fw_wlan_feat_caps() - get fw feature capability
  * @feature: feature enum value
  *
  * Return: true/false
@@ -137,7 +137,7 @@ bool wma_get_fw_wlan_feat_caps(enum cap_bitmap feature)
 }
 
 /**
- * wma_set_fw_wlan_feat_caps() - set fw feature capablity
+ * wma_set_fw_wlan_feat_caps() - set fw feature capability
  * @feature: feature enum value
  *
  * Return: None

+ 2 - 2
core/wma/src/wma_mgmt.c

@@ -3139,7 +3139,7 @@ QDF_STATUS wma_set_cts2self_for_p2p_go(void *wma_handle,
 /**
  * wma_set_htconfig() - set ht config parameters to target
  * @vdev_id: vdev id
- * @ht_capab: ht capablity
+ * @ht_capab: ht capability
  * @value: value of ht param
  *
  * Return: QDF status
@@ -3877,7 +3877,7 @@ static int wma_mgmt_rx_process(void *handle, uint8_t *data,
 	/*
 	 * Allocate the memory for this rx packet, add extra 100 bytes for:-
 	 *
-	 * 1.  Filling the missing RSN capabilites by some APs, which fill the
+	 * 1.  Filling the missing RSN capabilities by some APs, which fill the
 	 *     RSN IE length as extra 2 bytes but dont fill the IE data with
 	 *     capabilities, resulting in failure in unpack core due to length
 	 *     mismatch. Check sir_validate_and_rectify_ies for more info.