qcacmn: Replace blacklist/whitelist with denylist/allowlist

Replace blacklist/whitelist with denylist/allowlist

Change-Id: Ic10f0bb187f44c00f07752cd859a08342a945628
CRs-Fixed: 3087605
This commit is contained in:
chunquan
2021-12-16 15:02:49 +08:00
committad av Madan Koyyalamudi
förälder 037561c0a4
incheckning be297ae0ae
11 ändrade filer med 59 tillägg och 56 borttagningar

Visa fil

@@ -546,7 +546,7 @@ QDF_STATUS (*send_d0wow_disable_cmd)(wmi_unified_t wmi_handle,
uint8_t mac_id);
#endif
#if defined(WLAN_FEATURE_ROAM_OFFLOAD) && defined(FEATURE_BLACKLIST_MGR)
#if defined(WLAN_FEATURE_ROAM_OFFLOAD) && defined(FEATURE_DENYLIST_MGR)
QDF_STATUS
(*send_reject_ap_list_cmd)(struct wmi_unified *wmi_handle,
struct reject_ap_params *reject_params);
@@ -3232,7 +3232,7 @@ void wmi_policy_mgr_attach_tlv(struct wmi_unified *wmi_handle)
}
#endif
#if defined(WLAN_FEATURE_ROAM_OFFLOAD) && defined(FEATURE_BLACKLIST_MGR)
#if defined(WLAN_FEATURE_ROAM_OFFLOAD) && defined(FEATURE_DENYLIST_MGR)
void wmi_blacklist_mgr_attach_tlv(struct wmi_unified *wmi_handle);
#else
static inline

Visa fil

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2013-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -72,7 +73,7 @@ QDF_STATUS
wmi_unified_vdev_set_gtx_cfg_cmd(wmi_unified_t wmi_handle, uint32_t if_id,
struct wmi_gtx_config *gtx_info);
#if defined(WLAN_FEATURE_ROAM_OFFLOAD) && defined(FEATURE_BLACKLIST_MGR)
#if defined(WLAN_FEATURE_ROAM_OFFLOAD) && defined(FEATURE_DENYLIST_MGR)
/**
* wmi_unified_send_reject_ap_list() - send the reject ap list maintained by
* BLM to FW for roaming cases.

Visa fil

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2013-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -181,7 +182,7 @@ QDF_STATUS wmi_extract_vdev_tdls_ev_param(wmi_unified_t wmi_handle,
}
#endif /* FEATURE_WLAN_TDLS */
#if defined(WLAN_FEATURE_ROAM_OFFLOAD) && defined(FEATURE_BLACKLIST_MGR)
#if defined(WLAN_FEATURE_ROAM_OFFLOAD) && defined(FEATURE_DENYLIST_MGR)
QDF_STATUS
wmi_unified_send_reject_ap_list(struct wmi_unified *wmi_handle,
struct reject_ap_params *reject_params)

Visa fil

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2013-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -1097,19 +1098,19 @@ static QDF_STATUS send_set_base_macaddr_indicate_cmd_tlv(wmi_unified_t wmi_handl
return 0;
}
#if defined(WLAN_FEATURE_ROAM_OFFLOAD) && defined(FEATURE_BLACKLIST_MGR)
#if defined(WLAN_FEATURE_ROAM_OFFLOAD) && defined(FEATURE_DENYLIST_MGR)
static WMI_BSSID_DISALLOW_LIST_TYPE
wmi_get_wmi_reject_ap_type(enum blm_reject_ap_type reject_ap_type)
wmi_get_wmi_reject_ap_type(enum dlm_reject_ap_type reject_ap_type)
{
switch (reject_ap_type) {
case USERSPACE_AVOID_TYPE:
return WMI_BSSID_DISALLOW_USER_SPACE_AVOID_LIST;
case DRIVER_AVOID_TYPE:
return WMI_BSSID_DISALLOW_DRIVER_AVOID_LIST;
case USERSPACE_BLACKLIST_TYPE:
case USERSPACE_DENYLIST_TYPE:
return WMI_BSSID_DISALLOW_USER_SPACE_BLACK_LIST;
case DRIVER_BLACKLIST_TYPE:
case DRIVER_DENYLIST_TYPE:
return WMI_BSSID_DISALLOW_DRIVER_BLACK_LIST;
case DRIVER_RSSI_REJECT_TYPE:
return WMI_BSSID_DISALLOW_RSSI_REJECT_LIST;
@@ -1119,7 +1120,7 @@ wmi_get_wmi_reject_ap_type(enum blm_reject_ap_type reject_ap_type)
}
static WMI_BLACKLIST_REASON_ID
wmi_get_reject_reason(enum blm_reject_ap_reason reject_reason)
wmi_get_reject_reason(enum dlm_reject_ap_reason reject_reason)
{
switch(reject_reason) {
case REASON_NUD_FAILURE: