qcacmn: Add control path scheduler to common driver

Add control path converged scheduler functionality to common
driver.

Change-Id: I2087b985b4bed661c03e667dbcc082714add1266
CRs-Fixed: 1095867
This commit is contained in:
Krunal Soni
2016-10-06 12:36:26 -07:00
committed by qcabuildsw
parent d729f3fd28
commit 66eabcfdcc
16 changed files with 1716 additions and 20 deletions

View File

@@ -41,6 +41,9 @@
#define QDF_MAX_AVAILABLE_CPU 1
#endif
typedef __qdf_thread_t qdf_thread_t;
typedef __qdf_wait_queue_head_t qdf_wait_queue_head_t;
/**
* qdf_unlikely - Compiler-dependent macro denoting code likely to execute
* @_expr: expression to be checked
@@ -111,6 +114,42 @@ static inline int qdf_status_to_os_return(QDF_STATUS status)
*/
#define qdf_set_bit(nr, addr) __qdf_set_bit(nr, addr)
/**
* qdf_clear_bit() - clear bit in address
* @nr: bit number to be clear
* @addr: address buffer pointer
*
* Return: none
*/
#define qdf_clear_bit(nr, addr) __qdf_clear_bit(nr, addr)
/**
* qdf_test_bit() - test bit position in address
* @nr: bit number to be tested
* @addr: address buffer pointer
*
* Return: none
*/
#define qdf_test_bit(nr, addr) __qdf_test_bit(nr, addr)
/**
* qdf_test_and_clear_bit() - test and clear bit position in address
* @nr: bit number to be tested
* @addr: address buffer pointer
*
* Return: none
*/
#define qdf_test_and_clear_bit(nr, addr) __qdf_test_and_clear_bit(nr, addr)
#define qdf_wait_queue_interruptible(wait_queue, condition) \
__qdf_wait_queue_interruptible(wait_queue, condition)
#define qdf_init_waitqueue_head(_q) __qdf_init_waitqueue_head(_q)
#define qdf_wake_up_interruptible(_q) __qdf_wake_up_interruptible(_q)
#define qdf_wake_up_completion(_q) __qdf_wake_up_completion(_q)
/**
* qdf_container_of - cast a member of a structure out to the containing
* structure