qcacmn: Add support for AP secure-LTF capability

Add support to advertise AP secure-LTF capability based
on ini configuration

Change-Id: I8aebbd683694e36d8d16215c0358f5bfb18d5443
CRs-Fixed: 3283114
此提交包含在:
Pragaspathi Thilagaraj
2022-09-13 23:26:14 +05:30
提交者 Madan Koyyalamudi
父節點 0991ec65e2
當前提交 89f5e532f3
共有 4 個檔案被更改,包括 64 行新增1 行删除

查看文件

@@ -669,4 +669,22 @@ wifi_pos_register_osif_callbacks(struct wlan_objmgr_psoc *psoc,
struct wifi_pos_osif_ops *
wifi_pos_get_osif_callbacks(struct wlan_objmgr_psoc *psoc);
#endif /* WIFI_POS_CONVERGED */
#if defined(WIFI_POS_CONVERGED) && defined(WLAN_FEATURE_RTT_11AZ_SUPPORT)
/**
* wifi_pos_set_rsta_sec_ltf_cap() - Set RSTA secure LTF capability
* @val: Value
*
* Return: None
**/
void
wifi_pos_set_rsta_sec_ltf_cap(uint32_t val);
/**
* wifi_pos_get_rsta_sec_ltf_cap - Get RSTA secure LTF capability
*
* Return: True or false
*/
bool wifi_pos_get_rsta_sec_ltf_cap(void);
#endif
#endif /* _WIFI_POS_API_H_ */

查看文件

@@ -258,6 +258,7 @@ struct wifi_pos_legacy_ops {
* @osif_cb: Callbacks to OS_IF
* @wifi_pos_lock: lock to access wifi pos priv object
* @oem_6g_support_disable: oem target 6ghz support is disabled if set
* @enable_rsta_secure_ltf_support: Enable RSTA secure LTF support
* @wifi_pos_req_handler: function pointer to handle TLV or non-TLV
* @wifi_pos_send_rsp: function pointer to send msg to userspace APP
* @wifi_pos_get_phy_mode: function pointer to get wlan phymode for given
@@ -312,6 +313,7 @@ struct wifi_pos_psoc_priv_obj {
qdf_spinlock_t wifi_pos_lock;
bool oem_6g_support_disable;
bool enable_rsta_secure_ltf_support;
struct wifi_pos_legacy_ops *legacy_ops;
QDF_STATUS (*wifi_pos_req_handler)(struct wlan_objmgr_psoc *psoc,
struct wifi_pos_req_msg *req);