If an at&t custom rom is working with wifi calling it was likely developed on a t-mo base for multiple carrier support including the Tmo goodies. There are some good ones that roll that way.
OP, is this a tmo or at&t device? If not a tmo, don't flash the mk7 modem. Stick with your specific devices modem.
Hastily spouted for your befuddlement