diff --git a/umac/mlo_mgr/inc/wlan_mlo_mgr_msgq.h b/umac/mlo_mgr/inc/wlan_mlo_mgr_msgq.h index 0334cf42c1..0ab1a8bfef 100644 --- a/umac/mlo_mgr/inc/wlan_mlo_mgr_msgq.h +++ b/umac/mlo_mgr/inc/wlan_mlo_mgr_msgq.h @@ -150,7 +150,7 @@ struct mlo_ctxt_switch_msg_s { * @ml_dev: MLO dev context * @payload: msg buf * - * This function post message to defer conext queue for defer processing + * This function post message to defer context queue for defer processing * * Return: SUCCESS if msg is posted */ diff --git a/umac/mlo_mgr/inc/wlan_mlo_mgr_peer.h b/umac/mlo_mgr/inc/wlan_mlo_mgr_peer.h index 53cf3874a0..c06c5d00ca 100644 --- a/umac/mlo_mgr/inc/wlan_mlo_mgr_peer.h +++ b/umac/mlo_mgr/inc/wlan_mlo_mgr_peer.h @@ -382,7 +382,7 @@ typedef QDF_STATUS (*wlan_mlo_op_handler)(struct wlan_mlo_dev_context *ml_dev, * @ml_dev: MLO DEV object * @handler: the handler will be called for each ml peer * the handler should be implemented to perform required operation - * @arg: agruments passed by caller + * @arg: arguments passed by caller * * API to be used for performing the operations on all ML PEER objects * diff --git a/umac/mlo_mgr/inc/wlan_mlo_mgr_public_structs.h b/umac/mlo_mgr/inc/wlan_mlo_mgr_public_structs.h index 2b607ebfc7..d4cf5cb61b 100644 --- a/umac/mlo_mgr/inc/wlan_mlo_mgr_public_structs.h +++ b/umac/mlo_mgr/inc/wlan_mlo_mgr_public_structs.h @@ -609,7 +609,7 @@ struct wlan_mlo_mld_cap { * @mlo_peer_id: unique ID for the peer * @peer_mld_addr: MAC address of MLD link * @mlo_ie: MLO IE struct - * @mlo_peer_lock: lock to access peer strucutre + * @mlo_peer_lock: lock to access peer structure * @assoc_id: Assoc ID derived by MLO manager * @ref_cnt: Reference counter to avoid use after free * @ml_dev: MLO dev context @@ -729,7 +729,7 @@ struct mlo_tgt_partner_info { * @mlo_mlme_ext_peer_assoc_fail: Callback to notify peer assoc failure * @mlo_mlme_ext_peer_delete: Callback to initiate link peer delete * @mlo_mlme_ext_assoc_resp: Callback to initiate assoc resp - * @mlo_mlme_get_link_assoc_req: Calback to get link assoc req buffer + * @mlo_mlme_get_link_assoc_req: Callback to get link assoc req buffer * @mlo_mlme_ext_deauth: Callback to initiate deauth * @mlo_mlme_ext_clone_security_param: Callback to clone mlo security params * @mlo_mlme_ext_peer_process_auth: Callback to process pending auth diff --git a/umac/mlo_mgr/inc/wlan_mlo_mgr_sta.h b/umac/mlo_mgr/inc/wlan_mlo_mgr_sta.h index 078febac10..a79ed32fba 100644 --- a/umac/mlo_mgr/inc/wlan_mlo_mgr_sta.h +++ b/umac/mlo_mgr/inc/wlan_mlo_mgr_sta.h @@ -176,7 +176,7 @@ typedef void (*mlo_vdev_op_handler)(struct wlan_objmgr_vdev *vdev, * * @vdev: vdev object * @handler: the handler will be called for each object in ML list - * @arg: argumet to be passed to handler + * @arg: argument to be passed to handler * * Return: none */ @@ -395,7 +395,7 @@ void mlo_get_assoc_rsp(struct wlan_objmgr_vdev *vdev, * mlo_sta_save_quiet_status - save quiet status for given link of mlo station * @mlo_dev_ctx: mlo context * @link_id: link id - * @quiet_status: True if quiet starts. False if quiet stopps. + * @quiet_status: True if quiet starts. False if quiet stops. * * Return: QDF_STATUS */ diff --git a/umac/mlo_mgr/src/utils_mlo.c b/umac/mlo_mgr/src/utils_mlo.c index 44367b2465..1fd014c877 100644 --- a/umac/mlo_mgr/src/utils_mlo.c +++ b/umac/mlo_mgr/src/utils_mlo.c @@ -1081,7 +1081,7 @@ QDF_STATUS util_get_noninheritlists(uint8_t *buff, qdf_size_t buff_len, uint8_t *ninherit_ie; qdf_size_t unparsed_len; - /* Note: This funtionality provided by this helper may be combined with + /* Note: This functionality provided by this helper may be combined with * other, older non-inheritance parsing helper functionality and exposed * as a common API as part of future efforts once the older * functionality can be made generic. @@ -1236,7 +1236,7 @@ QDF_STATUS util_eval_ie_in_noninheritlist(uint8_t *ie, qdf_size_t total_ie_len, * should ignore it. */ - /* Note: The funtionality provided by this helper may be combined with + /* Note: The functionality provided by this helper may be combined with * other, older non-inheritance parsing helper functionality and exposed * as a common API as part of future efforts once the older * functionality can be made generic. @@ -1497,7 +1497,7 @@ QDF_STATUS util_gen_link_reqrsp_cmn(uint8_t *frame, qdf_size_t frame_len, /* Pointer to Multi-Link element/Multi-Link element fragment sequence */ uint8_t *mlieseq; - /* Total length of Multi-Link element sequence (including fragements if + /* Total length of Multi-Link element sequence (including fragments if * any) */ qdf_size_t mlieseqlen; @@ -1965,7 +1965,7 @@ QDF_STATUS util_gen_link_reqrsp_cmn(uint8_t *frame, qdf_size_t frame_len, link_frame_currlen = 0; if (link_frame_maxsize < WLAN_MAC_HDR_LEN_3A) { - mlo_err("Insufficent space in link specific frame for 802.11 header. Required: %u octets, available: %zu octets", + mlo_err("Insufficient space in link specific frame for 802.11 header. Required: %u octets, available: %zu octets", WLAN_MAC_HDR_LEN_3A, link_frame_maxsize); qdf_mem_free(mlieseqpayload_copy); @@ -1994,7 +1994,7 @@ QDF_STATUS util_gen_link_reqrsp_cmn(uint8_t *frame, qdf_size_t frame_len, if ((link_frame_maxsize - link_frame_currlen) < WLAN_CAPABILITYINFO_LEN) { - mlo_err("Insufficent space in link specific frame for Capability Info field. Required: %u octets, available: %zu octets", + mlo_err("Insufficient space in link specific frame for Capability Info field. Required: %u octets, available: %zu octets", WLAN_CAPABILITYINFO_LEN, (link_frame_maxsize - link_frame_currlen)); @@ -2006,7 +2006,7 @@ QDF_STATUS util_gen_link_reqrsp_cmn(uint8_t *frame, qdf_size_t frame_len, WLAN_CAPABILITYINFO_LEN); link_frame_currpos += WLAN_CAPABILITYINFO_LEN; link_frame_currlen += WLAN_CAPABILITYINFO_LEN; - mlo_debug("Added Capablity Info field (%u octets) to link specific frame", + mlo_debug("Added Capability Info field (%u octets) to link specific frame", WLAN_CAPABILITYINFO_LEN); sta_prof_currpos += WLAN_CAPABILITYINFO_LEN; @@ -2018,7 +2018,7 @@ QDF_STATUS util_gen_link_reqrsp_cmn(uint8_t *frame, qdf_size_t frame_len, if ((link_frame_maxsize - link_frame_currlen) < WLAN_LISTENINTERVAL_LEN) { - mlo_err("Insufficent space in link specific frame for Listen Interval field. Required: %u octets, available: %zu octets", + mlo_err("Insufficient space in link specific frame for Listen Interval field. Required: %u octets, available: %zu octets", WLAN_LISTENINTERVAL_LEN, (link_frame_maxsize - link_frame_currlen)); @@ -2040,7 +2040,7 @@ QDF_STATUS util_gen_link_reqrsp_cmn(uint8_t *frame, qdf_size_t frame_len, */ if ((link_frame_maxsize - link_frame_currlen) < QDF_MAC_ADDR_SIZE) { - mlo_err("Insufficent space in link specific frame for current AP address. Required: %u octets, available: %zu octets", + mlo_err("Insufficient space in link specific frame for current AP address. Required: %u octets, available: %zu octets", QDF_MAC_ADDR_SIZE, (link_frame_maxsize - link_frame_currlen)); @@ -2080,7 +2080,7 @@ QDF_STATUS util_gen_link_reqrsp_cmn(uint8_t *frame, qdf_size_t frame_len, if ((link_frame_maxsize - link_frame_currlen) < (WLAN_CAPABILITYINFO_LEN + WLAN_STATUSCODE_LEN)) { - mlo_err("Insufficent space in link specific frame for Capability Info and Status Code fields. Required: %u octets, available: %zu octets", + mlo_err("Insufficient space in link specific frame for Capability Info and Status Code fields. Required: %u octets, available: %zu octets", WLAN_CAPABILITYINFO_LEN + WLAN_STATUSCODE_LEN, (link_frame_maxsize - link_frame_currlen)); @@ -2107,7 +2107,7 @@ QDF_STATUS util_gen_link_reqrsp_cmn(uint8_t *frame, qdf_size_t frame_len, */ if ((link_frame_maxsize - link_frame_currlen) < WLAN_AID_LEN) { - mlo_err("Insufficent space in link specific frame for AID field. Required: %u octets, available: %zu octets", + mlo_err("Insufficient space in link specific frame for AID field. Required: %u octets, available: %zu octets", WLAN_AID_LEN, (link_frame_maxsize - link_frame_currlen)); @@ -2129,7 +2129,7 @@ QDF_STATUS util_gen_link_reqrsp_cmn(uint8_t *frame, qdf_size_t frame_len, if ((link_frame_maxsize - link_frame_currlen) < WLAN_TIMESTAMP_LEN) { - mlo_err("Insufficent space in link specific frame for Timestamp Info field. Required: %u octets, available: %zu octets", + mlo_err("Insufficient space in link specific frame for Timestamp Info field. Required: %u octets, available: %zu octets", WLAN_TIMESTAMP_LEN, (link_frame_maxsize - link_frame_currlen)); @@ -2164,7 +2164,7 @@ QDF_STATUS util_gen_link_reqrsp_cmn(uint8_t *frame, qdf_size_t frame_len, */ if ((link_frame_maxsize - link_frame_currlen) < WLAN_BEACONINTERVAL_LEN) { - mlo_err("Insufficent space in link specific frame for Beacon Interval Info field. Required: %u octets, available: %zu octets", + mlo_err("Insufficient space in link specific frame for Beacon Interval Info field. Required: %u octets, available: %zu octets", WLAN_BEACONINTERVAL_LEN, (link_frame_maxsize - link_frame_currlen)); @@ -2194,7 +2194,7 @@ QDF_STATUS util_gen_link_reqrsp_cmn(uint8_t *frame, qdf_size_t frame_len, if ((link_frame_maxsize - link_frame_currlen) < WLAN_CAPABILITYINFO_LEN) { - mlo_err("Insufficent space in link specific frame for Capability Info field. Required: %u octets, available: %zu octets", + mlo_err("Insufficient space in link specific frame for Capability Info field. Required: %u octets, available: %zu octets", WLAN_CAPABILITYINFO_LEN, (link_frame_maxsize - link_frame_currlen)); @@ -2206,7 +2206,7 @@ QDF_STATUS util_gen_link_reqrsp_cmn(uint8_t *frame, qdf_size_t frame_len, WLAN_CAPABILITYINFO_LEN); link_frame_currpos += WLAN_CAPABILITYINFO_LEN; link_frame_currlen += WLAN_CAPABILITYINFO_LEN; - mlo_debug("Added Capablity Info field (%u octets) to link specific frame", + mlo_debug("Added Capability Info field (%u octets) to link specific frame", WLAN_CAPABILITYINFO_LEN); sta_prof_currpos += WLAN_CAPABILITYINFO_LEN; @@ -2376,14 +2376,14 @@ QDF_STATUS util_gen_link_reqrsp_cmn(uint8_t *frame, qdf_size_t frame_len, } } else { if (reportingsta_ie[ID_POS] == WLAN_ELEMID_EXTN_ELEM) { - mlo_err_rl("Insufficent space in link specific frame for IE with element ID : %u extension element ID : %u. Required: %zu octets, available: %zu octets", + mlo_err_rl("Insufficient space in link specific frame for IE with element ID : %u extension element ID : %u. Required: %zu octets, available: %zu octets", reportingsta_ie[ID_POS], reportingsta_ie[IDEXT_POS], reportingsta_ie_size, link_frame_maxsize - link_frame_currlen); } else { - mlo_err_rl("Insufficent space in link specific frame for IE with element ID : %u. Required: %zu octets, available: %zu octets", + mlo_err_rl("Insufficient space in link specific frame for IE with element ID : %u. Required: %zu octets, available: %zu octets", reportingsta_ie[ID_POS], reportingsta_ie_size, link_frame_maxsize - @@ -2474,14 +2474,14 @@ QDF_STATUS util_gen_link_reqrsp_cmn(uint8_t *frame, qdf_size_t frame_len, } else { if (sta_prof_ie[ID_POS] == WLAN_ELEMID_EXTN_ELEM) { - mlo_err_rl("Insufficent space in link specific frame for IE with element ID : %u extension element ID : %u. Required: %zu octets, available: %zu octets", + mlo_err_rl("Insufficient space in link specific frame for IE with element ID : %u extension element ID : %u. Required: %zu octets, available: %zu octets", sta_prof_ie[ID_POS], sta_prof_ie[IDEXT_POS], sta_prof_ie_size, link_frame_maxsize - link_frame_currlen); } else { - mlo_err_rl("Insufficent space in link specific frame for IE with element ID : %u. Required: %zu octets, available: %zu octets", + mlo_err_rl("Insufficient space in link specific frame for IE with element ID : %u. Required: %zu octets, available: %zu octets", sta_prof_ie[ID_POS], sta_prof_ie_size, link_frame_maxsize - @@ -2569,14 +2569,14 @@ QDF_STATUS util_gen_link_reqrsp_cmn(uint8_t *frame, qdf_size_t frame_len, sta_prof_ie[0] = 0; } else { if (sta_prof_ie[ID_POS] == WLAN_ELEMID_EXTN_ELEM) { - mlo_err_rl("Insufficent space in link specific frame for IE with element ID : %u extension element ID : %u. Required: %zu octets, available: %zu octets", + mlo_err_rl("Insufficient space in link specific frame for IE with element ID : %u extension element ID : %u. Required: %zu octets, available: %zu octets", sta_prof_ie[ID_POS], sta_prof_ie[IDEXT_POS], sta_prof_ie_size, link_frame_maxsize - link_frame_currlen); } else { - mlo_err_rl("Insufficent space in link specific frame for IE with element ID : %u. Required: %zu octets, available: %zu octets", + mlo_err_rl("Insufficient space in link specific frame for IE with element ID : %u. Required: %zu octets, available: %zu octets", sta_prof_ie[ID_POS], sta_prof_ie_size, link_frame_maxsize - diff --git a/umac/mlo_mgr/src/wlan_mlo_mgr_cmn.c b/umac/mlo_mgr/src/wlan_mlo_mgr_cmn.c index 009938855c..7cb21e97b4 100644 --- a/umac/mlo_mgr/src/wlan_mlo_mgr_cmn.c +++ b/umac/mlo_mgr/src/wlan_mlo_mgr_cmn.c @@ -468,7 +468,7 @@ mlo_link_set_active(struct wlan_objmgr_psoc *psoc, } /** - * mlo_release_ser_link_set_active_cmd() - relases serialization command for + * mlo_release_ser_link_set_active_cmd() - releases serialization command for * forcing MLO link active/inactive * @vdev: Object manager vdev *