tx80211_setmode(...) is deprecated; replacing with tx80211_setfunctionalmode