# 2GFSK digital filter bandwidth calculation

I'm working on a S2LP from ST and I am configuring the RX digital filter. I need to calculate the bandwidth of the signal which has 2GFSK modulation.

Do you think the code below is correct for estimating the signal bandwidth for a given XO and a given datarate ?

    uint8_t xo_ppm = 10;