qcacld-3.0: Add QDF MC timer API's
Replace CDF MC timer API's with QDF MC timer API's
Change-Id: If18069e9cb8dbd24c5cdc8bd8def6932f55c0168
CRs-Fixed: 981188
diff --git a/core/hdd/inc/wlan_hdd_main.h b/core/hdd/inc/wlan_hdd_main.h
index 2307ae4..cf4a76c 100644
--- a/core/hdd/inc/wlan_hdd_main.h
+++ b/core/hdd/inc/wlan_hdd_main.h
@@ -570,7 +570,7 @@
unsigned int duration;
u64 cookie;
rem_on_channel_request_type_t rem_on_chan_request;
- cdf_mc_timer_t hdd_remain_on_chan_timer;
+ qdf_mc_timer_t hdd_remain_on_chan_timer;
action_pkt_buffer_t action_pkt_buff;
bool hdd_remain_on_chan_cancel_in_progress;
uint32_t scan_id;
@@ -734,7 +734,7 @@
bool apDisableIntraBssFwd;
- cdf_mc_timer_t hdd_ap_inactivity_timer;
+ qdf_mc_timer_t hdd_ap_inactivity_timer;
uint8_t operatingChannel;
@@ -978,7 +978,7 @@
bool is_roc_inprogress;
#ifdef QCA_LL_LEGACY_TX_FLOW_CONTROL
- cdf_mc_timer_t tx_flow_control_timer;
+ qdf_mc_timer_t tx_flow_control_timer;
bool tx_flow_timer_initialized;
unsigned int tx_flow_low_watermark;
unsigned int tx_flow_high_watermark_offset;
@@ -1213,7 +1213,7 @@
#ifdef MSM_PLATFORM
/* DDR bus bandwidth compute timer
*/
- cdf_mc_timer_t bus_bw_timer;
+ qdf_mc_timer_t bus_bw_timer;
int cur_vote_level;
spinlock_t bus_bw_lock;
int cur_rx_level;
@@ -1270,7 +1270,7 @@
#endif
fw_log_info fw_log_settings;
#ifdef FEATURE_WLAN_AP_AP_ACS_OPTIMIZE
- cdf_mc_timer_t skip_acs_scan_timer;
+ qdf_mc_timer_t skip_acs_scan_timer;
uint8_t skip_acs_scan_status;
#endif
@@ -1312,12 +1312,12 @@
#ifdef WLAN_FEATURE_MEMDUMP
uint8_t *fw_dump_loc;
uint32_t dump_loc_paddr;
- cdf_mc_timer_t memdump_cleanup_timer;
+ qdf_mc_timer_t memdump_cleanup_timer;
struct mutex memdump_lock;
bool memdump_in_progress;
#endif /* WLAN_FEATURE_MEMDUMP */
- cdf_mc_timer_t dbs_opportunistic_timer;
+ qdf_mc_timer_t dbs_opportunistic_timer;
bool connection_in_progress;
qdf_spinlock_t connection_status_lock;
diff --git a/core/hdd/inc/wlan_hdd_tdls.h b/core/hdd/inc/wlan_hdd_tdls.h
index 5e149a8..03c7ff1 100644
--- a/core/hdd/inc/wlan_hdd_tdls.h
+++ b/core/hdd/inc/wlan_hdd_tdls.h
@@ -280,7 +280,7 @@
typedef struct {
struct list_head peer_list[TDLS_PEER_LIST_SIZE];
hdd_adapter_t *pAdapter;
- cdf_mc_timer_t peerDiscoveryTimeoutTimer;
+ qdf_mc_timer_t peerDiscoveryTimeoutTimer;
tdls_config_params_t threshold_config;
int32_t discovery_peer_cnt;
uint32_t discovery_sent_cnt;
@@ -491,7 +491,7 @@
void wlan_hdd_tdls_scan_done_callback(hdd_adapter_t *pAdapter);
void wlan_hdd_tdls_timer_restart(hdd_adapter_t *pAdapter,
- cdf_mc_timer_t *timer,
+ qdf_mc_timer_t *timer,
uint32_t expirationTime);
void wlan_hdd_tdls_indicate_teardown(hdd_adapter_t *pAdapter,
hddTdlsPeer_t *curr_peer,
diff --git a/core/hdd/inc/wlan_hdd_tx_rx.h b/core/hdd/inc/wlan_hdd_tx_rx.h
index b12c198..881a788 100644
--- a/core/hdd/inc/wlan_hdd_tx_rx.h
+++ b/core/hdd/inc/wlan_hdd_tx_rx.h
@@ -73,7 +73,7 @@
void hdd_tx_resume_cb(void *adapter_context, bool tx_resume);
void hdd_tx_resume_timer_expired_handler(void *adapter_context);
void hdd_register_tx_flow_control(hdd_adapter_t *adapter,
- cdf_mc_timer_callback_t timer_callback,
+ qdf_mc_timer_callback_t timer_callback,
ol_txrx_tx_flow_control_fp flowControl);
void hdd_deregister_tx_flow_control(hdd_adapter_t *adapter);
void hdd_get_tx_resource(hdd_adapter_t *adapter,
@@ -89,7 +89,7 @@
return;
}
static inline void hdd_register_tx_flow_control(hdd_adapter_t *adapter,
- cdf_mc_timer_callback_t timer_callback,
+ qdf_mc_timer_callback_t timer_callback,
ol_txrx_tx_flow_control_fp flowControl)
{
return;
diff --git a/core/hdd/inc/wlan_hdd_wmm.h b/core/hdd/inc/wlan_hdd_wmm.h
index b217165..3194d10 100644
--- a/core/hdd/inc/wlan_hdd_wmm.h
+++ b/core/hdd/inc/wlan_hdd_wmm.h
@@ -178,7 +178,7 @@
#ifdef FEATURE_WLAN_ESE
uint32_t wmmInactivityTime;
uint32_t wmmPrevTrafficCnt;
- cdf_mc_timer_t wmmInactivityTimer;
+ qdf_mc_timer_t wmmInactivityTimer;
#endif
} hdd_wmm_ac_status_t;