qcacmn: AFC device deployment type support
Add init sequence handling to support AFC device deployment type Set AFC device deployment type to regulatory private obj Change-Id: Ib041d2010552412aaaa41395915d948aa2ea2bba CRs-Fixed: 3190288
This commit is contained in:

committato da
Madan Koyyalamudi

parent
81f0e6a247
commit
627746d6bb
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2021 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
|
||||
@@ -132,4 +133,34 @@ target_if_reg_set_disable_upper_6g_edge_ch_info(struct wlan_objmgr_psoc *psoc)
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_AFC_SUPPORT)
|
||||
/**
|
||||
* target_if_reg_set_afc_dev_type() - set afc device deployment type
|
||||
* @psoc: psoc pointer
|
||||
* @tgt_hdl: target handle
|
||||
*
|
||||
* Return: Success or Failure
|
||||
*/
|
||||
QDF_STATUS
|
||||
target_if_reg_set_afc_dev_type(struct wlan_objmgr_psoc *psoc,
|
||||
struct target_psoc_info *tgt_hdl);
|
||||
|
||||
/**
|
||||
* target_if_reg_get_afc_device_type() - get afc device deployment type
|
||||
* @psoc: psoc pointer
|
||||
* @reg_afc_dev_type:
|
||||
* Return: Success or Failure
|
||||
*/
|
||||
QDF_STATUS
|
||||
target_if_reg_get_afc_dev_type(struct wlan_objmgr_psoc *psoc,
|
||||
enum reg_afc_dev_deploy_type *reg_afc_dev_type);
|
||||
#else
|
||||
static inline QDF_STATUS
|
||||
target_if_reg_set_afc_dev_type(struct wlan_objmgr_psoc *psoc,
|
||||
struct target_psoc_info *tgt_hdl)
|
||||
{
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
#endif
|
||||
#endif /* __TARGET_IF_REG_H__ */
|
||||
|
Fai riferimento in un nuovo problema
Block a user