diff --git a/dp/inc/cdp_txrx_stats_struct.h b/dp/inc/cdp_txrx_stats_struct.h index 4e22e5acde..6ed9cad4ce 100644 --- a/dp/inc/cdp_txrx_stats_struct.h +++ b/dp/inc/cdp_txrx_stats_struct.h @@ -2754,6 +2754,7 @@ struct cdp_peer_hmwds_ast_add_status { * Enumeration of cdp soc parameters * @DP_SOC_PARAM_EAPOL_OVER_CONTROL_PORT: For sending EAPOL's over control port * @DP_SOC_PARAM_MULTI_PEER_GRP_CMD_SUPPORT: For sending bulk AST delete + * @DP_SOC_PARAM_RSSI_DBM_CONV_SUPPORT: To set the rssi dbm support bit */ enum cdp_soc_param_t { DP_SOC_PARAM_MSDU_EXCEPTION_DESC, @@ -2761,6 +2762,7 @@ enum cdp_soc_param_t { DP_SOC_PARAM_MAX_AST_AGEOUT, DP_SOC_PARAM_EAPOL_OVER_CONTROL_PORT, DP_SOC_PARAM_MULTI_PEER_GRP_CMD_SUPPORT, + DP_SOC_PARAM_RSSI_DBM_CONV_SUPPORT, DP_SOC_PARAM_MAX, }; diff --git a/dp/wifi3.0/dp_main.c b/dp/wifi3.0/dp_main.c index 7ee61ce0a1..429b4df5e4 100644 --- a/dp/wifi3.0/dp_main.c +++ b/dp/wifi3.0/dp_main.c @@ -11987,6 +11987,11 @@ static QDF_STATUS dp_soc_set_param(struct cdp_soc_t *soc_hdl, dp_info("Multi Peer group command support:%d", soc->multi_peer_grp_cmd_supported); break; + case DP_SOC_PARAM_RSSI_DBM_CONV_SUPPORT: + soc->features.rssi_dbm_conv_support = value; + dp_info("Rssi dbm converstion support:%u", + soc->features.rssi_dbm_conv_support); + break; default: dp_info("not handled param %d ", param); break; diff --git a/dp/wifi3.0/dp_types.h b/dp/wifi3.0/dp_types.h index d706ba7b3f..3a29ceca3d 100644 --- a/dp/wifi3.0/dp_types.h +++ b/dp/wifi3.0/dp_types.h @@ -1821,10 +1821,12 @@ struct dp_arch_ops { * @pn_in_reo_dest: PN provided by hardware in the REO destination ring. * @dmac_cmn_src_rxbuf_ring_enabled: Flag to indicate DMAC mode common Rx * buffer source rings + * @rssi_dbm_conv_support: Rssi dbm converstion support param. */ struct dp_soc_features { uint8_t pn_in_reo_dest:1, dmac_cmn_src_rxbuf_ring_enabled:1; + bool rssi_dbm_conv_support; }; enum sysfs_printing_mode {