summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdhar, Mahesh Kumar <c_medhar@qti.qualcomm.com>2013-10-22 21:44:31 +0530
committerMadan Mohan Koyyalamudi <mkoyyala@qca.qualcomm.com>2013-10-29 17:32:01 -0700
commitdfd5eb5ff4238b64a812533c0c6db51f1b431817 (patch)
treecc953c07888d330cfbab354efb8dc1d1682016e4
parenta067471d2e56cfd6cb9e2cd5ad1f29dbfb2c6309 (diff)
CLD:Changes to support ARP response keepalive method
From SU39 onwards firmware supports ARP response keepalive method therefore changes done to support the same. Change-Id: I85991c08aafedc55caf6574a58d4b28771a4fbc3 CRs-fixed: 564990
-rw-r--r--CORE/HDD/src/wlan_hdd_wext.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/CORE/HDD/src/wlan_hdd_wext.c b/CORE/HDD/src/wlan_hdd_wext.c
index caa92ab460ff..8a515076e401 100644
--- a/CORE/HDD/src/wlan_hdd_wext.c
+++ b/CORE/HDD/src/wlan_hdd_wext.c
@@ -6526,7 +6526,6 @@ static int iw_set_keepalive_params(struct net_device *dev, struct iw_request_inf
break;
case WLAN_KEEP_ALIVE_UNSOLICIT_ARP_RSP:
-#ifdef QCA_WIFI_ISOC
hddLog(VOS_TRACE_LEVEL_INFO_HIGH, "%s: Keep Alive Request: Tx UnSolicited ARP RSP\n",
__func__);
@@ -6543,11 +6542,6 @@ static int iw_set_keepalive_params(struct net_device *dev, struct iw_request_inf
pRequest->destMacAddr[2], pRequest->destMacAddr[3],
pRequest->destMacAddr[4], pRequest->destMacAddr[5]);
break;
-#else
- hddLog(VOS_TRACE_LEVEL_ERROR, "UnSolicited ARP response type not"
- "supported");
- return -EINVAL;
-#endif
}
/* Execute keep alive request. The reason that we can copy the request information
@@ -8305,7 +8299,7 @@ static const struct iw_priv_args we_private_args[] = {
{
WLAN_SET_KEEPALIVE_PARAMS,
- IW_PRIV_TYPE_BYTE | sizeof(tKeepAliveRequest),
+ IW_PRIV_TYPE_BYTE | WE_MAX_STR_LEN,
0,
"setKeepAlive" },
#ifdef WLAN_FEATURE_PACKET_FILTERING