qcacmn: Add lmac interface to check ATF enable
Add South bound lmac interface to check ATF enable. Change-Id: I3383a90f663079ae77872af09222e1758c7cb452 CRs-Fixed: 3600024
This commit is contained in:

committed by
Rahul Choudhary

parent
2cc88020a1
commit
cf8b664ae6
@@ -2096,6 +2096,7 @@ struct wlan_lmac_if_p2p_rx_ops {
|
||||
* struct wlan_lmac_if_atf_rx_ops - ATF south bound rx function pointers
|
||||
* @atf_get_fmcap: Get firmware capability for ATF
|
||||
* @atf_get_mode: Get mode of ATF
|
||||
* @atf_is_enabled: Check atf_mode, fwcap & atf_commit flags
|
||||
* @atf_get_msdu_desc: Get msdu desc for ATF
|
||||
* @atf_get_max_vdevs: Get maximum vdevs for a Radio
|
||||
* @atf_get_peers: Get number of peers for a radio
|
||||
@@ -2129,6 +2130,8 @@ struct wlan_lmac_if_p2p_rx_ops {
|
||||
struct wlan_lmac_if_atf_rx_ops {
|
||||
uint32_t (*atf_get_fmcap)(struct wlan_objmgr_psoc *psoc);
|
||||
uint32_t (*atf_get_mode)(struct wlan_objmgr_psoc *psoc);
|
||||
bool (*atf_is_enabled)(struct wlan_objmgr_psoc *psoc,
|
||||
struct wlan_objmgr_pdev *pdev);
|
||||
uint32_t (*atf_get_msdu_desc)(struct wlan_objmgr_psoc *psoc);
|
||||
uint32_t (*atf_get_max_vdevs)(struct wlan_objmgr_psoc *psoc);
|
||||
uint32_t (*atf_get_peers)(struct wlan_objmgr_psoc *psoc);
|
||||
|
@@ -206,6 +206,7 @@ wlan_lmac_if_atf_rx_ops_register(struct wlan_lmac_if_rx_ops *rx_ops)
|
||||
/* ATF rx ops */
|
||||
atf_rx_ops->atf_get_fmcap = tgt_atf_get_fmcap;
|
||||
atf_rx_ops->atf_get_mode = tgt_atf_get_mode;
|
||||
atf_rx_ops->atf_is_enabled = tgt_atf_is_enabled;
|
||||
atf_rx_ops->atf_get_msdu_desc = tgt_atf_get_msdu_desc;
|
||||
atf_rx_ops->atf_get_max_vdevs = tgt_atf_get_max_vdevs;
|
||||
atf_rx_ops->atf_get_peers = tgt_atf_get_peers;
|
||||
|
Reference in New Issue
Block a user