Ver código fonte

qcacmn: Correct OEM signature string for POS utils

Add changes to correct string names as par guidelines.

Change-Id: If6f58d7e122b5f3f3c46f68738a16b98c8122563
CRs-Fixed: 2078300
Kapil Gupta 7 anos atrás
pai
commit
09b574f3d4

+ 1 - 1
umac/wifi_pos/src/wifi_pos_main.c

@@ -278,7 +278,7 @@ static int wifi_pos_process_app_reg_req(struct wlan_objmgr_psoc *psoc,
 			req->pid, req->buf_len);
 
 	sign_str = (char *)req->buf;
-	/* Registration request is only allowed for Qualcomm Application */
+	/* Registration request is only allowed for QTI Application */
 	if ((OEM_APP_SIGNATURE_LEN != req->buf_len) ||
 		(strncmp(sign_str, OEM_APP_SIGNATURE_STR,
 			 OEM_APP_SIGNATURE_LEN))) {

+ 3 - 3
umac/wifi_pos/src/wifi_pos_utils_i.h

@@ -60,10 +60,10 @@ struct wifi_pos_req_msg;
 	wifi_pos_logfl(QDF_TRACE_LEVEL_DEBUG, format, ## args)
 
 #define OEM_APP_SIGNATURE_LEN      16
-#define OEM_APP_SIGNATURE_STR      "QUALCOMM-OEM-APP"
+#define OEM_APP_SIGNATURE_STR      "QTI-OEM-APP"
 
 #define OEM_TARGET_SIGNATURE_LEN   8
-#define OEM_TARGET_SIGNATURE       "QUALCOMM"
+#define OEM_TARGET_SIGNATURE       "QTI"
 
 #define OEM_CAP_MAX_NUM_CHANNELS   128
 
@@ -139,7 +139,7 @@ struct qdf_packed wifi_pos_driver_version {
 
 /**
  * struct wifi_pos_driver_caps - OEM Data Capabilities
- * @oem_target_signature: Signature of chipset vendor, e.g. QUALCOMM
+ * @oem_target_signature: Signature of chipset vendor, e.g. QTI
  * @oem_target_type: Chip type
  * @oem_fw_version: Firmware version
  * @driver_version: Host software version