Hi Adnan,
ROW (Rest of world) IAP will have country code assigned to it.
Similarly ROW controller will be aligned to one country chosen at time of configuring it.
The default regulatory domain profile on the controller will have the same country code as controller.
# show country.
# show ap regulatory-domain-profile default
The default regulatory domain profile will be mapped to every AP-group unless you create a new one & map it.
Eg: 1. Lets say you chose the country code on IAP to be India while bringing it up for the 1st time.
2. However, you have a controller which is in Singapore & hence will have country set to same.
The default regulatory domain profile will be pointed to Singapore as well in this case.
3. Now, if you will try to convert your IAP to CAP by pointing to this controller, it will go in to AM mode because of the country code mismtach.
In this case, you need to create a new regulatory domain profile & map it to country code India.
This profile needs to be mapped to the AP-group on which you expect the AP to come up.
I hope this clears the confusion.