qcacmn: Limit maxinum nss number as 2 for MCL platform
As a hot fix before h\w part change, just limit maxinum nss number to 2 for MCL platform. CRs-Fixed: 2377796 Change-Id: Iad205804be90b6803ff2f1afa79076dde9b77013
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2018 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2019 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -55,10 +55,16 @@ hal_rx_msdu_start_nss_get_6390(uint8_t *buf)
|
||||
struct rx_msdu_start *msdu_start =
|
||||
&pkt_tlvs->msdu_start_tlv.rx_msdu_start;
|
||||
uint8_t mimo_ss_bitmap;
|
||||
uint32_t ss_index;
|
||||
|
||||
mimo_ss_bitmap = HAL_RX_MSDU_START_MIMO_SS_BITMAP(msdu_start);
|
||||
ss_index = qdf_get_hweight8(mimo_ss_bitmap);
|
||||
|
||||
return qdf_get_hweight8(mimo_ss_bitmap);
|
||||
/* Hot fix only, maxinum nss number for MCL set to 1 (nss 2)*/
|
||||
if ((ss_index > 1) && (ss_index <= 3))
|
||||
ss_index = 1;
|
||||
|
||||
return ss_index;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user