qcacld-3.0: components: tdls: Fix misspellings

Fix misspellings in components/tdls/...

Change-Id: I33aea84441f7eea0fca2d62df21cf8fa1846a18e
CRs-Fixed: 3303633
This commit is contained in:
Jeff Johnson
2022-09-29 14:23:41 -07:00
committed by Madan Koyyalamudi
parent 40bb864498
commit 17fc1e0890
8 changed files with 26 additions and 25 deletions

View File

@@ -127,7 +127,7 @@ void tdls_update_6g_power(struct wlan_objmgr_vdev *vdev,
/* /*
* Since, 8 TDLS peers can be connected. If connected peer already * Since, 8 TDLS peers can be connected. If connected peer already
* exist then no need to set the power again. * exist then no need to set the power again.
* Similarily, for disconnection case, this function is called after * Similarly, for disconnection case, this function is called after
* just after connected peer count is decreased. If connected peer * just after connected peer count is decreased. If connected peer
* count exist after decrement of peer count that mean another peer * count exist after decrement of peer count that mean another peer
* exist and then no need to reset the BSS power. * exist and then no need to reset the BSS power.
@@ -218,7 +218,7 @@ void tdls_decrement_peer_count(struct wlan_objmgr_vdev *vdev,
* Offchannel is allowed only when TDLS is connected with one peer. * Offchannel is allowed only when TDLS is connected with one peer.
* If more than one peer is connected then Offchannel is disabled by * If more than one peer is connected then Offchannel is disabled by
* WMI_TDLS_SET_OFFCHAN_MODE_CMDID with DISABLE_CHANSWITCH. * WMI_TDLS_SET_OFFCHAN_MODE_CMDID with DISABLE_CHANSWITCH.
* Hence, re-enable offchannel when only one conencted peer is left. * Hence, re-enable offchannel when only one connected peer is left.
*/ */
if (soc_obj->connected_peer_count == 1) if (soc_obj->connected_peer_count == 1)
tdls_set_tdls_offchannelmode(vdev, ENABLE_CHANSWITCH); tdls_set_tdls_offchannelmode(vdev, ENABLE_CHANSWITCH);
@@ -1812,7 +1812,7 @@ QDF_STATUS tdls_process_enable_link(struct tdls_oper_request *req)
* WMI_TDLS_SET_OFFCHAN_MODE_CMDID with DISABLE_CHANSWITCH. * WMI_TDLS_SET_OFFCHAN_MODE_CMDID with DISABLE_CHANSWITCH.
* So, basically when the 2nd peer enable_link is there, offchannel * So, basically when the 2nd peer enable_link is there, offchannel
* should be disabled and will remain disabled for all subsequent * should be disabled and will remain disabled for all subsequent
* TDLS peer conenction. * TDLS peer connection.
* Offchannel will be re-enabled when connected peer count again * Offchannel will be re-enabled when connected peer count again
* becomes 1. * becomes 1.
*/ */

View File

@@ -128,7 +128,7 @@ void tdls_reset_nss(struct tdls_soc_priv_obj *tdls_soc,
/** /**
* tdls_release_serialization_command() - TDLS wrapper to * tdls_release_serialization_command() - TDLS wrapper to
* relases serialization command. * releases serialization command.
* @vdev: Object manager vdev * @vdev: Object manager vdev
* @type: command to release. * @type: command to release.
* *

View File

@@ -261,7 +261,7 @@ struct tdls_soc_priv_obj {
* @vdev: vdev objmgr object * @vdev: vdev objmgr object
* @peer_list: tdls peer list on this vdev * @peer_list: tdls peer list on this vdev
* @peer_update_timer: connection tracker timer * @peer_update_timer: connection tracker timer
* @peer_dicovery_timer: peer discovery timer * @peer_discovery_timer: peer discovery timer
* @threshold_config: threshold config * @threshold_config: threshold config
* @discovery_peer_cnt: discovery peer count * @discovery_peer_cnt: discovery peer count
* @discovery_sent_cnt: discovery sent count * @discovery_sent_cnt: discovery sent count
@@ -307,7 +307,7 @@ struct tdls_peer_mlme_info {
* @tdls_support: tdls support * @tdls_support: tdls support
* @link_status: tdls link status * @link_status: tdls link status
* @is_responder: is responder * @is_responder: is responder
* @discovery_processed: dicovery processed * @discovery_processed: discovery processed
* @discovery_attempt: discovery attempt * @discovery_attempt: discovery attempt
* @tx_pkt: tx packet * @tx_pkt: tx packet
* @rx_pkt: rx packet * @rx_pkt: rx packet
@@ -671,13 +671,13 @@ void tdls_send_update_to_fw(struct tdls_vdev_priv_obj *tdls_vdev_obj,
void tdls_notify_increment_session(struct wlan_objmgr_psoc *psoc); void tdls_notify_increment_session(struct wlan_objmgr_psoc *psoc);
/** /**
* tdls_get_6g_pwr_for_power_type() - get power for a 6g freq for paticular * tdls_get_6g_pwr_for_power_type() - get power for a 6g freq for particular
* power type * power type
* @vdev: vdev object * @vdev: vdev object
* @freq: 6g freq * @freq: 6g freq
* @pwr_typ: power type * @pwr_typ: power type
* *
* Function that gets power for a 6g freq for paticular power type * Function that gets power for a 6g freq for particular power type
* *
* Return: true or false * Return: true or false
*/ */

View File

@@ -164,7 +164,7 @@ qdf_freq_t tdls_get_offchan_freq(struct wlan_objmgr_vdev *vdev,
pref_non6g_ch = soc_obj->tdls_configs.tdls_pre_off_chan_num; pref_non6g_ch = soc_obj->tdls_configs.tdls_pre_off_chan_num;
/* /*
* Fill preffered offchannel frequency here. If TDLS on 6 GHz is * Fill preferred offchannel frequency here. If TDLS on 6 GHz is
* allowed then fill pref 6 GHz frequency * allowed then fill pref 6 GHz frequency
* Otherwise, fill 5 GHz preferred frequency * Otherwise, fill 5 GHz preferred frequency
*/ */
@@ -856,10 +856,10 @@ static void tdls_update_off_chan_peer_caps(struct tdls_vdev_priv_obj *vdev_obj,
* Update Pref Offcahnnel BW such that: * Update Pref Offcahnnel BW such that:
* 1. If 6 GHz is supported then select the ini preferred 6 GHz channel * 1. If 6 GHz is supported then select the ini preferred 6 GHz channel
* frequency. * frequency.
* 2. If 6 GHz is supported and peer doesn't support the ini preffered * 2. If 6 GHz is supported and peer doesn't support the ini preferred
* channel frequency then select the very first 6 GHz channel which * channel frequency then select the very first 6 GHz channel which
* peer supports as prefferd offchannel. * peer supports as prefferd offchannel.
* 3. If peer doesn't support 6 GHz, then select ini preffered 5 GHz * 3. If peer doesn't support 6 GHz, then select ini preferred 5 GHz
* off channel frequency, given that peer should also support it * off channel frequency, given that peer should also support it
* 4. If peer doesn support 6 GHz and also doesn't support ini preferred * 4. If peer doesn support 6 GHz and also doesn't support ini preferred
* 5 GHz offcahnnel, then select the very first 5 GHz channel it * 5 GHz offcahnnel, then select the very first 5 GHz channel it

View File

@@ -124,11 +124,11 @@ struct tdls_peer *tdls_is_progress(struct tdls_vdev_priv_obj *vdev_obj,
const uint8_t *macaddr, uint8_t skip_self); const uint8_t *macaddr, uint8_t skip_self);
/** /**
* tdls_get_offchan_freq() - Get preffered offchannel frequency * tdls_get_offchan_freq() - Get preferred offchannel frequency
* @vdev: Pointer to vdev * @vdev: Pointer to vdev
* @soc_obj: TDLS SOC object * @soc_obj: TDLS SOC object
* *
* This function gets preffered offchannel frequency. * This function gets preferred offchannel frequency.
* *
* Return: Preferred offchannel frequency * Return: Preferred offchannel frequency
*/ */
@@ -136,13 +136,13 @@ qdf_freq_t tdls_get_offchan_freq(struct wlan_objmgr_vdev *vdev,
struct tdls_soc_priv_obj *soc_obj); struct tdls_soc_priv_obj *soc_obj);
/** /**
* tdls_get_offchan_freq() - Get preffered offchannel bandwidth on basis of * tdls_get_offchan_freq() - Get preferred offchannel bandwidth on basis of
* frequency * frequency
* @soc_obj: TDLS SOC object * @soc_obj: TDLS SOC object
* @off_chan_freq: Offchannel frequency * @off_chan_freq: Offchannel frequency
* *
* *
* This function gets preffered offchannel bandwidth on basis of frequency. * This function gets preferred offchannel bandwidth on basis of frequency.
* *
* Return: Preferred offchannel bw * Return: Preferred offchannel bw
*/ */

View File

@@ -20,7 +20,7 @@
/** /**
* DOC: wlan_tdls_public_structs.h * DOC: wlan_tdls_public_structs.h
* *
* TDLS public structure definations * TDLS public structure definitions
*/ */
#ifndef _WLAN_TDLS_STRUCTS_H_ #ifndef _WLAN_TDLS_STRUCTS_H_
@@ -260,7 +260,7 @@ enum tdls_command_type {
* @TDLS_EVENT_RX_MGMT: rx discovery response frame * @TDLS_EVENT_RX_MGMT: rx discovery response frame
* @TDLS_EVENT_ADD_PEER: add peer or update peer * @TDLS_EVENT_ADD_PEER: add peer or update peer
* @TDLS_EVENT_DEL_PEER: delete peer * @TDLS_EVENT_DEL_PEER: delete peer
* @TDLS_EVENT_DISCOVERY_REQ: dicovery request * @TDLS_EVENT_DISCOVERY_REQ: discovery request
* @TDLS_EVENT_TEARDOWN_REQ: teardown request * @TDLS_EVENT_TEARDOWN_REQ: teardown request
* @TDLS_EVENT_SETUP_REQ: setup request * @TDLS_EVENT_SETUP_REQ: setup request
* @TDLS_EVENT_TEARDOWN_LINKS_DONE: teardown completion event * @TDLS_EVENT_TEARDOWN_LINKS_DONE: teardown completion event
@@ -991,7 +991,7 @@ struct tdls_peer_update_state {
* struct tdls_channel_switch_params - channel switch parameter structure * struct tdls_channel_switch_params - channel switch parameter structure
* @vdev_id: vdev ID * @vdev_id: vdev ID
* @peer_mac_addr: Peer mac address * @peer_mac_addr: Peer mac address
* @tdls_off_ch_bw_offset: Target off-channel bandwitdh offset * @tdls_off_ch_bw_offset: Target off-channel bandwidth offset
* @tdls_off_ch: Target Off Channel * @tdls_off_ch: Target Off Channel
* @oper_class: Operating class for target channel * @oper_class: Operating class for target channel
* @is_responder: Responder or initiator * @is_responder: Responder or initiator
@@ -1063,7 +1063,7 @@ struct tdls_event_notify {
* @peer_mac: peer's mac address * @peer_mac: peer's mac address
* @frame_type: Type of TDLS mgmt frame to be sent * @frame_type: Type of TDLS mgmt frame to be sent
* @dialog: dialog token used in the frame. * @dialog: dialog token used in the frame.
* @status_code: status to be incuded in the frame * @status_code: status to be included in the frame
* @responder: Tdls request type * @responder: Tdls request type
* @peer_capability: peer cpabilities * @peer_capability: peer cpabilities
* @len: length of additional Ies * @len: length of additional Ies
@@ -1317,7 +1317,7 @@ struct tdls_del_sta_rsp {
* @session_id: session id * @session_id: session id
* @req_type: type of action frame * @req_type: type of action frame
* @dialog: dialog token used in the frame. * @dialog: dialog token used in the frame.
* @status_code: status to be incuded in the frame. * @status_code: status to be included in the frame.
* @responder: tdls request type * @responder: tdls request type
* @peer_capability: peer capability information * @peer_capability: peer capability information
* @bssid: bssid * @bssid: bssid

View File

@@ -1,5 +1,6 @@
/* /*
* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
* *
* Permission to use, copy, modify, and/or distribute this software for * Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the * any purpose with or without fee is hereby granted, provided that the
@@ -59,7 +60,7 @@ QDF_STATUS tgt_tdls_set_offchan_mode(struct wlan_objmgr_psoc *psoc,
/** /**
* tgt_tdls_send_mgmt_rsp() - process tdls mgmt response * tgt_tdls_send_mgmt_rsp() - process tdls mgmt response
* @pmsg: sheduler msg * @pmsg: scheduler msg
* *
* Return: QDF_STATUS * Return: QDF_STATUS
*/ */
@@ -67,7 +68,7 @@ QDF_STATUS tgt_tdls_send_mgmt_rsp(struct scheduler_msg *pmsg);
/** /**
* tgt_tdls_send_mgmt_tx_completion() -process tx completion message * tgt_tdls_send_mgmt_tx_completion() -process tx completion message
* @pmsg: sheduler msg * @pmsg: scheduler msg
* *
* Return: QDF_STATUS * Return: QDF_STATUS
*/ */
@@ -75,7 +76,7 @@ QDF_STATUS tgt_tdls_send_mgmt_tx_completion(struct scheduler_msg *pmsg);
/** /**
* tgt_tdls_del_peer_rsp() - handle TDLS del peer response * tgt_tdls_del_peer_rsp() - handle TDLS del peer response
* @pmsg: sheduler msg * @pmsg: scheduler msg
* *
* Return: QDF_STATUS * Return: QDF_STATUS
*/ */
@@ -83,7 +84,7 @@ QDF_STATUS tgt_tdls_del_peer_rsp(struct scheduler_msg *pmsg);
/** /**
* tgt_tdls_add_peer_rsp() - handle TDLS add peer response * tgt_tdls_add_peer_rsp() - handle TDLS add peer response
* @pmsg: sheduler msg * @pmsg: scheduler msg
* *
* Return: QDF_STATUS * Return: QDF_STATUS
*/ */

View File

@@ -172,7 +172,7 @@ return false;
QDF_STATUS ucfg_tdls_psoc_enable(struct wlan_objmgr_psoc *psoc); QDF_STATUS ucfg_tdls_psoc_enable(struct wlan_objmgr_psoc *psoc);
/** /**
* ucfg_tdls_psoc_disable() - TDLS moudle disable API * ucfg_tdls_psoc_disable() - TDLS module disable API
* @psoc: psoc object * @psoc: psoc object
* *
* Return: QDF_STATUS * Return: QDF_STATUS