diff --git a/core/hdd/src/wlan_hdd_ext_scan.c b/core/hdd/src/wlan_hdd_ext_scan.c index 555ef12753..c324b2cfbf 100644 --- a/core/hdd/src/wlan_hdd_ext_scan.c +++ b/core/hdd/src/wlan_hdd_ext_scan.c @@ -1,6 +1,6 @@ /* * Copyright (c) 2012-2021 The Linux Foundation. All rights reserved. - * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2022-2023 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 @@ -1487,9 +1487,9 @@ static int wlan_hdd_send_ext_scan_capability(struct hdd_context *hdd_ctx) data->max_number_epno_networks) || nla_put_u32(skb, MAX_NUM_EPNO_NETS_BY_SSID, data->max_number_epno_networks_by_ssid) || - nla_put_u32(skb, MAX_NUM_ALLOWLISTED_SSID, + nla_put_u32(skb, MAX_NUM_WHITELISTED_SSID, data->max_number_of_allow_listed_ssid) || - nla_put_u32(skb, MAX_NUM_DENYLISTED_BSSID, + nla_put_u32(skb, MAX_NUM_BLACKLISTED_BSSID, data->max_number_of_deny_listed_bssid)) { hdd_err("nla put fail"); goto nla_put_failure; diff --git a/core/hdd/src/wlan_hdd_scan.h b/core/hdd/src/wlan_hdd_scan.h index 5f5e45bfae..328c3194ac 100644 --- a/core/hdd/src/wlan_hdd_scan.h +++ b/core/hdd/src/wlan_hdd_scan.h @@ -1,6 +1,6 @@ /* * Copyright (c) 2012-2021 The Linux Foundation. All rights reserved. - * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2022-2023 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 @@ -160,7 +160,7 @@ wlan_hdd_pno_config_policy[QCA_WLAN_VENDOR_ATTR_PNO_MAX + 1]; .info.subcmd = QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_STOP, \ .flags = WIPHY_VENDOR_CMD_NEED_WDEV | \ WIPHY_VENDOR_CMD_NEED_NETDEV | WIPHY_VENDOR_CMD_NEED_RUNNING, \ - .doit = wlan_hdd_cfg80211_extscan_stop \ + .doit = wlan_hdd_cfg80211_extscan_stop, \ vendor_command_policy(wlan_hdd_extscan_config_policy, \ EXTSCAN_PARAM_MAX) \ }, \ @@ -169,7 +169,7 @@ wlan_hdd_pno_config_policy[QCA_WLAN_VENDOR_ATTR_PNO_MAX + 1]; .info.subcmd = QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_GET_CAPABILITIES, \ .flags = WIPHY_VENDOR_CMD_NEED_WDEV | \ WIPHY_VENDOR_CMD_NEED_NETDEV | WIPHY_VENDOR_CMD_NEED_RUNNING, \ - .doit = wlan_hdd_cfg80211_extscan_get_capabilities \ + .doit = wlan_hdd_cfg80211_extscan_get_capabilities, \ vendor_command_policy(wlan_hdd_extscan_config_policy, \ EXTSCAN_PARAM_MAX) \ }, \ @@ -178,7 +178,7 @@ wlan_hdd_pno_config_policy[QCA_WLAN_VENDOR_ATTR_PNO_MAX + 1]; .info.subcmd = QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_GET_CACHED_RESULTS, \ .flags = WIPHY_VENDOR_CMD_NEED_WDEV | \ WIPHY_VENDOR_CMD_NEED_NETDEV | WIPHY_VENDOR_CMD_NEED_RUNNING, \ - .doit = wlan_hdd_cfg80211_extscan_get_cached_results \ + .doit = wlan_hdd_cfg80211_extscan_get_cached_results, \ vendor_command_policy(wlan_hdd_extscan_config_policy, \ EXTSCAN_PARAM_MAX) \ }, \ @@ -187,7 +187,7 @@ wlan_hdd_pno_config_policy[QCA_WLAN_VENDOR_ATTR_PNO_MAX + 1]; .info.subcmd = QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_SET_BSSID_HOTLIST, \ .flags = WIPHY_VENDOR_CMD_NEED_WDEV | \ WIPHY_VENDOR_CMD_NEED_NETDEV | WIPHY_VENDOR_CMD_NEED_RUNNING, \ - .doit = wlan_hdd_cfg80211_extscan_set_bssid_hotlist \ + .doit = wlan_hdd_cfg80211_extscan_set_bssid_hotlist, \ vendor_command_policy(wlan_hdd_extscan_config_policy, \ EXTSCAN_PARAM_MAX) \ }, \ @@ -196,7 +196,7 @@ wlan_hdd_pno_config_policy[QCA_WLAN_VENDOR_ATTR_PNO_MAX + 1]; .info.subcmd = QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_RESET_BSSID_HOTLIST, \ .flags = WIPHY_VENDOR_CMD_NEED_WDEV | \ WIPHY_VENDOR_CMD_NEED_NETDEV | WIPHY_VENDOR_CMD_NEED_RUNNING, \ - .doit = wlan_hdd_cfg80211_extscan_reset_bssid_hotlist \ + .doit = wlan_hdd_cfg80211_extscan_reset_bssid_hotlist, \ vendor_command_policy(wlan_hdd_extscan_config_policy, \ EXTSCAN_PARAM_MAX) \ }, \ @@ -206,7 +206,7 @@ wlan_hdd_pno_config_policy[QCA_WLAN_VENDOR_ATTR_PNO_MAX + 1]; QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_SET_SIGNIFICANT_CHANGE, \ .flags = WIPHY_VENDOR_CMD_NEED_WDEV | \ WIPHY_VENDOR_CMD_NEED_NETDEV | WIPHY_VENDOR_CMD_NEED_RUNNING, \ - .doit = wlan_hdd_cfg80211_extscan_set_significant_change \ + .doit = wlan_hdd_cfg80211_extscan_set_significant_change, \ vendor_command_policy(wlan_hdd_extscan_config_policy, \ EXTSCAN_PARAM_MAX) \ }, \ @@ -216,7 +216,7 @@ wlan_hdd_pno_config_policy[QCA_WLAN_VENDOR_ATTR_PNO_MAX + 1]; QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_RESET_SIGNIFICANT_CHANGE, \ .flags = WIPHY_VENDOR_CMD_NEED_WDEV | \ WIPHY_VENDOR_CMD_NEED_NETDEV | WIPHY_VENDOR_CMD_NEED_RUNNING, \ - .doit = wlan_hdd_cfg80211_extscan_reset_significant_change \ + .doit = wlan_hdd_cfg80211_extscan_reset_significant_change, \ vendor_command_policy(wlan_hdd_extscan_config_policy, \ EXTSCAN_PARAM_MAX) \ }, \ @@ -225,7 +225,7 @@ wlan_hdd_pno_config_policy[QCA_WLAN_VENDOR_ATTR_PNO_MAX + 1]; .info.subcmd = QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_PNO_SET_LIST, \ .flags = WIPHY_VENDOR_CMD_NEED_WDEV | \ WIPHY_VENDOR_CMD_NEED_NETDEV | WIPHY_VENDOR_CMD_NEED_RUNNING, \ - .doit = wlan_hdd_cfg80211_set_epno_list \ + .doit = wlan_hdd_cfg80211_set_epno_list, \ vendor_command_policy(wlan_hdd_pno_config_policy, \ QCA_WLAN_VENDOR_ATTR_PNO_MAX) \ }, \ @@ -235,7 +235,7 @@ wlan_hdd_pno_config_policy[QCA_WLAN_VENDOR_ATTR_PNO_MAX + 1]; QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_PNO_SET_PASSPOINT_LIST, \ .flags = WIPHY_VENDOR_CMD_NEED_WDEV | \ WIPHY_VENDOR_CMD_NEED_NETDEV | WIPHY_VENDOR_CMD_NEED_RUNNING, \ - .doit = wlan_hdd_cfg80211_set_passpoint_list \ + .doit = wlan_hdd_cfg80211_set_passpoint_list, \ vendor_command_policy(wlan_hdd_pno_config_policy, \ QCA_WLAN_VENDOR_ATTR_PNO_MAX) \ }, \ @@ -245,7 +245,7 @@ wlan_hdd_pno_config_policy[QCA_WLAN_VENDOR_ATTR_PNO_MAX + 1]; QCA_NL80211_VENDOR_SUBCMD_EXTSCAN_PNO_RESET_PASSPOINT_LIST, \ .flags = WIPHY_VENDOR_CMD_NEED_WDEV | \ WIPHY_VENDOR_CMD_NEED_NETDEV | WIPHY_VENDOR_CMD_NEED_RUNNING, \ - .doit = wlan_hdd_cfg80211_reset_passpoint_list \ + .doit = wlan_hdd_cfg80211_reset_passpoint_list, \ vendor_command_policy(wlan_hdd_pno_config_policy, \ QCA_WLAN_VENDOR_ATTR_PNO_MAX) \ }, diff --git a/core/wma/src/wma_scan_roam.c b/core/wma/src/wma_scan_roam.c index cde22362bd..23fbf414aa 100644 --- a/core/wma/src/wma_scan_roam.c +++ b/core/wma/src/wma_scan_roam.c @@ -1,6 +1,6 @@ /* * Copyright (c) 2013-2021 The Linux Foundation. All rights reserved. - * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2021-2023 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 @@ -1435,9 +1435,9 @@ int wma_extscan_capabilities_event_handler(void *handle, dest_capab->max_number_epno_networks_by_ssid = event->num_epno_networks; dest_capab->max_number_of_allow_listed_ssid = - event->num_roam_ssid_allowlist; + event->num_roam_ssid_whitelist; dest_capab->max_number_of_deny_listed_bssid = - event->num_roam_bssid_denylist; + event->num_roam_bssid_blacklist; dest_capab->status = 0; wma_debug("request_id: %u status: %d",