Where can I implement MAC protocol?

Hi all,
I want to construct an Ad Hoc networks using multiple USRP boards,
but
can I implement MAC protocol (such as CSMA or TDMA) in the FPGA on the
USRP
board or in the host PC?
Thanks!

DONG Chao