qcacld-3.0: Re-arrange regulatory code.

Re-arrange core regulatory code between HDD and CDS
layers. Move the OS dependent code to HDD.

Change-Id: I8ac26a48d0e8d613b2f6c23fd764e5cf94365c39
CRs-Fixed: 856727
diff --git a/core/hdd/src/wlan_hdd_ioctl.c b/core/hdd/src/wlan_hdd_ioctl.c
index 25882c7..e8d80bb 100644
--- a/core/hdd/src/wlan_hdd_ioctl.c
+++ b/core/hdd/src/wlan_hdd_ioctl.c
@@ -6022,7 +6022,7 @@
 	int status;
 	uint32_t chan_number = 0, chan_bw = 0;
 	uint8_t *value = command;
-	phy_ch_width width;
+	enum ch_width width;
 
 	if ((adapter->device_mode != WLAN_HDD_P2P_GO) &&
 		(adapter->device_mode != WLAN_HDD_SOFTAP)) {