|
@@ -1,5 +1,5 @@
|
|
/*
|
|
/*
|
|
- * Copyright (c) 2012-2019 The Linux Foundation. All rights reserved.
|
|
|
|
|
|
+ * Copyright (c) 2012-2020 The Linux Foundation. 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
|
|
@@ -2797,6 +2797,12 @@ sir_convert_assoc_req_frame2_struct(struct mac_context *mac,
|
|
QDF_TRACE_HEX_DUMP(QDF_MODULE_ID_PE, QDF_TRACE_LEVEL_DEBUG,
|
|
QDF_TRACE_HEX_DUMP(QDF_MODULE_ID_PE, QDF_TRACE_LEVEL_DEBUG,
|
|
&pAssocReq->he_cap, sizeof(tDot11fIEhe_cap));
|
|
&pAssocReq->he_cap, sizeof(tDot11fIEhe_cap));
|
|
}
|
|
}
|
|
|
|
+ if (ar->he_6ghz_band_cap.present) {
|
|
|
|
+ qdf_mem_copy(&pAssocReq->he_6ghz_band_cap,
|
|
|
|
+ &ar->he_6ghz_band_cap,
|
|
|
|
+ sizeof(tDot11fIEhe_6ghz_band_cap));
|
|
|
|
+ pe_debug("Received Assoc Req with HE Band Capability IE");
|
|
|
|
+ }
|
|
qdf_mem_free(ar);
|
|
qdf_mem_free(ar);
|
|
return QDF_STATUS_SUCCESS;
|
|
return QDF_STATUS_SUCCESS;
|
|
|
|
|
|
@@ -3261,6 +3267,13 @@ sir_convert_assoc_resp_frame2_struct(struct mac_context *mac,
|
|
pAssocRsp->he_op.bss_col_disabled);
|
|
pAssocRsp->he_op.bss_col_disabled);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if (ar->he_6ghz_band_cap.present) {
|
|
|
|
+ pe_debug("11AX: HE Band Capability IE present");
|
|
|
|
+ qdf_mem_copy(&pAssocRsp->he_6ghz_band_cap,
|
|
|
|
+ &ar->he_6ghz_band_cap,
|
|
|
|
+ sizeof(tDot11fIEhe_6ghz_band_cap));
|
|
|
|
+ }
|
|
|
|
+
|
|
if (ar->mu_edca_param_set.present) {
|
|
if (ar->mu_edca_param_set.present) {
|
|
pe_debug("11AX: HE MU EDCA param IE present");
|
|
pe_debug("11AX: HE MU EDCA param IE present");
|
|
pAssocRsp->mu_edca_present = true;
|
|
pAssocRsp->mu_edca_present = true;
|
|
@@ -3463,6 +3476,12 @@ sir_convert_reassoc_req_frame2_struct(struct mac_context *mac,
|
|
qdf_mem_copy(&pAssocReq->he_cap, &ar->he_cap,
|
|
qdf_mem_copy(&pAssocReq->he_cap, &ar->he_cap,
|
|
sizeof(tDot11fIEhe_cap));
|
|
sizeof(tDot11fIEhe_cap));
|
|
}
|
|
}
|
|
|
|
+ if (ar->he_6ghz_band_cap.present) {
|
|
|
|
+ qdf_mem_copy(&pAssocReq->he_6ghz_band_cap,
|
|
|
|
+ &ar->he_6ghz_band_cap,
|
|
|
|
+ sizeof(tDot11fIEhe_6ghz_band_cap));
|
|
|
|
+ }
|
|
|
|
+
|
|
qdf_mem_free(ar);
|
|
qdf_mem_free(ar);
|
|
|
|
|
|
return QDF_STATUS_SUCCESS;
|
|
return QDF_STATUS_SUCCESS;
|