qcacmn: Address win specific compilation issues

Fixing compliation issues due to fw common files which
are not yet converged.

Change-Id: I60c2045c0807e2700b548f3dfb9f07fe04eede46
Acked-by: Varsha Mishra <varsham@codeaurora.org>
CRs-Fixed: 1009050
This commit is contained in:
Houston Hoffman
2016-05-06 17:02:48 -07:00
committed by Gerrit - the friendly Code Review server
parent 8592507dfb
commit abd0077413
5 changed files with 26 additions and 0 deletions

View File

@@ -78,6 +78,11 @@ static void hif_target_dump_access_log(void);
#define DIAG_CE_ID 7
#define EPPING_CE_FLAGS_POLL \
(CE_ATTR_DISABLE_INTR|CE_ATTR_ENABLE_POLL|CE_ATTR_FLAGS)
#ifdef CONFIG_WIN
#define PIPEDIR_INOUT_H2H 4
#endif
#ifdef QCA_WIFI_3_0
static struct CE_attr host_ce_config_wlan[] = {
/* host->target HTC control and raw streams */

View File

@@ -69,6 +69,12 @@ static int hif_post_recv_buffers_for_pipe(struct HIF_CE_pipe_info *pipe_info);
#define BYPASS_QMI 0
#endif
#ifdef CONFIG_WIN
#define WDI_IPA_SERVICE_GROUP 5
#define WDI_IPA_TX_SVC MAKE_SERVICE_ID(WDI_IPA_SERVICE_GROUP, 0)
#define HTT_DATA2_MSG_SVC MAKE_SERVICE_ID(HTT_SERVICE_GROUP, 1)
#define HTT_DATA3_MSG_SVC MAKE_SERVICE_ID(HTT_SERVICE_GROUP, 2)
#endif
static int hif_post_recv_buffers(struct hif_softc *scn);
static void hif_config_rri_on_ddr(struct hif_softc *scn);

View File

@@ -59,6 +59,15 @@ enum ce_id_type {
CE_ID_MAX
};
#ifdef CONFIG_WIN
struct shadow_reg_cfg {
uint16_t ce_id;
uint16_t reg_offset;
};
#define QWLAN_VERSIONSTR "WIN"
#endif
enum ol_ath_hif_pkt_ecodes {
HIF_PIPE_NO_RESOURCE = 0
};

View File

@@ -33,7 +33,9 @@
#include "regtable.h"
#include "hif_debug.h"
#include "qdf_status.h"
#ifndef CONFIG_WIN
#include "qwlan_version.h"
#endif
#ifdef CONFIG_CNSS
#include <net/cnss.h>
#endif

View File

@@ -258,6 +258,10 @@ _failed:
}
#endif
#ifdef CONFIG_WIN
#define HTC_MSG_NACK_SUSPEND 7
#endif
QDF_STATUS htc_rx_completion_handler(void *Context, qdf_nbuf_t netbuf,
uint8_t pipeID)
{