qcacmn: Add int/bool parse functions to QDF

Add the following function implementations to QDF:
 * qdf_bool_parse()
 * qdf_int32_parse()
 * qdf_uint32_parse()
 * qdf_int64_parse()
 * qdf_uint64_parse()

Change-Id: Ic31e3eb70f684799bd6e1e524cfc1cb816ddc01a
CRs-Fixed: 2185282
这个提交包含在:
Dustin Brown
2018-02-01 17:46:02 -08:00
提交者 snandini
父节点 e8eeb44420
当前提交 6461e566f4
修改 3 个文件,包含 294 行新增24 行删除

查看文件

@@ -1,9 +1,8 @@
/*
* Copyright (c) 2014-2017 The Linux Foundation. All rights reserved.
* Copyright (c) 2014-2018 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright notice and this permission notice appear in all
@@ -86,6 +85,7 @@
* @QDF_STATUS_CRYPTO_MIC_FAILURE: MIC failure in received frame
* @QDF_STATUS_CRYPTO_ENCRYPT_FAILED: encryption failed
* @QDF_STATUS_CRYPTO_DECRYPT_FAILED: decryption failed
* @QDF_STATUS_E_RANGE: result/parameter/operation was out of range
* @QDF_STATUS_MAX: not a realy value just a place holder for max
*/
typedef enum {
@@ -140,6 +140,7 @@ typedef enum {
QDF_STATUS_CRYPTO_ENCRYPT_FAILED,
QDF_STATUS_CRYPTO_DECRYPT_FAILED,
QDF_STATUS_E_DEFRAG_ERROR,
QDF_STATUS_E_RANGE,
QDF_STATUS_MAX
} QDF_STATUS;