qcacmn: Correct OEM signature string for POS utils

Add changes to correct string names as par guidelines.

Change-Id: If6f58d7e122b5f3f3c46f68738a16b98c8122563
CRs-Fixed: 2078300
This commit is contained in:
Kapil Gupta
2017-07-18 17:14:35 +05:30
committed by snandini
parent 7a84fe0bba
commit 09b574f3d4
2 changed files with 4 additions and 4 deletions

View File

@@ -278,7 +278,7 @@ static int wifi_pos_process_app_reg_req(struct wlan_objmgr_psoc *psoc,
req->pid, req->buf_len); req->pid, req->buf_len);
sign_str = (char *)req->buf; 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) || if ((OEM_APP_SIGNATURE_LEN != req->buf_len) ||
(strncmp(sign_str, OEM_APP_SIGNATURE_STR, (strncmp(sign_str, OEM_APP_SIGNATURE_STR,
OEM_APP_SIGNATURE_LEN))) { OEM_APP_SIGNATURE_LEN))) {

View File

@@ -60,10 +60,10 @@ struct wifi_pos_req_msg;
wifi_pos_logfl(QDF_TRACE_LEVEL_DEBUG, format, ## args) wifi_pos_logfl(QDF_TRACE_LEVEL_DEBUG, format, ## args)
#define OEM_APP_SIGNATURE_LEN 16 #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_LEN 8
#define OEM_TARGET_SIGNATURE "QUALCOMM" #define OEM_TARGET_SIGNATURE "QTI"
#define OEM_CAP_MAX_NUM_CHANNELS 128 #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 * 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_target_type: Chip type
* @oem_fw_version: Firmware version * @oem_fw_version: Firmware version
* @driver_version: Host software version * @driver_version: Host software version