[WCNCR00148245] misc: Fix invalid length return in efuse ops

[Description]
Fix invalid length return in efuse ops

In efuse-related APIs, pointer-type argument is used in sizeof().
We would always get 4(32 bits)/8(64 bit) and it cannot satisfy
the principle of sanity check.

Use real structure typedef instead of pointer-type definition to get
the real length of target object.

Feature: misc
Change-Id: If8da4cc3b28a53b5429d9398b21e711c901203ca
Signed-off-by: Deren Wu <deren.wu@mediatek.com>
CR-Id: WCNCR00148245
diff --git a/common/wlan_oid.c b/common/wlan_oid.c
index 40ef18b..e248d53 100644
--- a/common/wlan_oid.c
+++ b/common/wlan_oid.c
@@ -4464,9 +4464,9 @@
 	ASSERT(prAdapter);
 	ASSERT(pu4SetInfoLen);
 
-	*pu4SetInfoLen = sizeof(P_PARAM_CUSTOM_ACCESS_EFUSE_T);
+	*pu4SetInfoLen = sizeof(PARAM_CUSTOM_ACCESS_EFUSE_T);
 
-	if (u4SetBufferLen < sizeof(P_PARAM_CUSTOM_ACCESS_EFUSE_T))
+	if (u4SetBufferLen < sizeof(PARAM_CUSTOM_ACCESS_EFUSE_T))
 		return WLAN_STATUS_INVALID_LENGTH;
 
 	ASSERT(pvSetBuffer);
@@ -4530,9 +4530,9 @@
 	ASSERT(prAdapter);
 	ASSERT(pu4SetInfoLen);
 
-	*pu4SetInfoLen = sizeof(P_PARAM_CUSTOM_ACCESS_EFUSE_T);
+	*pu4SetInfoLen = sizeof(PARAM_CUSTOM_ACCESS_EFUSE_T);
 
-	if (u4SetBufferLen < sizeof(P_PARAM_CUSTOM_ACCESS_EFUSE_T))
+	if (u4SetBufferLen < sizeof(PARAM_CUSTOM_ACCESS_EFUSE_T))
 		return WLAN_STATUS_INVALID_LENGTH;
 
 	ASSERT(pvSetBuffer);
@@ -4580,9 +4580,9 @@
 	ASSERT(prAdapter);
 	ASSERT(pu4SetInfoLen);
 
-	*pu4SetInfoLen = sizeof(P_PARAM_CUSTOM_EFUSE_FREE_BLOCK_T);
+	*pu4SetInfoLen = sizeof(PARAM_CUSTOM_EFUSE_FREE_BLOCK_T);
 
-	if (u4SetBufferLen < sizeof(P_PARAM_CUSTOM_EFUSE_FREE_BLOCK_T))
+	if (u4SetBufferLen < sizeof(PARAM_CUSTOM_EFUSE_FREE_BLOCK_T))
 		return WLAN_STATUS_INVALID_LENGTH;
 
 	ASSERT(pvSetBuffer);