qcacld-3.0: Add psoc ptr arg in get 6G power type for ctry API
Pass psoc ptr as argument in addition to existing args in wlan_reg_get_6g_power_type_for_ctry API to support new APIs like wlan_cm_get_check_6ghz_security that are invoked within. Change-Id: I9615c5d2cb509a0c9f8e10073c0928ab38f179f8 CRs-Fixed: 3080203
Esse commit está contido em:

commit de
Madan Koyyalamudi

pai
f61a0e0cea
commit
80969617dd
@@ -2923,7 +2923,7 @@ lim_fill_pe_session(struct mac_context *mac_ctx, struct pe_session *session,
|
||||
pe_debug("Channel is 6G but country IE not present");
|
||||
wlan_reg_read_current_country(mac_ctx->psoc,
|
||||
programmed_country);
|
||||
status = wlan_reg_get_6g_power_type_for_ctry(
|
||||
status = wlan_reg_get_6g_power_type_for_ctry(mac_ctx->psoc,
|
||||
ie_struct->Country.country,
|
||||
programmed_country, &power_type_6g,
|
||||
&ctry_code_match);
|
||||
|
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021 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
|
||||
@@ -760,7 +761,7 @@ static void __sch_beacon_process_for_session(struct mac_context *mac_ctx,
|
||||
}
|
||||
wlan_reg_read_current_country(mac_ctx->psoc,
|
||||
programmed_country);
|
||||
status = wlan_reg_get_6g_power_type_for_ctry(
|
||||
status = wlan_reg_get_6g_power_type_for_ctry(mac_ctx->psoc,
|
||||
bcn->countryInfoParam.countryString,
|
||||
programmed_country, &pwr_type_6g,
|
||||
&ctry_code_match);
|
||||
|
Referência em uma nova issue
Block a user