wifi: ieee80211: add helper functions for detecting TM/FTM frames