qcacmn: Enhancement of OS abstraction API's

The API's added in qal & qdf for abstracting the
OS calls are inlined and moved to the OS-specific
src directories.

Change-Id: I9c9c2cbba7702c97fbe343ceb63b330c2296084d
このコミットが含まれているのは:
Debasis Das
2019-03-04 18:56:54 +05:30
committed by nshrivas
コミット 017bc12dc3
11個のファイルの変更759行の追加11行の削除

ファイルの表示

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014-2018 The Linux Foundation. All rights reserved.
* Copyright (c) 2014-2019 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -21,12 +21,14 @@
* QCA abstraction layer (QAL) device config APIs
*/
#if !defined(__QDF_DEVCFG_H)
#define __QDF_DEVCFG_H
#if !defined(__QAL_DEVCFG_H)
#define __QAL_DEVCFG_H
/* Include Files */
#include <qdf_types.h>
#include <i_qal_devcfg.h>
#ifdef ENHANCED_OS_ABSTRACTION
/**
* qal_devcfg_send_response() - send devcfg response
* @cfgbuf: response buffer
@@ -37,4 +39,11 @@
*/
QDF_STATUS
qal_devcfg_send_response(qdf_nbuf_t cfgbuf);
#else
static inline QDF_STATUS
qal_devcfg_send_response(qdf_nbuf_t cfgbuf)
{
return __qal_devcfg_send_response(cfgbuf);
}
#endif
#endif /* __QAL_DEVCFG_H */