qcacmn: Fix for compilation issues in REO management
Added suitable typecasting for qdf_set_bit and qdf_clear_bit functions Change-Id: I90fc0f441a6eae8dfdea43705373fced81b26b48 CRs-Fixed: 1105853
This commit is contained in:

committed by
qcabuildsw

parent
a98e024f86
commit
8e8d8f1e82
@@ -24,7 +24,9 @@
|
|||||||
#include "dp_peer.h"
|
#include "dp_peer.h"
|
||||||
#include <hal_api.h>
|
#include <hal_api.h>
|
||||||
#include <hal_reo.h>
|
#include <hal_reo.h>
|
||||||
|
#ifdef CONFIG_MCL
|
||||||
|
#include <cds_ieee80211_common.h>
|
||||||
|
#endif
|
||||||
/* Temporary definitions to be moved to wlan_cfg */
|
/* Temporary definitions to be moved to wlan_cfg */
|
||||||
static inline uint32_t wlan_cfg_max_peer_id(void *wlan_cfg_ctx)
|
static inline uint32_t wlan_cfg_max_peer_id(void *wlan_cfg_ctx)
|
||||||
{
|
{
|
||||||
|
@@ -23,7 +23,11 @@
|
|||||||
#include "hal_api.h"
|
#include "hal_api.h"
|
||||||
#include "qdf_trace.h"
|
#include "qdf_trace.h"
|
||||||
#include "qdf_nbuf.h"
|
#include "qdf_nbuf.h"
|
||||||
|
#ifdef CONFIG_MCL
|
||||||
|
#include <cds_ieee80211_common.h>
|
||||||
|
#else
|
||||||
#include <ieee80211.h>
|
#include <ieee80211.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* dp_rx_cookie_2_link_desc_va() - Converts cookie to a virtual address of
|
* dp_rx_cookie_2_link_desc_va() - Converts cookie to a virtual address of
|
||||||
|
@@ -217,7 +217,7 @@ inline int hal_reo_cmd_unblock_cache(void *reo_ring, struct hal_soc *soc,
|
|||||||
|
|
||||||
{
|
{
|
||||||
uint32_t *reo_desc, val;
|
uint32_t *reo_desc, val;
|
||||||
uint8_t index;
|
uint8_t index = 0;
|
||||||
|
|
||||||
hal_srng_access_start(soc, reo_ring);
|
hal_srng_access_start(soc, reo_ring);
|
||||||
|
|
||||||
@@ -709,7 +709,7 @@ inline void hal_reo_flush_cache_status(uint32_t *reo_desc, struct hal_soc *soc,
|
|||||||
BLOCK_ERROR_DETAILS,
|
BLOCK_ERROR_DETAILS,
|
||||||
val);
|
val);
|
||||||
if (!st->block_error)
|
if (!st->block_error)
|
||||||
qdf_set_bit(soc->index, &soc->reo_res_bitmap);
|
qdf_set_bit(soc->index, (unsigned long *)&soc->reo_res_bitmap);
|
||||||
|
|
||||||
/* cache flush status */
|
/* cache flush status */
|
||||||
val = reo_desc[HAL_OFFSET_DW(REO_FLUSH_CACHE_STATUS_2,
|
val = reo_desc[HAL_OFFSET_DW(REO_FLUSH_CACHE_STATUS_2,
|
||||||
@@ -764,7 +764,8 @@ inline void hal_reo_unblock_cache_status(uint32_t *reo_desc,
|
|||||||
val);
|
val);
|
||||||
|
|
||||||
if (!st->error && (st->unblock_type == UNBLOCK_RES_INDEX))
|
if (!st->error && (st->unblock_type == UNBLOCK_RES_INDEX))
|
||||||
qdf_clear_bit(soc->index, &soc->reo_res_bitmap);
|
qdf_clear_bit(soc->index,
|
||||||
|
(unsigned long *)&soc->reo_res_bitmap);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void hal_reo_flush_timeout_list_status(
|
inline void hal_reo_flush_timeout_list_status(
|
||||||
|
@@ -19,6 +19,7 @@
|
|||||||
#ifndef _HAL_REO_H_
|
#ifndef _HAL_REO_H_
|
||||||
#define _HAL_REO_H_
|
#define _HAL_REO_H_
|
||||||
|
|
||||||
|
#include <qdf_types.h>
|
||||||
/* HW headers */
|
/* HW headers */
|
||||||
#include <reo_descriptor_threshold_reached_status.h>
|
#include <reo_descriptor_threshold_reached_status.h>
|
||||||
#include <reo_flush_queue.h>
|
#include <reo_flush_queue.h>
|
||||||
|
Reference in New Issue
Block a user