qcacld-3.0: Add new ini to enable/disable R-STA 11az support
Add new ini "enable_responder_11az_support" to enable/disable R-STA 11az support. Change-Id: If99f19eb88a6db31364f010db0f257ece45e6527 CRs-Fixed: 3295310
This commit is contained in:

committed by
Madan Koyyalamudi

orang tua
97fefb1f62
melakukan
b70d93c705
@@ -2348,7 +2348,10 @@ mlme_init_wifi_pos_11az_config(struct wlan_objmgr_psoc *psoc,
|
|||||||
{
|
{
|
||||||
bool rsta_sec_ltf_enabled =
|
bool rsta_sec_ltf_enabled =
|
||||||
cfg_get(psoc, CFG_RESPONDER_SECURE_LTF_SUPPORT);
|
cfg_get(psoc, CFG_RESPONDER_SECURE_LTF_SUPPORT);
|
||||||
|
bool rsta_11az_ranging_enabled = cfg_get(psoc,
|
||||||
|
CFG_RESPONDER_11AZ_SUPPORT);
|
||||||
|
|
||||||
|
wifi_pos_set_rsta_11az_ranging_cap(rsta_11az_ranging_enabled);
|
||||||
wifi_pos_set_rsta_sec_ltf_cap(rsta_sec_ltf_enabled);
|
wifi_pos_set_rsta_sec_ltf_cap(rsta_sec_ltf_enabled);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
@@ -116,9 +116,33 @@
|
|||||||
false, \
|
false, \
|
||||||
"enable Responder secure LTF support")
|
"enable Responder secure LTF support")
|
||||||
|
|
||||||
|
/*
|
||||||
|
* <ini>
|
||||||
|
* enable_responder_11az_support - R-STA 11az ranging support
|
||||||
|
* @Min: false
|
||||||
|
* @Max: true
|
||||||
|
* @Default: false
|
||||||
|
*
|
||||||
|
* This ini is used to enable R-STA advertising 11az ranging
|
||||||
|
* capabilities.
|
||||||
|
*
|
||||||
|
* Related: None
|
||||||
|
*
|
||||||
|
* Supported Feature: WIFI POS
|
||||||
|
*
|
||||||
|
* Usage: Internal/External
|
||||||
|
*
|
||||||
|
* </ini>
|
||||||
|
*/
|
||||||
|
#define CFG_RESPONDER_11AZ_SUPPORT CFG_INI_BOOL( \
|
||||||
|
"enable_responder_11az_support", \
|
||||||
|
false, \
|
||||||
|
"enable Responder 11az support")
|
||||||
|
|
||||||
#define CFG_WIFI_POS_ALL \
|
#define CFG_WIFI_POS_ALL \
|
||||||
CFG(CFG_FINE_TIME_MEAS_CAPABILITY) \
|
CFG(CFG_FINE_TIME_MEAS_CAPABILITY) \
|
||||||
CFG(CFG_OEM_SIXG_SUPPORT_DISABLE) \
|
CFG(CFG_OEM_SIXG_SUPPORT_DISABLE) \
|
||||||
CFG(CFG_RESPONDER_SECURE_LTF_SUPPORT)
|
CFG(CFG_RESPONDER_SECURE_LTF_SUPPORT) \
|
||||||
|
CFG(CFG_RESPONDER_11AZ_SUPPORT)
|
||||||
|
|
||||||
#endif /* __CFG_MLME_WIFI_POS_H */
|
#endif /* __CFG_MLME_WIFI_POS_H */
|
||||||
|
Reference in New Issue
Block a user