qcacmn: Replace blacklist abbreviation bl for dl

Replace blacklist abbreviation bl for denylist dl.

Change-Id: Ifdb65060ec65fa65a0804c040734e2563c064b1b
CRs-Fixed: 3153293
Este commit está contenido en:
chunquan
2022-03-17 17:01:44 +08:00
cometido por Madan Koyyalamudi
padre b844c62799
commit 37d7d4bed0
Se han modificado 5 ficheros con 32 adiciones y 32 borrados

Ver fichero

@@ -426,16 +426,16 @@ hncm_return:
/** /**
* hif_exec_bl_irq() - calls irq_modify_status to enable/disable denylisting * hif_exec_dl_irq() - calls irq_modify_status to enable/disable denylisting
* @napid: pointer to qca_napi_data structure * @napid: pointer to qca_napi_data structure
* @bl_flag: denylist flag to enable/disable denylisting * @dl_flag: denylist flag to enable/disable denylisting
* *
* The function enables/disables denylisting for all the copy engine * The function enables/disables denylisting for all the copy engine
* interrupts on which NAPI is enabled. * interrupts on which NAPI is enabled.
* *
* Return: None * Return: None
*/ */
static inline void hif_exec_bl_irq(struct qca_napi_data *napid, bool bl_flag) static inline void hif_exec_dl_irq(struct qca_napi_data *napid, bool dl_flag)
{ {
int i, j; int i, j;
struct hif_exec_context *exec_ctx; struct hif_exec_context *exec_ctx;
@@ -450,7 +450,7 @@ static inline void hif_exec_bl_irq(struct qca_napi_data *napid, bool bl_flag)
if (!(exec_ctx)) if (!(exec_ctx))
continue; continue;
if (bl_flag == true) if (dl_flag == true)
for (j = 0; j < exec_ctx->numirq; j++) for (j = 0; j < exec_ctx->numirq; j++)
qdf_dev_modify_irq_status(exec_ctx->os_irq[j], qdf_dev_modify_irq_status(exec_ctx->os_irq[j],
0, 0,
@@ -460,7 +460,7 @@ static inline void hif_exec_bl_irq(struct qca_napi_data *napid, bool bl_flag)
qdf_dev_modify_irq_status(exec_ctx->os_irq[j], qdf_dev_modify_irq_status(exec_ctx->os_irq[j],
QDF_IRQ_NO_BALANCING, QDF_IRQ_NO_BALANCING,
0); 0);
hif_debug("bl_flag %d CE %d", bl_flag, i); hif_debug("dl_flag %d CE %d", dl_flag, i);
} }
} }
@@ -486,12 +486,12 @@ int hif_exec_cpu_denylist(struct qca_napi_data *napid,
int rc = 0; int rc = 0;
static int ref_count; /* = 0 by the compiler */ static int ref_count; /* = 0 by the compiler */
uint8_t flags = napid->flags; uint8_t flags = napid->flags;
bool bl_en = flags & QCA_NAPI_FEATURE_IRQ_BLACKLISTING; bool dl_en = flags & QCA_NAPI_FEATURE_IRQ_BLACKLISTING;
bool ccb_en = flags & QCA_NAPI_FEATURE_CORE_CTL_BOOST; bool ccb_en = flags & QCA_NAPI_FEATURE_CORE_CTL_BOOST;
NAPI_DEBUG("-->%s(%d %d)", __func__, flags, op); NAPI_DEBUG("-->%s(%d %d)", __func__, flags, op);
if (!(bl_en && ccb_en)) { if (!(dl_en && ccb_en)) {
rc = -EINVAL; rc = -EINVAL;
goto out; goto out;
} }
@@ -507,7 +507,7 @@ int hif_exec_cpu_denylist(struct qca_napi_data *napid,
rc = hif_napi_core_ctl_set_boost(true); rc = hif_napi_core_ctl_set_boost(true);
NAPI_DEBUG("boost_on() returns %d - refcnt=%d", NAPI_DEBUG("boost_on() returns %d - refcnt=%d",
rc, ref_count); rc, ref_count);
hif_exec_bl_irq(napid, true); hif_exec_dl_irq(napid, true);
} }
break; break;
case DENYLIST_OFF: case DENYLIST_OFF:
@@ -518,7 +518,7 @@ int hif_exec_cpu_denylist(struct qca_napi_data *napid,
rc = hif_napi_core_ctl_set_boost(false); rc = hif_napi_core_ctl_set_boost(false);
NAPI_DEBUG("boost_off() returns %d - refcnt=%d", NAPI_DEBUG("boost_off() returns %d - refcnt=%d",
rc, ref_count); rc, ref_count);
hif_exec_bl_irq(napid, false); hif_exec_dl_irq(napid, false);
} }
break; break;
default: default:

Ver fichero

@@ -1634,16 +1634,16 @@ hncm_return:
/** /**
* hif_napi_bl_irq() - calls irq_modify_status to enable/disable denylisting * hif_napi_dl_irq() - calls irq_modify_status to enable/disable denylisting
* @napid: pointer to qca_napi_data structure * @napid: pointer to qca_napi_data structure
* @bl_flag: denylist flag to enable/disable denylisting * @dl_flag: denylist flag to enable/disable denylisting
* *
* The function enables/disables denylisting for all the copy engine * The function enables/disables denylisting for all the copy engine
* interrupts on which NAPI is enabled. * interrupts on which NAPI is enabled.
* *
* Return: None * Return: None
*/ */
static inline void hif_napi_bl_irq(struct qca_napi_data *napid, bool bl_flag) static inline void hif_napi_dl_irq(struct qca_napi_data *napid, bool dl_flag)
{ {
int i; int i;
struct qca_napi_info *napii; struct qca_napi_info *napii;
@@ -1658,13 +1658,13 @@ static inline void hif_napi_bl_irq(struct qca_napi_data *napid, bool bl_flag)
if (!(napii)) if (!(napii))
continue; continue;
if (bl_flag == true) if (dl_flag == true)
qdf_dev_modify_irq_status(napii->irq, qdf_dev_modify_irq_status(napii->irq,
0, QDF_IRQ_NO_BALANCING); 0, QDF_IRQ_NO_BALANCING);
else else
qdf_dev_modify_irq_status(napii->irq, qdf_dev_modify_irq_status(napii->irq,
QDF_IRQ_NO_BALANCING, 0); QDF_IRQ_NO_BALANCING, 0);
hif_debug("bl_flag %d CE %d", bl_flag, i); hif_debug("dl_flag %d CE %d", dl_flag, i);
} }
} }
@@ -1690,12 +1690,12 @@ int hif_napi_cpu_denylist(struct qca_napi_data *napid,
int rc = 0; int rc = 0;
static int ref_count; /* = 0 by the compiler */ static int ref_count; /* = 0 by the compiler */
uint8_t flags = napid->flags; uint8_t flags = napid->flags;
bool bl_en = flags & QCA_NAPI_FEATURE_IRQ_BLACKLISTING; bool dl_en = flags & QCA_NAPI_FEATURE_IRQ_BLACKLISTING;
bool ccb_en = flags & QCA_NAPI_FEATURE_CORE_CTL_BOOST; bool ccb_en = flags & QCA_NAPI_FEATURE_CORE_CTL_BOOST;
NAPI_DEBUG("-->%s(%d %d)", __func__, flags, op); NAPI_DEBUG("-->%s(%d %d)", __func__, flags, op);
if (!(bl_en && ccb_en)) { if (!(dl_en && ccb_en)) {
rc = -EINVAL; rc = -EINVAL;
goto out; goto out;
} }
@@ -1711,7 +1711,7 @@ int hif_napi_cpu_denylist(struct qca_napi_data *napid,
rc = hif_napi_core_ctl_set_boost(true); rc = hif_napi_core_ctl_set_boost(true);
NAPI_DEBUG("boost_on() returns %d - refcnt=%d", NAPI_DEBUG("boost_on() returns %d - refcnt=%d",
rc, ref_count); rc, ref_count);
hif_napi_bl_irq(napid, true); hif_napi_dl_irq(napid, true);
} }
break; break;
case DENYLIST_OFF: case DENYLIST_OFF:
@@ -1722,7 +1722,7 @@ int hif_napi_cpu_denylist(struct qca_napi_data *napid,
rc = hif_napi_core_ctl_set_boost(false); rc = hif_napi_core_ctl_set_boost(false);
NAPI_DEBUG("boost_off() returns %d - refcnt=%d", NAPI_DEBUG("boost_off() returns %d - refcnt=%d",
rc, ref_count); rc, ref_count);
hif_napi_bl_irq(napid, false); hif_napi_dl_irq(napid, false);
} }
} }
break; break;

Ver fichero

@@ -7971,12 +7971,12 @@ struct wmi_roam_wtc_btm_trigger_data {
* @rssi_score: AP RSSI score * @rssi_score: AP RSSI score
* @total_score: Total score of the candidate AP. * @total_score: Total score of the candidate AP.
* @etp: Estimated throughput value of the AP in Mbps * @etp: Estimated throughput value of the AP in Mbps
* @bl_reason: Denylist reason * @dl_reason: Denylist reason
* @bl_source: Source of adding AP to BL * @dl_source: Source of adding AP to DL
* @bl_timestamp:This timestamp indicates the time when AP added * @dl_timestamp:This timestamp indicates the time when AP added
* to denylist. * to denylist.
* @bl_original_timeout: Original timeout value in milli seconds * @dl_original_timeout: Original timeout value in milli seconds
* when AP added to BL * when AP added to DL
*/ */
struct wmi_roam_candidate_info { struct wmi_roam_candidate_info {
uint32_t timestamp; uint32_t timestamp;
@@ -7989,10 +7989,10 @@ struct wmi_roam_candidate_info {
uint32_t rssi_score; uint32_t rssi_score;
uint32_t total_score; uint32_t total_score;
uint32_t etp; uint32_t etp;
uint32_t bl_reason; uint32_t dl_reason;
uint32_t bl_source; uint32_t dl_source;
uint32_t bl_timestamp; uint32_t dl_timestamp;
uint32_t bl_original_timeout; uint32_t dl_original_timeout;
}; };
/** /**

Ver fichero

@@ -429,7 +429,7 @@ QDF_STATUS
(*extract_roam_event)(wmi_unified_t wmi_handle, void *evt_buf, uint32_t len, (*extract_roam_event)(wmi_unified_t wmi_handle, void *evt_buf, uint32_t len,
struct roam_offload_roam_event *roam_event); struct roam_offload_roam_event *roam_event);
QDF_STATUS QDF_STATUS
(*extract_btm_bl_event)(wmi_unified_t wmi_handle, (*extract_btm_dl_event)(wmi_unified_t wmi_handle,
uint8_t *event, uint32_t data_len, uint8_t *event, uint32_t data_len,
struct roam_denylist_event **dst_list); struct roam_denylist_event **dst_list);
QDF_STATUS QDF_STATUS

Ver fichero

@@ -16322,10 +16322,10 @@ extract_roam_scan_ap_stats_tlv(wmi_unified_t wmi_handle, void *evt_buf,
dst->cu_score = src->cu_score; dst->cu_score = src->cu_score;
dst->total_score = src->total_score; dst->total_score = src->total_score;
dst->timestamp = src->timestamp; dst->timestamp = src->timestamp;
dst->bl_reason = src->bl_reason; dst->dl_reason = src->bl_reason;
dst->bl_source = src->bl_source; dst->dl_source = src->bl_source;
dst->bl_timestamp = src->bl_timestamp; dst->dl_timestamp = src->bl_timestamp;
dst->bl_original_timeout = src->bl_original_timeout; dst->dl_original_timeout = src->bl_original_timeout;
src++; src++;
dst++; dst++;