qcacld-3.0: components: cmn_services: Fix misspellings
Fix misspellings in components/cmn_services/... Change-Id: I9ba9e4ea7a193db8b686adf7f31d141bdeea64bf CRs-Fixed: 3303649
This commit is contained in:

committed by
Madan Koyyalamudi

parent
6c9e2b8139
commit
76d0561767
@@ -453,7 +453,7 @@ struct wlan_diag_packet_info {
|
||||
* Table 12-10—Integrity and key wrap algorithms.
|
||||
* @grp_cipher: Group cipher suite value as defined in
|
||||
* Table 12-10—Integrity and key wrap algorithm in IEEE 802.11 2020.
|
||||
* grp_mgmt: Group manangement cipher suite as defined in
|
||||
* grp_mgmt: Group management cipher suite as defined in
|
||||
* Table 12-10—Integrity and key wrap algorithms in IEEE 802.11 2020.
|
||||
*/
|
||||
struct wlan_diag_connect {
|
||||
@@ -638,7 +638,7 @@ struct wlan_packet_info {
|
||||
* Table 12-10—Integrity and key wrap algorithms.
|
||||
* @group: Group cipher suite value as defined in
|
||||
* Table 12-10—Integrity and key wrap algorithms.
|
||||
* @group_mgmt: Group manangement cipher suite as defined in
|
||||
* @group_mgmt: Group management cipher suite as defined in
|
||||
* Table 12-10—Integrity and key wrap algorithms.
|
||||
* @auth_type: Authentication algorithm number field as defined in
|
||||
* IEEE 802.11 - 2020 standard section 9.4.1.1
|
||||
@@ -667,7 +667,7 @@ struct wlan_connect_info {
|
||||
#define MAX_RECORD_IN_SINGLE_EVT 5
|
||||
|
||||
/**
|
||||
* struct wlan_log_record - Structure for indvidual records in the ring
|
||||
* struct wlan_log_record - Structure for individual records in the ring
|
||||
* buffer
|
||||
* @timestamp_us: Timestamp(time of the day) in microseconds
|
||||
* @fw_timestamp_us: timestamp at which roam scan was triggered
|
||||
|
@@ -38,7 +38,7 @@
|
||||
* If gWlainMccToSccSwitchMode = 5: Force switch without SAP restart.MCC allowed
|
||||
* in exceptional cases.
|
||||
* If gWlainMccToSccSwitchMode = 6: Force Switch without SAP restart only in
|
||||
user preffered band.
|
||||
user preferred band.
|
||||
* Related: None.
|
||||
*
|
||||
* Supported Feature: Concurrency
|
||||
|
@@ -331,7 +331,7 @@ uint32_t policy_mgr_get_connected_vdev_band_mask(struct wlan_objmgr_vdev *vdev);
|
||||
|
||||
/**
|
||||
* policy_mgr_get_dfs_master_dynamic_enabled() - support dfs master or not
|
||||
* on AP interafce when STA+SAP(GO) concurrency
|
||||
* on AP interface when STA+SAP(GO) concurrency
|
||||
* @psoc: pointer to psoc
|
||||
* @vdev_id: sap vdev id
|
||||
*
|
||||
@@ -681,7 +681,7 @@ static inline void policy_mgr_check_concurrent_intf_and_restart_sap(
|
||||
* @vdev_id: vdev id
|
||||
* @mac_id: mac id
|
||||
*
|
||||
* This function is used to get the conncurrent vdev on same mac
|
||||
* This function is used to get the concurrent vdev on same mac
|
||||
*
|
||||
* Return: vdev id of the concurrent interface running on same mac
|
||||
*
|
||||
@@ -1452,9 +1452,9 @@ policy_mgr_current_connections_update(struct wlan_objmgr_psoc *psoc,
|
||||
/**
|
||||
* policy_mgr_change_hw_mode_sta_connect() - Change HW mode for STA connect
|
||||
* @psoc: psoc object
|
||||
* @scan_list: candidates for conenction
|
||||
* @scan_list: candidates for connection
|
||||
* @vdev_id: vdev id for STA/CLI
|
||||
* @connect_id: connect id of the conenct request
|
||||
* @connect_id: connect id of the connect request
|
||||
*
|
||||
* When a new connection is about to come up, change hw mode for STA/CLI
|
||||
* based upon the scan results and hw type.
|
||||
@@ -2171,7 +2171,7 @@ QDF_STATUS policy_mgr_restart_opportunistic_timer(
|
||||
* @psoc: PSOC object information
|
||||
* @pcl_list_org: Pointer to the preferred channel freq list to be trimmed
|
||||
* @weight_list_org: Pointer to the weights of the preferred channel list
|
||||
* @pcl_len_org: Pointer to the length of the preferred chanel list
|
||||
* @pcl_len_org: Pointer to the length of the preferred channel list
|
||||
*
|
||||
* Modifies the preferred channel list of SAP based on the mandatory channel
|
||||
*
|
||||
@@ -2592,7 +2592,7 @@ QDF_STATUS policy_mgr_check_conn_with_mode_and_vdev_id(
|
||||
* @new_hw_mode_index: New HW mode index
|
||||
* @num_vdev_mac_entries: Number of vdev-mac id mapping that follows
|
||||
* @vdev_mac_map: vdev-mac id map. This memory will be freed by the caller.
|
||||
* @num_mac_freq: Number of pdev freq maping that follows
|
||||
* @num_mac_freq: Number of pdev freq mapping that follows
|
||||
* @mac_freq_range: mac_freq_range mapping
|
||||
* So, make local copy if needed.
|
||||
*
|
||||
@@ -3931,7 +3931,7 @@ bool policy_mgr_sta_sap_scc_on_lte_coex_chan(
|
||||
/**
|
||||
* policy_mgr_valid_channel_for_channel_switch() - check for valid channel for
|
||||
* channel switch.
|
||||
* @psoc: poniter to psoc
|
||||
* @psoc: pointer to psoc
|
||||
* @ch_freq: channel frequency to be validated.
|
||||
* This function validates whether the given channel is valid for channel
|
||||
* switch.
|
||||
@@ -3955,7 +3955,7 @@ qdf_freq_t policy_mgr_get_user_config_sap_freq(struct wlan_objmgr_psoc *psoc,
|
||||
/**
|
||||
* policy_mgr_nan_sap_post_enable_conc_check() - Do concurrency operations
|
||||
* post nan/sap enable
|
||||
* @psoc: poniter to psoc
|
||||
* @psoc: pointer to psoc
|
||||
*
|
||||
* Return: void
|
||||
**/
|
||||
@@ -3964,7 +3964,7 @@ void policy_mgr_nan_sap_post_enable_conc_check(struct wlan_objmgr_psoc *psoc);
|
||||
/**
|
||||
* policy_mgr_nan_sap_post_disable_conc_check() - Do concurrency related
|
||||
* operation post nan/sap disable
|
||||
* @psoc: poniter to psoc
|
||||
* @psoc: pointer to psoc
|
||||
*
|
||||
* Return: void
|
||||
**/
|
||||
@@ -3991,7 +3991,7 @@ bool policy_mgr_is_sap_restart_required_after_sta_disconnect(
|
||||
/**
|
||||
* policy_mgr_is_sta_sap_scc() - check whether SAP is doing SCC with
|
||||
* STA
|
||||
* @psoc: poniter to psoc
|
||||
* @psoc: pointer to psoc
|
||||
* @sap_ch_freq: operating channel frequency of SAP interface
|
||||
* This function checks whether SAP is doing SCC with STA
|
||||
*
|
||||
@@ -4003,7 +4003,7 @@ bool policy_mgr_is_sta_sap_scc(struct wlan_objmgr_psoc *psoc,
|
||||
/**
|
||||
* policy_mgr_nan_sap_scc_on_unsafe_ch_chk() - check whether SAP is doing SCC
|
||||
* with NAN
|
||||
* @psoc: poniter to psoc
|
||||
* @psoc: pointer to psoc
|
||||
* @sap_freq: operating channel frequency of SAP interface
|
||||
*
|
||||
* Return: true or false
|
||||
@@ -4338,7 +4338,7 @@ bool policy_mgr_is_mlo_sta_present(struct wlan_objmgr_psoc *psoc);
|
||||
* links on 5/6 ghz band)
|
||||
* @psoc: PSOC object information
|
||||
* @mode: mlo mode to check
|
||||
* @mlo_vdev_lst: Pointer to mlo vdev list, this function wil fill this with
|
||||
* @mlo_vdev_lst: Pointer to mlo vdev list, this function will fill this with
|
||||
* list of mlo vdev
|
||||
* @num_mlo: Pointer to number of mlo link, this function will fill this with
|
||||
* number of mlo links
|
||||
@@ -4353,7 +4353,7 @@ bool policy_mgr_is_mlo_in_mode_sbs(struct wlan_objmgr_psoc *psoc,
|
||||
* policy_mgr_is_mlo_in_mode_dbs() - Check whether MLO present is DBS
|
||||
* @psoc: PSOC object information
|
||||
* @mode: mlo mode to check
|
||||
* @mlo_vdev_lst: Pointer to mlo vdev list, this function wil fill this with
|
||||
* @mlo_vdev_lst: Pointer to mlo vdev list, this function will fill this with
|
||||
* list of mlo vdev
|
||||
* @num_mlo: Pointer to number of mlo link, this function will fill this with
|
||||
* number of mlo links
|
||||
@@ -4368,7 +4368,7 @@ bool policy_mgr_is_mlo_in_mode_dbs(struct wlan_objmgr_psoc *psoc,
|
||||
/**
|
||||
* policy_mgr_is_mlo_in_mode_emlsr() - Check whether current connection is eMLSR
|
||||
* @psoc: PSOC object information
|
||||
* @mlo_vdev_lst: Pointer to mlo vdev list, this function wil fill this with
|
||||
* @mlo_vdev_lst: Pointer to mlo vdev list, this function will fill this with
|
||||
* list of mlo vdev
|
||||
* @num_mlo: Pointer to number of mlo link, this function will fill this with
|
||||
* number of mlo links
|
||||
|
@@ -94,7 +94,7 @@ typedef int (*send_mode_change_event_cb)(void);
|
||||
* @CSA_REASON_CHAN_DISABLED: channel is disabled
|
||||
* @CSA_REASON_CHAN_PASSIVE: channel is passive
|
||||
* @CSA_REASON_GO_BSS_STARED: P2P go started
|
||||
* @CSA_REASON_SAP_ACS: 2.4 GHz perferred SAP ACS starting
|
||||
* @CSA_REASON_SAP_ACS: 2.4 GHz preferred SAP ACS starting
|
||||
* @CSA_REASON_SAP_FIX_CH_CONC_WITH_GO: SAP fix channel start
|
||||
* and move GO to other band
|
||||
*/
|
||||
|
@@ -1332,7 +1332,7 @@ QDF_STATUS policy_mgr_next_actions(
|
||||
case PM_DOWNGRADE:
|
||||
/*
|
||||
* check if we have a beaconing entity that advertised 2x2
|
||||
* intially. If yes, update the beacon template & notify FW.
|
||||
* initially. If yes, update the beacon template & notify FW.
|
||||
*/
|
||||
status = policy_mgr_nss_update(psoc, POLICY_MGR_RX_NSS_1,
|
||||
PM_NOP, POLICY_MGR_ANY, reason,
|
||||
@@ -1341,7 +1341,7 @@ QDF_STATUS policy_mgr_next_actions(
|
||||
case PM_UPGRADE:
|
||||
/*
|
||||
* check if we have a beaconing entity that advertised 2x2
|
||||
* intially. If yes, update the beacon template & notify FW.
|
||||
* initially. If yes, update the beacon template & notify FW.
|
||||
*/
|
||||
status = policy_mgr_nss_update(psoc, POLICY_MGR_RX_NSS_2,
|
||||
PM_NOP, POLICY_MGR_ANY, reason,
|
||||
|
@@ -667,7 +667,7 @@ void policy_mgr_update_conc_list(struct wlan_objmgr_psoc *psoc,
|
||||
* policy_mgr_store_and_del_conn_info() - Store and del a connection info
|
||||
* @mode: Mode whose entry has to be deleted
|
||||
* @all_matching_cxn_to_del: All the specified mode entries should be deleted
|
||||
* @info: Struture array pointer where the connection info will be saved
|
||||
* @info: Structure array pointer where the connection info will be saved
|
||||
* @num_cxn_del: Number of connection which are going to be deleted
|
||||
*
|
||||
* Saves the connection info corresponding to the provided mode
|
||||
@@ -1413,7 +1413,7 @@ policy_mgr_dump_dual_mac_concurrency(struct policy_mgr_psoc_priv_obj *pm_ctx,
|
||||
}
|
||||
|
||||
for (i = 0; i < MAX_NUMBER_OF_CONC_CONNECTIONS; i++) {
|
||||
/* in_use flag is required to be checked becuse vdev bit
|
||||
/* in_use flag is required to be checked because vdev bit
|
||||
* mask will be 0 for 4th bit if only 3 port concurrency is
|
||||
* present on a hardware that can support 4 port concurrency
|
||||
*/
|
||||
@@ -3180,7 +3180,7 @@ QDF_STATUS policy_mgr_get_channel_list(struct wlan_objmgr_psoc *psoc,
|
||||
|
||||
channel_list_5[chan_index_5++] = channel_list[i];
|
||||
} else if (wlan_reg_is_6ghz_chan_freq(channel_list[i])) {
|
||||
/* Add to 5G list untill 6G conc support is enabled */
|
||||
/* Add to 5G list until 6G conc support is enabled */
|
||||
channel_list_6[chan_index_6++] = channel_list[i];
|
||||
}
|
||||
}
|
||||
@@ -3708,7 +3708,7 @@ QDF_STATUS policy_mgr_get_channel_list(struct wlan_objmgr_psoc *psoc,
|
||||
channel_list_6, chan_index_6,
|
||||
POLICY_MGR_PCL_ORDER_SCC_5G_LOW_5G_LOW);
|
||||
/*
|
||||
* If no 2.4 GHZ connetcion is present and If 2.4 GHZ is shared
|
||||
* If no 2.4 GHZ connection is present and If 2.4 GHZ is shared
|
||||
* with 5 GHz low freq then 2.4 GHz can be added as well
|
||||
*/
|
||||
if (!policy_mgr_2ghz_connection_present(pm_ctx) &&
|
||||
@@ -3729,7 +3729,7 @@ QDF_STATUS policy_mgr_get_channel_list(struct wlan_objmgr_psoc *psoc,
|
||||
channel_list_6, chan_index_6,
|
||||
POLICY_MGR_PCL_ORDER_SCC_5G_HIGH_5G_HIGH);
|
||||
/*
|
||||
* If no 2.4 GHZ connetcion is present and if 2.4 GHZ is shared
|
||||
* If no 2.4 GHZ connection is present and if 2.4 GHZ is shared
|
||||
* with 5 GHz High freq then 2.4 GHz can be added as well
|
||||
*/
|
||||
if (!policy_mgr_2ghz_connection_present(pm_ctx) &&
|
||||
@@ -4126,7 +4126,7 @@ policy_mgr_get_pref_force_scc_freq(struct wlan_objmgr_psoc *psoc,
|
||||
* @vdev_id: vdev id of SAP/GO
|
||||
* @intf_ch_freq: interference channel frequency
|
||||
* @sap_ch_freq: SAP/GO current home channel frequency
|
||||
* @acs_band: acs band perference
|
||||
* @acs_band: acs band preference
|
||||
* @allow_6ghz: interface supports 6Ghz band
|
||||
*
|
||||
* This function gets the force SCC channel in 3 connections case.
|
||||
@@ -4174,7 +4174,7 @@ policy_mgr_check_force_scc_two_connection(struct wlan_objmgr_psoc *psoc,
|
||||
* 5Ghz 5Ghz(SBS) 5Ghz Force SCC to one of 5Ghz
|
||||
* 5Ghz 5Ghz(SMM) 2Ghz Start on 2.4Ghz
|
||||
* 5Ghz 5Ghz(SMM) 5Ghz Allow SAP on sap_ch_freq if all
|
||||
* 3, 5Ghz freq does't end up
|
||||
* 3, 5Ghz freq doesn't end up
|
||||
* on same mac, ie 2 of them lead
|
||||
* to SBS. Else force SCC on
|
||||
* one of the freq (3 home channel
|
||||
@@ -4276,7 +4276,7 @@ policy_mgr_check_force_scc_two_connection(struct wlan_objmgr_psoc *psoc,
|
||||
* -------------------------------------------------
|
||||
* 5Ghz 5Ghz(SMM) 5Ghz Allow SAP on sap_ch_freq
|
||||
* if all 3, 5Ghz freq
|
||||
* does't end up, on same
|
||||
* doesn't end up, on same
|
||||
* mac, ie 2 of them lead
|
||||
* to SBS, ie at least one
|
||||
* of them is high 5Ghz and
|
||||
|
@@ -3588,7 +3588,7 @@ policy_mgr_ml_link_vdev_need_to_be_disabled(struct wlan_objmgr_psoc *psoc,
|
||||
|
||||
conc_ext_flags.value = policy_mgr_get_conc_ext_flags(vdev, false);
|
||||
/*
|
||||
* For non-assoc link vdev set link as disabled if concurency is
|
||||
* For non-assoc link vdev set link as disabled if concurrency is
|
||||
* not allowed
|
||||
*/
|
||||
return !policy_mgr_is_concurrency_allowed(psoc, PM_STA_MODE,
|
||||
@@ -3787,7 +3787,7 @@ void policy_mgr_incr_active_session(struct wlan_objmgr_psoc *psoc,
|
||||
}
|
||||
|
||||
/*
|
||||
* Need to aquire mutex as entire functionality in this function
|
||||
* Need to acquire mutex as entire functionality in this function
|
||||
* is in critical section
|
||||
*/
|
||||
qdf_mutex_acquire(&pm_ctx->qdf_conc_list_lock);
|
||||
@@ -5314,7 +5314,7 @@ policy_mgr_get_concurrent_num_links(struct wlan_objmgr_vdev *vdev,
|
||||
}
|
||||
|
||||
static void
|
||||
policy_mgr_ml_sta_concurency_on_connect(struct wlan_objmgr_psoc *psoc,
|
||||
policy_mgr_ml_sta_concurrency_on_connect(struct wlan_objmgr_psoc *psoc,
|
||||
struct wlan_objmgr_vdev *vdev,
|
||||
uint8_t num_ml, uint8_t *ml_idx,
|
||||
uint8_t num_non_ml, uint8_t *non_ml_idx,
|
||||
@@ -5481,10 +5481,10 @@ policy_mgr_handle_ml_sta_link_concurrency(struct wlan_objmgr_psoc *psoc,
|
||||
* secondary STA switch happens to a new channel due to CSA
|
||||
*/
|
||||
|
||||
policy_mgr_ml_sta_concurency_on_connect(psoc, vdev, num_ml,
|
||||
ml_idx, num_non_ml,
|
||||
non_ml_idx, freq_list,
|
||||
vdev_id_list);
|
||||
policy_mgr_ml_sta_concurrency_on_connect(psoc, vdev, num_ml,
|
||||
ml_idx, num_non_ml,
|
||||
non_ml_idx, freq_list,
|
||||
vdev_id_list);
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
@@ -5549,7 +5549,7 @@ policy_mgr_get_affected_links_for_go_sap_cli(struct wlan_objmgr_psoc *psoc,
|
||||
/* Continue if SCC */
|
||||
if (ml_freq_lst[i] == p2p_sap_freq_lst[k])
|
||||
continue;
|
||||
/* Continue if high tput ot low latency is not set */
|
||||
/* Continue if high tput or low latency is not set */
|
||||
if (!policy_mgr_is_vdev_high_tput_or_low_latency(psoc,
|
||||
p2p_sap_vdev_lst[k]))
|
||||
continue;
|
||||
@@ -5946,7 +5946,7 @@ policy_mgr_handle_ml_sta_link_enable_on_sta_down(struct wlan_objmgr_psoc *psoc,
|
||||
num_ml_sta, ml_freq_lst,
|
||||
ml_sta_vdev_lst)) {
|
||||
if (num_disabled_ml_sta)
|
||||
policy_mgr_debug("Not reenabled due to disallowed concurrency");
|
||||
policy_mgr_debug("Not re-enabled due to disallowed concurrency");
|
||||
goto done;
|
||||
}
|
||||
|
||||
@@ -7086,7 +7086,7 @@ bool policy_mgr_scan_trim_5g_chnls_for_dfs_ap(struct wlan_objmgr_psoc *psoc)
|
||||
}
|
||||
|
||||
/*
|
||||
* 1) if agile & DFS scans are supportet
|
||||
* 1) if agile & DFS scans are supported
|
||||
* 2) if hardware is DBS capable
|
||||
* 3) if current hw mode is non-dbs
|
||||
* if all above 3 conditions are true then don't skip any
|
||||
@@ -8538,7 +8538,7 @@ bool policy_mgr_is_restart_sap_required(struct wlan_objmgr_psoc *psoc,
|
||||
* STA moves back to 5 GHZ non indoor/non DFS channel
|
||||
*
|
||||
* Now SAP has to move to STA 5 GHz channel if SAP
|
||||
* was started on 5 GHz channel initialy.
|
||||
* was started on 5 GHz channel initially.
|
||||
*/
|
||||
user_config_freq =
|
||||
policy_mgr_get_user_config_sap_freq(psoc, vdev_id);
|
||||
|
@@ -474,7 +474,7 @@ policy_mgr_reg_chan_change_callback(struct wlan_objmgr_psoc *psoc,
|
||||
}
|
||||
|
||||
/*
|
||||
* The ch_list buffer can accomadate a maximum of
|
||||
* The ch_list buffer can accommodate a maximum of
|
||||
* NUM_CHANNELS and hence the ch_cnt should also not
|
||||
* exceed NUM_CHANNELS.
|
||||
*/
|
||||
@@ -573,7 +573,7 @@ void policy_mgr_update_with_safe_channel_list(struct wlan_objmgr_psoc *psoc,
|
||||
}
|
||||
if (is_unsafe && scc_on_lte_coex &&
|
||||
policy_mgr_is_sta_sap_scc(psoc, current_channel_list[i])) {
|
||||
policy_mgr_debug("CH %d unsafe ingored when STA present on it",
|
||||
policy_mgr_debug("CH %d unsafe ignored when STA present on it",
|
||||
current_channel_list[i]);
|
||||
is_unsafe = 0;
|
||||
}
|
||||
@@ -913,7 +913,7 @@ policy_mgr_modify_pcl_based_on_indoor(struct wlan_objmgr_psoc *psoc,
|
||||
include_indoor_channel = true;
|
||||
|
||||
if (include_indoor_channel) {
|
||||
policy_mgr_debug("Indoor channels allowed. PCL not modifed for indoor channels");
|
||||
policy_mgr_debug("Indoor channels allowed. PCL not modified for indoor channels");
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
@@ -2593,7 +2593,7 @@ static void policy_mgr_get_index_for_3_given_freq_sbs(
|
||||
if (policy_mgr_2_freq_same_mac_in_sbs(pm_ctx, freq1, freq2)) {
|
||||
/*
|
||||
* If freq1 is 2.4 GHZ that mean freq2 is 5 / 6 GHZ.
|
||||
* so take desision using freq2.
|
||||
* so take decision using freq2.
|
||||
*/
|
||||
if (WLAN_REG_IS_24GHZ_CH_FREQ(freq1))
|
||||
shared_5_ghz_freq = freq2;
|
||||
@@ -2603,7 +2603,7 @@ static void policy_mgr_get_index_for_3_given_freq_sbs(
|
||||
} else if (policy_mgr_2_freq_same_mac_in_sbs(pm_ctx, freq2, freq3)) {
|
||||
/*
|
||||
* If freq2 is 2.4 GHZ that mean freq3 is 5 / 6 GHZ.
|
||||
* so take desision using freq3.
|
||||
* so take decision using freq3.
|
||||
*/
|
||||
if (WLAN_REG_IS_24GHZ_CH_FREQ(freq2))
|
||||
shared_5_ghz_freq = freq3;
|
||||
@@ -2613,7 +2613,7 @@ static void policy_mgr_get_index_for_3_given_freq_sbs(
|
||||
} else if (policy_mgr_2_freq_same_mac_in_sbs(pm_ctx, freq3, freq1)) {
|
||||
/*
|
||||
* If freq1 is 2.4 GHZ that mean freq3 is 5 / 6 GHZ.
|
||||
* so take desision using freq3.
|
||||
* so take decision using freq3.
|
||||
*/
|
||||
if (WLAN_REG_IS_24GHZ_CH_FREQ(freq1))
|
||||
shared_5_ghz_freq = freq3;
|
||||
|
Reference in New Issue
Block a user