How to calculate dw3000 data tansmission

hello,
May I ask how to calculate the transmission rate and print it out in the code