RX rate measurement code (disable by default).

Change-Id: I3cfa7f07a71b1d8b9e77f93ef16b683c15f9fe24