|
@@ -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 -
|