[WCNCR00146812] common/configuration Add HwSetNss1x1 common part.
[Description]
Add HwSetNss1x1 common part.
Change-Id: I7b4c0b618b031fb93593809f4c512a835a170525
Feature: common/configuration
Signed-off-by: Ryan Hou <ryan.hou@mediatek.com>
CR-Id: WCNCR00146812
diff --git a/common/wlan_lib.c b/common/wlan_lib.c
index 15a4c61..e6e0bc7 100644
--- a/common/wlan_lib.c
+++ b/common/wlan_lib.c
@@ -4828,6 +4828,9 @@
prAdapter->u4FwFeatureFlag0 = prEventNicCapability->u4FeatureFlag0;
prAdapter->u4FwFeatureFlag1 = prEventNicCapability->u4FeatureFlag1;
+ if (prEventNicCapability->ucHwSetNss1x1)
+ prAdapter->rWifiVar.ucNSS = 1;
+
#if CFG_ENABLE_CAL_LOG
DBGLOG(INIT, TRACE, "RF CAL FAIL = (%d),BB CAL FAIL = (%d)\n",
prEventNicCapability->ucRfCalFail, prEventNicCapability->ucBbCalFail);
diff --git a/include/nic_cmd_event.h b/include/nic_cmd_event.h
index ee2b41b..be68914 100644
--- a/include/nic_cmd_event.h
+++ b/include/nic_cmd_event.h
@@ -1132,7 +1132,8 @@
UINT_32 u4CompileFlag1;
UINT_8 aucBranchInfo[4];
UINT_8 ucFwBuildNumber;
- UINT_8 aucReserved0[3];
+ UINT_8 ucHwSetNss1x1;
+ UINT_8 aucReserved0[2];
UINT_8 aucReserved1[56];
} EVENT_NIC_CAPABILITY_T, *P_EVENT_NIC_CAPABILITY_T;