qcacmn: Add osif implementation of getting peer rssi

Add changes to support get peer rssi from within cp_stats
component.

Change-Id: Ic5e9d85e24b1f272df1fa7b6482a797af2aca66a
CRs-Fixed: 2222777
This commit is contained in:
Naveen Rawat
2018-04-11 23:52:32 -07:00
committed by nshrivas
parent 34e15c4636
commit 581787f9af
2 changed files with 88 additions and 0 deletions

View File

@@ -62,6 +62,17 @@ int wlan_cfg80211_mc_cp_stats_get_wakelock_stats(struct wlan_objmgr_psoc *psoc,
int wlan_cfg80211_mc_cp_stats_get_tx_power(struct wlan_objmgr_vdev *vdev,
int *dbm);
/**
* wlan_cfg80211_mc_cp_stats_get_peer_rssi() - API to fetch peer rssi
* @vdev: Pointer to vdev
* @macaddress: mac address
* @rssi_info: stats structure within which rssi info will be populated
*
* Return: 0 on success, negative value on failure
*/
int wlan_cfg80211_mc_cp_stats_get_peer_rssi(struct wlan_objmgr_vdev *vdev,
uint8_t *macaddress,
struct stats_event *rssi_info);
#endif /* QCA_SUPPORT_CP_STATS */
#endif /* __WLAN_CFG80211_MC_CP_STATS_H__ */