wlan: HDD: removing newlines from the debug logs
dmesg log is a limited and extremely precious
debugging tool. Any unnecessary prints are avoided.
Change-Id: I94c77696af432b856967a7a0d628c06f2b3f8679
CRs-Fixed: 540451
diff --git a/CORE/HDD/src/bap_hdd_main.c b/CORE/HDD/src/bap_hdd_main.c
index 86c77ee..b095b80 100644
--- a/CORE/HDD/src/bap_hdd_main.c
+++ b/CORE/HDD/src/bap_hdd_main.c
@@ -432,13 +432,13 @@
WLANTL_MetaInfoType TlMetaInfo;
pctx = &BslClientCtx[0];
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_LOW, "WLANBAP_STAFetchPktCB\n" );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_LOW, "WLANBAP_STAFetchPktCB" );
// sanity checking
if( pHddHdl == NULL || vosDataBuff == NULL ||
tlMetaInfo == NULL || ucAC >= WLANTL_MAX_AC || ucAC < 0 )
{
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_STAFetchPktCB bad input\n" );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_STAFetchPktCB bad input" );
return VOS_STATUS_E_FAILURE;
}
@@ -496,12 +496,12 @@
if ( !VOS_IS_STATUS_SUCCESS( VosStatus ) )
{
VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_STAFetchPktCB vos_pkt_wrap_data_packet "
- "failed status =%d\n", VosStatus );
+ "failed status =%d", VosStatus );
kfree_skb(skb);
return VosStatus;
}
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO, "%s: pVosPkt(vos_pkt_t *)=%p\n", __func__,
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO, "%s: pVosPkt(vos_pkt_t *)=%p", __func__,
pVosPkt );
VosStatus = WLANBAP_XlateTxDataPkt( pctx->bapHdl, pPhyCtx->PhyLinkHdl,
@@ -510,7 +510,7 @@
if ( !VOS_IS_STATUS_SUCCESS( VosStatus ) )
{
VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_STAFetchPktCB WLANBAP_XlateTxDataPkt "
- "failed status =%d\n", VosStatus );
+ "failed status =%d", VosStatus );
// return the packet
VosStatus = vos_pkt_return_packet( pVosPkt );
@@ -525,7 +525,7 @@
// provide the meta-info BAP provided previously
*tlMetaInfo = TlMetaInfo;
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: *vosDataBuff(vos_pkt_t *)=%p\n", __func__, *vosDataBuff );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "%s: *vosDataBuff(vos_pkt_t *)=%p", __func__, *vosDataBuff );
return(VOS_STATUS_SUCCESS);
} // WLANBAP_STAFetchPktCB()
@@ -561,12 +561,12 @@
vos_pkt_t* pVosPacket;
vos_pkt_t* pNextVosPacket;
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_LOW, "WLANBAP_STARxCB\n" );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_LOW, "WLANBAP_STARxCB" );
// sanity checking
if ( pHddHdl == NULL || vosDataBuff == NULL || pRxMetaInfo == NULL )
{
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_STARxCB bad input\n" );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_STARxCB bad input" );
if(NULL != vosDataBuff)
{
VosStatus = vos_pkt_return_packet( vosDataBuff );
@@ -579,7 +579,7 @@
if( NULL == ppctx )
{
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_STARxCB ClientCtx is NULL\n" );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_STARxCB ClientCtx is NULL" );
VosStatus = vos_pkt_return_packet( vosDataBuff );
return VOS_STATUS_E_FAILURE;
}
@@ -606,7 +606,7 @@
if ( !VOS_IS_STATUS_SUCCESS( VosStatus ) )
{
VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_FATAL, "WLANBAP_STARxCB WLANBAP_XlateRxDataPkt "
- "failed status = %d\n", VosStatus );
+ "failed status = %d", VosStatus );
VosStatus = VOS_STATUS_E_FAILURE;
@@ -619,7 +619,7 @@
if(!VOS_IS_STATUS_SUCCESS( VosStatus ))
{
VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "%s: Failure extracting skb from vos pkt. "
- "VosStatus = %d\n", __func__, VosStatus );
+ "VosStatus = %d", __func__, VosStatus );
VosStatus = VOS_STATUS_E_FAILURE;
@@ -682,7 +682,7 @@
BslClientCtxType* ppctx;
static int num_packets;
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO, "WLANBAP_TxCompCB. vosDataBuff(vos_pkt_t *)=%p\n", vosDataBuff );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO, "WLANBAP_TxCompCB. vosDataBuff(vos_pkt_t *)=%p", vosDataBuff );
// be aware that pHddHdl can be NULL or can point to the per association
// BSL context from the register data plane. In either case it does not
@@ -692,7 +692,7 @@
// sanity checking
if ( vosDataBuff == NULL )
{
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_TxCompCB bad input\n" );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_TxCompCB bad input" );
return VOS_STATUS_E_FAILURE;
}
@@ -722,7 +722,7 @@
num_packets = (num_packets + 1) % 4;
if (num_packets == 0 )
{
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO, "%s: Sending up number of completed packets. num_packets = %d.\n", __func__, num_packets );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO, "%s: Sending up number of completed packets. num_packets = %d.", __func__, num_packets );
WLANBAP_TxPacketMonitorHandler ( (v_PVOID_t) ppctx->bapHdl ); // our handle in BAP
}
@@ -790,7 +790,7 @@
v_U32_t OldMapVal;
VOS_STATUS VosStatus = VOS_STATUS_SUCCESS;
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "BslReleasePhyCtx\n" );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "BslReleasePhyCtx" );
pPhyCtx->used = FALSE;
@@ -877,12 +877,12 @@
// sanity checking
if ( pBapHCIEvent == NULL )
{
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_EventCB bad input\n" );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_EventCB bad input" );
return VOS_STATUS_E_FAILURE;
}
VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "WLANBAP_EventCB event=%d "
- "assoc_specific=%d\n", pBapHCIEvent->bapHCIEventCode, AssocSpecificEvent );
+ "assoc_specific=%d", pBapHCIEvent->bapHCIEventCode, AssocSpecificEvent );
if ( pHddHdl == NULL )
{
@@ -900,7 +900,7 @@
}
else
{
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_FATAL, "WLANBAP_EventCB bad input\n" );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_FATAL, "WLANBAP_EventCB bad input" );
return VOS_STATUS_E_FAILURE;
}
}
@@ -934,7 +934,7 @@
if ( !VOS_IS_STATUS_SUCCESS( VosStatus ) )
{
VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_EventCB vos_pkt_get_packet "
- "failed status=%d\n", VosStatus );
+ "failed status=%d", VosStatus );
return(VosStatus);
}
@@ -1218,7 +1218,7 @@
if ( !VOS_IS_STATUS_SUCCESS( VosStatus ) )
{
VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_EventCB WLANBAP_RegisterDataPlane "
- "failed status = %d\n", VosStatus );
+ "failed status = %d", VosStatus );
// we still want to send the event upto app so do not bail
}
else
@@ -1281,7 +1281,7 @@
else
{
VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_EventCB unexpected HCI Phy Link Comp Evt "
- "status =%d\n", pBapHCIEvent->u.btampPhysicalLinkCompleteEvent.status );
+ "status =%d", pBapHCIEvent->u.btampPhysicalLinkCompleteEvent.status );
}
break;
@@ -1333,7 +1333,7 @@
else
{
VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_EventCB unexpected HCI Dis Phy Link Comp Evt "
- "status =%d reason =%d\n", pBapHCIEvent->u.btampDisconnectPhysicalLinkCompleteEvent.status,
+ "status =%d reason =%d", pBapHCIEvent->u.btampDisconnectPhysicalLinkCompleteEvent.status,
pBapHCIEvent->u.btampDisconnectPhysicalLinkCompleteEvent.reason );
}
@@ -1455,7 +1455,7 @@
}
default:
{
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_EventCB unexpected event\n" );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_EventCB unexpected event" );
VosStatus = vos_pkt_return_packet( pVosPkt );
@@ -1474,7 +1474,7 @@
if ( !VOS_IS_STATUS_SUCCESS( VosStatus ) )
{
VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_EventCB vos_pkt_push_head "
- "status =%d\n", VosStatus );
+ "status =%d", VosStatus );
// return the packet
VosStatus = vos_pkt_return_packet( pVosPkt );
@@ -1489,7 +1489,7 @@
if(!VOS_IS_STATUS_SUCCESS( VosStatus ))
{
VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "%s: Failure extracting skb from vos pkt. "
- "VosStatus = %d\n", __func__, VosStatus );
+ "VosStatus = %d", __func__, VosStatus );
// return the packet
VosStatus = vos_pkt_return_packet( pVosPkt );
@@ -1561,7 +1561,7 @@
BslClientCtxType* pctx;
v_U8_t i;
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "BslFindAndInitClientCtx\n" );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "BslFindAndInitClientCtx" );
if ( !VOS_IS_STATUS_SUCCESS( VosStatus ) )
{
@@ -1583,7 +1583,7 @@
{
// no more clients can be supported
VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "BslFindAndInitClientCtx no more "
- "clients can be supported MAX=%d\n", BSL_MAX_CLIENTS );
+ "clients can be supported MAX=%d", BSL_MAX_CLIENTS );
return FALSE;
}
@@ -1646,7 +1646,7 @@
vos_list_node_t* pLink;
BslPhyLinksNodeType *pPhyNode;
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_LOW, "BslReleaseClientCtx\n" );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_LOW, "BslReleaseClientCtx" );
// an app can do this without cleaning up after itself i.e. it can have active associations and
// data pending, we need to cleanup its mess
@@ -1728,7 +1728,7 @@
vos_list_node_t* pLink;
BslPhyLinksNodeType *pNode;
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_LOW, "BslFindAndInitPhyCtx\n" );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_LOW, "BslFindAndInitPhyCtx" );
for ( i=0; i<BSL_MAX_PHY_LINKS; i++ )
{
@@ -1778,7 +1778,7 @@
{
// this could happen due to pool not being big enough, etc
VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_LOW, "BslFindAndInitPhyCtx failed to "
- "get node from BslPhyLinksDescPool vstatus=%d\n", VosStatus );
+ "get node from BslPhyLinksDescPool vstatus=%d", VosStatus );
BslReleasePhyCtx( *ppPhyCtx );
return FALSE;
}
@@ -1847,10 +1847,10 @@
cmdOpcode = ( cmdOpcode & 0xFF ) << 8 | ( cmdOpcode & 0xFF00 ) >> 8;
}
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_LOW, "BslProcessHCICommand: cmdOpcode = %hx\n", cmdOpcode );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_LOW, "BslProcessHCICommand: cmdOpcode = %hx", cmdOpcode );
for(i=0; i<4; i++)
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "BslProcessHCICommand: *pBuf before advancepTmp[%x] = %x\n", i,pTmp[i] );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "BslProcessHCICommand: *pBuf before advancepTmp[%x] = %x", i,pTmp[i] );
pBuf+=CMD_TLV_TYPE_AND_LEN_SIZE;
@@ -1888,7 +1888,7 @@
Status = BslFindAndInitPhyCtx( pctx, CreatePhysicalLinkCmd.phy_link_handle,
&pPhyCtx );
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "CreatePhysicalLinkCmd.phy_link_handle=%d\n",CreatePhysicalLinkCmd.phy_link_handle);
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "CreatePhysicalLinkCmd.phy_link_handle=%d",CreatePhysicalLinkCmd.phy_link_handle);
if ( !Status )
{
@@ -1956,7 +1956,7 @@
Status = BslFindAndInitPhyCtx( pctx, AcceptPhysicalLinkCmd.phy_link_handle,
&pPhyCtx );
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "AcceptPhysicalLinkCmd.phy_link_handle=%d\n",AcceptPhysicalLinkCmd.phy_link_handle);
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "AcceptPhysicalLinkCmd.phy_link_handle=%d",AcceptPhysicalLinkCmd.phy_link_handle);
if ( !Status )
{
@@ -1999,7 +1999,7 @@
Count = Count - 3;//Type and length field lengths are not needed
pTmp = pBuf;
for(i=0; i<4; i++)
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "BslProcessHCICommand: *pBuf in Disconnect phy link pTmp[%x] = %x\n", i,pTmp[i] );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_HIGH, "BslProcessHCICommand: *pBuf in Disconnect phy link pTmp[%x] = %x", i,pTmp[i] );
// unpack
UnpackStatus = btampUnpackTlvHCI_Disconnect_Physical_Link_Cmd( NULL,
pBuf, Count, &DisconnectPhysicalLinkCmd );
@@ -3546,7 +3546,7 @@
static int num_packets;
#endif
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_LOW, "BslProcessACLDataTx\n" );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_INFO_LOW, "BslProcessACLDataTx" );
// need to find the PHY link for this ACL data pkt based on phy_link_handle
// TODO need some endian-ness check?
@@ -3570,7 +3570,7 @@
if ( !VOS_IS_STATUS_SUCCESS( VosStatus ) )
{
VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "BslProcessACLDataTx WLANBAP_GetAcFromTxDataPkt "
- "failed status =%d\n", VosStatus );
+ "failed status =%d", VosStatus );
Ac = WLANTL_AC_BE;
}
@@ -3602,7 +3602,7 @@
if ( !VOS_IS_STATUS_SUCCESS( VosStatus ) )
{
VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "BslProcessACLDataTx WLANBAP_STAPktPending "
- "failed status =%d\n", VosStatus );
+ "failed status =%d", VosStatus );
VOS_ASSERT(0);
}
}
@@ -3612,7 +3612,7 @@
else
{
VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "BslProcessACLDataTx attempting to send "
- "data for a non-existant assocation\n" );
+ "data for a non-existant assocation" );
return(FALSE);
}
@@ -3814,7 +3814,7 @@
if (err < 0)
{
VOS_TRACE(VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR,
- "Unable to register HCI device, err=%d\n", err);
+ "Unable to register HCI device, err=%d", err);
pctx->hdev = NULL;
hci_free_dev(hdev);
return -ENODEV;
@@ -4336,7 +4336,7 @@
// sanity checking
if ( pConfig == NULL )
{
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_SetConfig bad input\n" );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_SetConfig bad input" );
return VOS_STATUS_E_FAILURE;
}
pctx = gpBslctx;
@@ -4351,7 +4351,7 @@
status = WLANBAP_GetNewHndl(&pctx->bapHdl);
if ( !VOS_IS_STATUS_SUCCESS( status ) )
{
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_SetConfig can't get BAP handle\n" );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_SetConfig can't get BAP handle" );
return VOS_STATUS_E_FAILURE;
}
@@ -4359,7 +4359,7 @@
status = WLAN_BAPSetConfig(pctx->bapHdl, pConfig);
if ( !VOS_IS_STATUS_SUCCESS( status ) )
{
- VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_SetConfig can't set BAP config\n" );
+ VOS_TRACE( VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR, "WLANBAP_SetConfig can't set BAP config" );
return VOS_STATUS_E_FAILURE;
}
@@ -4392,7 +4392,7 @@
if(NULL != pctx->hdev)
{
VOS_TRACE(VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_WARN,
- "Already registered as HCI device\n");
+ "Already registered as HCI device");
return VOS_STATUS_SUCCESS;
}
@@ -4465,7 +4465,7 @@
if (err < 0)
{
VOS_TRACE(VOS_MODULE_ID_BAP, VOS_TRACE_LEVEL_ERROR,
- "Unable to register HCI device, err=%d\n", err);
+ "Unable to register HCI device, err=%d", err);
pctx->hdev = NULL;
hci_free_dev(hdev);
return VOS_STATUS_E_FAULT;
diff --git a/CORE/HDD/src/wlan_hdd_assoc.c b/CORE/HDD/src/wlan_hdd_assoc.c
index 5adfd45..f7b035b 100644
--- a/CORE/HDD/src/wlan_hdd_assoc.c
+++ b/CORE/HDD/src/wlan_hdd_assoc.c
@@ -524,13 +524,13 @@
if (descriptor == NULL)
{
hddLog(LOGE,
- "%s: pCsrRoamInfo->pBssDesc=%p\n",
+ "%s: pCsrRoamInfo->pBssDesc=%p",
__func__, descriptor);
return;
}
// Send the Channel event, the supplicant needs this to generate the Adjacent AP report.
- hddLog(LOGW, "%s: Sending up an SIOCGIWFREQ, channelId=%d\n", __func__, descriptor->channelId);
+ hddLog(LOGW, "%s: Sending up an SIOCGIWFREQ, channelId=%d", __func__, descriptor->channelId);
memset(&wrqu, '\0', sizeof(wrqu));
wrqu.freq.m = descriptor->channelId;
wrqu.freq.e = 0;
@@ -1114,7 +1114,7 @@
//pFTAssocRsp needs to point to the IEs
pFTAssocRsp += FT_ASSOC_RSP_IES_OFFSET;
- hddLog(LOG1, "%s: AssocRsp is now at %02x%02x\n", __func__,
+ hddLog(LOG1, "%s: AssocRsp is now at %02x%02x", __func__,
(unsigned int)pFTAssocRsp[0],
(unsigned int)pFTAssocRsp[1]);
@@ -1314,10 +1314,10 @@
if(ft_carrier_on)
{
hddLog(LOG1, "%s ft_carrier_on is %d, sending roamed "
- "indication\n", __FUNCTION__, ft_carrier_on);
+ "indication", __FUNCTION__, ft_carrier_on);
chan = ieee80211_get_channel(pAdapter->wdev.wiphy,
(int)pRoamInfo->pBssDesc->channelId);
- hddLog(LOG1, "assocReqlen %d assocRsplen %d\n", assocReqlen,
+ hddLog(LOG1, "assocReqlen %d assocRsplen %d", assocReqlen,
assocRsplen);
cfg80211_roamed(dev,chan, pRoamInfo->bssid,
pFTAssocReq, assocReqlen, pFTAssocRsp, assocRsplen,
@@ -1341,7 +1341,7 @@
else
{
hddLog(LOG1, "%s ft_carrier_on is %d, sending connect "
- "indication\n", __FUNCTION__, ft_carrier_on);
+ "indication", __FUNCTION__, ft_carrier_on);
cfg80211_connect_result(dev, pRoamInfo->bssid,
pFTAssocReq, assocReqlen,
pFTAssocRsp, assocRsplen,
@@ -1980,7 +1980,7 @@
pRoamInfo->peerMac, WNI_CFG_BSSID_LEN);
VOS_TRACE( VOS_MODULE_ID_HDD,
- VOS_TRACE_LEVEL_INFO_HIGH, "New peer joined set PTK encType=%d\n",
+ VOS_TRACE_LEVEL_INFO_HIGH, "New peer joined set PTK encType=%d",
pHddStaCtx->ibss_enc_key.encType);
vosStatus = sme_RoamSetKey( WLAN_HDD_GET_HAL_CTX(pAdapter),
@@ -2101,12 +2101,12 @@
: (staDesc.ucQosEnabled = 0) ;
VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "HDD register \
- TL QoS_enabled=%d\n", staDesc.ucQosEnabled );
+ TL QoS_enabled=%d", staDesc.ucQosEnabled );
staDesc.ucProtectedFrame = (connectedCipherAlgo != eCSR_ENCRYPT_TYPE_NONE) ;
VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_MED,
- "HDD register TL Sec_enabled= %d.\n", staDesc.ucProtectedFrame );
+ "HDD register TL Sec_enabled= %d.", staDesc.ucProtectedFrame );
/*
* UMA is ready we inform TL to do frame translation.
@@ -2419,7 +2419,7 @@
* in any case tell the OS, our carrier is off and mark
* interface down */
case eCSR_ROAM_FT_REASSOC_FAILED:
- hddLog(LOG1, FL("Reassoc Failed\n"));
+ hddLog(LOG1, FL("Reassoc Failed"));
halStatus = hdd_DisConnectHandler( pAdapter, pRoamInfo, roamId, roamStatus, roamResult );
/* Check if Mcast/Bcast Filters are set, if yes clear the filters here */
if ((WLAN_HDD_GET_CTX(pAdapter))->hdd_mcastbcast_filter_set == TRUE) {
@@ -3084,7 +3084,7 @@
ENTER();
pRoamProfile->AuthType.numEntries = 1;
- hddLog( LOG1, "%s: pHddStaCtx->conn_info.authType = %d\n", __func__, pHddStaCtx->conn_info.authType);
+ hddLog( LOG1, "%s: pHddStaCtx->conn_info.authType = %d", __func__, pHddStaCtx->conn_info.authType);
switch( pHddStaCtx->conn_info.authType)
{
@@ -3103,11 +3103,11 @@
if ((RSNAuthType == eCSR_AUTH_TYPE_CCKM_WPA) &&
((pWextState->authKeyMgmt & IW_AUTH_KEY_MGMT_802_1X)
== IW_AUTH_KEY_MGMT_802_1X)) {
- hddLog( LOG1, "%s: set authType to CCKM WPA. AKM also 802.1X.\n", __func__);
+ hddLog( LOG1, "%s: set authType to CCKM WPA. AKM also 802.1X.", __func__);
pRoamProfile->AuthType.authType[0] = eCSR_AUTH_TYPE_CCKM_WPA;
} else
if ((RSNAuthType == eCSR_AUTH_TYPE_CCKM_WPA)) {
- hddLog( LOG1, "%s: Last chance to set authType to CCKM WPA.\n", __func__);
+ hddLog( LOG1, "%s: Last chance to set authType to CCKM WPA.", __func__);
pRoamProfile->AuthType.authType[0] = eCSR_AUTH_TYPE_CCKM_WPA;
} else
#endif
@@ -3127,11 +3127,11 @@
if ((RSNAuthType == eCSR_AUTH_TYPE_CCKM_RSN) &&
((pWextState->authKeyMgmt & IW_AUTH_KEY_MGMT_802_1X)
== IW_AUTH_KEY_MGMT_802_1X)) {
- hddLog( LOG1, "%s: set authType to CCKM RSN. AKM also 802.1X.\n", __func__);
+ hddLog( LOG1, "%s: set authType to CCKM RSN. AKM also 802.1X.", __func__);
pRoamProfile->AuthType.authType[0] = eCSR_AUTH_TYPE_CCKM_RSN;
} else
if ((RSNAuthType == eCSR_AUTH_TYPE_CCKM_RSN)) {
- hddLog( LOG1, "%s: Last chance to set authType to CCKM RSN.\n", __func__);
+ hddLog( LOG1, "%s: Last chance to set authType to CCKM RSN.", __func__);
pRoamProfile->AuthType.authType[0] = eCSR_AUTH_TYPE_CCKM_RSN;
} else
#endif
@@ -3175,7 +3175,7 @@
default:
#ifdef FEATURE_WLAN_CCX
- hddLog( LOG1, "%s: In default, unknown auth type.\n", __func__);
+ hddLog( LOG1, "%s: In default, unknown auth type.", __func__);
#endif /* FEATURE_WLAN_CCX */
pRoamProfile->AuthType.authType[0] = eCSR_AUTH_TYPE_UNKNOWN;
break;
@@ -3556,8 +3556,8 @@
#define IW_AUTH_KEY_MGMT_CCKM 8 /* Should be in linux/wireless.h */
/*Check for CCKM AKM type */
if ( wrqu->param.value & IW_AUTH_KEY_MGMT_CCKM) {
- //hddLog(VOS_TRACE_LEVEL_INFO_HIGH,"%s: CCKM AKM Set %d\n", __func__, wrqu->param.value);
- hddLog(VOS_TRACE_LEVEL_INFO,"%s: CCKM AKM Set %d\n", __func__, wrqu->param.value);
+ hddLog(VOS_TRACE_LEVEL_INFO,"%s: CCKM AKM Set %d",
+ __func__, wrqu->param.value);
/* Set the CCKM bit in authKeyMgmt */
/* Right now, this breaks all ref to authKeyMgmt because our
* code doesn't realize it is a "bitfield"
diff --git a/CORE/HDD/src/wlan_hdd_cfg.c b/CORE/HDD/src/wlan_hdd_cfg.c
index e8ce2c7..662853d 100644
--- a/CORE/HDD/src/wlan_hdd_cfg.c
+++ b/CORE/HDD/src/wlan_hdd_cfg.c
@@ -2962,13 +2962,13 @@
if(status)
{
- hddLog(VOS_TRACE_LEVEL_FATAL, "%s: request_firmware failed %d\n",__func__, status);
+ hddLog(VOS_TRACE_LEVEL_FATAL, "%s: request_firmware failed %d",__func__, status);
vos_status = VOS_STATUS_E_FAILURE;
goto config_exit;
}
if(!fw || !fw->data || !fw->size)
{
- hddLog(VOS_TRACE_LEVEL_FATAL, "%s: %s download failed\n",
+ hddLog(VOS_TRACE_LEVEL_FATAL, "%s: %s download failed",
__func__, WLAN_INI_FILE);
vos_status = VOS_STATUS_E_FAILURE;
goto config_exit;
@@ -3020,7 +3020,7 @@
cfgIniTable[i].name= name;
cfgIniTable[i++].value= value;
if(i >= MAX_CFG_INI_ITEMS) {
- hddLog(LOGE,"%s: Number of items in %s > %d \n",
+ hddLog(LOGE,"%s: Number of items in %s > %d",
__func__, WLAN_INI_FILE, MAX_CFG_INI_ITEMS);
break;
}
@@ -3071,18 +3071,18 @@
"Name = [Intf3MacAddress] Value =["MAC_ADDRESS_STR"]",
MAC_ADDR_ARRAY(pHddCtx->cfg_ini->intfMacAddr[3].bytes));
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [gApEnableUapsd] value = [%u]\n",pHddCtx->cfg_ini->apUapsdEnabled);
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [gApEnableUapsd] value = [%u]",pHddCtx->cfg_ini->apUapsdEnabled);
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [gAPCntryCode] Value =[%c%c%c]\n",
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [gAPCntryCode] Value =[%c%c%c]",
pHddCtx->cfg_ini->apCntryCode[0],pHddCtx->cfg_ini->apCntryCode[1],
pHddCtx->cfg_ini->apCntryCode[2]);
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [gEnableApProt] value = [%u]", pHddCtx->cfg_ini->apProtEnabled);
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [gAPAutoShutOff] Value = [%u]\n", pHddCtx->cfg_ini->nAPAutoShutOff);
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [gAPAutoShutOff] Value = [%u]", pHddCtx->cfg_ini->nAPAutoShutOff);
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [gEnableListenMode] Value = [%u]\n", pHddCtx->cfg_ini->nEnableListenMode);
- VOS_TRACE (VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [gApProtection] value = [%u]\n",pHddCtx->cfg_ini->apProtection);
- VOS_TRACE (VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [gEnableApOBSSProt] value = [%u]\n",pHddCtx->cfg_ini->apOBSSProtEnabled);
- VOS_TRACE (VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [gApAutoChannelSelection] value = [%u]\n",pHddCtx->cfg_ini->apAutoChannelSelection);
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [gEnableListenMode] Value = [%u]", pHddCtx->cfg_ini->nEnableListenMode);
+ VOS_TRACE (VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [gApProtection] value = [%u]",pHddCtx->cfg_ini->apProtection);
+ VOS_TRACE (VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [gEnableApOBSSProt] value = [%u]",pHddCtx->cfg_ini->apOBSSProtEnabled);
+ VOS_TRACE (VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [gApAutoChannelSelection] value = [%u]",pHddCtx->cfg_ini->apAutoChannelSelection);
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [ChannelBondingMode] Value = [%u]",pHddCtx->cfg_ini->nChannelBondingMode24GHz);
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [ChannelBondingMode] Value = [%u]",pHddCtx->cfg_ini->nChannelBondingMode5GHz);
@@ -3194,7 +3194,7 @@
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [gReportMaxLinkSpeed] Value = [%u] ",pHddCtx->cfg_ini->reportMaxLinkSpeed);
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [thermalMitigationEnable] Value = [%u] ",pHddCtx->cfg_ini->thermalMitigationEnable);
#ifdef WLAN_FEATURE_11AC
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [gVhtChannelWidth] value = [%u]\n",pHddCtx->cfg_ini->vhtChannelWidth);
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [gVhtChannelWidth] value = [%u]",pHddCtx->cfg_ini->vhtChannelWidth);
#endif
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [enableFirstScan2GOnly] Value = [%u] ",pHddCtx->cfg_ini->enableFirstScan2GOnly);
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Name = [skipDfsChnlInP2pSearch] Value = [%u] ",pHddCtx->cfg_ini->skipDfsChnlInP2pSearch);
@@ -3525,7 +3525,7 @@
else if ( WLAN_PARAM_String == pRegEntry->RegType )
{
#ifdef WLAN_CFG_DEBUG
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "RegName = %s, VarOffset %u VarSize %u VarDefault %s\n",
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "RegName = %s, VarOffset %u VarSize %u VarDefault %s",
pRegEntry->RegName, pRegEntry->VarOffset, pRegEntry->VarSize, (char*)pRegEntry->VarDefault);
#endif
@@ -3534,7 +3534,7 @@
len_value_str = strlen(value_str);
if(len_value_str > (pRegEntry->VarSize - 1)) {
- hddLog(LOGE, "%s: Invalid Value=[%s] specified for Name=[%s] in %s\n",
+ hddLog(LOGE, "%s: Invalid Value=[%s] specified for Name=[%s] in %s",
__func__, value_str, pRegEntry->RegName, WLAN_INI_FILE);
cbOutString = utilMin( strlen( (char *)pRegEntry->VarDefault ), pRegEntry->VarSize - 1 );
memcpy( pField, (void *)(pRegEntry->VarDefault), cbOutString );
@@ -3557,7 +3557,7 @@
else if ( WLAN_PARAM_MacAddr == pRegEntry->RegType )
{
if(pRegEntry->VarSize != VOS_MAC_ADDR_SIZE) {
- hddLog(LOGE, "%s: Invalid VarSize %u for Name=[%s]\n",
+ hddLog(LOGE, "%s: Invalid VarSize %u for Name=[%s]",
__func__, pRegEntry->VarSize, pRegEntry->RegName);
continue;
}
@@ -3565,7 +3565,7 @@
if ( match_status == VOS_STATUS_SUCCESS) {
len_value_str = strlen(value_str);
if(len_value_str != (VOS_MAC_ADDR_SIZE*2)) {
- hddLog(LOGE, "%s: Invalid MAC addr [%s] specified for Name=[%s] in %s\n",
+ hddLog(LOGE, "%s: Invalid MAC addr [%s] specified for Name=[%s] in %s",
__func__, value_str, pRegEntry->RegName, WLAN_INI_FILE);
}
else
@@ -3580,7 +3580,7 @@
}
else
{
- hddLog(LOGE, "%s: Unknown param type for name[%s] in registry table\n",
+ hddLog(LOGE, "%s: Unknown param type for name[%s] in registry table",
__func__, pRegEntry->RegName);
}
@@ -3727,7 +3727,7 @@
if (sme_SetConfigPowerSave(pHddCtx->hHal, ePMC_BEACON_MODE_POWER_SAVE, &bmpsParams)== eHAL_STATUS_FAILURE)
{
- hddLog(LOGE, "SetConfigPowerSave failed to set BMPS params\n");
+ hddLog(LOGE, "SetConfigPowerSave failed to set BMPS params");
}
if(pConfig->fIsAutoBmpsTimerEnabled)
@@ -3784,21 +3784,21 @@
pConfig->ShortGI20MhzEnable, NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_SHORT_GI_20MHZ to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_SHORT_GI_20MHZ to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_CAL_CONTROL, pConfig->Calibration,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_CAL_CONTROL to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_CAL_CONTROL to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_CAL_PERIOD, pConfig->CalibrationPeriod,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_CAL_PERIOD to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_CAL_PERIOD to CCM");
}
if ( 0 != pConfig->Cfg1Id )
@@ -3807,7 +3807,7 @@
eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on Cfg1Id to CCM\n");
+ hddLog(LOGE, "Could not pass on Cfg1Id to CCM");
}
}
@@ -3818,7 +3818,7 @@
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on Cfg2Id to CCM\n");
+ hddLog(LOGE, "Could not pass on Cfg2Id to CCM");
}
}
@@ -3828,7 +3828,7 @@
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on Cfg3Id to CCM\n");
+ hddLog(LOGE, "Could not pass on Cfg3Id to CCM");
}
}
@@ -3838,7 +3838,7 @@
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on Cfg4Id to CCM\n");
+ hddLog(LOGE, "Could not pass on Cfg4Id to CCM");
}
}
@@ -3848,7 +3848,7 @@
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on Cfg5Id to CCM\n");
+ hddLog(LOGE, "Could not pass on Cfg5Id to CCM");
}
}
@@ -3856,28 +3856,28 @@
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_BA_AUTO_SETUP to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_BA_AUTO_SETUP to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_FIXED_RATE, pConfig->TxRate,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_FIXED_RATE to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_FIXED_RATE to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_MAX_RX_AMPDU_FACTOR,
pConfig->MaxRxAmpduFactor, NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Could not pass on WNI_CFG_HT_AMPDU_PARAMS_MAX_RX_AMPDU_FACTOR to CCM\n");
+ hddLog(LOGE,"Could not pass on WNI_CFG_HT_AMPDU_PARAMS_MAX_RX_AMPDU_FACTOR to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_SHORT_PREAMBLE, pConfig->fIsShortPreamble,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Could not pass on WNI_CFG_SHORT_PREAMBLE to CCM\n");
+ hddLog(LOGE,"Could not pass on WNI_CFG_SHORT_PREAMBLE to CCM");
}
if (pConfig->fIsAutoIbssBssid)
@@ -3886,7 +3886,7 @@
sizeof(v_BYTE_t) * VOS_MAC_ADDR_SIZE, NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Could not pass on WNI_CFG_BSSID to CCM\n");
+ hddLog(LOGE,"Could not pass on WNI_CFG_BSSID to CCM");
}
}
else
@@ -3900,13 +3900,13 @@
sizeof(v_BYTE_t) * VOS_MAC_ADDR_SIZE, NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Could not pass on WNI_CFG_BSSID to CCM\n");
+ hddLog(LOGE,"Could not pass on WNI_CFG_BSSID to CCM");
}
}
else
{
fStatus = FALSE;
- hddLog(LOGE,"Could not pass on WNI_CFG_BSSID to CCM\n");
+ hddLog(LOGE,"Could not pass on WNI_CFG_BSSID to CCM");
}
}
@@ -3914,118 +3914,118 @@
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_BEACON_INTERVAL to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_BEACON_INTERVAL to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_MAX_PS_POLL, pConfig->nMaxPsPoll,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_MAX_PS_POLL to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_MAX_PS_POLL to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_CURRENT_RX_ANTENNA, pConfig-> nRxAnt, NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Failure: Could not pass on WNI_CFG_CURRENT_RX_ANTENNA configuration info to HAL\n" );
+ hddLog(LOGE, "Failure: Could not pass on WNI_CFG_CURRENT_RX_ANTENNA configuration info to HAL" );
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_LOW_GAIN_OVERRIDE, pConfig->fIsLowGainOverride,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_LOW_GAIN_OVERRIDE to HAL\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_LOW_GAIN_OVERRIDE to HAL");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_RSSI_FILTER_PERIOD, pConfig->nRssiFilterPeriod,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_RSSI_FILTER_PERIOD to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_RSSI_FILTER_PERIOD to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_IGNORE_DTIM, pConfig->fIgnoreDtim,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_IGNORE_DTIM configuration to CCM\n" );
+ hddLog(LOGE, "Could not pass on WNI_IGNORE_DTIM configuration to CCM" );
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_PS_ENABLE_HEART_BEAT, pConfig->fEnableFwHeartBeatMonitoring,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Failure: Could not pass on WNI_CFG_PS_HEART_BEAT configuration info to CCM\n");
+ hddLog(LOGE, "Failure: Could not pass on WNI_CFG_PS_HEART_BEAT configuration info to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_PS_ENABLE_BCN_FILTER, pConfig->fEnableFwBeaconFiltering,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Failure: Could not pass on WNI_CFG_PS_BCN_FILTER configuration info to CCM\n");
+ hddLog(LOGE, "Failure: Could not pass on WNI_CFG_PS_BCN_FILTER configuration info to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_PS_ENABLE_RSSI_MONITOR, pConfig->fEnableFwRssiMonitoring,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Failure: Could not pass on WNI_CFG_PS_RSSI_MONITOR configuration info to CCM\n");
+ hddLog(LOGE, "Failure: Could not pass on WNI_CFG_PS_RSSI_MONITOR configuration info to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_PS_DATA_INACTIVITY_TIMEOUT, pConfig->nDataInactivityTimeout,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Failure: Could not pass on WNI_CFG_PS_DATA_INACTIVITY_TIMEOUT configuration info to CCM\n");
+ hddLog(LOGE,"Failure: Could not pass on WNI_CFG_PS_DATA_INACTIVITY_TIMEOUT configuration info to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_NTH_BEACON_FILTER, pConfig->nthBeaconFilter,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Failure: Could not pass on WNI_CFG_NTH_BEACON_FILTER configuration info to CCM\n");
+ hddLog(LOGE,"Failure: Could not pass on WNI_CFG_NTH_BEACON_FILTER configuration info to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_ENABLE_LTE_COEX, pConfig->enableLTECoex,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_ENABLE_LTE_COEX to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_ENABLE_LTE_COEX to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_ENABLE_PHY_AGC_LISTEN_MODE, pConfig->nEnableListenMode,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_ENABLE_PHY_AGC_LISTEN_MODE to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_ENABLE_PHY_AGC_LISTEN_MODE to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_AP_KEEP_ALIVE_TIMEOUT, pConfig->apKeepAlivePeriod,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_AP_KEEP_ALIVE_TIMEOUT to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_AP_KEEP_ALIVE_TIMEOUT to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_GO_KEEP_ALIVE_TIMEOUT, pConfig->goKeepAlivePeriod,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_GO_KEEP_ALIVE_TIMEOUT to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_GO_KEEP_ALIVE_TIMEOUT to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_AP_LINK_MONITOR_TIMEOUT, pConfig->apLinkMonitorPeriod,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_AP_LINK_MONITOR_TIMEOUT to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_AP_LINK_MONITOR_TIMEOUT to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_GO_LINK_MONITOR_TIMEOUT, pConfig->goLinkMonitorPeriod,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_GO_LINK_MONITOR_TIMEOUT to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_GO_LINK_MONITOR_TIMEOUT to CCM");
}
@@ -4034,21 +4034,21 @@
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Failure: Could not pass on WNI_CFG_RRM_ENABLE configuration info to CCM\n");
+ hddLog(LOGE,"Failure: Could not pass on WNI_CFG_RRM_ENABLE configuration info to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_RRM_OPERATING_CHAN_MAX, pConfig->nInChanMeasMaxDuration,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Failure: Could not pass on WNI_CFG_RRM_OPERATING_CHAN_MAX configuration info to CCM\n");
+ hddLog(LOGE,"Failure: Could not pass on WNI_CFG_RRM_OPERATING_CHAN_MAX configuration info to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_RRM_NON_OPERATING_CHAN_MAX, pConfig->nOutChanMeasMaxDuration,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Failure: Could not pass on WNI_CFG_RRM_OUT_CHAN_MAX configuration info to CCM\n");
+ hddLog(LOGE,"Failure: Could not pass on WNI_CFG_RRM_OUT_CHAN_MAX configuration info to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_MCAST_BCAST_FILTER_SETTING, pConfig->mcastBcastFilterSetting,
@@ -4059,108 +4059,108 @@
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Failure: Could not pass on WNI_CFG_SINGLE_TID_RC configuration info to CCM\n");
+ hddLog(LOGE,"Failure: Could not pass on WNI_CFG_SINGLE_TID_RC configuration info to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_TELE_BCN_WAKEUP_EN, pConfig->teleBcnWakeupEn,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Failure: Could not pass on WNI_CFG_TELE_BCN_WAKEUP_EN configuration info to CCM\n" );
+ hddLog(LOGE,"Failure: Could not pass on WNI_CFG_TELE_BCN_WAKEUP_EN configuration info to CCM" );
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_TELE_BCN_TRANS_LI, pConfig->nTeleBcnTransListenInterval,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Failure: Could not pass on WNI_CFG_TELE_BCN_TRANS_LI configuration info to CCM\n" );
+ hddLog(LOGE,"Failure: Could not pass on WNI_CFG_TELE_BCN_TRANS_LI configuration info to CCM" );
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_TELE_BCN_MAX_LI, pConfig->nTeleBcnMaxListenInterval,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Failure: Could not pass on WNI_CFG_TELE_BCN_MAX_LI configuration info to CCM\n" );
+ hddLog(LOGE,"Failure: Could not pass on WNI_CFG_TELE_BCN_MAX_LI configuration info to CCM" );
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_TELE_BCN_TRANS_LI_IDLE_BCNS, pConfig->nTeleBcnTransLiNumIdleBeacons,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Failure: Could not pass on WNI_CFG_TELE_BCN_TRANS_LI_IDLE_BCNS configuration info to CCM\n" );
+ hddLog(LOGE,"Failure: Could not pass on WNI_CFG_TELE_BCN_TRANS_LI_IDLE_BCNS configuration info to CCM" );
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_TELE_BCN_MAX_LI_IDLE_BCNS, pConfig->nTeleBcnMaxLiNumIdleBeacons,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Failure: Could not pass on WNI_CFG_TELE_BCN_MAX_LI_IDLE_BCNS configuration info to CCM\n" );
+ hddLog(LOGE,"Failure: Could not pass on WNI_CFG_TELE_BCN_MAX_LI_IDLE_BCNS configuration info to CCM" );
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_RF_SETTLING_TIME_CLK, pConfig->rfSettlingTimeUs,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Failure: Could not pass on WNI_CFG_RF_SETTLING_TIME_CLK configuration info to CCM\n" );
+ hddLog(LOGE,"Failure: Could not pass on WNI_CFG_RF_SETTLING_TIME_CLK configuration info to CCM" );
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_INFRA_STA_KEEP_ALIVE_PERIOD, pConfig->infraStaKeepAlivePeriod,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Failure: Could not pass on WNI_CFG_INFRA_STA_KEEP_ALIVE_PERIOD configuration info to CCM\n" );
+ hddLog(LOGE,"Failure: Could not pass on WNI_CFG_INFRA_STA_KEEP_ALIVE_PERIOD configuration info to CCM" );
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_DYNAMIC_PS_POLL_VALUE, pConfig->dynamicPsPollValue,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Failure: Could not pass on WNI_CFG_DYNAMIC_PS_POLL_VALUE configuration info to CCM\n" );
+ hddLog(LOGE,"Failure: Could not pass on WNI_CFG_DYNAMIC_PS_POLL_VALUE configuration info to CCM" );
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_PS_NULLDATA_AP_RESP_TIMEOUT, pConfig->nNullDataApRespTimeout,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Failure: Could not pass on WNI_CFG_PS_NULLDATA_DELAY_TIMEOUT configuration info to CCM\n" );
+ hddLog(LOGE,"Failure: Could not pass on WNI_CFG_PS_NULLDATA_DELAY_TIMEOUT configuration info to CCM" );
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_AP_DATA_AVAIL_POLL_PERIOD, pConfig->apDataAvailPollPeriodInMs,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Failure: Could not pass on WNI_CFG_AP_DATA_AVAIL_POLL_PERIOD configuration info to CCM\n" );
+ hddLog(LOGE,"Failure: Could not pass on WNI_CFG_AP_DATA_AVAIL_POLL_PERIOD configuration info to CCM" );
}
if(ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_FRAGMENTATION_THRESHOLD, pConfig->FragmentationThreshold,
NULL, eANI_BOOLEAN_FALSE) == eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Failure: Could not pass on WNI_CFG_FRAGMENTATION_THRESHOLD configuration info to CCM\n" );
+ hddLog(LOGE,"Failure: Could not pass on WNI_CFG_FRAGMENTATION_THRESHOLD configuration info to CCM" );
}
if(ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_RTS_THRESHOLD, pConfig->RTSThreshold,
NULL, eANI_BOOLEAN_FALSE) == eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Failure: Could not pass on WNI_CFG_RTS_THRESHOLD configuration info to CCM\n" );
+ hddLog(LOGE,"Failure: Could not pass on WNI_CFG_RTS_THRESHOLD configuration info to CCM" );
}
if(ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_11D_ENABLED, pConfig->Is11dSupportEnabled,
NULL, eANI_BOOLEAN_FALSE) == eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Failure: Could not pass on WNI_CFG_11D_ENABLED configuration info to CCM\n" );
+ hddLog(LOGE,"Failure: Could not pass on WNI_CFG_11D_ENABLED configuration info to CCM" );
}
if(ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_HEART_BEAT_THRESHOLD, pConfig->HeartbeatThresh24,
NULL, eANI_BOOLEAN_FALSE) == eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Failure: Could not pass on WNI_CFG_HEART_BEAT_THRESHOLD configuration info to CCM\n" );
+ hddLog(LOGE,"Failure: Could not pass on WNI_CFG_HEART_BEAT_THRESHOLD configuration info to CCM" );
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_AP_DATA_AVAIL_POLL_PERIOD, pConfig->apDataAvailPollPeriodInMs,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Failure: Could not pass on WNI_CFG_AP_DATA_AVAIL_POLL_PERIOD configuration info to CCM\n" );
+ hddLog(LOGE,"Failure: Could not pass on WNI_CFG_AP_DATA_AVAIL_POLL_PERIOD configuration info to CCM" );
}
if(ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_ENABLE_CLOSE_LOOP,
@@ -4168,7 +4168,7 @@
==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_ENABLE_CLOSE_LOOP to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_ENABLE_CLOSE_LOOP to CCM");
}
if(ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_TX_PWR_CTRL_ENABLE,
@@ -4176,14 +4176,14 @@
==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_TX_PWR_CTRL_ENABLE to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_TX_PWR_CTRL_ENABLE to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_SHORT_GI_40MHZ,
pConfig->ShortGI40MhzEnable, NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_SHORT_GI_40MHZ to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_SHORT_GI_40MHZ to CCM");
}
@@ -4191,7 +4191,7 @@
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_ENABLE_MC_ADDR_LIST to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_ENABLE_MC_ADDR_LIST to CCM");
}
#ifdef WLAN_FEATURE_11AC
@@ -4213,7 +4213,7 @@
==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_VHT_BASIC_MCS_SET to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_VHT_BASIC_MCS_SET to CCM");
}
ccmCfgGetInt(pHddCtx->hHal, WNI_CFG_VHT_RX_MCS_MAP, &temp);
@@ -4224,7 +4224,7 @@
==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_VHT_RX_MCS_MAP to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_VHT_RX_MCS_MAP to CCM");
}
ccmCfgGetInt(pHddCtx->hHal, WNI_CFG_VHT_TX_MCS_MAP, &temp);
@@ -4235,7 +4235,7 @@
==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_VHT_TX_MCS_MAP to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_VHT_TX_MCS_MAP to CCM");
}
}
}
@@ -4245,7 +4245,7 @@
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_NUM_BUFF_ADVERT to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_NUM_BUFF_ADVERT to CCM");
}
if(ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_HT_RX_STBC,
@@ -4253,7 +4253,7 @@
==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_HT_RX_STBC to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_HT_RX_STBC to CCM");
}
ccmCfgGetInt(pHddCtx->hHal, WNI_CFG_HT_CAP_INFO, (tANI_U32 *)&htCapInfo);
@@ -4264,7 +4264,7 @@
==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_HT_CAP_INFO to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_HT_CAP_INFO to CCM");
}
if(ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_VHT_RXSTBC,
@@ -4272,7 +4272,7 @@
==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_VHT_RXSTBC to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_VHT_RXSTBC to CCM");
}
#ifdef WLAN_SOFTAP_VSTA_FEATURE
@@ -4290,7 +4290,7 @@
NULL, eANI_BOOLEAN_FALSE) == eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE,"Failure: Could not pass on WNI_CFG_ASSOC_STA_LIMIT configuration info to CCM\n" );
+ hddLog(LOGE,"Failure: Could not pass on WNI_CFG_ASSOC_STA_LIMIT configuration info to CCM" );
}
#endif
if(ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_ENABLE_LPWR_IMG_TRANSITION,
@@ -4298,14 +4298,14 @@
==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_ENABLE_LPWR_IMG_TRANSITION to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_ENABLE_LPWR_IMG_TRANSITION to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_ENABLE_MCC_ADAPTIVE_SCHED, pConfig->enableMCCAdaptiveScheduler,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
{
fStatus = FALSE;
- hddLog(LOGE, "Could not pass on WNI_CFG_ENABLE_MCC_ADAPTIVE_SCHED to CCM\n");
+ hddLog(LOGE, "Could not pass on WNI_CFG_ENABLE_MCC_ADAPTIVE_SCHED to CCM");
}
if (ccmCfgSetInt(pHddCtx->hHal, WNI_CFG_DISABLE_LDPC_WITH_TXBF_AP, pConfig->disableLDPCWithTxbfAP,
NULL, eANI_BOOLEAN_FALSE)==eHAL_STATUS_FAILURE)
@@ -4470,7 +4470,7 @@
vos_mem_zero( &smeConfig, sizeof( smeConfig ) );
VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH,
- "%s bWmmIsEnabled=%d 802_11e_enabled=%d dot11Mode=%d\n", __func__,
+ "%s bWmmIsEnabled=%d 802_11e_enabled=%d dot11Mode=%d", __func__,
pConfig->WmmMode, pConfig->b80211eIsEnabled, pConfig->dot11Mode);
// Config params obtained from the registry
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index 7cb2c3b..c8b3ca8 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -954,7 +954,7 @@
tANI_U8 *pKeyPtr = NULL;
int n = 0;
- hddLog(VOS_TRACE_LEVEL_INFO, "%s: device_mode = %d\n",
+ hddLog(VOS_TRACE_LEVEL_INFO, "%s: device_mode = %d",
__func__,pAdapter->device_mode);
vos_mem_zero(&setKey, sizeof(tCsrRoamSetKey));
@@ -975,7 +975,7 @@
pKeyPtr = setKey.Key;
memcpy( pKeyPtr, key, key_Len);
- hddLog(VOS_TRACE_LEVEL_INFO,"\n%s: WAPI KEY LENGTH:0x%04x",
+ hddLog(VOS_TRACE_LEVEL_INFO,"%s: WAPI KEY LENGTH:0x%04x",
__func__, key_Len);
for (n = 0 ; n < key_Len; n++)
hddLog(VOS_TRACE_LEVEL_INFO, "%s WAPI KEY Data[%d]:%02x ",
@@ -1444,7 +1444,7 @@
eANI_BOOLEAN_FALSE) )
{
hddLog(LOGE,
- "Could not pass on WNI_CFG_PROBE_RSP_ADDNIE_DATA2 to CCM\n");
+ "Could not pass on WNI_CFG_PROBE_RSP_ADDNIE_DATA2 to CCM");
}
}
@@ -1455,7 +1455,7 @@
eANI_BOOLEAN_FALSE) )
{
hddLog(LOGE,
- "Could not pass on WNI_CFG_PROBE_RSP_ADDNIE_DATA3 to CCM\n");
+ "Could not pass on WNI_CFG_PROBE_RSP_ADDNIE_DATA3 to CCM");
}
}
@@ -1518,7 +1518,7 @@
eANI_BOOLEAN_FALSE) )
{
hddLog(LOGE,
- "Could not pass on WNI_CFG_ASSOC_RSP_ADDNIE_FLAG to CCM\n");
+ "Could not pass on WNI_CFG_ASSOC_RSP_ADDNIE_FLAG to CCM");
}
}
@@ -1613,13 +1613,13 @@
if( NULL == dev )
{
hddLog(VOS_TRACE_LEVEL_ERROR,
- "%s: Called with dev = NULL.\n", __func__);
+ "%s: Called with dev = NULL.", __func__);
return -ENODEV;
}
pAdapter = WLAN_HDD_GET_PRIV_PTR( dev );
hddLog(VOS_TRACE_LEVEL_INFO,
- "%s: device_mode = %d freq = %d \n",__func__,
+ "%s: device_mode = %d freq = %d", __func__,
pAdapter->device_mode, chan->center_freq);
pHddCtx = WLAN_HDD_GET_CTX(pAdapter);
@@ -1644,7 +1644,7 @@
(WNI_CFG_CURRENT_CHANNEL_STAMAX < channel))
{
hddLog(VOS_TRACE_LEVEL_ERROR,
- "%s: Channel [%d] is outside valid range from %d to %d\n",
+ "%s: Channel [%d] is outside valid range from %d to %d",
__func__, channel, WNI_CFG_CURRENT_CHANNEL_STAMIN,
WNI_CFG_CURRENT_CHANNEL_STAMAX);
return -EINVAL;
@@ -1658,7 +1658,7 @@
if(VOS_STATUS_SUCCESS != wlan_hdd_validate_operation_channel(pAdapter,channel))
{
hddLog(VOS_TRACE_LEVEL_ERROR,
- "%s: Invalid Channel [%d] \n", __func__, channel);
+ "%s: Invalid Channel [%d]", __func__, channel);
return -EINVAL;
}
hddLog(VOS_TRACE_LEVEL_INFO_HIGH,
@@ -1677,7 +1677,7 @@
{
/* Link is up then return cant set channel*/
hddLog( VOS_TRACE_LEVEL_ERROR,
- "%s: IBSS Associated, can't set the channel\n", __func__);
+ "%s: IBSS Associated, can't set the channel", __func__);
return -EINVAL;
}
@@ -1696,7 +1696,7 @@
wlan_hdd_validate_operation_channel(pAdapter,channel))
{
hddLog(VOS_TRACE_LEVEL_ERROR,
- "%s: Invalid Channel [%d] \n", __func__, channel);
+ "%s: Invalid Channel [%d]", __func__, channel);
return -EINVAL;
}
(WLAN_HDD_GET_AP_CTX_PTR(pAdapter))->sapConfig.channel = channel;
@@ -1722,7 +1722,7 @@
wlan_hdd_validate_operation_channel(pAdapter,channel))
{
hddLog(VOS_TRACE_LEVEL_ERROR,
- "%s: Invalid Channel [%d] \n", __func__, channel);
+ "%s: Invalid Channel [%d]", __func__, channel);
return -EINVAL;
}
(WLAN_HDD_GET_AP_CTX_PTR(pAdapter))->sapConfig.channel = channel;
@@ -1788,7 +1788,7 @@
pConfig->dtim_period = pBeacon->dtim_period;
- hddLog(VOS_TRACE_LEVEL_INFO_HIGH,"****pConfig->dtim_period=%d***\n",
+ hddLog(VOS_TRACE_LEVEL_INFO_HIGH,"****pConfig->dtim_period=%d***",
pConfig->dtim_period);
@@ -1825,7 +1825,7 @@
if(VOS_STATUS_SUCCESS != wlan_hdd_validate_operation_channel(pHostapdAdapter,pConfig->channel))
{
hddLog(VOS_TRACE_LEVEL_ERROR,
- "%s: Invalid Channel [%d] \n", __func__, pConfig->channel);
+ "%s: Invalid Channel [%d]", __func__, pConfig->channel);
return -EINVAL;
}
}
@@ -1860,7 +1860,7 @@
{
if(pIe[1] < (2 + WPS_OUI_TYPE_SIZE))
{
- hddLog( VOS_TRACE_LEVEL_ERROR, "**Wps Ie Length is too small***\n");
+ hddLog( VOS_TRACE_LEVEL_ERROR, "**Wps Ie Length is too small***");
return -EINVAL;
}
else if(memcmp(&pIe[2], WPS_OUI_TYPE, WPS_OUI_TYPE_SIZE) == 0)
@@ -1915,7 +1915,7 @@
(WLAN_HDD_GET_AP_CTX_PTR(pHostapdAdapter))->ucEncryptType
= RSNEncryptType;
hddLog( LOG1, FL("CSR AuthType = %d, "
- "EncryptionType = %d mcEncryptionType = %d\n"),
+ "EncryptionType = %d mcEncryptionType = %d"),
RSNAuthType, RSNEncryptType, mcRSNEncryptType);
}
}
@@ -1954,7 +1954,7 @@
(WLAN_HDD_GET_AP_CTX_PTR(pHostapdAdapter))->ucEncryptType
= RSNEncryptType;
hddLog( LOG1, FL("CSR AuthType = %d, "
- "EncryptionType = %d mcEncryptionType = %d\n"),
+ "EncryptionType = %d mcEncryptionType = %d"),
RSNAuthType, RSNEncryptType, mcRSNEncryptType);
}
}
@@ -2008,7 +2008,7 @@
{
pConfig->SapMacaddr_acl = pIe[6];
pConfig->num_deny_mac = pIe[7];
- hddLog(VOS_TRACE_LEVEL_INFO,"acl type = %d no deny mac = %d\n",
+ hddLog(VOS_TRACE_LEVEL_INFO,"acl type = %d no deny mac = %d",
pIe[6], pIe[7]);
if (pConfig->num_deny_mac > MAX_ACL_MAC_ADDRESS)
pConfig->num_deny_mac = MAX_ACL_MAC_ADDRESS;
@@ -2034,7 +2034,7 @@
{
pConfig->SapMacaddr_acl = pIe[6];
pConfig->num_accept_mac = pIe[7];
- hddLog(VOS_TRACE_LEVEL_INFO,"acl type = %d no accept mac = %d\n",
+ hddLog(VOS_TRACE_LEVEL_INFO,"acl type = %d no accept mac = %d",
pIe[6], pIe[7]);
if (pConfig->num_accept_mac > MAX_ACL_MAC_ADDRESS)
pConfig->num_accept_mac = MAX_ACL_MAC_ADDRESS;
@@ -2095,18 +2095,18 @@
pConfig->obssProtEnabled =
(WLAN_HDD_GET_CTX(pHostapdAdapter))->cfg_ini->apOBSSProtEnabled;
- hddLog(LOGW, FL("SOftAP macaddress : "MAC_ADDRESS_STR"\n"),
+ hddLog(LOGW, FL("SOftAP macaddress : "MAC_ADDRESS_STR),
MAC_ADDR_ARRAY(pHostapdAdapter->macAddressCurrent.bytes));
- hddLog(LOGW,FL("ssid =%s\n"), pConfig->SSIDinfo.ssid.ssId);
- hddLog(LOGW,FL("beaconint=%d, channel=%d\n"), (int)pConfig->beacon_int,
- (int)pConfig->channel);
- hddLog(LOGW,FL("hw_mode=%x\n"), pConfig->SapHw_mode);
- hddLog(LOGW,FL("privacy=%d, authType=%d\n"), pConfig->privacy,
- pConfig->authType);
- hddLog(LOGW,FL("RSN/WPALen=%d, \n"),(int)pConfig->RSNWPAReqIELength);
- hddLog(LOGW,FL("Uapsd = %d\n"),pConfig->UapsdEnable);
- hddLog(LOGW,FL("ProtEnabled = %d, OBSSProtEnabled = %d\n"),
- pConfig->protEnabled, pConfig->obssProtEnabled);
+ hddLog(LOGW,FL("ssid =%s, beaconint=%d, channel=%d"),
+ pConfig->SSIDinfo.ssid.ssId, (int)pConfig->beacon_int,
+ (int)pConfig->channel);
+ hddLog(LOGW,FL("hw_mode=%x, privacy=%d, authType=%d"),
+ pConfig->SapHw_mode, pConfig->privacy,
+ pConfig->authType);
+ hddLog(LOGW,FL("RSN/WPALen=%d, Uapsd = %d"),
+ (int)pConfig->RSNWPAReqIELength, pConfig->UapsdEnable);
+ hddLog(LOGW,FL("ProtEnabled = %d, OBSSProtEnabled = %d"),
+ pConfig->protEnabled, pConfig->obssProtEnabled);
if(test_bit(SOFTAP_BSS_STARTED, &pHostapdAdapter->event_flags))
{
@@ -2123,7 +2123,7 @@
if(WLANSAP_StartBss(pVosContext, pSapEventCallback, pConfig,
(v_PVOID_t)pHostapdAdapter->dev) != VOS_STATUS_SUCCESS)
{
- hddLog(LOGE,FL("SAP Start Bss fail\n"));
+ hddLog(LOGE,FL("SAP Start Bss fail"));
return -EINVAL;
}
@@ -2135,7 +2135,7 @@
if (!VOS_IS_STATUS_SUCCESS(status))
{
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,
- ("ERROR: HDD vos wait for single_event failed!!\n"));
+ ("ERROR: HDD vos wait for single_event failed!!"));
smeGetCommandQStatus(hHal);
VOS_ASSERT(0);
}
@@ -2178,7 +2178,7 @@
ENTER();
- hddLog(VOS_TRACE_LEVEL_INFO_HIGH, "device mode=%d\n",pAdapter->device_mode);
+ hddLog(VOS_TRACE_LEVEL_INFO_HIGH, "device mode=%d",pAdapter->device_mode);
pHddCtx = WLAN_HDD_GET_CTX(pAdapter);
status = wlan_hdd_validate_context(pHddCtx);
@@ -2206,7 +2206,7 @@
if(status != VOS_STATUS_SUCCESS)
{
hddLog(VOS_TRACE_LEVEL_FATAL,
- "%s:Error!!! Allocating the new beacon\n",__func__);
+ "%s:Error!!! Allocating the new beacon",__func__);
return -EINVAL;
}
@@ -2229,7 +2229,7 @@
ENTER();
- hddLog(VOS_TRACE_LEVEL_INFO, "%s: device_mode = %d\n",
+ hddLog(VOS_TRACE_LEVEL_INFO, "%s: device_mode = %d",
__func__,pAdapter->device_mode);
pHddCtx = WLAN_HDD_GET_CTX(pAdapter);
@@ -2257,7 +2257,7 @@
if(status != VOS_STATUS_SUCCESS) {
hddLog(VOS_TRACE_LEVEL_FATAL,
- "%s: Error!!! Allocating the new beacon\n",__func__);
+ "%s: Error!!! Allocating the new beacon",__func__);
return -EINVAL;
}
@@ -2319,7 +2319,7 @@
pScanInfo = &pHddCtx->scan_info;
- hddLog(VOS_TRACE_LEVEL_INFO, "%s: device_mode = %d\n",
+ hddLog(VOS_TRACE_LEVEL_INFO, "%s: device_mode = %d",
__func__,pAdapter->device_mode);
if ((pScanInfo != NULL) && pScanInfo->mScanPending && staAdapter)
@@ -2363,7 +2363,7 @@
if (!VOS_IS_STATUS_SUCCESS(status))
{
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,
- ("ERROR: HDD vos wait for single_event failed!!\n"));
+ ("ERROR: HDD vos wait for single_event failed!!"));
VOS_ASSERT(0);
}
}
@@ -2374,7 +2374,7 @@
if(status != VOS_STATUS_SUCCESS)
{
hddLog(VOS_TRACE_LEVEL_FATAL,
- "%s:Error!!! Stopping the BSS\n",__func__);
+ "%s:Error!!! Stopping the BSS",__func__);
return -EINVAL;
}
@@ -2383,7 +2383,7 @@
==eHAL_STATUS_FAILURE)
{
hddLog(LOGE,
- "Could not pass on WNI_CFG_PROBE_RSP_BCN_ADDNIE_FLAG to CCM\n");
+ "Could not pass on WNI_CFG_PROBE_RSP_BCN_ADDNIE_FLAG to CCM");
}
if ( eHAL_STATUS_FAILURE == ccmCfgSetInt(pHddCtx->hHal,
@@ -2391,7 +2391,7 @@
eANI_BOOLEAN_FALSE) )
{
hddLog(LOGE,
- "Could not pass on WNI_CFG_ASSOC_RSP_ADDNIE_FLAG to CCM\n");
+ "Could not pass on WNI_CFG_ASSOC_RSP_ADDNIE_FLAG to CCM");
}
// Reset WNI_CFG_PROBE_RSP Flags
@@ -2507,7 +2507,7 @@
ENTER();
- hddLog(VOS_TRACE_LEVEL_INFO, "%s: device_mode = %d\n",
+ hddLog(VOS_TRACE_LEVEL_INFO, "%s: device_mode = %d",
__func__, pAdapter->device_mode);
pHddCtx = WLAN_HDD_GET_CTX(pAdapter);
@@ -2535,7 +2535,7 @@
if(status != VOS_STATUS_SUCCESS) {
hddLog(VOS_TRACE_LEVEL_FATAL,
- "%s: Error!!! Allocating the new beacon\n",__func__);
+ "%s: Error!!! Allocating the new beacon",__func__);
return -EINVAL;
}
@@ -2559,7 +2559,7 @@
ENTER();
- hddLog(VOS_TRACE_LEVEL_INFO, "%s: device_mode = %d\n",
+ hddLog(VOS_TRACE_LEVEL_INFO, "%s: device_mode = %d",
__func__,pAdapter->device_mode);
if((pAdapter->device_mode == WLAN_HDD_SOFTAP)
@@ -2829,7 +2829,7 @@
else
{
VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,
- "%s: SME Change Country code failed \n",__func__);
+ "%s: SME Change Country code failed",__func__);
return -EINVAL;
}
}
@@ -3686,7 +3686,7 @@
ENTER();
- hddLog(VOS_TRACE_LEVEL_INFO, "%s: device_mode = %d\n",
+ hddLog(VOS_TRACE_LEVEL_INFO, "%s: device_mode = %d",
__func__,pAdapter->device_mode);
memset(¶ms, 0, sizeof(params));
@@ -3882,7 +3882,7 @@
return -EINVAL;
}
- hddLog(VOS_TRACE_LEVEL_INFO, "%s: device_mode = %d key_index = %d \n",
+ hddLog(VOS_TRACE_LEVEL_INFO, "%s: device_mode = %d key_index = %d",
__func__,pAdapter->device_mode, key_index);
if (CSR_MAX_NUM_KEY <= key_index)
@@ -4010,7 +4010,7 @@
if( NULL == pBssDesc )
{
- hddLog(VOS_TRACE_LEVEL_FATAL, "%s: pBssDesc is NULL\n", __func__);
+ hddLog(VOS_TRACE_LEVEL_FATAL, "%s: pBssDesc is NULL", __func__);
return bss;
}
@@ -4020,7 +4020,7 @@
if( NULL == ie )
{
- hddLog(VOS_TRACE_LEVEL_FATAL, "%s: IE of BSS descriptor is NULL\n", __func__);
+ hddLog(VOS_TRACE_LEVEL_FATAL, "%s: IE of BSS descriptor is NULL", __func__);
return bss;
}
@@ -4319,7 +4319,7 @@
/* no scan results */
if (NULL == pResult)
{
- hddLog(VOS_TRACE_LEVEL_INFO, "%s: No scan result\n", __func__);
+ hddLog(VOS_TRACE_LEVEL_INFO, "%s: No scan result", __func__);
return status;
}
@@ -4345,7 +4345,7 @@
if (NULL == bss_status)
{
hddLog(VOS_TRACE_LEVEL_INFO,
- "%s: NULL returned by cfg80211_inform_bss\n", __func__);
+ "%s: NULL returned by cfg80211_inform_bss", __func__);
}
else
{
@@ -4375,7 +4375,7 @@
hddPrintPmkId(tANI_U8 *pmkId, tANI_U8 logLevel)
{
VOS_TRACE(VOS_MODULE_ID_HDD, logLevel,
- "%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X\n",
+ "%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X",
pmkId[0], pmkId[1], pmkId[2], pmkId[3], pmkId[4],
pmkId[5], pmkId[6], pmkId[7], pmkId[8], pmkId[9], pmkId[10],
pmkId[11], pmkId[12], pmkId[13], pmkId[14], pmkId[15]);
@@ -4391,14 +4391,12 @@
{ \
hddLog(VOS_TRACE_LEVEL_INFO, "BSSID (MAC) address:\t"); \
hddPrintMacAddr(bssid, VOS_TRACE_LEVEL_INFO);\
- hddLog(VOS_TRACE_LEVEL_INFO, "\n"); \
}
#define dump_pmkid(pMac, pmkid) \
{ \
hddLog(VOS_TRACE_LEVEL_INFO, "PMKSA-ID:\t"); \
hddPrintPmkId(pmkid, VOS_TRACE_LEVEL_INFO);\
- hddLog(VOS_TRACE_LEVEL_INFO, "\n"); \
}
#if defined(FEATURE_WLAN_LFR) && (LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0))
@@ -4419,7 +4417,7 @@
if( NULL == pRoamInfo )
{
- hddLog(VOS_TRACE_LEVEL_FATAL, "%s: pRoamInfo is NULL\n", __func__);
+ hddLog(VOS_TRACE_LEVEL_FATAL, "%s: pRoamInfo is NULL", __func__);
return -EINVAL;
}
@@ -4569,7 +4567,7 @@
hddLog(VOS_TRACE_LEVEL_INFO,
"%s called with halHandle = %p, pContext = %p,"
- "scanID = %d, returned status = %d\n",
+ "scanID = %d, returned status = %d",
__func__, halHandle, pContext, (int) scanId, (int) status);
pScanInfo->mScanPendingCounter = 0;
@@ -4595,7 +4593,7 @@
{
hddLog(VOS_TRACE_LEVEL_INFO,
"%s called with mismatched scanId pScanInfo->scanId = %d "
- "scanId = %d \n", __func__, (int) pScanInfo->scanId,
+ "scanId = %d", __func__, (int) pScanInfo->scanId,
(int) scanId);
}
@@ -4637,7 +4635,7 @@
if (!req)
{
- hddLog(VOS_TRACE_LEVEL_ERROR, "request is became NULL\n");
+ hddLog(VOS_TRACE_LEVEL_ERROR, "request is became NULL");
pScanInfo->mScanPending = VOS_FALSE;
goto allow_suspend;
}
@@ -4773,7 +4771,7 @@
ENTER();
- hddLog(VOS_TRACE_LEVEL_INFO, "%s: device_mode = %d\n",
+ hddLog(VOS_TRACE_LEVEL_INFO, "%s: device_mode = %d",
__func__,pAdapter->device_mode);
status = wlan_hdd_validate_context(pHddCtx);
@@ -5586,7 +5584,7 @@
eLen = *genie++;
remLen -= 2;
- hddLog(VOS_TRACE_LEVEL_INFO, "%s: IE[0x%X], LEN[%d]\n",
+ hddLog(VOS_TRACE_LEVEL_INFO, "%s: IE[0x%X], LEN[%d]",
__func__, elementId, eLen);
switch ( elementId )
@@ -5858,7 +5856,7 @@
}
else
{
- hddLog(VOS_TRACE_LEVEL_FATAL, "Invalid akmSuite count\n");
+ hddLog(VOS_TRACE_LEVEL_FATAL, "Invalid akmSuite count");
VOS_ASSERT(0);
return -EINVAL;
}
@@ -6090,7 +6088,7 @@
ENTER();
hddLog(VOS_TRACE_LEVEL_INFO,
- "%s: device_mode = %d\n",__func__,pAdapter->device_mode);
+ "%s: device_mode = %d",__func__,pAdapter->device_mode);
pHddCtx = WLAN_HDD_GET_CTX(pAdapter);
status = wlan_hdd_validate_context(pHddCtx);
@@ -6194,7 +6192,7 @@
if ( 0 != status )
{
hddLog(VOS_TRACE_LEVEL_ERROR,
- "%s csrRoamDisconnect failure, returned %d \n",
+ "%s csrRoamDisconnect failure, returned %d",
__func__, (int)status );
return -EINVAL;
}
@@ -6229,7 +6227,7 @@
ENTER();
- hddLog(VOS_TRACE_LEVEL_INFO, "%s: device_mode = %d\n",
+ hddLog(VOS_TRACE_LEVEL_INFO, "%s: device_mode = %d",
__func__,pAdapter->device_mode);
hddLog(VOS_TRACE_LEVEL_INFO, "%s: Disconnect called with reason code %d",
@@ -6306,7 +6304,7 @@
if ( 0 != status )
{
hddLog(VOS_TRACE_LEVEL_ERROR,
- "%s wlan_hdd_disconnect failure, returned %d \n",
+ "%s wlan_hdd_disconnect failure, returned %d",
__func__, (int)status );
return -EINVAL;
}
@@ -6428,7 +6426,7 @@
ENTER();
hddLog(VOS_TRACE_LEVEL_INFO,
- "%s: device_mode = %d\n",__func__,pAdapter->device_mode);
+ "%s: device_mode = %d",__func__,pAdapter->device_mode);
status = wlan_hdd_validate_context(pHddCtx);
@@ -6441,7 +6439,7 @@
if (NULL == pWextState)
{
- hddLog (VOS_TRACE_LEVEL_ERROR, "%s ERROR: Data Storage Corruption\n",
+ hddLog (VOS_TRACE_LEVEL_ERROR, "%s ERROR: Data Storage Corruption",
__func__);
return -EIO;
}
@@ -6451,7 +6449,7 @@
if ( eCSR_BSS_TYPE_START_IBSS != pRoamProfile->BSSType )
{
hddLog (VOS_TRACE_LEVEL_ERROR,
- "%s Interface type is not set to IBSS \n", __func__);
+ "%s Interface type is not set to IBSS", __func__);
return -EINVAL;
}
@@ -6593,10 +6591,10 @@
return status;
}
- hddLog(VOS_TRACE_LEVEL_INFO, "%s: device_mode = %d\n",__func__,pAdapter->device_mode);
+ hddLog(VOS_TRACE_LEVEL_INFO, "%s: device_mode = %d",__func__,pAdapter->device_mode);
if (NULL == pWextState)
{
- hddLog (VOS_TRACE_LEVEL_ERROR, "%s ERROR: Data Storage Corruption\n",
+ hddLog (VOS_TRACE_LEVEL_ERROR, "%s ERROR: Data Storage Corruption",
__func__);
return -EIO;
}
@@ -7280,7 +7278,7 @@
if (NULL == pAdapter)
{
- hddLog(VOS_TRACE_LEVEL_ERROR, "%s: Adapter is NULL\n", __func__);
+ hddLog(VOS_TRACE_LEVEL_ERROR, "%s: Adapter is NULL", __func__);
return -ENODEV;
}
@@ -7307,7 +7305,7 @@
if (!VOS_IS_STATUS_SUCCESS(vos_status))
{
hddLog(VOS_TRACE_LEVEL_INFO,
- "%s:Failed to enable ARPOFFLOAD Feature %d\n",
+ "%s:Failed to enable ARPOFFLOAD Feature %d",
__func__, vos_status);
}
}
@@ -7751,7 +7749,7 @@
if (NULL == pAdapter)
{
- hddLog(VOS_TRACE_LEVEL_ERROR, "%s: Adapter is NULL\n", __func__);
+ hddLog(VOS_TRACE_LEVEL_ERROR, "%s: Adapter is NULL", __func__);
return -ENODEV;
}
@@ -7760,13 +7758,13 @@
// Added for debug on reception of Re-assoc Req.
if (eConnectionState_Associated != pHddStaCtx->conn_info.connState)
{
- hddLog(LOGE, FL("Called with Ie of length = %zu when not associated\n"),
+ hddLog(LOGE, FL("Called with Ie of length = %zu when not associated"),
ftie->ie_len);
- hddLog(LOGE, FL("Should be Re-assoc Req IEs\n"));
+ hddLog(LOGE, FL("Should be Re-assoc Req IEs"));
}
#ifdef WLAN_FEATURE_VOWIFI_11R_DEBUG
- hddLog(LOGE, FL("%s called with Ie of length = %zu\n"), __func__,
+ hddLog(LOGE, FL("%s called with Ie of length = %zu"), __func__,
ftie->ie_len);
#endif
@@ -8312,7 +8310,7 @@
if (TDLS_CTX_MAGIC == pAdapter->mgmtTxCompletionStatus)
{
VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,
- "%s: " MAC_ADDRESS_STR " action %d couldn't sent, as one is pending. return EBUSY\n",
+ "%s: " MAC_ADDRESS_STR " action %d couldn't sent, as one is pending. return EBUSY",
__func__, MAC_ADDR_ARRAY(peer), action_code);
return -EBUSY;
}
diff --git a/CORE/HDD/src/wlan_hdd_early_suspend.c b/CORE/HDD/src/wlan_hdd_early_suspend.c
index 3d707bc..af5ea59 100644
--- a/CORE/HDD/src/wlan_hdd_early_suspend.c
+++ b/CORE/HDD/src/wlan_hdd_early_suspend.c
@@ -712,7 +712,7 @@
pHddCtx->sus_res_mcastbcast_filter)))
{
hddLog (VOS_TRACE_LEVEL_INFO,
- "Set offLoadRequest with SIR_OFFLOAD_NS_AND_MCAST_FILTER_ENABLE \n");
+ "Set offLoadRequest with SIR_OFFLOAD_NS_AND_MCAST_FILTER_ENABLE");
offLoadRequest.enableOrDisable =
SIR_OFFLOAD_NS_AND_MCAST_FILTER_ENABLE;
}
@@ -786,7 +786,7 @@
tSirHostOffloadReq offLoadRequest;
hdd_context_t *pHddCtx = WLAN_HDD_GET_CTX(pAdapter);
- hddLog(VOS_TRACE_LEVEL_ERROR, "%s: \n", __func__);
+ hddLog(VOS_TRACE_LEVEL_ERROR, "%s:", __func__);
if(fenable)
{
@@ -806,7 +806,7 @@
offLoadRequest.offloadType = SIR_IPV4_ARP_REPLY_OFFLOAD;
offLoadRequest.enableOrDisable = SIR_OFFLOAD_ENABLE;
- hddLog(VOS_TRACE_LEVEL_INFO, "%s: Enabled \n", __func__);
+ hddLog(VOS_TRACE_LEVEL_INFO, "%s: Enabled", __func__);
if (((HDD_MCASTBCASTFILTER_FILTER_ALL_BROADCAST ==
pHddCtx->sus_res_mcastbcast_filter) ||
@@ -840,14 +840,14 @@
pAdapter->sessionId, &offLoadRequest))
{
hddLog(VOS_TRACE_LEVEL_ERROR, "%s: Failed to enable HostOffload "
- "feature\n", __func__);
+ "feature", __func__);
return VOS_STATUS_E_FAILURE;
}
return VOS_STATUS_SUCCESS;
}
else
{
- hddLog(VOS_TRACE_LEVEL_INFO, "%s:IP Address is not assigned \n", __func__);
+ hddLog(VOS_TRACE_LEVEL_INFO, "%s:IP Address is not assigned", __func__);
return VOS_STATUS_E_AGAIN;
}
}
@@ -862,7 +862,7 @@
pAdapter->sessionId, &offLoadRequest))
{
hddLog(VOS_TRACE_LEVEL_ERROR, "%s: Failure to disable host "
- "offload feature\n", __func__);
+ "offload feature", __func__);
return VOS_STATUS_E_FAILURE;
}
return VOS_STATUS_SUCCESS;
@@ -1388,7 +1388,7 @@
NULL, eANI_BOOLEAN_FALSE);
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
- "Switch to DTIM%d \n",powerRequest.uListenInterval);
+ "Switch to DTIM%d",powerRequest.uListenInterval);
sme_SetPowerParams( WLAN_HDD_GET_HAL_CTX(pAdapter), &powerRequest, FALSE);
if (BMPS == pmcGetPmcState(pHddCtx->hHal))
diff --git a/CORE/HDD/src/wlan_hdd_ftm.c b/CORE/HDD/src/wlan_hdd_ftm.c
index b8dd5d4..b2eec59 100644
--- a/CORE/HDD/src/wlan_hdd_ftm.c
+++ b/CORE/HDD/src/wlan_hdd_ftm.c
@@ -397,7 +397,7 @@
if (VOS_STATUS_SUCCESS != vos_mq_post_message(
VOS_MODULE_ID_WDA,
(vos_msg_t *)&ftmMsg)) {
- hddLog(VOS_TRACE_LEVEL_ERROR,"%s: : Failed to post Msg to HAL\n",__func__);
+ hddLog(VOS_TRACE_LEVEL_ERROR,"%s: : Failed to post Msg to HAL",__func__);
return VOS_STATUS_E_FAILURE;
}
@@ -1055,12 +1055,12 @@
if ( vStatus == VOS_STATUS_E_TIMEOUT )
{
VOS_TRACE( VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_ERROR,
- "%s: Timeout occurred before WDA complete\n",__func__);
+ "%s: Timeout occurred before WDA complete",__func__);
}
else
{
VOS_TRACE( VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_ERROR,
- "%s: WDA_preStart reporting other error \n",__func__);
+ "%s: WDA_preStart reporting other error",__func__);
}
VOS_ASSERT( 0 );
return VOS_STATUS_E_FAILURE;
@@ -1309,7 +1309,7 @@
if( ptt_sock_send_msg_to_app(&pHddCtx->ftm.wnl->wmsg, 0, ANI_NL_MSG_PUMAC, pHddCtx->ftm.wnl->nlh.nlmsg_pid) < 0) {
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("Ptt Socket error sending message to the app!!\n"));
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("Ptt Socket error sending message to the app!!"));
return VOS_STATUS_E_FAILURE;
}
return VOS_STATUS_SUCCESS;
@@ -1391,12 +1391,12 @@
if ( vStatus == VOS_STATUS_E_TIMEOUT )
{
VOS_TRACE( VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_ERROR,
- "%s: Timeout occurred before WDA_NVDownload_Start complete\n",__func__);
+ "%s: Timeout occurred before WDA_NVDownload_Start complete",__func__);
}
else
{
VOS_TRACE( VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_ERROR,
- "%s: WDA_NVDownload_Start reporting other error \n",__func__);
+ "%s: WDA_NVDownload_Start reporting other error",__func__);
}
VOS_ASSERT(0);
goto err_status_failure;
@@ -1446,13 +1446,13 @@
if(vStatus == VOS_STATUS_E_TIMEOUT)
{
VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_ERROR,
- "%s: Timeout occurred before WDA_stop complete\n",__func__);
+ "%s: Timeout occurred before WDA_stop complete",__func__);
}
else
{
VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_ERROR,
- "%s: WDA_stop reporting other error \n",__func__);
+ "%s: WDA_stop reporting other error",__func__);
}
VOS_ASSERT(0);
}
@@ -1614,7 +1614,7 @@
/* Invalid table size, discard and initialize data */
VOS_TRACE( VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_FATAL,
"Invalid Table Size %d for Table %d"
- " expected size %d\n", nvTable->tableSize, nvTable->nvTable,
+ " expected size %d", nvTable->tableSize, nvTable->nvTable,
pHddCtx->ftm.targetNVTableSize);
pHddCtx->ftm.processingNVTable = NV_MAX_TABLE;
pHddCtx->ftm.targetNVTableSize = 0;
@@ -2792,7 +2792,7 @@
if (!pRequestBuf) {
- hddLog(VOS_TRACE_LEVEL_ERROR,"%s: request buffer is null\n",__func__);
+ hddLog(VOS_TRACE_LEVEL_ERROR,"%s: request buffer is null",__func__);
return ;
}
/*Save the received request*/
@@ -2803,7 +2803,7 @@
pHddCtx->ftm.wnl = wnl;
if (pRequestBuf->module_type != QUALCOMM_MODULE_TYPE) {
- hddLog(VOS_TRACE_LEVEL_ERROR,"%s: Invalid Module Type =%d\n",__func__,pRequestBuf->module_type);
+ hddLog(VOS_TRACE_LEVEL_ERROR,"%s: Invalid Module Type =%d",__func__,pRequestBuf->module_type);
pHddCtx->ftm.pResponseBuf->ftm_err_code = WLAN_FTM_FAILURE;
wlan_ftm_send_response(pHddCtx);
@@ -2815,7 +2815,7 @@
case WLAN_FTM_START:
if (pHddCtx->ftm.ftm_state == WLAN_FTM_STARTED) {
- hddLog(VOS_TRACE_LEVEL_ERROR,"%s: FTM has already started =%d\n",__func__,pRequestBuf->ftmpkt.ftm_cmd_type);
+ hddLog(VOS_TRACE_LEVEL_ERROR,"%s: FTM has already started =%d",__func__,pRequestBuf->ftmpkt.ftm_cmd_type);
pHddCtx->ftm.pResponseBuf->ftm_hdr.data_len -= 1;
pHddCtx->ftm.pResponseBuf->ftm_err_code = WLAN_FTM_SUCCESS;
wlan_ftm_send_response(pHddCtx);
@@ -2842,7 +2842,7 @@
case WLAN_FTM_STOP:
if (pHddCtx->ftm.ftm_state != WLAN_FTM_STARTED) {
- hddLog(VOS_TRACE_LEVEL_ERROR,"%s:: FTM has not started\n",__func__);
+ hddLog(VOS_TRACE_LEVEL_ERROR,"%s:: FTM has not started",__func__);
pHddCtx->ftm.pResponseBuf->ftm_err_code = WLAN_FTM_SUCCESS;
wlan_ftm_send_response(pHddCtx);
return;
@@ -2866,12 +2866,12 @@
case WLAN_FTM_CMD:
/* if it is regular FTM command, pass it to HAL PHY */
if(pHddCtx->ftm.IsCmdPending == TRUE) {
- hddLog(VOS_TRACE_LEVEL_ERROR,"%s:: FTM command pending for process\n",__func__);
+ hddLog(VOS_TRACE_LEVEL_ERROR,"%s:: FTM command pending for process",__func__);
return;
}
if (pHddCtx->ftm.ftm_state != WLAN_FTM_STARTED) {
- hddLog(VOS_TRACE_LEVEL_ERROR,"%s:: FTM has not started\n",__func__);
+ hddLog(VOS_TRACE_LEVEL_ERROR,"%s:: FTM has not started",__func__);
pHddCtx->ftm.pResponseBuf->ftm_err_code = WLAN_FTM_FAILURE;
wlan_ftm_send_response(pHddCtx);
@@ -2890,7 +2890,7 @@
if (NULL == tempRspBuffer)
{
hddLog(VOS_TRACE_LEVEL_ERROR,
- "%s:: temp Mem Alloc Fail\n",__func__);
+ "%s:: temp Mem Alloc Fail",__func__);
pHddCtx->ftm.pResponseBuf->ftm_err_code = WLAN_FTM_FAILURE;
wlan_ftm_send_response(pHddCtx);
return;
@@ -2920,7 +2920,7 @@
/*Post the command to the HAL*/
if (wlan_ftm_postmsg(pftm_data, cmd_len) != VOS_STATUS_SUCCESS) {
- hddLog(VOS_TRACE_LEVEL_ERROR,"%s:: FTM command failed\n",__func__);
+ hddLog(VOS_TRACE_LEVEL_ERROR,"%s:: FTM command failed",__func__);
return;
}
@@ -2942,7 +2942,7 @@
default:
- hddLog(VOS_TRACE_LEVEL_ERROR,"%s:: Command not supported \n",__func__);
+ hddLog(VOS_TRACE_LEVEL_ERROR,"%s:: Command not supported",__func__);
return;
}
@@ -3118,7 +3118,7 @@
pMsgBody->SetChannel.chId = get_primary_channel(channel, ftm_status.cbmode);
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Channel =%d\n",pMsgBody->SetChannel.chId);
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Channel =%d",pMsgBody->SetChannel.chId);
pMsgBody->SetChannel.cbState = ftm_status.cbmode ;
status = wlan_ftm_postmsg((v_U8_t*)pMsgBuf,pMsgBuf->msgBodyLength);
@@ -3366,7 +3366,7 @@
}
if(ii >= SIZE_OF_TABLE(rateName_rateIndex_tbl))
{
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_FATAL, "%s:Invalid Rate String\n",__func__);
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_FATAL, "%s:Invalid Rate String",__func__);
return VOS_STATUS_E_FAILURE;
}
@@ -3738,7 +3738,7 @@
*pChannel = freq_chan_tbl[indx].chan;
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Channel = %d freq = %d\n",*pChannel, freq);
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "Channel = %d freq = %d",*pChannel, freq);
done:
return status;
@@ -3988,7 +3988,7 @@
}
if(ii >= SIZE_OF_TABLE(rateName_rateIndex_tbl))
{
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_FATAL, "%s:Invalid Rate Index\n",__func__);
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_FATAL, "%s:Invalid Rate Index",__func__);
status = VOS_STATUS_E_FAILURE;
goto done;
}
@@ -4261,7 +4261,7 @@
goto done;
}
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "NV_COMMON_MAC_ADDR Success!!!\n");
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO_HIGH, "NV_COMMON_MAC_ADDR Success!!!");
init_completion(&pHddCtx->ftm.ftm_comp_var);
memset( pMsgBuf,0,sizeof(tPttMsgbuffer));
@@ -4323,14 +4323,14 @@
{
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
- "SET MAC ADDRESS\n");
+ "SET MAC ADDRESS");
status = wlan_ftm_priv_set_mac_address(pAdapter,extra);
if(status != VOS_STATUS_SUCCESS)
{
hddLog(VOS_TRACE_LEVEL_FATAL,
- "wlan_ftm_priv_set_mac_address Failed =%d\n",status);
+ "wlan_ftm_priv_set_mac_address Failed =%d",status);
ret = -EINVAL;
}
@@ -4344,7 +4344,7 @@
if(status != VOS_STATUS_SUCCESS)
{
hddLog(VOS_TRACE_LEVEL_FATAL,
- "wlan_ftm_priv_set_txrate Failed =%d\n",status);
+ "wlan_ftm_priv_set_txrate Failed =%d",status);
ret = -EINVAL;
}
@@ -4353,7 +4353,7 @@
}
default:
{
- hddLog(LOGE, "%s: Invalid sub command %d\n",__func__, sub_cmd);
+ hddLog(LOGE, "%s: Invalid sub command %d",__func__, sub_cmd);
ret = -EINVAL;
break;
}
@@ -4379,7 +4379,7 @@
if(status != VOS_STATUS_SUCCESS)
{
- hddLog(VOS_TRACE_LEVEL_FATAL,"%s Failed =%d\n",__func__, status);
+ hddLog(VOS_TRACE_LEVEL_FATAL,"%s Failed =%d",__func__, status);
ret = -EINVAL;
}
@@ -4391,7 +4391,7 @@
if(status != VOS_STATUS_SUCCESS)
{
- hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_start_stop_tx_pktgen Failed =%d\n",status);
+ hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_start_stop_tx_pktgen Failed =%d",status);
ret = -EINVAL;
}
break;
@@ -4401,7 +4401,7 @@
if(status != VOS_STATUS_SUCCESS)
{
- hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_set_txifs Failed =%d\n",status);
+ hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_set_txifs Failed =%d",status);
ret = -EINVAL;
}
break;
@@ -4411,7 +4411,7 @@
if(status != VOS_STATUS_SUCCESS)
{
- hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_set_txpktcnt Failed =%d\n",status);
+ hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_set_txpktcnt Failed =%d",status);
ret = -EINVAL;
}
break;
@@ -4421,7 +4421,7 @@
if(status != VOS_STATUS_SUCCESS)
{
- hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_set_txpktlen Failed =%d\n",status);
+ hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_set_txpktlen Failed =%d",status);
ret = -EINVAL;
}
break;
@@ -4432,7 +4432,7 @@
if(status != VOS_STATUS_SUCCESS)
{
- hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_set_channel Failed =%d\n",status);
+ hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_set_channel Failed =%d",status);
ret = -EINVAL;
}
break;
@@ -4443,7 +4443,7 @@
if(status != VOS_STATUS_SUCCESS)
{
- hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_set_txpower Failed =%d\n",status);
+ hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_set_txpower Failed =%d",status);
ret = -EINVAL;
}
break;
@@ -4454,7 +4454,7 @@
if(status != VOS_STATUS_SUCCESS)
{
- hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_rx_pkt_clear Failed =%d\n",status);
+ hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_rx_pkt_clear Failed =%d",status);
ret = -EINVAL;
}
break;
@@ -4465,7 +4465,7 @@
if(status != VOS_STATUS_SUCCESS)
{
- hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_rx_mode Failed =%d\n",status);
+ hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_rx_mode Failed =%d",status);
ret = -EINVAL;
}
break;
@@ -4476,7 +4476,7 @@
if(status != VOS_STATUS_SUCCESS)
{
- hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_enable_chain Failed =%d\n",status);
+ hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_enable_chain Failed =%d",status);
ret = -EINVAL;
}
break;
@@ -4518,7 +4518,7 @@
default:
{
- hddLog(LOGE, "Invalid IOCTL setvalue command %d value %d \n",
+ hddLog(LOGE, "Invalid IOCTL setvalue command %d value %d",
sub_cmd, set_value);
break;
}
@@ -4544,7 +4544,7 @@
if(status != VOS_STATUS_SUCCESS)
{
- hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_get_channel Failed =%d\n",status);
+ hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_get_channel Failed =%d",status);
ret = -EINVAL;
}
break;
@@ -4555,7 +4555,7 @@
if(status != VOS_STATUS_SUCCESS)
{
- hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_get_txpower Failed =%d\n",status);
+ hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_get_txpower Failed =%d",status);
ret = -EINVAL;
}
break;
@@ -4566,7 +4566,7 @@
if(status != VOS_STATUS_SUCCESS)
{
- hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_get_rx_pkt_count Failed =%d\n",status);
+ hddLog(VOS_TRACE_LEVEL_FATAL,"wlan_ftm_priv_get_rx_pkt_count Failed =%d",status);
ret = -EINVAL;
}
break;
@@ -4596,7 +4596,7 @@
if(status != VOS_STATUS_SUCCESS)
{
- hddLog(VOS_TRACE_LEVEL_FATAL, "wlan_ftm_priv_get_mac_address failed =%d\n",status);
+ hddLog(VOS_TRACE_LEVEL_FATAL, "wlan_ftm_priv_get_mac_address failed =%d",status);
return -EINVAL;
}
wrqu->data.length = strlen(extra)+1;
@@ -4608,7 +4608,7 @@
if(status != VOS_STATUS_SUCCESS)
{
- hddLog(VOS_TRACE_LEVEL_FATAL, "wlan_ftm_priv_get_txrate failed =%d\n",status);
+ hddLog(VOS_TRACE_LEVEL_FATAL, "wlan_ftm_priv_get_txrate failed =%d",status);
return -EINVAL;
}
@@ -4621,7 +4621,7 @@
if(status != VOS_STATUS_SUCCESS)
{
- hddLog(VOS_TRACE_LEVEL_FATAL, "wlan_ftm_priv_get_mac_address failed =%d\n",status);
+ hddLog(VOS_TRACE_LEVEL_FATAL, "wlan_ftm_priv_get_mac_address failed =%d",status);
return -EINVAL;
}
wrqu->data.length = strlen(extra)+1;
@@ -4633,7 +4633,7 @@
if(status != VOS_STATUS_SUCCESS)
{
- hddLog(VOS_TRACE_LEVEL_FATAL, "wlan_ftm_priv_get_status failed =%d\n",status);
+ hddLog(VOS_TRACE_LEVEL_FATAL, "wlan_ftm_priv_get_status failed =%d",status);
return -EINVAL;
}
@@ -4646,7 +4646,7 @@
if(status != VOS_STATUS_SUCCESS)
{
- hddLog(VOS_TRACE_LEVEL_FATAL, "wlan_ftm_priv_get_rx_rssi failed =%d\n",status);
+ hddLog(VOS_TRACE_LEVEL_FATAL, "wlan_ftm_priv_get_rx_rssi failed =%d",status);
return -EINVAL;
}
@@ -4655,7 +4655,7 @@
}
default:
{
- hddLog(LOGE, "Invalid IOCTL command %d \n", sub_cmd );
+ hddLog(LOGE, "Invalid IOCTL command %d", sub_cmd );
break;
}
}
@@ -4700,7 +4700,7 @@
if(pHddCtx->ftm.cmd_iwpriv == TRUE) {
if( ptt_sock_send_msg_to_app(wmsg, 0, ANI_NL_MSG_PUMAC, pHddCtx->ptt_pid) < 0) {
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("Ptt Socket error sending message to the app!!\n"));
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("Ptt Socket error sending message to the app!!"));
vos_mem_free((v_VOID_t*)wmsg);
return VOS_STATUS_E_FAILURE;
}
@@ -4708,7 +4708,7 @@
else {
if( ptt_sock_send_msg_to_app(wmsg, 0, ANI_NL_MSG_PUMAC, pHddCtx->ftm.wnl->nlh.nlmsg_pid) < 0) {
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("Ptt Socket error sending message to the app!!\n"));
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("Ptt Socket error sending message to the app!!"));
vos_mem_free((v_VOID_t*)wmsg);
return VOS_STATUS_E_FAILURE;
}
@@ -4734,7 +4734,7 @@
v_U8_t *pu8buf,*pTempBuf;
v_U16_t size;
size = sizeof(v_U32_t) + sizeof(sHalNv);
- hddLog(VOS_TRACE_LEVEL_INFO_HIGH,"HAL NV Size =%d\n",size);
+ hddLog(VOS_TRACE_LEVEL_INFO_HIGH,"HAL NV Size =%d",size);
pu8buf = vos_mem_malloc(size);
if(pu8buf == NULL)
{
@@ -5001,7 +5001,7 @@
if (!VOS_IS_STATUS_SUCCESS(vos_status))
{
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("ERROR: HDD vos_event_set failed!!\n"));
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("ERROR: HDD vos_event_set failed!!"));
return VOS_STATUS_E_FAILURE;
}
}
diff --git a/CORE/HDD/src/wlan_hdd_hostapd.c b/CORE/HDD/src/wlan_hdd_hostapd.c
index adcdb52..b013c60 100644
--- a/CORE/HDD/src/wlan_hdd_hostapd.c
+++ b/CORE/HDD/src/wlan_hdd_hostapd.c
@@ -242,7 +242,7 @@
* To avoid addition overflow total_len should be
* smaller than INT_MAX. */
VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_FATAL,
- "%s: integer out of range\n", __func__);
+ "%s: integer out of range", __func__);
ret = -EFAULT;
goto exit;
}
@@ -251,7 +251,7 @@
if (!command)
{
VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_FATAL,
- "%s: failed to allocate memory\n", __func__);
+ "%s: failed to allocate memory", __func__);
ret = -ENOMEM;
goto exit;
}
@@ -414,7 +414,7 @@
struct net_device *dev;
dev = (struct net_device *)usrDataForCallback;
- hddLog(LOGE, FL("Clearing all the STA entry....\n"));
+ hddLog(LOGE, FL("Clearing all the STA entry...."));
for (staId = 0; staId < WLAN_MAX_STA_COUNT; staId++)
{
if ( pHostapdAdapter->aStaInfo[staId].isUsed &&
@@ -489,7 +489,7 @@
switch(sapEvent)
{
case eSAP_START_BSS_EVENT :
- hddLog(LOG1, FL("BSS configured status = %s, channel = %u, bc sta Id = %d\n"),
+ hddLog(LOG1, FL("BSS configured status = %s, channel = %u, bc sta Id = %d"),
pSapEvent->sapevt.sapStartBssCompleteEvent.status ? "eSAP_STATUS_FAILURE" : "eSAP_STATUS_SUCCESS",
pSapEvent->sapevt.sapStartBssCompleteEvent.operatingChannel,
pSapEvent->sapevt.sapStartBssCompleteEvent.staId);
@@ -499,7 +499,7 @@
if (!VOS_IS_STATUS_SUCCESS(vos_status) || pHostapdState->vosStatus)
{
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("ERROR: startbss event failed!!\n"));
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("ERROR: startbss event failed!!"));
goto stopbss;
}
else
@@ -515,11 +515,11 @@
vos_status = vos_timer_init( &pHddApCtx->hdd_ap_inactivity_timer, VOS_TIMER_TYPE_SW,
hdd_hostapd_inactivity_timer_cb, (v_PVOID_t)dev );
if (!VOS_IS_STATUS_SUCCESS(vos_status))
- hddLog(LOGE, FL("Failed to init AP inactivity timer\n"));
+ hddLog(LOGE, FL("Failed to init AP inactivity timer"));
vos_status = vos_timer_start( &pHddApCtx->hdd_ap_inactivity_timer, (WLAN_HDD_GET_CTX(pHostapdAdapter))->cfg_ini->nAPAutoShutOff * 1000);
if (!VOS_IS_STATUS_SUCCESS(vos_status))
- hddLog(LOGE, FL("Failed to init AP inactivity timer\n"));
+ hddLog(LOGE, FL("Failed to init AP inactivity timer"));
}
pHddApCtx->operatingChannel = pSapEvent->sapevt.sapStartBssCompleteEvent.operatingChannel;
@@ -567,7 +567,7 @@
break; //Event will be sent after Switch-Case stmt
case eSAP_STOP_BSS_EVENT:
- hddLog(LOG1, FL("BSS stop status = %s\n"),pSapEvent->sapevt.sapStopBssCompleteEvent.status ?
+ hddLog(LOG1, FL("BSS stop status = %s"),pSapEvent->sapevt.sapStopBssCompleteEvent.status ?
"eSAP_STATUS_FAILURE" : "eSAP_STATUS_SUCCESS");
//Free up Channel List incase if it is set
@@ -577,19 +577,19 @@
goto stopbss;
case eSAP_STA_SET_KEY_EVENT:
//TODO: forward the message to hostapd once implementtation is done for now just print
- hddLog(LOG1, FL("SET Key: configured status = %s\n"),pSapEvent->sapevt.sapStationSetKeyCompleteEvent.status ?
+ hddLog(LOG1, FL("SET Key: configured status = %s"),pSapEvent->sapevt.sapStationSetKeyCompleteEvent.status ?
"eSAP_STATUS_FAILURE" : "eSAP_STATUS_SUCCESS");
return VOS_STATUS_SUCCESS;
case eSAP_STA_DEL_KEY_EVENT:
//TODO: forward the message to hostapd once implementtation is done for now just print
- hddLog(LOG1, FL("Event received %s\n"),"eSAP_STA_DEL_KEY_EVENT");
+ hddLog(LOG1, FL("Event received %s"),"eSAP_STA_DEL_KEY_EVENT");
return VOS_STATUS_SUCCESS;
case eSAP_STA_MIC_FAILURE_EVENT:
{
memset(&msg, '\0', sizeof(msg));
msg.src_addr.sa_family = ARPHRD_ETHER;
memcpy(msg.src_addr.sa_data, &pSapEvent->sapevt.sapStationMICFailureEvent.staMac, sizeof(v_MACADDR_t));
- hddLog(LOG1, "MIC MAC "MAC_ADDRESS_STR"\n", MAC_ADDR_ARRAY(msg.src_addr.sa_data));
+ hddLog(LOG1, "MIC MAC "MAC_ADDRESS_STR, MAC_ADDR_ARRAY(msg.src_addr.sa_data));
if(pSapEvent->sapevt.sapStationMICFailureEvent.multicast == eSAP_TRUE)
msg.flags = IW_MICFAILURE_GROUP;
else
@@ -616,7 +616,7 @@
wrqu.addr.sa_family = ARPHRD_ETHER;
memcpy(wrqu.addr.sa_data, &pSapEvent->sapevt.sapStationAssocReassocCompleteEvent.staMac,
sizeof(v_MACADDR_t));
- hddLog(LOG1, " associated "MAC_ADDRESS_STR"\n", MAC_ADDR_ARRAY(wrqu.addr.sa_data));
+ hddLog(LOG1, " associated "MAC_ADDRESS_STR, MAC_ADDR_ARRAY(wrqu.addr.sa_data));
we_event = IWEVREGISTERED;
WLANSAP_Get_WPS_State((WLAN_HDD_GET_CTX(pHostapdAdapter))->pvosContext, &bWPSState);
@@ -656,7 +656,7 @@
{
vos_status = vos_timer_stop(&pHddApCtx->hdd_ap_inactivity_timer);
if (!VOS_IS_STATUS_SUCCESS(vos_status))
- hddLog(LOGE, FL("Failed to start AP inactivity timer\n"));
+ hddLog(LOGE, FL("Failed to start AP inactivity timer"));
}
#ifdef WLAN_OPEN_SOURCE
if (wake_lock_active(&pHddCtx->sap_wake_lock))
@@ -685,7 +685,7 @@
}
else
{
- hddLog(LOGE, FL(" Assoc Ie length is too long \n"));
+ hddLog(LOGE, FL(" Assoc Ie length is too long"));
}
}
#endif
@@ -700,7 +700,7 @@
case eSAP_STA_DISASSOC_EVENT:
memcpy(wrqu.addr.sa_data, &pSapEvent->sapevt.sapStationDisassocCompleteEvent.staMac,
sizeof(v_MACADDR_t));
- hddLog(LOG1, " disassociated "MAC_ADDRESS_STR"\n", MAC_ADDR_ARRAY(wrqu.addr.sa_data));
+ hddLog(LOG1, " disassociated "MAC_ADDRESS_STR, MAC_ADDR_ARRAY(wrqu.addr.sa_data));
if (pSapEvent->sapevt.sapStationDisassocCompleteEvent.reason == eSAP_USR_INITATED_DISASSOC)
hddLog(LOG1," User initiated disassociation");
else
@@ -734,7 +734,7 @@
{
vos_status = vos_timer_start(&pHddApCtx->hdd_ap_inactivity_timer, (WLAN_HDD_GET_CTX(pHostapdAdapter))->cfg_ini->nAPAutoShutOff * 1000);
if (!VOS_IS_STATUS_SUCCESS(vos_status))
- hddLog(LOGE, FL("Failed to init AP inactivity timer\n"));
+ hddLog(LOGE, FL("Failed to init AP inactivity timer"));
}
else
VOS_ASSERT(vos_timer_getCurrentState(&pHddApCtx->hdd_ap_inactivity_timer) == VOS_TIMER_STATE_STOPPED);
@@ -760,7 +760,7 @@
pHddApCtx->WPSPBCProbeReq.probeReqIELen);
vos_mem_copy(pHddApCtx->WPSPBCProbeReq.peerMacAddr, pSapEvent->sapevt.sapPBCProbeReqEvent.WPSPBCProbeReq.peerMacAddr, sizeof(v_MACADDR_t));
- hddLog(LOG1, "WPS PBC probe req "MAC_ADDRESS_STR"\n", MAC_ADDR_ARRAY(pHddApCtx->WPSPBCProbeReq.peerMacAddr));
+ hddLog(LOG1, "WPS PBC probe req "MAC_ADDRESS_STR, MAC_ADDR_ARRAY(pHddApCtx->WPSPBCProbeReq.peerMacAddr));
memset(&wreq, 0, sizeof(wreq));
wreq.data.length = strlen(message); // This is length of message
wireless_send_event(dev, IWEVCUSTOM, &wreq, (char *)message);
@@ -811,7 +811,7 @@
wrqu.data.pointer = unknownSTAEvent;
wrqu.data.length = strlen(unknownSTAEvent);
we_custom_event_generic = (v_BYTE_t *)unknownSTAEvent;
- hddLog(LOG1,"%s\n", unknownSTAEvent);
+ hddLog(LOG1,"%s", unknownSTAEvent);
break;
case eSAP_MAX_ASSOC_EXCEEDED:
@@ -828,13 +828,13 @@
wrqu.data.pointer = maxAssocExceededEvent;
wrqu.data.length = strlen(maxAssocExceededEvent);
we_custom_event_generic = (v_BYTE_t *)maxAssocExceededEvent;
- hddLog(LOG1,"%s\n", maxAssocExceededEvent);
+ hddLog(LOG1,"%s", maxAssocExceededEvent);
break;
case eSAP_STA_ASSOC_IND:
return VOS_STATUS_SUCCESS;
case eSAP_DISCONNECT_ALL_P2P_CLIENT:
- hddLog(LOG1, FL(" Disconnecting all the P2P Clients....\n"));
+ hddLog(LOG1, FL(" Disconnecting all the P2P Clients...."));
hdd_clear_all_sta(pHostapdAdapter, usrDataForCallback);
return VOS_STATUS_SUCCESS;
@@ -843,7 +843,7 @@
return VOS_STATUS_SUCCESS;
default:
- hddLog(LOG1,"SAP message is not handled\n");
+ hddLog(LOG1,"SAP message is not handled");
goto stopbss;
return VOS_STATUS_SUCCESS;
}
@@ -919,7 +919,7 @@
if (NULL == halHandle)
{
- hddLog(LOGE, FL("Error haHandle returned NULL\n"));
+ hddLog(LOGE, FL("Error haHandle returned NULL"));
return -EINVAL;
}
@@ -946,9 +946,9 @@
RSNIeLen,
&dot11RSNIE);
// Copy out the encryption and authentication types
- hddLog(LOG1, FL("%s: pairwise cipher suite count: %d\n"),
+ hddLog(LOG1, FL("%s: pairwise cipher suite count: %d"),
__func__, dot11RSNIE.pwise_cipher_suite_count );
- hddLog(LOG1, FL("%s: authentication suite count: %d\n"),
+ hddLog(LOG1, FL("%s: authentication suite count: %d"),
__func__, dot11RSNIE.akm_suite_count);
/*Here we have followed the apple base code,
but probably I suspect we can do something different*/
@@ -981,9 +981,9 @@
RSNIeLen,
&dot11WPAIE);
// Copy out the encryption and authentication types
- hddLog(LOG1, FL("%s: WPA unicast cipher suite count: %d\n"),
+ hddLog(LOG1, FL("%s: WPA unicast cipher suite count: %d"),
__func__, dot11WPAIE.unicast_cipher_count );
- hddLog(LOG1, FL("%s: WPA authentication suite count: %d\n"),
+ hddLog(LOG1, FL("%s: WPA authentication suite count: %d"),
__func__, dot11WPAIE.auth_suite_count);
//dot11WPAIE.auth_suite_count
// Just translate the FIRST one
@@ -995,7 +995,7 @@
}
else
{
- hddLog(LOGW, FL("%s: gen_ie[0]: %d\n"), __func__, gen_ie[0]);
+ hddLog(LOGW, FL("%s: gen_ie[0]: %d"), __func__, gen_ie[0]);
return VOS_STATUS_E_FAILURE;
}
return VOS_STATUS_SUCCESS;
@@ -1234,7 +1234,7 @@
if (WLANSAP_ModifyACL(pVosContext, pPeerStaMac,(eSapACLType)listType,(eSapACLCmdType)cmd)
!= VOS_STATUS_SUCCESS)
{
- hddLog(LOGE, FL("Modify ACL failed\n"));
+ hddLog(LOGE, FL("Modify ACL failed"));
ret = -EIO;
}
EXIT();
@@ -1560,7 +1560,7 @@
pConfig = kmalloc(sizeof(tsap_Config_t), GFP_KERNEL);
if(NULL == pConfig) {
- hddLog(LOG1, "VOS unable to allocate memory\n");
+ hddLog(LOG1, "VOS unable to allocate memory");
return -ENOMEM;
}
pConfig->beacon_int = pCommitConfig->beacon_int;
@@ -1629,7 +1629,7 @@
//TODO: Need to handle mixed mode
pConfig->RSNEncryptType = RSNEncryptType; // Use the cipher type in the RSN IE
pConfig->mcRSNEncryptType = mcRSNEncryptType;
- hddLog( LOG1, FL("CSR AuthType = %d, EncryptionType = %d mcEncryptionType = %d\n"),
+ hddLog( LOG1, FL("CSR AuthType = %d, EncryptionType = %d mcEncryptionType = %d"),
RSNAuthType, RSNEncryptType, mcRSNEncryptType);
}
}
@@ -1639,7 +1639,7 @@
/* If no RSNIE, set encrypt type to NONE*/
pConfig->RSNEncryptType = eCSR_ENCRYPT_TYPE_NONE;
pConfig->mcRSNEncryptType = eCSR_ENCRYPT_TYPE_NONE;
- hddLog( LOG1, FL("EncryptionType = %d mcEncryptionType = %d\n"),
+ hddLog( LOG1, FL("EncryptionType = %d mcEncryptionType = %d"),
pConfig->RSNEncryptType, pConfig->mcRSNEncryptType);
}
@@ -1685,21 +1685,23 @@
pConfig->obssProtEnabled = (WLAN_HDD_GET_CTX(pHostapdAdapter))->cfg_ini->apOBSSProtEnabled;
(WLAN_HDD_GET_AP_CTX_PTR(pHostapdAdapter))->apDisableIntraBssFwd = (WLAN_HDD_GET_CTX(pHostapdAdapter))->cfg_ini->apDisableIntraBssFwd;
- hddLog(LOGW, FL("SOftAP macaddress : "MAC_ADDRESS_STR"\n"), MAC_ADDR_ARRAY(pHostapdAdapter->macAddressCurrent.bytes));
- hddLog(LOGW,FL("ssid =%s\n"), pConfig->SSIDinfo.ssid.ssId);
- hddLog(LOGW,FL("beaconint=%d, channel=%d\n"), (int)pConfig->beacon_int, (int)pConfig->channel);
- hddLog(LOGW,FL("hw_mode=%x\n"), pConfig->SapHw_mode);
- hddLog(LOGW,FL("privacy=%d, authType=%d\n"), pConfig->privacy, pConfig->authType);
- hddLog(LOGW,FL("RSN/WPALen=%d, \n"),(int)pConfig->RSNWPAReqIELength);
- hddLog(LOGW,FL("Uapsd = %d\n"),pConfig->UapsdEnable);
- hddLog(LOGW,FL("ProtEnabled = %d, OBSSProtEnabled = %d\n"),pConfig->protEnabled, pConfig->obssProtEnabled);
- hddLog(LOGW,FL("DisableIntraBssFwd = %d\n"),(WLAN_HDD_GET_AP_CTX_PTR(pHostapdAdapter))->apDisableIntraBssFwd);
+ hddLog(LOGW, FL("SOftAP macaddress : "MAC_ADDRESS_STR), MAC_ADDR_ARRAY(pHostapdAdapter->macAddressCurrent.bytes));
+ hddLog(LOGW,FL("ssid =%s, beaconint=%d, channel=%d"),
+ pConfig->SSIDinfo.ssid.ssId,
+ (int)pConfig->beacon_int, (int)pConfig->channel);
+ hddLog(LOGW,FL("hw_mode=%x, privacy=%d, authType=%d"),
+ pConfig->SapHw_mode, pConfig->privacy, pConfig->authType);
+ hddLog(LOGW,FL("RSN/WPALen=%d, Uapsd = %d"),
+ (int)pConfig->RSNWPAReqIELength, pConfig->UapsdEnable);
+ hddLog(LOGW,FL("ProtEnabled = %d, OBSSProtEnabled = %d, DisableIntraBssFwd = %d"),
+ pConfig->protEnabled, pConfig->obssProtEnabled,
+ (WLAN_HDD_GET_AP_CTX_PTR(pHostapdAdapter))->apDisableIntraBssFwd);
pSapEventCallback = hdd_hostapd_SAPEventCB;
pConfig->persona = pHostapdAdapter->device_mode;
if(WLANSAP_StartBss(pVosContext, pSapEventCallback, pConfig,(v_PVOID_t)dev) != VOS_STATUS_SUCCESS)
{
- hddLog(LOGE,FL("SAP Start Bss fail\n"));
+ hddLog(LOGE,FL("SAP Start Bss fail"));
}
kfree(pConfig);
@@ -1709,7 +1711,7 @@
if (!VOS_IS_STATUS_SUCCESS(vos_status))
{
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("ERROR: HDD vos wait for single_event failed!!\n"));
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("ERROR: HDD vos wait for single_event failed!!"));
VOS_ASSERT(0);
}
@@ -1781,7 +1783,7 @@
status = WLANSAP_SetChannelRange(hHal,startChannel,endChannel,band);
if(status != VOS_STATUS_SUCCESS)
{
- hddLog( LOGE, FL("iw_softap_set_channel_range: startChannel = %d, endChannel = %d band = %d\n"),
+ hddLog( LOGE, FL("iw_softap_set_channel_range: startChannel = %d, endChannel = %d band = %d"),
startChannel,endChannel, band);
ret = -EINVAL;
}
@@ -1808,7 +1810,7 @@
if (eHAL_STATUS_SUCCESS != sme_GetFreqBand(hHal, &curBand))
{
- hddLog(LOGE,FL("not able get the current frequency band\n"));
+ hddLog(LOGE,FL("not able get the current frequency band"));
return -EIO;
}
wrqu->data.length = sizeof(tChannelListInfo);
@@ -1825,7 +1827,7 @@
bandEndChannel = RF_CHAN_165;
}
- hddLog(LOG1, FL("\n curBand = %d, bandStartChannel = %hu, "
+ hddLog(LOG1, FL("curBand = %d, bandStartChannel = %hu, "
"bandEndChannel = %hu "), curBand,
bandStartChannel, bandEndChannel );
@@ -1844,7 +1846,7 @@
if(eHAL_STATUS_SUCCESS != sme_getSoftApDomain(hHal,(v_REGDOMAIN_t *) &domainIdCurrentSoftap))
{
- hddLog(LOG1,FL("Failed to get Domain ID, %d \n"),domainIdCurrentSoftap);
+ hddLog(LOG1,FL("Failed to get Domain ID, %d"),domainIdCurrentSoftap);
return -EIO;
}
@@ -1866,7 +1868,7 @@
}
}
- hddLog(LOG1,FL(" number of channels %d\n"), num_channels);
+ hddLog(LOG1,FL(" number of channels %d"), num_channels);
if (num_channels > IW_MAX_FREQUENCIES)
{
@@ -1890,7 +1892,7 @@
v_U32_t length = DOT11F_IE_RSN_MAX_LEN;
v_U8_t genIeBytes[DOT11F_IE_RSN_MAX_LEN];
ENTER();
- hddLog(LOG1,FL("getGEN_IE ioctl\n"));
+ hddLog(LOG1,FL("getGEN_IE ioctl"));
// Actually retrieve the RSN IE from CSR. (We previously sent it down in the CSR Roam Profile.)
status = WLANSap_getstationIE_information(pVosContext,
&length,
@@ -1905,7 +1907,7 @@
}
wrqu->data.length = length;
- hddLog(LOG1,FL(" RSN IE of %d bytes returned\n"), wrqu->data.length );
+ hddLog(LOG1,FL(" RSN IE of %d bytes returned"), wrqu->data.length );
EXIT();
@@ -1921,7 +1923,7 @@
hdd_ap_ctx_t *pHddApCtx = WLAN_HDD_GET_AP_CTX_PTR(pHostapdAdapter);
ENTER();
- hddLog(LOG1,FL("get_WPSPBCProbeReqIEs ioctl\n"));
+ hddLog(LOG1,FL("get_WPSPBCProbeReqIEs ioctl"));
memset((void*)&WPSPBCProbeReqIEs, 0, sizeof(WPSPBCProbeReqIEs));
WPSPBCProbeReqIEs.probeReqIELen = pHddApCtx->WPSPBCProbeReq.probeReqIELen;
@@ -1939,7 +1941,7 @@
return -EFAULT;
}
wrqu->data.length = 12 + WPSPBCProbeReqIEs.probeReqIELen;
- hddLog(LOG1, FL("Macaddress : "MAC_ADDRESS_STR"\n"),
+ hddLog(LOG1, FL("Macaddress : "MAC_ADDRESS_STR),
MAC_ADDR_ARRAY(WPSPBCProbeReqIEs.macaddr));
up(&pHddApCtx->semWpsPBCOverlapInd);
EXIT();
@@ -2055,9 +2057,9 @@
RemoveKey.encType = eCSR_ENCRYPT_TYPE_NONE;
break;
}
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, "%s: Remove key cipher_alg:%d key_len%d *pEncryptionType :%d \n",
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, "%s: Remove key cipher_alg:%d key_len%d *pEncryptionType :%d",
__func__,(int)ext->alg,(int)ext->key_len,RemoveKey.encType);
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, "%s: Peer Mac = "MAC_ADDRESS_STR"\n",
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, "%s: Peer Mac = "MAC_ADDRESS_STR,
__func__, MAC_ADDR_ARRAY(RemoveKey.peerMac));
);
vstatus = WLANSAP_DelKeySta( pVosContext, &RemoveKey);
@@ -2162,8 +2164,6 @@
for(i=0; i< ext->key_len; i++)
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
("%02x"), setKey.Key[i]);
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
- ("\n"));
vstatus = WLANSAP_SetKeySta( pVosContext, &setKey);
if ( vstatus != VOS_STATUS_SUCCESS )
@@ -2205,7 +2205,7 @@
//clear all the reason codes
if (status != 0)
{
- hddLog(LOGE,"%s %d Command Disassociate/Deauthenticate : csrRoamDisconnect failure returned %d \n", __func__, (int)mlme->cmd, (int)status );
+ hddLog(LOGE,"%s %d Command Disassociate/Deauthenticate : csrRoamDisconnect failure returned %d", __func__, (int)mlme->cmd, (int)status);
}
netif_stop_queue(dev);
@@ -2213,10 +2213,10 @@
}
else
{
- hddLog(LOGE,"%s %d Command Disassociate/Deauthenticate called but station is not in associated state \n", __func__, (int)mlme->cmd );
+ hddLog(LOGE,"%s %d Command Disassociate/Deauthenticate called but station is not in associated state", __func__, (int)mlme->cmd);
}
default:
- hddLog(LOGE,"%s %d Command should be Disassociate/Deauthenticate \n", __func__, (int)mlme->cmd );
+ hddLog(LOGE,"%s %d Command should be Disassociate/Deauthenticate", __func__, (int)mlme->cmd);
return -EINVAL;
}//end of switch
EXIT();
@@ -2355,13 +2355,13 @@
pSap_WPSIe = vos_mem_malloc(sizeof(tSap_WPSIE));
if (NULL == pSap_WPSIe)
{
- hddLog(LOGE, "VOS unable to allocate memory\n");
+ hddLog(LOGE, "VOS unable to allocate memory");
kfree(fwps_genie);
return -ENOMEM;
}
vos_mem_zero(pSap_WPSIe, sizeof(tSap_WPSIE));
- hddLog(LOG1,"%s WPS IE type[0x%X] IE[0x%X], LEN[%d]\n", __func__, wps_genie[0], wps_genie[1], wps_genie[2]);
+ hddLog(LOG1,"%s WPS IE type[0x%X] IE[0x%X], LEN[%d]", __func__, wps_genie[0], wps_genie[1], wps_genie[2]);
WPSIeType = wps_genie[0];
if ( wps_genie[0] == eQC_WPS_BEACON_IE)
{
@@ -2387,7 +2387,7 @@
case HDD_WPS_ELEM_VERSION:
pos += 4;
pSap_WPSIe->sapwpsie.sapWPSBeaconIE.Version = *pos;
- hddLog(LOG1, "WPS version %d\n", pSap_WPSIe->sapwpsie.sapWPSBeaconIE.Version);
+ hddLog(LOG1, "WPS version %d", pSap_WPSIe->sapwpsie.sapWPSBeaconIE.Version);
pSap_WPSIe->sapwpsie.sapWPSBeaconIE.FieldPresent |= WPS_BEACON_VER_PRESENT;
pos += 1;
break;
@@ -2395,35 +2395,35 @@
case HDD_WPS_ELEM_WPS_STATE:
pos +=4;
pSap_WPSIe->sapwpsie.sapWPSBeaconIE.wpsState = *pos;
- hddLog(LOG1, "WPS State %d\n", pSap_WPSIe->sapwpsie.sapWPSBeaconIE.wpsState);
+ hddLog(LOG1, "WPS State %d", pSap_WPSIe->sapwpsie.sapWPSBeaconIE.wpsState);
pSap_WPSIe->sapwpsie.sapWPSBeaconIE.FieldPresent |= WPS_BEACON_STATE_PRESENT;
pos += 1;
break;
case HDD_WPS_ELEM_APSETUPLOCK:
pos += 4;
pSap_WPSIe->sapwpsie.sapWPSBeaconIE.APSetupLocked = *pos;
- hddLog(LOG1, "AP setup lock %d\n", pSap_WPSIe->sapwpsie.sapWPSBeaconIE.APSetupLocked);
+ hddLog(LOG1, "AP setup lock %d", pSap_WPSIe->sapwpsie.sapWPSBeaconIE.APSetupLocked);
pSap_WPSIe->sapwpsie.sapWPSBeaconIE.FieldPresent |= WPS_BEACON_APSETUPLOCK_PRESENT;
pos += 1;
break;
case HDD_WPS_ELEM_SELECTEDREGISTRA:
pos += 4;
pSap_WPSIe->sapwpsie.sapWPSBeaconIE.SelectedRegistra = *pos;
- hddLog(LOG1, "Selected Registra %d\n", pSap_WPSIe->sapwpsie.sapWPSBeaconIE.SelectedRegistra);
+ hddLog(LOG1, "Selected Registra %d", pSap_WPSIe->sapwpsie.sapWPSBeaconIE.SelectedRegistra);
pSap_WPSIe->sapwpsie.sapWPSBeaconIE.FieldPresent |= WPS_BEACON_SELECTEDREGISTRA_PRESENT;
pos += 1;
break;
case HDD_WPS_ELEM_DEVICE_PASSWORD_ID:
pos += 4;
pSap_WPSIe->sapwpsie.sapWPSBeaconIE.DevicePasswordID = (*pos<<8) | *(pos+1);
- hddLog(LOG1, "Password ID: %x\n", pSap_WPSIe->sapwpsie.sapWPSBeaconIE.DevicePasswordID);
+ hddLog(LOG1, "Password ID: %x", pSap_WPSIe->sapwpsie.sapWPSBeaconIE.DevicePasswordID);
pSap_WPSIe->sapwpsie.sapWPSBeaconIE.FieldPresent |= WPS_BEACON_DEVICEPASSWORDID_PRESENT;
pos += 2;
break;
case HDD_WPS_ELEM_REGISTRA_CONF_METHODS:
pos += 4;
pSap_WPSIe->sapwpsie.sapWPSBeaconIE.SelectedRegistraCfgMethod = (*pos<<8) | *(pos+1);
- hddLog(LOG1, "Select Registra Config Methods: %x\n", pSap_WPSIe->sapwpsie.sapWPSBeaconIE.SelectedRegistraCfgMethod);
+ hddLog(LOG1, "Select Registra Config Methods: %x", pSap_WPSIe->sapwpsie.sapWPSBeaconIE.SelectedRegistraCfgMethod);
pSap_WPSIe->sapwpsie.sapWPSBeaconIE.FieldPresent |= WPS_BEACON_SELECTEDREGISTRACFGMETHOD_PRESENT;
pos += 2;
break;
@@ -2439,13 +2439,13 @@
case HDD_WPS_ELEM_RF_BANDS:
pos += 4;
pSap_WPSIe->sapwpsie.sapWPSBeaconIE.RFBand = *pos;
- hddLog(LOG1, "RF band: %d\n", pSap_WPSIe->sapwpsie.sapWPSBeaconIE.RFBand);
+ hddLog(LOG1, "RF band: %d", pSap_WPSIe->sapwpsie.sapWPSBeaconIE.RFBand);
pSap_WPSIe->sapwpsie.sapWPSBeaconIE.FieldPresent |= WPS_BEACON_RF_BANDS_PRESENT;
pos += 1;
break;
default:
- hddLog (LOGW, "UNKNOWN TLV in WPS IE(%x)\n", (*pos<<8 | *(pos+1)));
+ hddLog (LOGW, "UNKNOWN TLV in WPS IE(%x)", (*pos<<8 | *(pos+1)));
vos_mem_free(pSap_WPSIe);
kfree(fwps_genie);
return -EINVAL;
@@ -2489,7 +2489,7 @@
case HDD_WPS_ELEM_VERSION:
pos += 4;
pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.Version = *pos;
- hddLog(LOG1, "WPS version %d\n", pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.Version);
+ hddLog(LOG1, "WPS version %d", pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.Version);
pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.FieldPresent |= WPS_PROBRSP_VER_PRESENT;
pos += 1;
break;
@@ -2497,42 +2497,42 @@
case HDD_WPS_ELEM_WPS_STATE:
pos +=4;
pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.wpsState = *pos;
- hddLog(LOG1, "WPS State %d\n", pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.wpsState);
+ hddLog(LOG1, "WPS State %d", pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.wpsState);
pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.FieldPresent |= WPS_PROBRSP_STATE_PRESENT;
pos += 1;
break;
case HDD_WPS_ELEM_APSETUPLOCK:
pos += 4;
pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.APSetupLocked = *pos;
- hddLog(LOG1, "AP setup lock %d\n", pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.APSetupLocked);
+ hddLog(LOG1, "AP setup lock %d", pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.APSetupLocked);
pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.FieldPresent |= WPS_PROBRSP_APSETUPLOCK_PRESENT;
pos += 1;
break;
case HDD_WPS_ELEM_SELECTEDREGISTRA:
pos += 4;
pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.SelectedRegistra = *pos;
- hddLog(LOG1, "Selected Registra %d\n", pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.SelectedRegistra);
+ hddLog(LOG1, "Selected Registra %d", pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.SelectedRegistra);
pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.FieldPresent |= WPS_PROBRSP_SELECTEDREGISTRA_PRESENT;
pos += 1;
break;
case HDD_WPS_ELEM_DEVICE_PASSWORD_ID:
pos += 4;
pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.DevicePasswordID = (*pos<<8) | *(pos+1);
- hddLog(LOG1, "Password ID: %d\n", pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.DevicePasswordID);
+ hddLog(LOG1, "Password ID: %d", pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.DevicePasswordID);
pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.FieldPresent |= WPS_PROBRSP_DEVICEPASSWORDID_PRESENT;
pos += 2;
break;
case HDD_WPS_ELEM_REGISTRA_CONF_METHODS:
pos += 4;
pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.SelectedRegistraCfgMethod = (*pos<<8) | *(pos+1);
- hddLog(LOG1, "Select Registra Config Methods: %x\n", pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.SelectedRegistraCfgMethod);
+ hddLog(LOG1, "Select Registra Config Methods: %x", pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.SelectedRegistraCfgMethod);
pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.FieldPresent |= WPS_PROBRSP_SELECTEDREGISTRACFGMETHOD_PRESENT;
pos += 2;
break;
case HDD_WPS_ELEM_RSP_TYPE:
pos += 4;
pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.ResponseType = *pos;
- hddLog(LOG1, "Config Methods: %d\n", pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.ResponseType);
+ hddLog(LOG1, "Config Methods: %d", pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.ResponseType);
pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.FieldPresent |= WPS_PROBRSP_RESPONSETYPE_PRESENT;
pos += 1;
break;
@@ -2585,14 +2585,14 @@
case HDD_WPS_ELEM_PRIMARY_DEVICE_TYPE:
pos += 4;
pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.PrimaryDeviceCategory = (*pos<<8 | *(pos+1));
- hddLog(LOG1, "primary dev category: %d\n", pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.PrimaryDeviceCategory);
+ hddLog(LOG1, "primary dev category: %d", pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.PrimaryDeviceCategory);
pos += 2;
vos_mem_copy(pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.PrimaryDeviceOUI, pos, HDD_WPS_DEVICE_OUI_LEN);
- hddLog(LOG1, "primary dev oui: %02x, %02x, %02x, %02x\n", pos[0], pos[1], pos[2], pos[3]);
+ hddLog(LOG1, "primary dev oui: %02x, %02x, %02x, %02x", pos[0], pos[1], pos[2], pos[3]);
pos += 4;
pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.DeviceSubCategory = (*pos<<8 | *(pos+1));
- hddLog(LOG1, "primary dev sub category: %d\n", pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.DeviceSubCategory);
+ hddLog(LOG1, "primary dev sub category: %d", pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.DeviceSubCategory);
pos += 2;
pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.FieldPresent |= WPS_PROBRSP_PRIMARYDEVICETYPE_PRESENT;
break;
@@ -2608,7 +2608,7 @@
case HDD_WPS_ELEM_CONFIG_METHODS:
pos += 4;
pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.ConfigMethod = (*pos<<8) | *(pos+1);
- hddLog(LOG1, "Config Methods: %d\n", pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.SelectedRegistraCfgMethod);
+ hddLog(LOG1, "Config Methods: %d", pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.SelectedRegistraCfgMethod);
pos += 2;
pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.FieldPresent |= WPS_PROBRSP_CONFIGMETHODS_PRESENT;
break;
@@ -2616,7 +2616,7 @@
case HDD_WPS_ELEM_RF_BANDS:
pos += 4;
pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.RFBand = *pos;
- hddLog(LOG1, "RF band: %d\n", pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.RFBand);
+ hddLog(LOG1, "RF band: %d", pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.RFBand);
pos += 1;
pSap_WPSIe->sapwpsie.sapWPSProbeRspIE.FieldPresent |= WPS_PROBRSP_RF_BANDS_PRESENT;
break;
@@ -2664,7 +2664,7 @@
if (!VOS_IS_STATUS_SUCCESS(status))
{
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,
- ("ERROR: HDD vos wait for single_event failed!!\n"));
+ ("ERROR: HDD vos wait for single_event failed!!"));
VOS_ASSERT(0);
}
}
@@ -2730,7 +2730,7 @@
ENTER();
status = hdd_softap_get_sta_info(pHostapdAdapter, extra, WE_SAP_MAX_STA_INFO);
if ( !VOS_IS_STATUS_SUCCESS( status ) ) {
- hddLog(VOS_TRACE_LEVEL_ERROR, "%s Failed!!!\n",__func__);
+ hddLog(VOS_TRACE_LEVEL_ERROR, "%s Failed!!!",__func__);
return -EINVAL;
}
wrqu->data.length = strlen(extra);
@@ -2851,7 +2851,7 @@
return valid;
}
- hddLog(VOS_TRACE_LEVEL_INFO, "%s wrqu->data.length= %d\n", __func__, wrqu->data.length);
+ hddLog(VOS_TRACE_LEVEL_INFO, "%s wrqu->data.length= %d", __func__, wrqu->data.length);
if (wrqu->data.length != MAC_ADDRESS_STR_LEN)
{
hddLog(LOG1, "Invalid length");
@@ -3217,14 +3217,14 @@
// NOP
status = hdd_set_hostapd(pAdapter);
if(!VOS_IS_STATUS_SUCCESS(status)) {
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("ERROR: hdd_set_hostapd failed!!\n"));
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("ERROR: hdd_set_hostapd failed!!"));
return status;
}
status = vos_event_init(&phostapdBuf->vosEvent);
if (!VOS_IS_STATUS_SUCCESS(status))
{
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("ERROR: Hostapd HDD vos event init failed!!\n"));
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("ERROR: Hostapd HDD vos event init failed!!"));
return status;
}
diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c
index 07bfaa3..0721b28 100644
--- a/CORE/HDD/src/wlan_hdd_main.c
+++ b/CORE/HDD/src/wlan_hdd_main.c
@@ -1693,7 +1693,7 @@
sizeof(tSirMacAddr)))
{
VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_FATAL,
- "%s: failed to copy data to user buffer\n", __func__);
+ "%s: failed to copy data to user buffer", __func__);
ret = -EFAULT;
}
}
@@ -2792,7 +2792,7 @@
wlan_hdd_validate_operation_channel(pAdapter, channel))
{
hddLog(VOS_TRACE_LEVEL_ERROR,
- "%s: Invalid Channel [%d] \n", __func__, channel);
+ "%s: Invalid Channel [%d]", __func__, channel);
return -EINVAL;
}
@@ -4906,7 +4906,7 @@
struct completion *completion_var = (struct completion*) callbackContext;
- hddLog(VOS_TRACE_LEVEL_ERROR, "HDD BMPS request Callback, status = %d\n", status);
+ hddLog(VOS_TRACE_LEVEL_ERROR, "HDD BMPS request Callback, status = %d", status);
if(completion_var != NULL)
{
complete(completion_var);
@@ -5412,7 +5412,7 @@
if(!rc)
{
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,
- ("ERROR: HDD Wait for Action Confirmation Failed!!\n"));
+ ("ERROR: HDD Wait for Action Confirmation Failed!!"));
}
}
return;
@@ -5694,7 +5694,7 @@
if(eHAL_STATUS_SUCCESS != halStatus)
{
status = VOS_STATUS_E_FAILURE;
- hddLog(VOS_TRACE_LEVEL_ERROR,"%s: Fail to Disable Power Save\n", __func__);
+ hddLog(VOS_TRACE_LEVEL_ERROR,"%s: Fail to Disable Power Save", __func__);
VOS_ASSERT(0);
return status;
}
@@ -5707,7 +5707,7 @@
if(eHAL_STATUS_SUCCESS != halStatus)
{
status = VOS_STATUS_E_FAILURE;
- hddLog(VOS_TRACE_LEVEL_ERROR,"%s: Fail to Stop Auto Bmps Timer\n", __func__);
+ hddLog(VOS_TRACE_LEVEL_ERROR,"%s: Fail to Stop Auto Bmps Timer", __func__);
VOS_ASSERT(0);
return status;
}
@@ -5733,7 +5733,7 @@
else
{
status = VOS_STATUS_E_FAILURE;
- hddLog(VOS_TRACE_LEVEL_ERROR,"%s: Request for Full Power failed\n", __func__);
+ hddLog(VOS_TRACE_LEVEL_ERROR,"%s: Request for Full Power failed", __func__);
VOS_ASSERT(0);
return status;
}
@@ -5756,7 +5756,7 @@
VOS_STATUS status = VOS_STATUS_E_FAILURE;
VOS_STATUS exitbmpsStatus;
- hddLog(VOS_TRACE_LEVEL_INFO_HIGH, "%s iface =%s type = %d\n",__func__,iface_name,session_type);
+ hddLog(VOS_TRACE_LEVEL_INFO_HIGH, "%s iface =%s type = %d",__func__,iface_name,session_type);
//Disable BMPS incase of Concurrency
exitbmpsStatus = hdd_disable_bmps_imps(pHddCtx, session_type);
@@ -6070,7 +6070,7 @@
eANI_BOOLEAN_FALSE) )
{
hddLog(LOGE,
- "Could not pass on WNI_CFG_PROBE_RSP_ADDNIE_DATA1 to CCM\n");
+ "Could not pass on WNI_CFG_PROBE_RSP_ADDNIE_DATA1 to CCM");
}
if ( eHAL_STATUS_FAILURE == ccmCfgSetStr((WLAN_HDD_GET_CTX(pHostapdAdapter))->hHal,
@@ -6078,7 +6078,7 @@
eANI_BOOLEAN_FALSE) )
{
hddLog(LOGE,
- "Could not pass on WNI_CFG_PROBE_RSP_ADDNIE_DATA2 to CCM\n");
+ "Could not pass on WNI_CFG_PROBE_RSP_ADDNIE_DATA2 to CCM");
}
if ( eHAL_STATUS_FAILURE == ccmCfgSetStr((WLAN_HDD_GET_CTX(pHostapdAdapter))->hHal,
@@ -6086,7 +6086,7 @@
eANI_BOOLEAN_FALSE) )
{
hddLog(LOGE,
- "Could not pass on WNI_CFG_PROBE_RSP_ADDNIE_DATA3 to CCM\n");
+ "Could not pass on WNI_CFG_PROBE_RSP_ADDNIE_DATA3 to CCM");
}
}
@@ -6799,7 +6799,7 @@
break;
memset(&(pAdapter->mc_addr_list.addr[i][0]), 0, ETH_ALEN);
memcpy(&(pAdapter->mc_addr_list.addr[i][0]), ha->addr, ETH_ALEN);
- hddLog(VOS_TRACE_LEVEL_INFO, "\n%s: mlist[%d] = "MAC_ADDRESS_STR,
+ hddLog(VOS_TRACE_LEVEL_INFO, "%s: mlist[%d] = "MAC_ADDRESS_STR,
__func__, i,
MAC_ADDR_ARRAY(pAdapter->mc_addr_list.addr[i]));
i++;
@@ -7189,12 +7189,12 @@
* exited at this point
*/
hddLog(VOS_TRACE_LEVEL_WARN, "In module exit: Cancel the vote for XO Core ON"
- " when WLAN is turned OFF\n");
+ " when WLAN is turned OFF");
if (vos_chipVoteXOCore(NULL, NULL, NULL, VOS_FALSE) != VOS_STATUS_SUCCESS)
{
hddLog(VOS_TRACE_LEVEL_ERROR, "Could not cancel the vote for XO Core ON."
" Not returning failure."
- " Power consumed will be high\n");
+ " Power consumed will be high");
}
hdd_close_all_adapters( pHddCtx );
@@ -7250,20 +7250,20 @@
status = vos_nv_getValidity(VNV_FIELD_IMAGE, &itemIsValid);
if(status != VOS_STATUS_SUCCESS)
{
- hddLog(VOS_TRACE_LEVEL_ERROR," vos_nv_getValidity() failed\n ");
+ hddLog(VOS_TRACE_LEVEL_ERROR," vos_nv_getValidity() failed");
return VOS_STATUS_E_FAILURE;
}
if (itemIsValid == VOS_TRUE)
{
- hddLog(VOS_TRACE_LEVEL_INFO_HIGH," Reading the Macaddress from NV\n ");
+ hddLog(VOS_TRACE_LEVEL_INFO_HIGH," Reading the Macaddress from NV");
status = vos_nv_readMultiMacAddress((v_U8_t *)&macFromNV[0].bytes[0],
VOS_MAX_CONCURRENCY_PERSONA);
if(status != VOS_STATUS_SUCCESS)
{
/* Get MAC from NV fail, not update CFG info
* INI MAC value will be used for MAC setting */
- hddLog(VOS_TRACE_LEVEL_ERROR," vos_nv_readMacAddress() failed\n ");
+ hddLog(VOS_TRACE_LEVEL_ERROR," vos_nv_readMacAddress() failed");
return VOS_STATUS_E_FAILURE;
}
@@ -8421,7 +8421,7 @@
if (vos_chipVoteXOCore(NULL, NULL, NULL, VOS_FALSE) != VOS_STATUS_SUCCESS)
{
hddLog(VOS_TRACE_LEVEL_ERROR, "Could not cancel XO Core ON vote. Not returning failure."
- " Power consumed will be high\n");
+ " Power consumed will be high");
}
} while (0);
diff --git a/CORE/HDD/src/wlan_hdd_oemdata.c b/CORE/HDD/src/wlan_hdd_oemdata.c
index 1eb61ef..5a5af8f 100644
--- a/CORE/HDD/src/wlan_hdd_oemdata.c
+++ b/CORE/HDD/src/wlan_hdd_oemdata.c
@@ -88,12 +88,12 @@
if(oemDataReqStatus == eOEM_DATA_REQ_FAILURE)
{
snprintf(buffer, IW_CUSTOM_MAX, "QCOM: OEM-DATA-REQ-FAILED");
- hddLog(LOGW, "%s: oem data req %d failed\n", __func__, oemDataReqID);
+ hddLog(LOGW, "%s: oem data req %d failed", __func__, oemDataReqID);
}
else if(oemDataReqStatus == eOEM_DATA_REQ_INVALID_MODE)
{
snprintf(buffer, IW_CUSTOM_MAX, "QCOM: OEM-DATA-REQ-INVALID-MODE");
- hddLog(LOGW, "%s: oem data req %d failed because the driver is in invalid mode (IBSS|BTAMP|AP)\n", __func__, oemDataReqID);
+ hddLog(LOGW, "%s: oem data req %d failed because the driver is in invalid mode (IBSS|BTAMP|AP)", __func__, oemDataReqID);
}
else
{
@@ -150,7 +150,7 @@
status = sme_getOemDataRsp(WLAN_HDD_GET_HAL_CTX(pAdapter), &pSmeOemDataRsp);
if(status != eHAL_STATUS_SUCCESS)
{
- hddLog(LOGE, "%s: failed in sme_getOemDataRsp\n", __func__);
+ hddLog(LOGE, "%s: failed in sme_getOemDataRsp", __func__);
break;
}
else
@@ -162,7 +162,7 @@
}
else
{
- hddLog(LOGE, "%s: pSmeOemDataRsp = NULL\n", __func__);
+ hddLog(LOGE, "%s: pSmeOemDataRsp = NULL", __func__);
status = eHAL_STATUS_FAILURE;
break;
}
@@ -219,7 +219,7 @@
if(pOemDataReq == NULL)
{
- hddLog(LOGE, "in %s oemDataReq == NULL\n", __func__);
+ hddLog(LOGE, "in %s oemDataReq == NULL", __func__);
status = eHAL_STATUS_FAILURE;
break;
}
diff --git a/CORE/HDD/src/wlan_hdd_p2p.c b/CORE/HDD/src/wlan_hdd_p2p.c
index d0be7d0..13a2a2d 100644
--- a/CORE/HDD/src/wlan_hdd_p2p.c
+++ b/CORE/HDD/src/wlan_hdd_p2p.c
@@ -727,7 +727,7 @@
(cfgState->current_freq == chan->center_freq)
)
{
- hddLog(LOG1,"action frame: extending the wait time\n");
+ hddLog(LOG1,"action frame: extending the wait time");
extendedWait = (tANI_U16)wait;
goto send_frame;
}
@@ -826,16 +826,16 @@
(buf[WLAN_HDD_PUBLIC_ACTION_FRAME_OFFSET] == WLAN_HDD_PUBLIC_ACTION_FRAME))
{
actionFrmType = buf[WLAN_HDD_PUBLIC_ACTION_FRAME_TYPE_OFFSET];
- hddLog(LOG1, "Tx Action Frame %u \n", actionFrmType);
+ hddLog(LOG1, "Tx Action Frame %u", actionFrmType);
if (actionFrmType == WLAN_HDD_PROV_DIS_REQ)
{
cfgState->actionFrmState = HDD_PD_REQ_ACK_PENDING;
- hddLog(LOG1, "%s: HDD_PD_REQ_ACK_PENDING \n", __func__);
+ hddLog(LOG1, "%s: HDD_PD_REQ_ACK_PENDING", __func__);
}
else if (actionFrmType == WLAN_HDD_GO_NEG_REQ)
{
cfgState->actionFrmState = HDD_GO_NEG_REQ_ACK_PENDING;
- hddLog(LOG1, "%s: HDD_GO_NEG_REQ_ACK_PENDING \n", __func__);
+ hddLog(LOG1, "%s: HDD_GO_NEG_REQ_ACK_PENDING", __func__);
}
}
#ifdef WLAN_FEATURE_11W
@@ -1011,7 +1011,7 @@
return -EINVAL;
}
VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
- "%s: P2P_SET GO NoA: count=%d duration=%d interval=%d \n",
+ "%s: P2P_SET GO NoA: count=%d duration=%d interval=%d",
__func__, count, start_time, duration);
duration = MS_TO_MUS(duration);
/* PS Selection
@@ -1039,7 +1039,7 @@
VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
"%s: P2P_PS_ATTR:oppPS %d ctWindow %d duration %d "
"interval %d count %d single noa duration %d "
- "PsSelection %x \n", __func__, NoA.opp_ps,
+ "PsSelection %x", __func__, NoA.opp_ps,
NoA.ctWindow, NoA.duration, NoA.interval,
NoA.count, NoA.single_noa_duration,
NoA.psSelection);
@@ -1093,7 +1093,7 @@
return -EINVAL;
}
VOS_TRACE (VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
- "%s: P2P_SET GO PS: legacy_ps=%d opp_ps=%d ctwindow=%d \n",
+ "%s: P2P_SET GO PS: legacy_ps=%d opp_ps=%d ctwindow=%d",
__func__, legacy_ps, opp_ps, ctwindow);
/* PS Selection
@@ -1112,7 +1112,7 @@
{
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
- "Opportunistic Power Save is %s \n",
+ "Opportunistic Power Save is %s",
(TRUE == pAdapter->ops) ? "Enable" : "Disable" );
if (ctwindow != pAdapter->ctw)
@@ -1133,7 +1133,7 @@
VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
"%s: P2P_PS_ATTR:oppPS %d ctWindow %d duration %d "
"interval %d count %d single noa duration %d "
- "PsSelection %x \n", __func__, NoA.opp_ps,
+ "PsSelection %x", __func__, NoA.opp_ps,
NoA.ctWindow, NoA.duration, NoA.interval,
NoA.count, NoA.single_noa_duration,
NoA.psSelection);
@@ -1162,7 +1162,7 @@
VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
"%s: P2P_PS_ATTR:oppPS %d ctWindow %d duration %d "
"interval %d count %d single noa duration %d "
- "PsSelection %x \n", __func__, NoA.opp_ps,
+ "PsSelection %x", __func__, NoA.opp_ps,
NoA.ctWindow, NoA.duration, NoA.interval,
NoA.count, NoA.single_noa_duration,
NoA.psSelection);
@@ -1429,7 +1429,7 @@
tActionFrmType actionFrmType;
hdd_cfg80211_state_t *cfgState = NULL;
- hddLog(VOS_TRACE_LEVEL_INFO, "%s: Frame Type = %d Frame Length = %d\n",
+ hddLog(VOS_TRACE_LEVEL_INFO, "%s: Frame Type = %d Frame Length = %d",
__func__, frameType, nFrameLength);
if (NULL == pAdapter)
@@ -1468,7 +1468,7 @@
MAC_ADDRESS_STR ,
MAC_ADDR_ARRAY(&pbFrames[WLAN_HDD_80211_FRM_DA_OFFSET]));
hddLog(VOS_TRACE_LEVEL_FATAL, "%s: Frame Type = %d Frame Length = %d"
- " subType = %d \n",__func__,frameType,nFrameLength,subType);
+ " subType = %d",__func__,frameType,nFrameLength,subType);
return;
}
}
@@ -1527,7 +1527,7 @@
// P2P action frames
{
actionFrmType = pbFrames[WLAN_HDD_PUBLIC_ACTION_FRAME_TYPE_OFFSET];
- hddLog(LOG1, "Rx Action Frame %u \n", actionFrmType);
+ hddLog(LOG1, "Rx Action Frame %u", actionFrmType);
#ifdef WLAN_FEATURE_P2P_DEBUG
if(actionFrmType >= MAX_P2P_ACTION_FRAME_TYPE)
{
diff --git a/CORE/HDD/src/wlan_hdd_scan.c b/CORE/HDD/src/wlan_hdd_scan.c
index 82b8ac4..b392fb7 100644
--- a/CORE/HDD/src/wlan_hdd_scan.c
+++ b/CORE/HDD/src/wlan_hdd_scan.c
@@ -1023,7 +1023,7 @@
/* get the ssid length */
SsidInfo->SSID.length = str_ptr[ssid_start++];
vos_mem_copy(SsidInfo->SSID.ssId, &str_ptr[ssid_start], SsidInfo->SSID.length);
- hddLog(VOS_TRACE_LEVEL_INFO_HIGH, "SSID number %d: %s\n", j, SsidInfo->SSID.ssId);
+ hddLog(VOS_TRACE_LEVEL_INFO_HIGH, "SSID number %d: %s", j, SsidInfo->SSID.ssId);
}
/* skipping length */
ssid_start += str_ptr[ssid_start - 1] + 1;
diff --git a/CORE/HDD/src/wlan_hdd_softap_tx_rx.c b/CORE/HDD/src/wlan_hdd_softap_tx_rx.c
index 8e64efb..bf275ae 100644
--- a/CORE/HDD/src/wlan_hdd_softap_tx_rx.c
+++ b/CORE/HDD/src/wlan_hdd_softap_tx_rx.c
@@ -82,18 +82,18 @@
#if 0
static void hdd_softap_dump_sk_buff(struct sk_buff * skb)
{
- VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_ERROR,"%s: head = %p ", __func__, skb->head);
- //VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_ERROR,"%s: data = %p ", __func__, skb->data);
- VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_ERROR,"%s: tail = %p ", __func__, skb->tail);
- VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_ERROR,"%s: end = %p ", __func__, skb->end);
- VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_ERROR,"%s: len = %d ", __func__, skb->len);
- VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_ERROR,"%s: data_len = %d ", __func__, skb->data_len);
- VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_ERROR,"%s: mac_len = %d\n", __func__, skb->mac_len);
+ VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_ERROR,"%s: head = %p", __func__, skb->head);
+ //VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_ERROR,"%s: data = %p", __func__, skb->data);
+ VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_ERROR,"%s: tail = %p", __func__, skb->tail);
+ VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_ERROR,"%s: end = %p", __func__, skb->end);
+ VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_ERROR,"%s: len = %d", __func__, skb->len);
+ VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_ERROR,"%s: data_len = %d", __func__, skb->data_len);
+ VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_ERROR,"%s: mac_len = %d", __func__, skb->mac_len);
- VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_ERROR,"0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x ",
+ VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_ERROR,"0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x",
skb->data[0], skb->data[1], skb->data[2], skb->data[3], skb->data[4],
skb->data[5], skb->data[6], skb->data[7]);
- VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_ERROR,"0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x \n",
+ VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_ERROR,"0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x",
skb->data[8], skb->data[9], skb->data[10], skb->data[11], skb->data[12],
skb->data[13], skb->data[14], skb->data[15]);
}
@@ -316,7 +316,7 @@
skb->queue_mapping = HDD_LINUX_AC_BE;
VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_INFO_LOW,
- "%s: BC/MC packet\n", __func__);
+ "%s: BC/MC packet", __func__);
}
else
{
@@ -380,7 +380,7 @@
if(pktListSize >= pAdapter->aTxQueueLimit[ac])
{
VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_WARN,
- "%s: station %d ac %d queue over limit %d \n", __func__, STAId, ac, pktListSize);
+ "%s: station %d ac %d queue over limit %d", __func__, STAId, ac, pktListSize);
pAdapter->aStaInfo[STAId].txSuspended[ac] = VOS_TRUE;
netif_stop_subqueue(dev, skb_get_queue_mapping(skb));
txSuspended = VOS_TRUE;
@@ -464,7 +464,7 @@
}
dev->trans_start = jiffies;
- VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_INFO_LOW, "%s: exit \n", __func__);
+ VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_INFO_LOW, "%s: exit", __func__);
xmit_done:
spin_unlock_bh( &pAdapter->staInfo_lock );
@@ -537,7 +537,7 @@
pktListSize >= pAdapter->aTxQueueLimit[ac])
{
VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_WARN,
- "%s: station %d ac %d queue over limit %d \n", __func__, STAId, ac, pktListSize);
+ "%s: station %d ac %d queue over limit %d", __func__, STAId, ac, pktListSize);
/* TODO:Rx Flowchart should be trigerred here to SUPEND SSC on RX side.
* SUSPEND should be done based on Threshold. RESUME would be
* triggered in fetch cbk after recovery.
@@ -589,7 +589,7 @@
}
}
- VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_INFO_LOW, "%s: exit \n", __func__);
+ VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_INFO_LOW, "%s: exit", __func__);
xmit_end:
spin_unlock_bh( &pAdapter->staInfo_lock );
@@ -1379,7 +1379,7 @@
if(skb->dev == NULL) {
- hddLog(VOS_TRACE_LEVEL_FATAL, "ERROR!!Invalid netdevice\n");
+ hddLog(VOS_TRACE_LEVEL_FATAL, "ERROR!!Invalid netdevice");
return VOS_STATUS_E_FAILURE;
}
++pAdapter->hdd_stats.hddTxRxStats.rxPackets;
@@ -1415,7 +1415,7 @@
(WLAN_RX_SAP_SELF_STA_ID == pRxMetaInfo->ucDesSTAId))
{
VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_INFO_LOW,
- "%s: send one packet to kernel \n", __func__);
+ "%s: send one packet to kernel", __func__);
skb->protocol = eth_type_trans(skb, skb->dev);
skb->ip_summed = CHECKSUM_NONE;
@@ -1550,7 +1550,7 @@
vos_copy_macaddr( &staDesc.vSelfMACAddress, &pAdapter->macAddressCurrent );
VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_INFO,
- "register station \n");
+ "register station");
VOS_TRACE( VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_INFO,
"station mac " MAC_ADDRESS_STR,
MAC_ADDR_ARRAY(staDesc.vSTAMACAddress.bytes));
@@ -1645,7 +1645,7 @@
pmonAdapter= hdd_get_mon_adapter( pAdapter->pHddCtx);
if(pmonAdapter)
{
- hddLog(VOS_TRACE_LEVEL_INFO_HIGH, "Turn on Monitor the carrier\n");
+ hddLog(VOS_TRACE_LEVEL_INFO_HIGH, "Turn on Monitor the carrier");
netif_carrier_on(pmonAdapter->dev);
//Enable Tx queue
netif_tx_start_all_queues(pmonAdapter->dev);
@@ -1747,7 +1747,7 @@
}
VOS_TRACE(VOS_MODULE_ID_HDD_SOFTAP, VOS_TRACE_LEVEL_INFO,
- "%s exit\n",__func__);
+ "%s exit",__func__);
return vosStatus;
}
diff --git a/CORE/HDD/src/wlan_hdd_tdls.c b/CORE/HDD/src/wlan_hdd_tdls.c
index dd25d95..1b565f7 100644
--- a/CORE/HDD/src/wlan_hdd_tdls.c
+++ b/CORE/HDD/src/wlan_hdd_tdls.c
@@ -427,7 +427,7 @@
VOS_TRACE(VOS_MODULE_ID_HDD, TDLS_LOG_LEVEL,
- "%s: Tx/Rx Idle " MAC_ADDRESS_STR " tx_pkt: %d, rx_pkt: %d, idle_packet_n: %d\n",
+ "%s: Tx/Rx Idle " MAC_ADDRESS_STR " tx_pkt: %d, rx_pkt: %d, idle_packet_n: %d",
__func__, MAC_ADDR_ARRAY(curr_peer->peerMac),
curr_peer->tx_pkt,
curr_peer->rx_pkt,
@@ -1859,7 +1859,7 @@
temp_peer = wlan_hdd_tdls_is_progress(pHddCtx, NULL, 0);
if (NULL != temp_peer)
{
- VOS_TRACE( VOS_MODULE_ID_HDD, TDLS_LOG_LEVEL, "%s: " MAC_ADDRESS_STR " ongoing. pre_setup ignored\n",
+ VOS_TRACE( VOS_MODULE_ID_HDD, TDLS_LOG_LEVEL, "%s: " MAC_ADDRESS_STR " ongoing. pre_setup ignored",
__func__, MAC_ADDR_ARRAY(temp_peer->peerMac));
goto done;
}
@@ -1873,7 +1873,7 @@
if (0 != status)
{
- VOS_TRACE( VOS_MODULE_ID_HDD, TDLS_LOG_LEVEL, "%s: " MAC_ADDRESS_STR " discovery could not sent\n",
+ VOS_TRACE( VOS_MODULE_ID_HDD, TDLS_LOG_LEVEL, "%s: " MAC_ADDRESS_STR " discovery could not sent",
__func__, MAC_ADDR_ARRAY(curr_peer->peerMac));
if (eTDLS_CAP_UNKNOWN != curr_peer->tdls_support)
curr_peer->link_status = eTDLS_LINK_IDLE;
diff --git a/CORE/HDD/src/wlan_hdd_tx_rx.c b/CORE/HDD/src/wlan_hdd_tx_rx.c
index 16d1633..6549ecb 100644
--- a/CORE/HDD/src/wlan_hdd_tx_rx.c
+++ b/CORE/HDD/src/wlan_hdd_tx_rx.c
@@ -104,18 +104,18 @@
//Utility function to dump an sk_buff
static void dump_sk_buff(struct sk_buff * skb)
{
- VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,"%s: head = %p ", __func__, skb->head);
- VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,"%s: data = %p ", __func__, skb->data);
- VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,"%s: tail = %p ", __func__, skb->tail);
- VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,"%s: end = %p ", __func__, skb->end);
- VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,"%s: len = %d ", __func__, skb->len);
- VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,"%s: data_len = %d ", __func__, skb->data_len);
- VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,"%s: mac_len = %d\n", __func__, skb->mac_len);
+ VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,"%s: head = %p", __func__, skb->head);
+ VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,"%s: data = %p", __func__, skb->data);
+ VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,"%s: tail = %p", __func__, skb->tail);
+ VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,"%s: end = %p", __func__, skb->end);
+ VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,"%s: len = %d", __func__, skb->len);
+ VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,"%s: data_len = %d", __func__, skb->data_len);
+ VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,"%s: mac_len = %d", __func__, skb->mac_len);
- VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,"0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x ",
+ VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,"0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x",
skb->data[0], skb->data[1], skb->data[2], skb->data[3], skb->data[4],
skb->data[5], skb->data[6], skb->data[7]);
- VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,"0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x \n",
+ VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,"0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x",
skb->data[8], skb->data[9], skb->data[10], skb->data[11], skb->data[12],
skb->data[13], skb->data[14], skb->data[15]);
}
diff --git a/CORE/HDD/src/wlan_hdd_wext.c b/CORE/HDD/src/wlan_hdd_wext.c
index 4be49b5..2ae0d3f 100644
--- a/CORE/HDD/src/wlan_hdd_wext.c
+++ b/CORE/HDD/src/wlan_hdd_wext.c
@@ -337,7 +337,7 @@
} \
else \
{ \
- hddLog(VOS_TRACE_LEVEL_ERROR, "FILL_TLV Failed!!!\n"); \
+ hddLog(VOS_TRACE_LEVEL_ERROR, "FILL_TLV Failed!!!"); \
} \
} while(0);
@@ -446,7 +446,7 @@
wrqu->rts.value = threshold;
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
- ("Rts-Threshold=%d!!\n"), wrqu->rts.value);
+ ("Rts-Threshold=%d!!"), wrqu->rts.value);
EXIT();
@@ -474,7 +474,7 @@
wrqu->frag.value = threshold;
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
- ("Frag-Threshold=%d!!\n"), wrqu->frag.value);
+ ("Frag-Threshold=%d!!"), wrqu->frag.value);
EXIT();
@@ -496,7 +496,7 @@
}
}
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
- ("Invalid channel no=%d!!\n"), channel);
+ ("Invalid channel no=%d!!"), channel);
return -EINVAL;
}
@@ -551,12 +551,12 @@
rsnType = eANI_BOOLEAN_FALSE;
break;
default:
- hddLog(LOGE, FL("%s called with unknown authType - default to Open, None\n"),
- __func__);
+ hddLog(LOGE, FL("%s called with unknown authType - default to Open, None"),
+ __func__);
rsnType = eANI_BOOLEAN_FALSE;
break;
}
- hddLog(LOGE, FL("%s called with authType: %d, returned: %d\n"),
+ hddLog(LOGE, FL("%s called with authType: %d, returned: %d"),
__func__, authType, rsnType);
return rsnType;
}
@@ -1178,7 +1178,7 @@
static int iw_set_commit(struct net_device *dev, struct iw_request_info *info,
union iwreq_data *wrqu, char *extra)
{
- hddLog( LOG1, "In %s\n", __func__);
+ hddLog( LOG1, "In %s", __func__);
/* Do nothing for now */
return 0;
}
@@ -1317,20 +1317,20 @@
switch (pWextState->roamProfile.BSSType)
{
case eCSR_BSS_TYPE_INFRASTRUCTURE:
- hddLog(LOG1, "%s returns IW_MODE_INFRA\n", __func__);
+ hddLog(LOG1, "%s returns IW_MODE_INFRA", __func__);
wrqu->mode = IW_MODE_INFRA;
break;
case eCSR_BSS_TYPE_IBSS:
case eCSR_BSS_TYPE_START_IBSS:
- hddLog(LOG1, "%s returns IW_MODE_ADHOC\n", __func__);
+ hddLog(LOG1, "%s returns IW_MODE_ADHOC", __func__);
wrqu->mode = IW_MODE_ADHOC;
break;
case eCSR_BSS_TYPE_ANY:
- hddLog(LOG1, "%s returns IW_MODE_AUTO\n", __func__);
+ hddLog(LOG1, "%s returns IW_MODE_AUTO", __func__);
wrqu->mode = IW_MODE_AUTO;
break;
default:
- hddLog(LOG1, "%s returns APMODE_UNKNOWN\n", __func__);
+ hddLog(LOG1, "%s returns APMODE_UNKNOWN", __func__);
break;
}
@@ -1361,13 +1361,13 @@
pRoamProfile = &pWextState->roamProfile;
- hddLog(LOG1,"setCHANNEL ioctl\n");
+ hddLog(LOG1,"setCHANNEL ioctl");
/* Link is up then return cant set channel*/
if(eConnectionState_IbssConnected == pHddStaCtx->conn_info.connState ||
eConnectionState_Associated == pHddStaCtx->conn_info.connState)
{
- hddLog( LOGE, "IBSS Associated\n");
+ hddLog( LOGE, "IBSS Associated");
return -EOPNOTSUPP;
}
@@ -1393,7 +1393,7 @@
if((wrqu->freq.m < WNI_CFG_CURRENT_CHANNEL_STAMIN) ||
(wrqu->freq.m > WNI_CFG_CURRENT_CHANNEL_STAMAX))
{
- hddLog(LOG1,"%s: Channel [%d] is outside valid range from %d to %d\n",
+ hddLog(LOG1,"%s: Channel [%d] is outside valid range from %d to %d",
__func__, wrqu->freq.m, WNI_CFG_CURRENT_CHANNEL_STAMIN,
WNI_CFG_CURRENT_CHANNEL_STAMAX);
return -EINVAL;
@@ -1427,7 +1427,7 @@
pHddStaCtx->conn_info.operationChannel = wrqu->freq.m;
pRoamProfile->ChannelInfo.ChannelList = &pHddStaCtx->conn_info.operationChannel;
- hddLog(LOG1,"pRoamProfile->operationChannel = %d\n", wrqu->freq.m);
+ hddLog(LOG1,"pRoamProfile->operationChannel = %d", wrqu->freq.m);
EXIT();
@@ -1697,7 +1697,7 @@
remLen = wrqu->data.length;
- hddLog(LOG1,"iw_set_genie ioctl IE[0x%X], LEN[%d]\n", genie[0], genie[1]);
+ hddLog(LOG1,"iw_set_genie ioctl IE[0x%X], LEN[%d]", genie[0], genie[1]);
/* clear any previous genIE before this call */
memset( &pWextState->genIE, 0, sizeof(pWextState->genIE) );
@@ -1710,7 +1710,7 @@
eLen = *genie++;
remLen -= 2;
- hddLog(VOS_TRACE_LEVEL_INFO, "%s: IE[0x%X], LEN[%d]\n",
+ hddLog(VOS_TRACE_LEVEL_INFO, "%s: IE[0x%X], LEN[%d]",
__func__, elementId, eLen);
switch ( elementId )
@@ -1728,7 +1728,7 @@
if( SIR_MAC_MAX_IE_LENGTH < (pWextState->genIE.length + eLen) )
{
hddLog(VOS_TRACE_LEVEL_FATAL, "Cannot accommodate genIE. "
- "Need bigger buffer space\n");
+ "Need bigger buffer space");
VOS_ASSERT(0);
return -ENOMEM;
}
@@ -1753,7 +1753,7 @@
if( SIR_MAC_MAX_IE_LENGTH < (pWextState->genIE.length + eLen) )
{
hddLog(VOS_TRACE_LEVEL_FATAL, "Cannot accommodate genIE. "
- "Need bigger buffer space\n");
+ "Need bigger buffer space");
VOS_ASSERT(0);
return -ENOMEM;
}
@@ -1801,7 +1801,7 @@
}
- hddLog(LOG1,"getGEN_IE ioctl\n");
+ hddLog(LOG1,"getGEN_IE ioctl");
pWextState = WLAN_HDD_GET_WEXT_STATE_PTR(pAdapter);
@@ -1831,7 +1831,7 @@
vos_mem_copy( extra, (v_VOID_t*)genIeBytes, wrqu->data.length);
wrqu->data.length = length;
- hddLog(LOG1,"%s: RSN IE of %d bytes returned\n", __func__, wrqu->data.length );
+ hddLog(LOG1,"%s: RSN IE of %d bytes returned", __func__, wrqu->data.length );
EXIT();
@@ -1860,7 +1860,7 @@
if(keyId < 0 || keyId >= MAX_WEP_KEYS)
{
- hddLog(LOG1,"%s: Invalid keyId : %d\n",__func__,keyId);
+ hddLog(LOG1,"%s: Invalid keyId : %d",__func__,keyId);
return -EINVAL;
}
@@ -2215,7 +2215,7 @@
if (NULL == pAdapter)
{
- hddLog(LOGE, "hdd_tx_per_hit_cb: pAdapter is NULL\n");
+ hddLog(LOGE, "hdd_tx_per_hit_cb: pAdapter is NULL");
return;
}
memset(&wrqu, 0, sizeof(wrqu));
@@ -2772,7 +2772,7 @@
{
//Execute deep sleep procedure
hddLog(VOS_TRACE_LEVEL_INFO_HIGH, "Wlan driver entering "
- "deep sleep mode\n");
+ "deep sleep mode");
//Deep sleep not supported
vos_Status = hdd_enter_standby(pHddCtx);
}
@@ -2834,7 +2834,7 @@
}
else if( strcasecmp(cmd, "start") == 0 ) {
- hddLog(VOS_TRACE_LEVEL_INFO_HIGH, "Start command\n");
+ hddLog(VOS_TRACE_LEVEL_INFO_HIGH, "Start command");
/*Exit from Deep sleep or standby if we get the driver START cmd from android GUI*/
status = wlan_hdd_exit_lowpower(pHddCtx, pAdapter);
@@ -2858,7 +2858,7 @@
union iwreq_data wrqu;
char buf[10];
- hddLog(VOS_TRACE_LEVEL_INFO_HIGH, "Stop command\n");
+ hddLog(VOS_TRACE_LEVEL_INFO_HIGH, "Stop command");
wlan_hdd_enter_lowpower(pHddCtx);
memset(&wrqu, 0, sizeof(wrqu));
@@ -2919,7 +2919,7 @@
if( 0 != status )
{
VOS_TRACE( VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_ERROR,
- "%s: SME Change Country code fail \n",__func__);
+ "%s: SME Change Country code fail",__func__);
return VOS_STATUS_E_FAILURE;
}
}
@@ -2965,39 +2965,39 @@
ret = snprintf(cmd, cmd_len, "powermode = %u", value);
}
else if( strncasecmp(cmd, "btcoexmode", 10) == 0 ) {
- hddLog( VOS_TRACE_LEVEL_INFO, "btcoexmode\n");
+ hddLog( VOS_TRACE_LEVEL_INFO, "btcoexmode");
/*TODO: set the btcoexmode*/
}
else if( strcasecmp(cmd, "btcoexstat") == 0 ) {
- hddLog(VOS_TRACE_LEVEL_INFO, "BtCoex Status\n");
+ hddLog(VOS_TRACE_LEVEL_INFO, "BtCoex Status");
/*TODO: Return the btcoex status*/
}
else if( strcasecmp(cmd, "rxfilter-start") == 0 ) {
- hddLog(VOS_TRACE_LEVEL_INFO, "Rx Data Filter Start command\n");
+ hddLog(VOS_TRACE_LEVEL_INFO, "Rx Data Filter Start command");
/*TODO: Enable Rx data Filter*/
}
else if( strcasecmp(cmd, "rxfilter-stop") == 0 ) {
- hddLog(VOS_TRACE_LEVEL_INFO, "Rx Data Filter Stop command\n");
+ hddLog(VOS_TRACE_LEVEL_INFO, "Rx Data Filter Stop command");
/*TODO: Disable Rx data Filter*/
}
else if( strcasecmp(cmd, "rxfilter-statistics") == 0 ) {
- hddLog( VOS_TRACE_LEVEL_INFO, "Rx Data Filter Statistics command\n");
+ hddLog( VOS_TRACE_LEVEL_INFO, "Rx Data Filter Statistics command");
/*TODO: rxfilter-statistics*/
}
else if( strncasecmp(cmd, "rxfilter-add", 12) == 0 ) {
- hddLog( VOS_TRACE_LEVEL_INFO, "rxfilter-add\n");
+ hddLog( VOS_TRACE_LEVEL_INFO, "rxfilter-add");
/*TODO: rxfilter-add*/
}
else if( strncasecmp(cmd, "rxfilter-remove",15) == 0 ) {
- hddLog( VOS_TRACE_LEVEL_INFO, "rxfilter-remove\n");
+ hddLog( VOS_TRACE_LEVEL_INFO, "rxfilter-remove");
/*TODO: rxfilter-remove*/
}
#ifdef FEATURE_WLAN_SCAN_PNO
@@ -3011,19 +3011,19 @@
}
else if( strncasecmp(cmd, "pno",3) == 0 ) {
- hddLog( VOS_TRACE_LEVEL_INFO, "pno\n");
+ hddLog( VOS_TRACE_LEVEL_INFO, "pno");
status = iw_set_pno(dev, info, wrqu, extra, 3);
return status;
}
else if( strncasecmp(cmd, "rssifilter",10) == 0 ) {
- hddLog( VOS_TRACE_LEVEL_INFO, "rssifilter\n");
+ hddLog( VOS_TRACE_LEVEL_INFO, "rssifilter");
status = iw_set_rssi_filter(dev, info, wrqu, extra, 10);
return status;
}
#endif /*FEATURE_WLAN_SCAN_PNO*/
else if( strncasecmp(cmd, "powerparams",11) == 0 ) {
- hddLog( VOS_TRACE_LEVEL_INFO, "powerparams\n");
+ hddLog( VOS_TRACE_LEVEL_INFO, "powerparams");
status = iw_set_power_params(dev, info, wrqu, extra, 11);
return status;
}
@@ -3178,7 +3178,7 @@
if(wrqu->data.flags & IW_ENCODE_DISABLED)
{
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, "****iwconfig wlan0 key off*****\n");
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, "****iwconfig wlan0 key off*****");
if(!fKeyPresent) {
for(i=0;i < CSR_MAX_NUM_KEY; i++) {
@@ -3308,7 +3308,7 @@
if(keyId < 0 || keyId >= MAX_WEP_KEYS)
{
- hddLog(LOG1,"%s: Invalid keyId : %d\n",__func__,keyId);
+ hddLog(LOG1,"%s: Invalid keyId : %d",__func__,keyId);
return -EINVAL;
}
@@ -3417,7 +3417,7 @@
{
if(IW_AUTH_KEY_MGMT_802_1X == pWextState->authKeyMgmt) {
- VOS_TRACE (VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,("Invalid Configuration:%s \n"),__func__);
+ VOS_TRACE (VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,("Invalid Configuration:%s"),__func__);
return -EINVAL;
}
else {
@@ -3520,7 +3520,7 @@
}
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
- ("%s:cipher_alg:%d key_len[%d] *pEncryptionType :%d \n"),__func__,(int)ext->alg,(int)ext->key_len,setKey.encType);
+ ("%s:cipher_alg:%d key_len[%d] *pEncryptionType :%d"),__func__,(int)ext->alg,(int)ext->key_len,setKey.encType);
#ifdef WLAN_FEATURE_VOWIFI_11R
/* The supplicant may attempt to set the PTK once pre-authentication
@@ -3585,7 +3585,7 @@
if(wrqu->retry.value < WNI_CFG_LONG_RETRY_LIMIT_STAMIN ||
wrqu->retry.value > WNI_CFG_LONG_RETRY_LIMIT_STAMAX) {
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("Invalid Retry-Limit=%d!!\n"),wrqu->retry.value);
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("Invalid Retry-Limit=%d!!"),wrqu->retry.value);
return -EINVAL;
}
@@ -3612,7 +3612,7 @@
return -EOPNOTSUPP;
}
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, ("Set Retry-Limit=%d!!\n"),wrqu->retry.value);
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, ("Set Retry-Limit=%d!!"),wrqu->retry.value);
EXIT();
@@ -3662,7 +3662,7 @@
return -EOPNOTSUPP;
}
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, ("Retry-Limit=%d!!\n"),retry);
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, ("Retry-Limit=%d!!"),retry);
EXIT();
@@ -3707,7 +3707,7 @@
wait_for_completion_interruptible_timeout(&pAdapter->disconnect_comp_var,
msecs_to_jiffies(WLAN_WAIT_TIME_DISCONNECT));
else
- hddLog(LOGE,"%s %d Command Disassociate/Deauthenticate : csrRoamDisconnect failure returned %d \n",
+ hddLog(LOGE,"%s %d Command Disassociate/Deauthenticate : csrRoamDisconnect failure returned %d",
__func__, (int)mlme->cmd, (int)status );
/* Resetting authKeyMgmt */
@@ -3719,11 +3719,11 @@
}
else
{
- hddLog(LOGE,"%s %d Command Disassociate/Deauthenticate called but station is not in associated state \n", __func__, (int)mlme->cmd );
+ hddLog(LOGE,"%s %d Command Disassociate/Deauthenticate called but station is not in associated state", __func__, (int)mlme->cmd );
}
break;
default:
- hddLog(LOGE,"%s %d Command should be Disassociate/Deauthenticate \n", __func__, (int)mlme->cmd );
+ hddLog(LOGE,"%s %d Command should be Disassociate/Deauthenticate", __func__, (int)mlme->cmd );
return -EINVAL;
}//end of switch
@@ -3769,7 +3769,7 @@
sme_GetConfigParam(hHal,&smeConfig);
smeConfig.csrConfig.Is11dSupportEnabled = (v_BOOL_t)set_value;
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, ("11D state=%d!!\n"),smeConfig.csrConfig.Is11dSupportEnabled);
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, ("11D state=%d!!"),smeConfig.csrConfig.Is11dSupportEnabled);
sme_UpdateConfig(hHal,&smeConfig);
}
@@ -3791,12 +3791,12 @@
case 0x03:
enable_mp = (set_value & 0x01) ? 1 : 0;
enable_pbm = (set_value & 0x02) ? 1 : 0;
- hddLog(LOGE, "magic packet ? = %s pattern byte matching ? = %s\n",
+ hddLog(LOGE, "magic packet ? = %s pattern byte matching ? = %s",
(enable_mp ? "YES":"NO"), (enable_pbm ? "YES":"NO"));
hdd_enter_wowl(pAdapter, enable_mp, enable_pbm);
break;
default:
- hddLog(LOGE, "Invalid arg %d in WE_WOWL IOCTL\n", set_value);
+ hddLog(LOGE, "Invalid arg %d in WE_WOWL IOCTL", set_value);
ret = -EINVAL;
break;
}
@@ -3843,7 +3843,7 @@
/* we'll now returned a cached value below */
}
}
- hddLog(LOGE, "iwpriv Full Power completed\n");
+ hddLog(LOGE, "iwpriv Full Power completed");
break;
}
case 1: //Enable BMPS
@@ -3887,7 +3887,7 @@
/* we'll now returned a cached value below */
}
}
- hddLog(LOGE, "iwpriv Request BMPS completed\n");
+ hddLog(LOGE, "iwpriv Request BMPS completed");
break;
}
case 4: //Enable IMPS
@@ -3936,7 +3936,7 @@
vos_chipReset(NULL, VOS_FALSE, NULL, NULL, VOS_CHIP_RESET_UNKNOWN_EXCEPTION);
break;
default:
- hddLog(LOGE, "Invalid arg %d in WE_SET_POWER IOCTL\n", set_value);
+ hddLog(LOGE, "Invalid arg %d in WE_SET_POWER IOCTL", set_value);
ret = -EINVAL;
break;
}
@@ -3971,7 +3971,7 @@
}
else
{
- hddLog(LOGE, "Invalid arg %d in WE_SET_SAP_AUTO_CHANNEL_SELECTION IOCTL\n", set_value);
+ hddLog(LOGE, "Invalid arg %d in WE_SET_SAP_AUTO_CHANNEL_SELECTION IOCTL", set_value);
ret = -EINVAL;
}
break;
@@ -3988,7 +3988,7 @@
{
hddLog(LOGE,"Failure: Could not pass on "
"WNI_CFG_PS_DATA_INACTIVITY_TIMEOUT configuration info "
- "to CCM\n");
+ "to CCM");
ret = -EINVAL;
}
break;
@@ -4111,7 +4111,7 @@
default:
{
- hddLog(LOGE, "Invalid IOCTL setvalue command %d value %d \n",
+ hddLog(LOGE, "Invalid IOCTL setvalue command %d value %d",
sub_cmd, set_value);
break;
}
@@ -4146,11 +4146,11 @@
switch(sub_cmd)
{
case WE_WOWL_ADD_PTRN:
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, "ADD_PTRN\n");
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, "ADD_PTRN");
hdd_add_wowl_ptrn(pAdapter, extra);
break;
case WE_WOWL_DEL_PTRN:
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, "DEL_PTRN\n");
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, "DEL_PTRN");
hdd_del_wowl_ptrn(pAdapter, extra);
break;
#if defined WLAN_FEATURE_VOWIFI
@@ -4161,7 +4161,7 @@
if (pConfig->fRrmEnable)
{
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, "Neighbor Request\n");
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, "Neighbor Request");
neighborReq.no_ssid = (wrqu->data.length - 1) ? false : true ;
if( !neighborReq.no_ssid )
{
@@ -4176,7 +4176,7 @@
}
else
{
- hddLog(LOGE, "%s: Ignoring neighbor request as RRM is not enabled\n", __func__);
+ hddLog(LOGE, "%s: Ignoring neighbor request as RRM is not enabled", __func__);
ret = -EINVAL;
}
}
@@ -4195,7 +4195,7 @@
break;
default:
{
- hddLog(LOGE, "%s: Invalid sub command %d\n",__func__, sub_cmd);
+ hddLog(LOGE, "%s: Invalid sub command %d",__func__, sub_cmd);
ret = -EINVAL;
break;
}
@@ -4228,19 +4228,19 @@
*value = smeConfig.csrConfig.Is11dSupportEnabled;
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, ("11D state=%d!!\n"),*value);
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, ("11D state=%d!!"),*value);
break;
}
case WE_IBSS_STATUS:
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, "****Return IBSS Status*****\n");
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, "****Return IBSS Status*****");
break;
case WE_PMC_STATE:
{
*value = pmcGetPmcState(hHal);
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, ("PMC state=%d!!\n"),*value);
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, ("PMC state=%d!!"),*value);
break;
}
case WE_GET_WLAN_DBG:
@@ -4287,7 +4287,7 @@
{
*value = hdd_get_concurrency_mode ( );
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, ("concurrency mode=%d \n"),*value);
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, ("concurrency mode=%d"),*value);
break;
}
@@ -4337,7 +4337,7 @@
default:
{
- hddLog(LOGE, "Invalid IOCTL command %d \n", sub_cmd );
+ hddLog(LOGE, "Invalid IOCTL command %d", sub_cmd );
break;
}
}
@@ -4667,7 +4667,7 @@
status = iw_softap_get_channel_list(dev, info, wrqu, (char *)&channel_list);
if ( !VOS_IS_STATUS_SUCCESS( status ) )
{
- hddLog(VOS_TRACE_LEVEL_ERROR, "%s GetChannelList Failed!!!\n",__func__);
+ hddLog(VOS_TRACE_LEVEL_ERROR, "%s GetChannelList Failed!!!",__func__);
return -EINVAL;
}
buf = extra;
@@ -4680,7 +4680,7 @@
if(WE_MAX_STR_LEN < (5 * WNI_CFG_VALID_CHANNEL_LIST_LEN))
{
hddLog(VOS_TRACE_LEVEL_ERROR,
- "%s Insufficient Buffer to populate channel list\n",
+ "%s Insufficient Buffer to populate channel list",
__func__);
return -EINVAL;
}
@@ -4723,7 +4723,7 @@
#endif
default:
{
- hddLog(LOGE, "Invalid IOCTL command %d \n", sub_cmd );
+ hddLog(LOGE, "Invalid IOCTL command %d", sub_cmd );
break;
}
}
@@ -5012,7 +5012,7 @@
}
else
{
- hddLog(LOGE, "%s : Enter valid MccCredential value between MIN :40 and MAX:160\n", __func__);
+ hddLog(LOGE, "%s : Enter valid MccCredential value between MIN :40 and MAX:160", __func__);
return 0;
}
}
@@ -5359,7 +5359,7 @@
}
VOS_ASSERT(pWapiAssocInfo);
- hddLog(LOG1, "%s: INPUT DATA:\nElement ID:0x%02x Length:0x%02x Version:0x%04x\n",__func__,pWapiAssocInfo->elementID,pWapiAssocInfo->length,pWapiAssocInfo->version);
+ hddLog(LOG1, "%s: INPUT DATA:\nElement ID:0x%02x Length:0x%02x Version:0x%04x",__func__,pWapiAssocInfo->elementID,pWapiAssocInfo->length,pWapiAssocInfo->version);
hddLog(LOG1,"%s: akm Suite Cnt:0x%04x",__func__,pWapiAssocInfo->akmSuiteCount);
for(i =0 ; i < 16 ; i++)
hddLog(LOG1,"akm suite[%02d]:0x%08x",i,pWapiAssocInfo->akmSuite[i]);
@@ -5369,7 +5369,7 @@
hddLog(LOG1, "Unicast suite[%02d]:0x%08x",i,pWapiAssocInfo->unicastSuite[i]);
hddLog(LOG1,"%s: Multicast suite:0x%08x Wapi capa:0x%04x",__func__,pWapiAssocInfo->multicastSuite,pWapiAssocInfo->wapiCability);
- hddLog(LOG1, "%s: BKID Cnt:0x%04x\n",__func__,pWapiAssocInfo->bkidCount);
+ hddLog(LOG1, "%s: BKID Cnt:0x%04x",__func__,pWapiAssocInfo->bkidCount);
for(i = 0 ; i < 16 ; i++) {
hddLog(LOG1, "BKID List[%02d].bkid:0x",i);
for(j = 0 ; j < 16 ; j++)
@@ -5416,22 +5416,22 @@
hddLog(LOG1, "%s: Received length %d", __func__, wrqu->data.length);
hddLog(LOG1, "%s: Received data %s", __func__, (char*)extra);
- hddLog(LOG1,":%s: INPUT DATA:\nKey Type:0x%02x Key Direction:0x%02x KEY ID:0x%02x\n", __func__, pWapiKey->keyType, pWapiKey->keyDirection, pWapiKey->keyId);
+ hddLog(LOG1,":%s: INPUT DATA:\nKey Type:0x%02x Key Direction:0x%02x KEY ID:0x%02x", __func__, pWapiKey->keyType, pWapiKey->keyDirection, pWapiKey->keyId);
hddLog(LOG1,"Add Index:0x");
for(i =0 ; i < 12 ; i++)
hddLog(LOG1,"%02x",pWapiKey->addrIndex[i]);
- hddLog(LOG1,"\n%s: WAPI ENCRYPTION KEY LENGTH:0x%04x", __func__,pWapiKey->wpiekLen);
+ hddLog(LOG1,"%s: WAPI ENCRYPTION KEY LENGTH:0x%04x", __func__,pWapiKey->wpiekLen);
hddLog(LOG1, "WAPI ENCRYPTION KEY:0x");
for(i =0 ; i < 16 ; i++)
hddLog(LOG1,"%02x",pWapiKey->wpiek[i]);
- hddLog(LOG1,"\n%s: WAPI INTEGRITY CHECK KEY LENGTH:0x%04x", __func__,pWapiKey->wpickLen);
+ hddLog(LOG1,"%s: WAPI INTEGRITY CHECK KEY LENGTH:0x%04x", __func__,pWapiKey->wpickLen);
hddLog(LOG1,"WAPI INTEGRITY CHECK KEY:0x");
for(i =0 ; i < 16 ; i++)
hddLog(LOG1,"%02x",pWapiKey->wpick[i]);
- hddLog(LOG1,"\nWAPI PN NUMBER:0x");
+ hddLog(LOG1,"WAPI PN NUMBER:0x");
for(i = 0 ; i < 16 ; i++)
hddLog(LOG1,"%02x",pWapiKey->pn[i]);
@@ -5573,25 +5573,25 @@
}
if (!wrqu->data.length)
{
- hddLog(LOGE, FL("called with 0 length IEs\n"));
+ hddLog(LOGE, FL("called with 0 length IEs"));
return -EINVAL;
}
if (wrqu->data.pointer == NULL)
{
- hddLog(LOGE, FL("called with NULL IE\n"));
+ hddLog(LOGE, FL("called with NULL IE"));
return -EINVAL;
}
// Added for debug on reception of Re-assoc Req.
if (eConnectionState_Associated != pHddStaCtx->conn_info.connState)
{
- hddLog(LOGE, FL("Called with Ie of length = %d when not associated\n"),
+ hddLog(LOGE, FL("Called with Ie of length = %d when not associated"),
wrqu->data.length);
- hddLog(LOGE, FL("Should be Re-assoc Req IEs\n"));
+ hddLog(LOGE, FL("Should be Re-assoc Req IEs"));
}
#ifdef WLAN_FEATURE_VOWIFI_11R_DEBUG
- hddLog(LOGE, FL("%s called with Ie of length = %d\n"), __func__, wrqu->data.length);
+ hddLog(LOGE, FL("%s called with Ie of length = %d"), __func__, wrqu->data.length);
#endif
// Pass the received FT IEs to SME
@@ -5791,7 +5791,7 @@
break;
case WLAN_IPV6_NEIGHBOR_DISCOVERY_OFFLOAD:
- hddLog(VOS_TRACE_LEVEL_INFO_HIGH, "%s: Host offload request: neighbor discovery\n",
+ hddLog(VOS_TRACE_LEVEL_INFO_HIGH, "%s: Host offload request: neighbor discovery",
__func__);
switch (pRequest->enableOrDisable)
{
@@ -5820,7 +5820,7 @@
if (eHAL_STATUS_SUCCESS != sme_SetHostOffload(WLAN_HDD_GET_HAL_CTX(pAdapter),
pAdapter->sessionId, &offloadRequest))
{
- hddLog(VOS_TRACE_LEVEL_ERROR, "%s: Failure to execute host offload request\n",
+ hddLog(VOS_TRACE_LEVEL_ERROR, "%s: Failure to execute host offload request",
__func__);
return -EINVAL;
}
@@ -5855,7 +5855,7 @@
case WLAN_KEEP_ALIVE_UNSOLICIT_ARP_RSP:
- hddLog(VOS_TRACE_LEVEL_INFO_HIGH, "%s: Keep Alive Request: Tx UnSolicited ARP RSP\n",
+ hddLog(VOS_TRACE_LEVEL_INFO_HIGH, "%s: Keep Alive Request: Tx UnSolicited ARP RSP",
__func__);
hddLog(VOS_TRACE_LEVEL_WARN, " Host IP address: %d.%d.%d.%d",
@@ -5880,12 +5880,12 @@
copied individually. */
memcpy(&keepaliveRequest, pRequest, wrqu->data.length);
- hddLog(VOS_TRACE_LEVEL_ERROR, "set Keep: TP before SME %d\n", keepaliveRequest.timePeriod);
+ hddLog(VOS_TRACE_LEVEL_ERROR, "set Keep: TP before SME %d", keepaliveRequest.timePeriod);
if (eHAL_STATUS_SUCCESS != sme_SetKeepAlive(WLAN_HDD_GET_HAL_CTX(pAdapter),
pAdapter->sessionId, &keepaliveRequest))
{
- hddLog(VOS_TRACE_LEVEL_ERROR, "%s: Failure to execute Keep Alive\n",
+ hddLog(VOS_TRACE_LEVEL_ERROR, "%s: Failure to execute Keep Alive",
__func__);
return -EINVAL;
}
@@ -5926,7 +5926,7 @@
packetFilterSetReq.filterId = pRequest->filterId;
if ( pRequest->numParams >= HDD_MAX_CMP_PER_PACKET_FILTER)
{
- hddLog(VOS_TRACE_LEVEL_ERROR, "%s: Number of Params exceed Max limit %d\n",
+ hddLog(VOS_TRACE_LEVEL_ERROR, "%s: Number of Params exceed Max limit %d",
__func__, pRequest->numParams);
return -EINVAL;
}
@@ -5941,11 +5941,11 @@
packetFilterSetReq.paramsData[i].dataLength = pRequest->paramsData[i].dataLength;
packetFilterSetReq.paramsData[i].reserved = 0;
- hddLog(VOS_TRACE_LEVEL_INFO, "Proto %d Comp Flag %d Filter Type %d\n",
+ hddLog(VOS_TRACE_LEVEL_INFO, "Proto %d Comp Flag %d Filter Type %d",
pRequest->paramsData[i].protocolLayer, pRequest->paramsData[i].cmpFlag,
packetFilterSetReq.filterType);
- hddLog(VOS_TRACE_LEVEL_INFO, "Data Offset %d Data Len %d\n",
+ hddLog(VOS_TRACE_LEVEL_INFO, "Data Offset %d Data Len %d",
pRequest->paramsData[i].dataOffset, pRequest->paramsData[i].dataLength);
memcpy(&packetFilterSetReq.paramsData[i].compareData,
@@ -5953,12 +5953,12 @@
memcpy(&packetFilterSetReq.paramsData[i].dataMask,
pRequest->paramsData[i].dataMask, pRequest->paramsData[i].dataLength);
- hddLog(VOS_TRACE_LEVEL_INFO, "CData %d CData %d CData %d CData %d CData %d CData %d\n",
+ hddLog(VOS_TRACE_LEVEL_INFO, "CData %d CData %d CData %d CData %d CData %d CData %d",
pRequest->paramsData[i].compareData[0], pRequest->paramsData[i].compareData[1],
pRequest->paramsData[i].compareData[2], pRequest->paramsData[i].compareData[3],
pRequest->paramsData[i].compareData[4], pRequest->paramsData[i].compareData[5]);
- hddLog(VOS_TRACE_LEVEL_INFO, "MData %d MData %d MData %d MData %d MData %d MData %d\n",
+ hddLog(VOS_TRACE_LEVEL_INFO, "MData %d MData %d MData %d MData %d MData %d MData %d",
pRequest->paramsData[i].dataMask[0], pRequest->paramsData[i].dataMask[1],
pRequest->paramsData[i].dataMask[2], pRequest->paramsData[i].dataMask[3],
pRequest->paramsData[i].dataMask[4], pRequest->paramsData[i].dataMask[5]);
@@ -5966,7 +5966,7 @@
if (eHAL_STATUS_SUCCESS != sme_ReceiveFilterSetFilter(pHddCtx->hHal, &packetFilterSetReq, sessionId))
{
- hddLog(VOS_TRACE_LEVEL_ERROR, "%s: Failure to execute Set Filter\n",
+ hddLog(VOS_TRACE_LEVEL_ERROR, "%s: Failure to execute Set Filter",
__func__);
return -EINVAL;
}
@@ -5975,19 +5975,19 @@
case HDD_RCV_FILTER_CLEAR:
- hddLog(VOS_TRACE_LEVEL_INFO_HIGH, "%s: Clear Packet Filter Request for Id: %d\n",
+ hddLog(VOS_TRACE_LEVEL_INFO_HIGH, "%s: Clear Packet Filter Request for Id: %d",
__func__, pRequest->filterId);
packetFilterClrReq.filterId = pRequest->filterId;
if (eHAL_STATUS_SUCCESS != sme_ReceiveFilterClearFilter(pHddCtx->hHal, &packetFilterClrReq, sessionId))
{
- hddLog(VOS_TRACE_LEVEL_ERROR, "%s: Failure to execute Clear Filter\n",
+ hddLog(VOS_TRACE_LEVEL_ERROR, "%s: Failure to execute Clear Filter",
__func__);
return -EINVAL;
}
break;
default :
- hddLog(VOS_TRACE_LEVEL_INFO_HIGH, "%s: Packet Filter Request: Invalid %d\n",
+ hddLog(VOS_TRACE_LEVEL_INFO_HIGH, "%s: Packet Filter Request: Invalid %d",
__func__, pRequest->filterAction);
return -EINVAL;
}
@@ -6904,7 +6904,7 @@
if ( eHAL_STATUS_SUCCESS != status)
{
hddLog(VOS_TRACE_LEVEL_ERROR,
- "%s csrRoamDisconnect failure, returned %d \n",
+ "%s csrRoamDisconnect failure, returned %d",
__func__, (int)status );
return -EINVAL;
}
@@ -7731,7 +7731,7 @@
}
else
{
- hddLog(LOGE, "%s : Enter a valid MCC configuration value\n",__FUNCTION__);
+ hddLog(LOGE, "%s : Enter a valid MCC configuration value",__FUNCTION__);
return 0;
}
}
@@ -7747,7 +7747,7 @@
}
else
{
- hddLog(LOGE, "%s : Enter a valid MCC configuration value\n",__FUNCTION__);
+ hddLog(LOGE, "%s : Enter a valid MCC configuration value",__FUNCTION__);
return 0;
}
}
@@ -7763,7 +7763,7 @@
}
else
{
- hddLog(LOGE, "%s : Enter a valid MCC configuration value\n",__FUNCTION__);
+ hddLog(LOGE, "%s : Enter a valid MCC configuration value",__FUNCTION__);
return 0;
}
}
@@ -7779,7 +7779,7 @@
}
else
{
- hddLog(LOGE, "%s : Enter a valid MCC configuration value\n",__FUNCTION__);
+ hddLog(LOGE, "%s : Enter a valid MCC configuration value",__FUNCTION__);
return 0;
}
}
@@ -7795,7 +7795,7 @@
}
else
{
- hddLog(LOGE, "%s : Enter a valid MCC configuration value\n",__FUNCTION__);
+ hddLog(LOGE, "%s : Enter a valid MCC configuration value",__FUNCTION__);
return 0;
}
}
@@ -7811,7 +7811,7 @@
}
else
{
- hddLog(LOGE, "%s : Enter a valid MCC configuration value\n",__FUNCTION__);
+ hddLog(LOGE, "%s : Enter a valid MCC configuration value",__FUNCTION__);
return 0;
}
}
@@ -7827,7 +7827,7 @@
}
else
{
- hddLog(LOGE, "%s : Enter a valid MCC configuration value\n",__FUNCTION__);
+ hddLog(LOGE, "%s : Enter a valid MCC configuration value",__FUNCTION__);
return 0;
}
}
@@ -7843,7 +7843,7 @@
}
else
{
- hddLog(LOGE, "%s : Enter a valid MCC configuration value\n",__FUNCTION__);
+ hddLog(LOGE, "%s : Enter a valid MCC configuration value",__FUNCTION__);
return 0;
}
}
@@ -7859,14 +7859,14 @@
}
else
{
- hddLog(LOGE, "%s : Enter a valid MCC configuration value\n",__FUNCTION__);
+ hddLog(LOGE, "%s : Enter a valid MCC configuration value",__FUNCTION__);
return 0;
}
}
break;
default :
- hddLog(LOGE, "%s : Uknown / Not allowed to configure parameter : %d\n",
+ hddLog(LOGE, "%s : Uknown / Not allowed to configure parameter : %d",
__FUNCTION__,arg1);
break;
}
@@ -7935,19 +7935,19 @@
if(!VOS_IS_STATUS_SUCCESS(status)) {
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("ERROR: hdd_set_wext failed!!\n"));
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("ERROR: hdd_set_wext failed!!"));
return eHAL_STATUS_FAILURE;
}
if (!VOS_IS_STATUS_SUCCESS(vos_event_init(&pwextBuf->vosevent)))
{
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("ERROR: HDD vos event init failed!!\n"));
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("ERROR: HDD vos event init failed!!"));
return eHAL_STATUS_FAILURE;
}
if (!VOS_IS_STATUS_SUCCESS(vos_event_init(&pwextBuf->scanevent)))
{
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("ERROR: HDD scan event init failed!!\n"));
+ VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, ("ERROR: HDD scan event init failed!!"));
return eHAL_STATUS_FAILURE;
}
diff --git a/CORE/HDD/src/wlan_hdd_wmm.c b/CORE/HDD/src/wlan_hdd_wmm.c
index ee91620..3a07f2b 100644
--- a/CORE/HDD/src/wlan_hdd_wmm.c
+++ b/CORE/HDD/src/wlan_hdd_wmm.c
@@ -473,7 +473,7 @@
currentTrafficCnt = pAdapter->hdd_stats.hddTxRxStats.txXmitClassifiedAC[pQosContext->acType];
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_WARN,
- FL("WMM inactivity Timer for AC=%d, currentCnt=%d, prevCnt=%d\n"),
+ FL("WMM inactivity Timer for AC=%d, currentCnt=%d, prevCnt=%d"),
acType, (int)currentTrafficCnt, (int)pAc->wmmPrevTrafficCnt);
if (pAc->wmmPrevTrafficCnt == currentTrafficCnt)
{
@@ -692,7 +692,7 @@
// Check if the inactivity interval is specified
if (pCurrentQosInfo && pCurrentQosInfo->inactivity_interval) {
VOS_TRACE(VOS_MODULE_ID_HDD, WMM_TRACE_LEVEL_INFO,
- "%s: Inactivity timer value = %d for AC=%d\n",
+ "%s: Inactivity timer value = %d for AC=%d",
__func__, pCurrentQosInfo->inactivity_interval, acType);
hdd_wmm_enable_inactivity_timer(pQosContext, pCurrentQosInfo->inactivity_interval);
}
@@ -842,7 +842,7 @@
case SME_QOS_STATUS_SETUP_NOT_QOS_AP_RSP:
VOS_TRACE( VOS_MODULE_ID_HDD, WMM_TRACE_LEVEL_ERROR,
- "%s: Setup failed, not a QoS AP\n",
+ "%s: Setup failed, not a QoS AP",
__func__);
if (!HDD_WMM_HANDLE_IMPLICIT == pQosContext->handle)
{
@@ -1215,7 +1215,7 @@
default:
VOS_TRACE( VOS_MODULE_ID_HDD, WMM_TRACE_LEVEL_ERROR,
- "%s: unexpected SME Status=%d\n",
+ "%s: unexpected SME Status=%d",
__func__, smeStatus );
VOS_ASSERT(0);
}
@@ -1495,7 +1495,7 @@
default:
VOS_TRACE( VOS_MODULE_ID_HDD, WMM_TRACE_LEVEL_ERROR,
- "%s: unexpected SME Status=%d\n",
+ "%s: unexpected SME Status=%d",
__func__, smeStatus );
VOS_ASSERT(0);
}
@@ -2446,7 +2446,7 @@
default:
// we didn't get back one of the SME_QOS_STATUS_MODIFY_* status codes
VOS_TRACE( VOS_MODULE_ID_HDD, WMM_TRACE_LEVEL_ERROR,
- "%s: unexpected SME Status=%d\n", __func__, smeStatus );
+ "%s: unexpected SME Status=%d", __func__, smeStatus );
VOS_ASSERT(0);
return HDD_WLAN_WMM_STATUS_MODIFY_FAILED;
}
@@ -2524,7 +2524,7 @@
// we didn't get back one of the SME_QOS_STATUS_SETUP_* status codes
hdd_wmm_free_context(pQosContext);
VOS_TRACE( VOS_MODULE_ID_HDD, WMM_TRACE_LEVEL_ERROR,
- "%s: unexpected SME Status=%d\n", __func__, smeStatus );
+ "%s: unexpected SME Status=%d", __func__, smeStatus );
VOS_ASSERT(0);
return HDD_WLAN_WMM_STATUS_SETUP_FAILED;
}
@@ -2635,7 +2635,7 @@
default:
// we didn't get back one of the SME_QOS_STATUS_RELEASE_* status codes
VOS_TRACE( VOS_MODULE_ID_HDD, WMM_TRACE_LEVEL_ERROR,
- "%s: unexpected SME Status=%d\n", __func__, smeStatus );
+ "%s: unexpected SME Status=%d", __func__, smeStatus );
VOS_ASSERT(0);
status = HDD_WLAN_WMM_STATUS_RELEASE_FAILED;
}
diff --git a/CORE/HDD/src/wlan_hdd_wowl.c b/CORE/HDD/src/wlan_hdd_wowl.c
index dfb22af..269203d 100644
--- a/CORE/HDD/src/wlan_hdd_wowl.c
+++ b/CORE/HDD/src/wlan_hdd_wowl.c
@@ -98,7 +98,7 @@
static void hdd_wowl_callback( void *pContext, eHalStatus halStatus )
{
VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
- "%s: Return code = (%d)\n", __func__, halStatus );
+ "%s: Return code = (%d)", __func__, halStatus );
}
#ifdef WLAN_WAKEUP_EVENTS
@@ -195,7 +195,7 @@
ptrn[5] != WOWL_INTRA_PTRN_TOKENIZER)
{
VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,
- "%s: Malformed pattern string. Skip!\n", __func__);
+ "%s: Malformed pattern string. Skip!", __func__);
ptrn += len;
goto next_ptrn;
}
@@ -212,7 +212,7 @@
localPattern.ucPatternMaskSize > WOWL_PTRN_MASK_MAX_SIZE)
{
VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,
- "%s: Invalid length specified. Skip!\n", __func__);
+ "%s: Invalid length specified. Skip!", __func__);
ptrn += len;
goto next_ptrn;
}
@@ -222,7 +222,7 @@
if(offset >= len || ptrn[offset] != WOWL_INTRA_PTRN_TOKENIZER)
{
VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,
- "%s: Malformed pattern string..skip!\n", __func__);
+ "%s: Malformed pattern string..skip!", __func__);
ptrn += len;
goto next_ptrn;
}
@@ -232,7 +232,7 @@
if(offset+1 != len) //offset begins with 0
{
VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,
- "%s: Malformed pattern string...skip!\n", __func__);
+ "%s: Malformed pattern string...skip!", __func__);
ptrn += len;
goto next_ptrn;
}