AT&T readies for revamped firm after sale of media unit