In either case, your switch doesn't tag the packets, the AP does. Setting a port to tagged adds the VLAN tag. Since the VLAN tag is added by the access point, setting the switch port to tagged is ...