qcacmn: CFR: APIs to get/set CFR RCC mode

APIs to set/get cfr rcc configuration in DP layer.

Change-Id: I4f8740f5f4cc1dd3af0f8d5915639f2a17918359
CRs-Fixed: 2593416
Этот коммит содержится в:
Padma Raghunathan
2019-12-26 19:40:12 +05:30
коммит произвёл nshrivas
родитель f75841764c
Коммит d2afc70e7c
3 изменённых файлов: 94 добавлений и 0 удалений

Просмотреть файл

@@ -1619,12 +1619,19 @@ struct cdp_rx_offld_ops {
/**
* struct cdp_cfr_ops - host cfr ops
* @txrx_cfr_filter: Handler to configure host rx monitor status ring
* @txrx_get_cfr_rcc: Handler to get CFR mode
* @txrx_set_cfr_rcc: Handler to enable/disable CFR mode
*/
struct cdp_cfr_ops {
void (*txrx_cfr_filter)(struct cdp_soc_t *soc_hdl,
uint8_t pdev_id,
bool enable,
struct cdp_monitor_filter *filter_val);
bool (*txrx_get_cfr_rcc)(struct cdp_soc_t *soc_hdl,
uint8_t pdev_id);
void (*txrx_set_cfr_rcc)(struct cdp_soc_t *soc_hdl,
uint8_t pdev_id,
bool enable);
};
#endif