diff --git a/core/cds/inc/cds_concurrency.h b/core/cds/inc/cds_concurrency.h index 98cfafba73ad..42b6d3a5c101 100644 --- a/core/cds/inc/cds_concurrency.h +++ b/core/cds/inc/cds_concurrency.h @@ -43,6 +43,31 @@ #define DBS_OPPORTUNISTIC_TIME 10 #define CONNECTION_UPDATE_TIMEOUT 500 +/** + * enum cds_max_rx_ss - Maximum number of receive spatial streams + * @CDS_RX_NSS_1: Receive Nss = 1 + * @CDS_RX_NSS_2: Receive Nss = 2 + * @CDS_RX_NSS_3: Receive Nss = 3 + * @CDS_RX_NSS_4: Receive Nss = 4 + * @CDS_RX_NSS_5: Receive Nss = 5 + * @CDS_RX_NSS_6: Receive Nss = 6 + * @CDS_RX_NSS_7: Receive Nss = 7 + * @CDS_RX_NSS_8: Receive Nss = 8 + * + * Indicates the maximum number of spatial streams that the STA can receive + */ +enum cds_max_rx_ss { + CDS_RX_NSS_1 = 0, + CDS_RX_NSS_2 = 1, + CDS_RX_NSS_3 = 2, + CDS_RX_NSS_4 = 3, + CDS_RX_NSS_5 = 4, + CDS_RX_NSS_6 = 5, + CDS_RX_NSS_7 = 6, + CDS_RX_NSS_8 = 7, + CDS_RX_NSS_MAX, +}; + /** * enum cds_chain_mode - Chain Mask tx & rx combination. * diff --git a/core/cds/src/cds_concurrency.c b/core/cds/src/cds_concurrency.c index 38f17b9287a3..08a21a361d39 100644 --- a/core/cds/src/cds_concurrency.c +++ b/core/cds/src/cds_concurrency.c @@ -5912,7 +5912,7 @@ QDF_STATUS cds_next_actions(uint32_t session_id, * update the beacon template & notify FW. Once FW confirms * beacon updated, send down the HW mode change req */ - status = cds_complete_action(1, CDS_DBS, reason, + status = cds_complete_action(CDS_RX_NSS_1, CDS_DBS, reason, session_id); break; case CDS_DBS: @@ -5930,7 +5930,7 @@ QDF_STATUS cds_next_actions(uint32_t session_id, * intially. If yes, update the beacon template & notify FW. * Once FW confirms beacon updated, send the HW mode change req */ - status = cds_complete_action(0, CDS_MCC, reason, + status = cds_complete_action(CDS_RX_NSS_2, CDS_MCC, reason, session_id); break; case CDS_MCC: