[MAC80211]: use switch statement in tx code