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
这个提交包含在:
Houston Hoffman
2016-05-06 17:02:48 -07:00
提交者 Gerrit - the friendly Code Review server
父节点 8592507dfb
当前提交 abd0077413
修改 5 个文件,包含 26 行新增0 行删除

查看文件

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

查看文件

@@ -69,6 +69,12 @@ static int hif_post_recv_buffers_for_pipe(struct HIF_CE_pipe_info *pipe_info);
#define BYPASS_QMI 0 #define BYPASS_QMI 0
#endif #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 int hif_post_recv_buffers(struct hif_softc *scn);
static void hif_config_rri_on_ddr(struct hif_softc *scn); static void hif_config_rri_on_ddr(struct hif_softc *scn);

查看文件

@@ -59,6 +59,15 @@ enum ce_id_type {
CE_ID_MAX 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 { enum ol_ath_hif_pkt_ecodes {
HIF_PIPE_NO_RESOURCE = 0 HIF_PIPE_NO_RESOURCE = 0
}; };

查看文件

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

查看文件

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