prima: TDLS: Driver ioctl support for off channel commands

This commit introduces the driver ioctl's for TDLS off channel
operations. These interfaces shall configure the firmware with
the necessary parameters required for TDLS off channel operations.

Change-Id: Ic0a2ac3b9bf77767f3f9070e1fea18333f366267
CRs-fixed: 729373
diff --git a/CORE/HDD/src/wlan_hdd_wext.c b/CORE/HDD/src/wlan_hdd_wext.c
index 77c3a6c..a65be8d 100644
--- a/CORE/HDD/src/wlan_hdd_wext.c
+++ b/CORE/HDD/src/wlan_hdd_wext.c
@@ -122,9 +122,6 @@
 
 // tdlsoffchan
 #ifdef FEATURE_WLAN_TDLS
-static int iw_set_tdlsoffchannel(hdd_context_t *pHddCtx, int offchannel);
-static int iw_set_tdlssecoffchanneloffset(hdd_context_t *pHddCtx, int offchanoffset);
-static int iw_set_tdlsoffchannelmode(hdd_adapter_t *pAdapter, int offchanmode);
 static int tdlsOffCh = 1;
 static int tdlsOffChBwOffset = 0;
 #endif
@@ -8231,7 +8228,7 @@
 // tdlsoffchan
 #ifdef FEATURE_WLAN_TDLS
 
-static int iw_set_tdlsoffchannel(hdd_context_t *pHddCtx, int offchannel)
+int iw_set_tdlsoffchannel(hdd_context_t *pHddCtx, int offchannel)
 {
     if (offchannel < 0 || offchannel > 165)
     {
@@ -8248,7 +8245,7 @@
     return 0;
 }
 
-static int iw_set_tdlssecoffchanneloffset(hdd_context_t *pHddCtx, int offchanoffset)
+int iw_set_tdlssecoffchanneloffset(hdd_context_t *pHddCtx, int offchanoffset)
 {
     if (offchanoffset ==  0)
     {
@@ -8283,7 +8280,7 @@
     return -1;
 }
 
-static int iw_set_tdlsoffchannelmode(hdd_adapter_t *pAdapter, int offchanmode)
+int iw_set_tdlsoffchannelmode(hdd_adapter_t *pAdapter, int offchanmode)
 {
     hddTdlsPeer_t *connPeer = NULL;
     hdd_station_ctx_t *pHddStaCtx = WLAN_HDD_GET_STATION_CTX_PTR(pAdapter);