qcacmn: Add datapath layer changes for sdio bus (Part 4 - HIF SDIO)

Remove bus specific calls from data path layer.
Add sdio specific target address.
Add sdio bundling rates in datapath layer.
Fix rx data callback for UMP system.

CRs-Fixed: 969334
Change-Id: I0cd45479ca89b97455b4a9c71ce326646f38a5f3
このコミットが含まれているのは:
Poddar, Siddarth
2016-04-29 11:02:13 +05:30
committed by Vishwajith Upendra
コミット 416b70695e
2個のファイルの変更11行の追加3行の削除

ファイルの表示

@@ -49,9 +49,12 @@ extern "C" {
#define HTC_TARGET_CREDIT_INTR_MASK 0xF0
#define HTC_MIN_MSG_PER_BUNDLE 2
#if defined(HIF_USB)
#define HTC_MAX_MSG_PER_BUNDLE 9
#define HTC_MAX_MSG_PER_BUNDLE_RX 11
#define HTC_MAX_MSG_PER_BUNDLE_TX 8
#else
#define HTC_MAX_MSG_PER_BUNDLE_RX 64
#define HTC_MAX_MSG_PER_BUNDLE 16
#define HTC_MAX_MSG_PER_BUNDLE_TX 32
#endif
/*
* HTC_MAX_TX_BUNDLE_SEND_LIMIT -
@@ -185,6 +188,10 @@ typedef struct _HTC_TARGET {
uint32_t TX_comp_cnt;
uint8_t MaxMsgsPerHTCBundle;
qdf_work_t queue_kicker;
#if defined(DEBUG_HL_LOGGING) && defined(CONFIG_HL_SUPPORT)
A_UINT32 rx_bundle_stats[HTC_MAX_MSG_PER_BUNDLE_RX];
A_UINT32 tx_bundle_stats[HTC_MAX_MSG_PER_BUNDLE_TX];
#endif
uint32_t con_mode;
} HTC_TARGET;

ファイルの表示

@@ -329,9 +329,10 @@ static A_STATUS htc_send_bundled_netbuf(HTC_TARGET *target,
#endif
status = hif_send_head(target->hif_dev,
pEndpoint->UL_PipeID,
pEndpoint->Id, data_len, bundleBuf, data_attr);
pEndpoint->Id, data_len,
bundleBuf, data_attr);
if (status != A_OK) {
qdf_print("%s:hif_send_head failed(len=%d).\n", __FUNCTION__,
qdf_print("%s:hif_send_head failed(len=%zu).\n", __func__,
data_len);
}
return status;