summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Girigowda <sgirigow@codeaurora.org>2017-03-06 15:56:41 -0800
committerqcabuildsw <qcabuildsw@localhost>2017-03-07 20:29:35 -0800
commitabfcc9811fd55e4fa1219e88d2b0b5288dfea0bd (patch)
treec9d3c84c187948686a6f0f20dfcdc3e3ddaf052b
parentc0a22016f296c4da7fe12e83819282aaa3568be1 (diff)
qcacld-3.0: Reduce the log spam in wlan_hdd_assoc.c
Move the logs to appropriate log levels to reduce the log spam in wlan_hdd_assoc.c Change-Id: I07d05203058448c1f7a6680da36b244667f6104e CRs-Fixed: 2014745
-rw-r--r--core/hdd/src/wlan_hdd_assoc.c355
1 files changed, 176 insertions, 179 deletions
diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c
index 4197ecc1bb8c..5e2d0cd4285c 100644
--- a/core/hdd/src/wlan_hdd_assoc.c
+++ b/core/hdd/src/wlan_hdd_assoc.c
@@ -142,7 +142,7 @@ hdd_conn_set_authenticated(hdd_adapter_t *pAdapter, uint8_t authState)
hdd_context_t *pHddCtx = WLAN_HDD_GET_CTX(pAdapter);
/* save the new connection state */
- hdd_notice("Authenticated state Changed from oldState:%d to State:%d",
+ hdd_debug("Authenticated state Changed from oldState:%d to State:%d",
pHddStaCtx->conn_info.uIsAuthenticated, authState);
pHddStaCtx->conn_info.uIsAuthenticated = authState;
@@ -166,7 +166,7 @@ void hdd_conn_set_connection_state(hdd_adapter_t *pAdapter,
hdd_context_t *pHddCtx = WLAN_HDD_GET_CTX(pAdapter);
/* save the new connection state */
- hdd_info("%pS Changed connectionState Changed from oldState:%d to State:%d",
+ hdd_debug("%pS Changed connectionState Changed from oldState:%d to State:%d",
(void *)_RET_IP_, pHddStaCtx->conn_info.connState,
connState);
pHddStaCtx->conn_info.connState = connState;
@@ -914,8 +914,7 @@ hdd_send_ft_assoc_response(struct net_device *dev,
u8 *pFTAssocRsp = NULL;
if (pCsrRoamInfo->nAssocRspLength == 0) {
- hdd_err("pCsrRoamInfo->nAssocRspLength=%d",
- (int)pCsrRoamInfo->nAssocRspLength);
+ hdd_debug("assoc rsp length is 0");
return;
}
@@ -923,12 +922,12 @@ hdd_send_ft_assoc_response(struct net_device *dev,
(u8 *) (pCsrRoamInfo->pbFrames + pCsrRoamInfo->nBeaconLength +
pCsrRoamInfo->nAssocReqLength);
if (pFTAssocRsp == NULL) {
- hdd_err("AssocReq or AssocRsp is NULL");
+ hdd_debug("AssocReq or AssocRsp is NULL");
return;
}
/* pFTAssocRsp needs to point to the IEs */
pFTAssocRsp += FT_ASSOC_RSP_IES_OFFSET;
- hdd_notice("AssocRsp is now at %02x%02x",
+ hdd_debug("AssocRsp is now at %02x%02x",
(unsigned int)pFTAssocRsp[0],
(unsigned int)pFTAssocRsp[1]);
@@ -982,20 +981,19 @@ static void hdd_send_ft_event(hdd_adapter_t *pAdapter)
sme_get_rici_es(pHddCtx->hHal, pAdapter->sessionId, (u8 *) ricIe,
DOT11F_IE_RICDESCRIPTOR_MAX_LEN, &ric_ies_length);
- if (ric_ies_length == 0) {
- hdd_warn("RIC IEs is of length 0 not sending RIC Information for now");
- }
+ if (ric_ies_length == 0)
+ hdd_warn("Do not send RIC IEs as length is 0");
ftEvent.ric_ies = ricIe;
ftEvent.ric_ies_len = ric_ies_length;
- hdd_notice("RIC IEs is of length %d", (int)ric_ies_length);
+ hdd_debug("RIC IEs is of length %d", (int)ric_ies_length);
sme_get_ft_pre_auth_response(pHddCtx->hHal, pAdapter->sessionId,
(u8 *) ftIe, DOT11F_IE_FTINFO_MAX_LEN,
&auth_resp_len);
if (auth_resp_len == 0) {
- hdd_err("AuthRsp FTIES is of length 0");
+ hdd_debug("AuthRsp FTIES is of length 0");
return;
}
@@ -1006,9 +1004,9 @@ static void hdd_send_ft_event(hdd_adapter_t *pAdapter)
ftEvent.ies = (u8 *) (ftIe + QDF_MAC_ADDR_SIZE);
ftEvent.ies_len = auth_resp_len - QDF_MAC_ADDR_SIZE;
- hdd_notice("ftEvent.ies_len %zu", ftEvent.ies_len);
- hdd_notice("ftEvent.ric_ies_len %zu", ftEvent.ric_ies_len);
- hdd_notice("ftEvent.target_ap %2x-%2x-%2x-%2x-%2x-%2x",
+ hdd_debug("ftEvent.ies_len %zu", ftEvent.ies_len);
+ hdd_debug("ftEvent.ric_ies_len %zu", ftEvent.ric_ies_len);
+ hdd_debug("ftEvent.target_ap %2x-%2x-%2x-%2x-%2x-%2x",
ftEvent.target_ap[0], ftEvent.target_ap[1],
ftEvent.target_ap[2], ftEvent.target_ap[3], ftEvent.target_ap[4],
ftEvent.target_ap[5]);
@@ -1029,7 +1027,7 @@ static void hdd_send_ft_event(hdd_adapter_t *pAdapter)
(u8 *) &(buff[str_len]), (IW_CUSTOM_MAX - str_len),
&ric_ies_length);
if (ric_ies_length == 0) {
- hdd_warn("RIC IEs is of length 0 not sending RIC Information for now");
+ hdd_warn("Do not send RIC IEs as length is 0");
} else {
wrqu.data.length = str_len + ric_ies_length;
wireless_send_event(pAdapter->dev, IWEVCUSTOM, &wrqu, buff);
@@ -1044,7 +1042,7 @@ static void hdd_send_ft_event(hdd_adapter_t *pAdapter)
if (auth_resp_len == 0) {
qdf_mem_free(buff);
- hdd_err("AuthRsp FTIES is of length 0");
+ hdd_debug("AuthRsp FTIES is of length 0");
return;
}
@@ -1077,14 +1075,14 @@ hdd_send_new_ap_channel_info(struct net_device *dev, hdd_adapter_t *pAdapter,
tSirBssDescription *descriptor = pCsrRoamInfo->pBssDesc;
if (descriptor == NULL) {
- hdd_err("pCsrRoamInfo->pBssDesc(%p)", descriptor);
+ hdd_err("bss descriptor is null");
return;
}
/*
* Send the Channel event, the supplicant needs this to generate
* the Adjacent AP report.
*/
- hdd_warn("Sending up an SIOCGIWFREQ, channelId(%d)",
+ hdd_debug("Sending up an SIOCGIWFREQ, channelId: %d",
descriptor->channelId);
memset(&wrqu, '\0', sizeof(wrqu));
wrqu.freq.m = descriptor->channelId;
@@ -1115,7 +1113,7 @@ hdd_send_update_beacon_ies_event(hdd_adapter_t *pAdapter,
memset(&wrqu, '\0', sizeof(wrqu));
if (0 == pCsrRoamInfo->nBeaconLength) {
- hdd_warn("pCsrRoamInfo->nBeaconFrameLength = 0");
+ hdd_debug("beacon frame length is 0");
return;
}
pBeaconIes = (u8 *) (pCsrRoamInfo->pbFrames + BEACON_FRAME_IES_OFFSET);
@@ -1124,10 +1122,10 @@ hdd_send_update_beacon_ies_event(hdd_adapter_t *pAdapter,
return;
}
/* pBeaconIes needs to point to the IEs */
- hdd_notice("Beacon IEs is now at %02x%02x",
+ hdd_debug("Beacon IEs is now at %02x%02x",
(unsigned int)pBeaconIes[0],
(unsigned int)pBeaconIes[1]);
- hdd_notice("Beacon IEs length = %d",
+ hdd_debug("Beacon IEs length = %d",
pCsrRoamInfo->nBeaconLength - BEACON_FRAME_IES_OFFSET);
/* We need to send the IEs to the supplicant. */
@@ -1160,7 +1158,7 @@ hdd_send_update_beacon_ies_event(hdd_adapter_t *pAdapter,
else
buff[strLen] = 0; /* last chunk */
- hdd_notice("Beacon IEs length to supplicant = %d",
+ hdd_debug("Beacon IEs length to supplicant = %d",
currentLen);
wireless_send_event(pAdapter->dev, IWEVCUSTOM, &wrqu, buff);
} while (totalIeLen > 0);
@@ -1198,7 +1196,7 @@ static void hdd_send_association_event(struct net_device *dev,
if (NULL != pCsrRoamInfo)
if (pCsrRoamInfo->roamSynchInProgress) {
/* change logging before release */
- hdd_info("LFR3:hdd_send_association_event");
+ hdd_debug("LFR3:hdd_send_association_event");
/* Update tdls module about the disconnection event */
wlan_hdd_tdls_notify_disconnect(pAdapter, true);
}
@@ -1207,7 +1205,7 @@ static void hdd_send_association_event(struct net_device *dev,
tSirSmeChanInfo chan_info;
if (!pCsrRoamInfo) {
- hdd_err("STA in associated state but pCsrRoamInfo is null");
+ hdd_warn("STA in associated state but pCsrRoamInfo is null");
return;
}
@@ -1223,12 +1221,12 @@ static void hdd_send_association_event(struct net_device *dev,
P2P_CLIENT_CONNECTING_STATE_1) {
global_p2p_connection_status =
P2P_CLIENT_CONNECTED_STATE_1;
- hdd_err("[P2P State] Changing state from Connecting state to Connected State for 8-way Handshake");
+ hdd_debug("[P2P State] Changing state from Connecting state to Connected State for 8-way Handshake");
} else if (global_p2p_connection_status ==
P2P_CLIENT_CONNECTING_STATE_2) {
global_p2p_connection_status =
P2P_CLIENT_COMPLETED_STATE;
- hdd_err("[P2P State] Changing state from Connecting state to P2P Client Connection Completed");
+ hdd_debug("[P2P State] Changing state from Connecting state to P2P Client Connection Completed");
}
}
#endif
@@ -1299,10 +1297,10 @@ static void hdd_send_association_event(struct net_device *dev,
cds_update_connection_info(pAdapter->sessionId);
memcpy(wrqu.ap_addr.sa_data, pHddStaCtx->conn_info.bssId.bytes,
ETH_ALEN);
- hdd_err("wlan: new IBSS connection to " MAC_ADDRESS_STR,
+ hdd_info("wlan: new IBSS connection to " MAC_ADDRESS_STR,
MAC_ADDR_ARRAY(pHddStaCtx->conn_info.bssId.bytes));
} else { /* Not Associated */
- hdd_err("wlan: disconnected");
+ hdd_info("wlan: disconnected");
memset(wrqu.ap_addr.sa_data, '\0', ETH_ALEN);
cds_decr_session_set_pcl(pAdapter->device_mode,
pAdapter->sessionId);
@@ -1411,7 +1409,7 @@ QDF_STATUS hdd_roam_deregister_sta(hdd_adapter_t *pAdapter, uint8_t staId)
qdf_status = ol_txrx_clear_peer(staId);
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
- hdd_err("ol_txrx_clear_peer() failed for staID %d. Status(%d) [0x%08X]",
+ hdd_err("ol_txrx_clear_peer() failed for staID: %d Status: %d [0x%08X]",
staId, qdf_status, qdf_status);
}
return qdf_status;
@@ -1522,7 +1520,7 @@ static QDF_STATUS hdd_dis_connect_handler(hdd_adapter_t *pAdapter,
pHddStaCtx->conn_info.connState) ||
(eConnectionState_NotConnected ==
pHddStaCtx->conn_info.connState)) {
- hdd_notice("HDD has initiated a disconnect, no need to send disconnect indication to kernel");
+ hdd_debug("HDD has initiated a disconnect, no need to send disconnect indication to kernel");
sendDisconInd = false;
}
@@ -1534,7 +1532,7 @@ static QDF_STATUS hdd_dis_connect_handler(hdd_adapter_t *pAdapter,
hdd_clear_roam_profile_ie(pAdapter);
hdd_wmm_init(pAdapter);
- hdd_info("Invoking packetdump deregistration API");
+ hdd_debug("Invoking packetdump deregistration API");
wlan_deregister_txrx_packetdump();
/* indicate 'disconnect' status to wpa_supplicant... */
@@ -1581,12 +1579,12 @@ static QDF_STATUS hdd_dis_connect_handler(hdd_adapter_t *pAdapter,
P2P_CLIENT_CONNECTED_STATE_1) {
global_p2p_connection_status =
P2P_CLIENT_DISCONNECTED_STATE;
- hdd_err("[P2P State] 8 way Handshake completed and moved to disconnected state");
+ hdd_debug("[P2P State] 8 way Handshake completed and moved to disconnected state");
} else if (global_p2p_connection_status ==
P2P_CLIENT_COMPLETED_STATE) {
global_p2p_connection_status =
P2P_NOT_ACTIVE;
- hdd_err("[P2P State] P2P Client is removed and moved to inactive state");
+ hdd_debug("[P2P State] P2P Client is removed and moved to inactive state");
}
}
#endif
@@ -1604,7 +1602,7 @@ static QDF_STATUS hdd_dis_connect_handler(hdd_adapter_t *pAdapter,
sta_id = pHddStaCtx->broadcast_staid;
vstatus = hdd_roam_deregister_sta(pAdapter, sta_id);
if (!QDF_IS_STATUS_SUCCESS(vstatus)) {
- hdd_err("hdd_roam_deregister_sta() failed for staID %d Status=%d [0x%x]",
+ hdd_err("hdd_roam_deregister_sta() failed for staID %d Status: %d [0x%x]",
sta_id, status, status);
status = QDF_STATUS_E_FAILURE;
}
@@ -1614,10 +1612,10 @@ static QDF_STATUS hdd_dis_connect_handler(hdd_adapter_t *pAdapter,
if (0 == pHddStaCtx->conn_info.staId[i])
continue;
sta_id = pHddStaCtx->conn_info.staId[i];
- hdd_info("Deregister StaID %d", sta_id);
+ hdd_debug("Deregister StaID %d", sta_id);
vstatus = hdd_roam_deregister_sta(pAdapter, sta_id);
if (!QDF_IS_STATUS_SUCCESS(vstatus)) {
- hdd_err("hdd_roamDeregisterSTA() failed to for staID %d. Status= %d [0x%x]",
+ hdd_err("hdd_roam_deregister_sta() failed to for staID %d Status: %d [0x%x]",
sta_id, status, status);
status = QDF_STATUS_E_FAILURE;
}
@@ -1632,7 +1630,7 @@ static QDF_STATUS hdd_dis_connect_handler(hdd_adapter_t *pAdapter,
}
} else {
sta_id = pHddStaCtx->conn_info.staId[0];
- hdd_info("roamResult: %d", roamResult);
+ hdd_debug("roamResult: %d", roamResult);
/* clear scan cache for Link Lost */
if ((eCSR_ROAM_RESULT_DEAUTH_IND == roamResult ||
@@ -1647,7 +1645,7 @@ static QDF_STATUS hdd_dis_connect_handler(hdd_adapter_t *pAdapter,
*/
vstatus = hdd_roam_deregister_sta(pAdapter, sta_id);
if (!QDF_IS_STATUS_SUCCESS(vstatus)) {
- hdd_err("hdd_roam_deregister_sta() failed to for staID %d. Status= %d [0x%x]",
+ hdd_err("hdd_roam_deregister_sta() failed to for staID: %d Status:%d [0x%x]",
sta_id, status, status);
status = QDF_STATUS_E_FAILURE;
}
@@ -1697,6 +1695,7 @@ static void hdd_set_peer_authorized_event(uint32_t vdev_id)
adapter = hdd_get_adapter_by_vdev(hdd_ctx, vdev_id);
if (adapter == NULL) {
hdd_err("Invalid vdev_id");
+ return;
}
complete(&adapter->sta_authorized_event);
}
@@ -1725,7 +1724,7 @@ QDF_STATUS hdd_change_peer_state(hdd_adapter_t *pAdapter,
}
if (sta_id >= WLAN_MAX_STA_COUNT) {
- hdd_err("Invalid sta id :%d", sta_id);
+ hdd_err("Invalid sta id: %d", sta_id);
return QDF_STATUS_E_INVAL;
}
@@ -1774,7 +1773,7 @@ QDF_STATUS hdd_change_peer_state(hdd_adapter_t *pAdapter,
&pAdapter->sta_authorized_event,
msecs_to_jiffies(HDD_PEER_AUTHORIZE_WAIT));
if (!rc) {
- hdd_notice("timeout waiting for sta_authorized_event");
+ hdd_debug("timeout waiting for sta_authorized_event");
}
vdev = ol_txrx_get_vdev_for_peer(peer);
ol_txrx_vdev_unpause(vdev,
@@ -1838,7 +1837,7 @@ QDF_STATUS hdd_roam_register_sta(hdd_adapter_t *pAdapter,
qdf_status = ol_txrx_register_peer(&staDesc);
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
- hdd_warn("ol_txrx_register_peer() failed to register. Status=%d [0x%08X]",
+ hdd_err("ol_txrx_register_peer() failed status: %d [0x%08X]",
qdf_status, qdf_status);
return qdf_status;
}
@@ -1860,7 +1859,7 @@ QDF_STATUS hdd_roam_register_sta(hdd_adapter_t *pAdapter,
hdd_conn_set_authenticated(pAdapter, true);
} else {
- hdd_info("ULA auth StaId= %d. Changing TL state to CONNECTED at Join time",
+ hdd_debug("ULA auth StaId= %d. Changing TL state to CONNECTED at Join time",
pHddStaCtx->conn_info.staId[0]);
qdf_status =
hdd_change_peer_state(pAdapter, staDesc.sta_id,
@@ -1920,7 +1919,7 @@ static void hdd_send_re_assoc_event(struct net_device *dev,
}
if (pCsrRoamInfo->nAssocRspLength == 0) {
- hdd_err("Invalid assoc response length");
+ hdd_err("Assoc rsp length is 0");
goto done;
}
@@ -1932,7 +1931,7 @@ static void hdd_send_re_assoc_event(struct net_device *dev,
/* pFTAssocRsp needs to point to the IEs */
pFTAssocRsp += FT_ASSOC_RSP_IES_OFFSET;
- hdd_info("AssocRsp is now at %02x%02x",
+ hdd_debug("AssocRsp is now at %02x%02x",
(unsigned int)pFTAssocRsp[0], (unsigned int)pFTAssocRsp[1]);
/*
@@ -1965,7 +1964,7 @@ static void hdd_send_re_assoc_event(struct net_device *dev,
roam_profile.SSID.length);
if (bss == NULL)
- hdd_err("Get BSS returned NULL");
+ hdd_warn("Get BSS returned NULL");
buf_ptr = buf_ssid_ie;
*buf_ptr = SIR_MAC_SSID_EID;
buf_ptr++;
@@ -1974,7 +1973,7 @@ static void hdd_send_re_assoc_event(struct net_device *dev,
qdf_mem_copy(buf_ptr, &roam_profile.SSID.ssId[0],
roam_profile.SSID.length);
ssid_ie_len = 2 + roam_profile.SSID.length;
- hdd_notice("SSIDIE:");
+ hdd_debug("SSIDIE:");
QDF_TRACE_HEX_DUMP(QDF_MODULE_ID_HDD, QDF_TRACE_LEVEL_DEBUG,
buf_ssid_ie, ssid_ie_len);
final_req_ie = qdf_mem_malloc(IW_GENERIC_IE_MAX);
@@ -1987,7 +1986,7 @@ static void hdd_send_re_assoc_event(struct net_device *dev,
qdf_mem_copy(rspRsnIe, pFTAssocRsp, len);
qdf_mem_zero(final_req_ie + (ssid_ie_len + reqRsnLength),
IW_GENERIC_IE_MAX - (ssid_ie_len + reqRsnLength));
- hdd_notice("Req RSN IE:");
+ hdd_debug("Req RSN IE:");
QDF_TRACE_HEX_DUMP(QDF_MODULE_ID_HDD, QDF_TRACE_LEVEL_DEBUG,
final_req_ie, (ssid_ie_len + reqRsnLength));
if (!pAdapter->defer_disconnect)
@@ -1999,7 +1998,7 @@ static void hdd_send_re_assoc_event(struct net_device *dev,
(u8 *)pCsrRoamInfo->pbFrames + pCsrRoamInfo->nBeaconLength,
pCsrRoamInfo->nAssocReqLength);
- hdd_notice("ReAssoc Req IE dump");
+ hdd_debug("ReAssoc Req IE dump");
QDF_TRACE_HEX_DUMP(QDF_MODULE_ID_HDD, QDF_TRACE_LEVEL_DEBUG,
assoc_req_ies, pCsrRoamInfo->nAssocReqLength);
@@ -2055,7 +2054,7 @@ static int hdd_change_sta_state_authenticated(hdd_adapter_t *adapter,
AUTO_PS_ENTRY_TIMER_DEFAULT_VALUE :
hdd_ctx->config->auto_bmps_timer_val * 1000;
- hdd_info("Changing TL state to AUTHENTICATED for StaId= %d",
+ hdd_debug("Changing TL state to AUTHENTICATED for StaId= %d",
hddstactx->conn_info.staId[0]);
/* Connections that do not need Upper layer authentication,
@@ -2101,7 +2100,7 @@ static QDF_STATUS hdd_roam_set_key_complete_handler(hdd_adapter_t *pAdapter,
ENTER();
if (NULL == pRoamInfo) {
- hdd_info("pRoamInfo is NULL");
+ hdd_err("pRoamInfo is NULL");
return QDF_STATUS_E_FAILURE;
}
/*
@@ -2384,7 +2383,7 @@ static QDF_STATUS hdd_association_completion_handler(hdd_adapter_t *pAdapter,
wlan_hdd_auto_shutdown_enable(pHddCtx, false);
#endif
- hdd_info("check for SAP restart");
+ hdd_debug("check for SAP restart");
cds_check_concurrent_intf_and_restart_sap(pAdapter);
DPTRACE(qdf_dp_trace_mgmt_pkt(QDF_DP_TRACE_MGMT_PACKET_RECORD,
@@ -2426,7 +2425,7 @@ static QDF_STATUS hdd_association_completion_handler(hdd_adapter_t *pAdapter,
* session if disconnect is not in
* progress.
*/
- hdd_err("Disconnecting...");
+ hdd_debug("Disconnecting...");
sme_roam_disconnect(
WLAN_HDD_GET_HAL_CTX(pAdapter),
pAdapter->sessionId,
@@ -2449,14 +2448,14 @@ static QDF_STATUS hdd_association_completion_handler(hdd_adapter_t *pAdapter,
* pFTAssocRsp needs to point to the IEs
*/
pFTAssocRsp += FT_ASSOC_RSP_IES_OFFSET;
- hdd_info("AssocRsp is now at %02x%02x",
+ hdd_debug("AssocRsp is now at %02x%02x",
(unsigned int)pFTAssocRsp[0],
(unsigned int)pFTAssocRsp[1]);
assocRsplen =
pRoamInfo->nAssocRspLength -
FT_ASSOC_RSP_IES_OFFSET;
} else {
- hdd_err("AssocRsp is NULL");
+ hdd_debug("AssocRsp is NULL");
assocRsplen = 0;
}
@@ -2471,7 +2470,7 @@ static QDF_STATUS hdd_association_completion_handler(hdd_adapter_t *pAdapter,
*/
pFTAssocReq +=
FT_ASSOC_REQ_IES_OFFSET;
- hdd_info("pFTAssocReq is now at %02x%02x",
+ hdd_debug("pFTAssocReq is now at %02x%02x",
(unsigned int)
pFTAssocReq[0],
(unsigned int)
@@ -2488,7 +2487,7 @@ static QDF_STATUS hdd_association_completion_handler(hdd_adapter_t *pAdapter,
pRoamInfo->nAssocReqLength;
}
} else {
- hdd_err("AssocReq is NULL");
+ hdd_debug("AssocReq is NULL");
assocReqlen = 0;
}
@@ -2513,19 +2512,19 @@ static QDF_STATUS hdd_association_completion_handler(hdd_adapter_t *pAdapter,
cds_decr_session_set_pcl
(pAdapter->device_mode,
pAdapter->sessionId);
- hdd_info("ft_carrier_on is %d, sending roamed indication",
+ hdd_debug("ft_carrier_on is %d, sending roamed indication",
ft_carrier_on);
chan =
ieee80211_get_channel
(pAdapter->wdev.wiphy,
(int)pRoamInfo->pBssDesc->
channelId);
- hdd_info(
+ hdd_debug(
"assocReqlen %d assocRsplen %d",
assocReqlen,
assocRsplen);
- hdd_notice(
+ hdd_debug(
"Reassoc Req IE dump");
QDF_TRACE_HEX_DUMP(
QDF_MODULE_ID_HDD,
@@ -2585,7 +2584,7 @@ static QDF_STATUS hdd_association_completion_handler(hdd_adapter_t *pAdapter,
deferKeyComplete = true;
}
} else if (!hddDisconInProgress) {
- hdd_info("ft_carrier_on is %d, sending connect indication",
+ hdd_debug("ft_carrier_on is %d, sending connect indication",
ft_carrier_on);
hdd_connect_result(dev,
pRoamInfo->
@@ -2624,7 +2623,7 @@ static QDF_STATUS hdd_association_completion_handler(hdd_adapter_t *pAdapter,
reqRsnIe,
reqRsnLength);
else {
- hdd_info("sending connect indication to nl80211:for bssid "
+ hdd_debug("sending connect indication to nl80211:for bssid "
MAC_ADDRESS_STR
" result:%d and Status:%d",
MAC_ADDR_ARRAY
@@ -2709,7 +2708,7 @@ static QDF_STATUS hdd_association_completion_handler(hdd_adapter_t *pAdapter,
);
hdd_conn_set_authenticated(pAdapter, false);
} else {
- hdd_info("staId: %d Changing TL state to AUTHENTICATED",
+ hdd_debug("staId: %d Changing TL state to AUTHENTICATED",
pHddStaCtx->conn_info.staId[0]);
qdf_status =
hdd_change_peer_state(pAdapter,
@@ -2736,7 +2735,7 @@ static QDF_STATUS hdd_association_completion_handler(hdd_adapter_t *pAdapter,
/* Start the tx queues */
#ifdef WLAN_FEATURE_ROAM_OFFLOAD
if (pRoamInfo->roamSynchInProgress)
- hdd_info("LFR3:netif_tx_wake_all_queues");
+ hdd_debug("LFR3:netif_tx_wake_all_queues");
#endif
hdd_info("Enabling queues");
wlan_hdd_netif_queue_control(pAdapter,
@@ -2749,7 +2748,7 @@ static QDF_STATUS hdd_association_completion_handler(hdd_adapter_t *pAdapter,
#endif
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
- hdd_err("STA register with TL failed. status(=%d) [%08X]",
+ hdd_err("STA register with TL failed status: %d [%08X]",
qdf_status, qdf_status);
}
#ifdef WLAN_FEATURE_11W
@@ -2762,12 +2761,12 @@ static QDF_STATUS hdd_association_completion_handler(hdd_adapter_t *pAdapter,
WLAN_HDD_GET_WEXT_STATE_PTR(pAdapter);
if (pRoamInfo)
hdd_err("wlan: connection failed with " MAC_ADDRESS_STR
- " result:%d and Status:%d",
+ " result: %d and Status: %d",
MAC_ADDR_ARRAY(pRoamInfo->bssid.bytes),
roamResult, roamStatus);
else
hdd_err("wlan: connection failed with " MAC_ADDRESS_STR
- " result:%d and Status:%d",
+ " result: %d and Status: %d",
MAC_ADDR_ARRAY(pWextState->req_bssId.bytes),
roamResult, roamStatus);
@@ -2799,7 +2798,7 @@ static QDF_STATUS hdd_association_completion_handler(hdd_adapter_t *pAdapter,
if (pRoamInfo) {
hdd_err("send connect failure to nl80211: for bssid "
MAC_ADDRESS_STR
- " result:%d and Status:%d reasoncode %d",
+ " result: %d and Status: %d reasoncode: %d",
MAC_ADDR_ARRAY(pRoamInfo->bssid.bytes),
roamResult, roamStatus,
pRoamInfo->reasonCode);
@@ -2808,11 +2807,11 @@ static QDF_STATUS hdd_association_completion_handler(hdd_adapter_t *pAdapter,
} else {
hdd_err("connect failed: for bssid "
MAC_ADDRESS_STR
- " result:%d and Status:%d ",
+ " result: %d and status: %d ",
MAC_ADDR_ARRAY(pWextState->req_bssId.bytes),
roamResult, roamStatus);
}
- hdd_err("Invoking packetdump deregistration API");
+ hdd_debug("Invoking packetdump deregistration API");
wlan_deregister_txrx_packetdump();
/* inform association failure event to nl80211 */
@@ -2919,7 +2918,7 @@ static void hdd_roam_ibss_indication_handler(hdd_adapter_t *pAdapter,
eRoamCmdStatus roamStatus,
eCsrRoamResult roamResult)
{
- hdd_info("%s: id %d, status %d, result %d",
+ hdd_debug("%s: id %d, status %d, result %d",
pAdapter->dev->name, roamId,
roamStatus, roamResult);
@@ -3003,7 +3002,7 @@ static void hdd_roam_ibss_indication_handler(hdd_adapter_t *pAdapter,
bss->bssid, chan,
GFP_KERNEL);
else
- hdd_err("%s: chanId: %d, can't find channel",
+ hdd_warn("%s: chanId: %d, can't find channel",
pAdapter->dev->name,
(int)pRoamInfo->pBssDesc->channelId);
#else
@@ -3057,7 +3056,7 @@ bool hdd_save_peer(hdd_station_ctx_t *sta_ctx, uint8_t sta_id,
for (idx = 0; idx < SIR_MAX_NUM_STA_IN_IBSS; idx++) {
if (0 == sta_ctx->conn_info.staId[idx]) {
- hdd_info("adding peer: %pM, sta_id: %d, at idx: %d",
+ hdd_debug("adding peer: %pM, sta_id: %d, at idx: %d",
peer_mac_addr, sta_id, idx);
sta_ctx->conn_info.staId[idx] = sta_id;
qdf_copy_macaddr(
@@ -3086,8 +3085,6 @@ void hdd_delete_peer(hdd_station_ctx_t *sta_ctx, uint8_t sta_id)
return;
}
}
-
- hdd_err(FL("sta_id %d is not present in peer table"), sta_id);
}
/**
@@ -3138,7 +3135,7 @@ static bool roam_remove_ibss_station(hdd_adapter_t *pAdapter, uint8_t staId)
/* Last peer departed, set the IBSS state appropriately */
pHddStaCtx->conn_info.connState =
eConnectionState_IbssDisconnected;
- hdd_err("Last IBSS Peer Departed!!!");
+ hdd_debug("Last IBSS Peer Departed!!!");
}
/* Find next active staId, to have a valid sta trigger for TL. */
if (fSuccess == true) {
@@ -3229,7 +3226,7 @@ hdd_roam_mic_error_indication_handler(hdd_adapter_t *pAdapter,
memcpy(msg.src_addr.sa_data,
pRoamInfo->u.pMICFailureInfo->taMacAddr,
sizeof(pRoamInfo->u.pMICFailureInfo->taMacAddr));
- hdd_info("MIC MAC " MAC_ADDRESS_STR,
+ hdd_debug("MIC MAC " MAC_ADDRESS_STR,
MAC_ADDR_ARRAY(msg.src_addr.sa_data));
if (pRoamInfo->u.pMICFailureInfo->multicast == eSIR_TRUE)
@@ -3288,7 +3285,7 @@ roam_roam_connect_status_update_handler(hdd_adapter_t *pAdapter,
WLAN_HDD_GET_STATION_CTX_PTR(pAdapter);
struct station_info *stainfo;
- hdd_err("IBSS New Peer indication from SME "
+ hdd_info("IBSS New Peer indication from SME "
"with peerMac " MAC_ADDRESS_STR " BSSID: "
MAC_ADDRESS_STR " and stationID= %d",
MAC_ADDR_ARRAY(pRoamInfo->peerMac.bytes),
@@ -3312,7 +3309,7 @@ roam_roam_connect_status_update_handler(hdd_adapter_t *pAdapter,
&pRoamInfo->peerMac,
pRoamInfo->pBssDesc);
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
- hdd_err("Cannot register STA with TL for IBSS. Failed with qdf_status = %d [%08X]",
+ hdd_err("Cannot register STA with TL for IBSS. qdf_status: %d [%08X]",
qdf_status, qdf_status);
}
pHddStaCtx->ibss_sta_generation++;
@@ -3353,7 +3350,7 @@ roam_roam_connect_status_update_handler(hdd_adapter_t *pAdapter,
&roamId);
if (QDF_STATUS_SUCCESS != qdf_status) {
- hdd_err("sme_roam_set_key failed, status=%d",
+ hdd_err("sme_roam_set_key failed, status: %d",
qdf_status);
return QDF_STATUS_E_FAILURE;
}
@@ -3380,7 +3377,7 @@ roam_roam_connect_status_update_handler(hdd_adapter_t *pAdapter,
if (!roam_remove_ibss_station(pAdapter, pRoamInfo->staId))
hdd_warn("IBSS peer departed by cannot find peer in our registration table with TL");
- hdd_err("IBSS Peer Departed from SME "
+ hdd_info("IBSS Peer Departed from SME "
"with peerMac " MAC_ADDRESS_STR " BSSID: "
MAC_ADDRESS_STR " and stationID= %d",
MAC_ADDR_ARRAY(pRoamInfo->peerMac.bytes),
@@ -3399,7 +3396,7 @@ roam_roam_connect_status_update_handler(hdd_adapter_t *pAdapter,
}
case eCSR_ROAM_RESULT_IBSS_INACTIVE:
{
- hdd_info("Received eCSR_ROAM_RESULT_IBSS_INACTIVE from SME");
+ hdd_debug("Received eCSR_ROAM_RESULT_IBSS_INACTIVE from SME");
/* Stop only when we are inactive */
hdd_info("Disabling queues");
wlan_hdd_netif_queue_control(pAdapter,
@@ -3462,7 +3459,7 @@ QDF_STATUS hdd_roam_register_tdlssta(hdd_adapter_t *pAdapter,
/* Register the Station with TL... */
qdf_status = ol_txrx_register_peer(&staDesc);
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
- hdd_err("ol_txrx_register_peer() failed to register. Status=%d [0x%08X]",
+ hdd_err("ol_txrx_register_peer() failed. status: %d [0x%08X]",
qdf_status, qdf_status);
return qdf_status;
}
@@ -3483,7 +3480,7 @@ static QDF_STATUS hdd_roam_deregister_tdlssta(hdd_adapter_t *pAdapter,
QDF_STATUS qdf_status;
qdf_status = ol_txrx_clear_peer(staId);
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
- hdd_warn("ol_txrx_clear_peer() failed for staID %d. Status=%d [0x%08X]",
+ hdd_err("ol_txrx_clear_peer() failed staID: %d status: %d [0x%08X]",
staId, qdf_status, qdf_status);
}
return qdf_status;
@@ -3514,7 +3511,7 @@ static QDF_STATUS hdd_tdls_connection_tracker_update(hdd_adapter_t *adapter,
if (eTDLS_LINK_CONNECTED ==
curr_peer->link_status) {
- hdd_err("Received CONNECTION_TRACKER_NOTIFICATION "
+ hdd_debug("Received CONNECTION_TRACKER_NOTIFICATION "
MAC_ADDRESS_STR
" staId: %d, reason: %d",
MAC_ADDR_ARRAY(roam_info->peerMac.bytes),
@@ -3535,10 +3532,10 @@ static QDF_STATUS hdd_tdls_connection_tracker_update(hdd_adapter_t *adapter,
roam_info->reasonCode ==
eWMI_TDLS_SCAN_COMPLETED_EVENT)
hdd_ctx->enable_tdls_connection_tracker = true;
- hdd_info("hdd_ctx->enable_tdls_connection_tracker %d",
+ hdd_debug("hdd_ctx->enable_tdls_connection_tracker %d",
hdd_ctx->enable_tdls_connection_tracker);
} else {
- hdd_err("TDLS not connected, ignore notification, reason: %d",
+ hdd_debug("TDLS not connected, ignore notification, reason: %d",
roam_info->reasonCode);
}
@@ -3577,7 +3574,7 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
hddTdlsPeer_t *curr_peer;
uint32_t reason;
- hdd_info("hdd_tdlsStatusUpdate: %s staIdx %d " MAC_ADDRESS_STR,
+ hdd_debug("hdd_tdlsStatusUpdate: %s staIdx %d " MAC_ADDRESS_STR,
roamResult ==
eCSR_ROAM_RESULT_ADD_TDLS_PEER ? "ADD_TDLS_PEER" : roamResult
==
@@ -3603,10 +3600,9 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
case eCSR_ROAM_RESULT_ADD_TDLS_PEER:
{
if (eSIR_SME_SUCCESS != pRoamInfo->statusCode) {
- hdd_err("Add Sta failed. status code(=%d)",
+ hdd_err("Add Sta failed. status code: %d",
pRoamInfo->statusCode);
pAdapter->tdlsAddStaStatus = QDF_STATUS_E_FAILURE;
-
} else {
/*
* Check if there is available index for this new TDLS
@@ -3624,7 +3620,7 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
pHddCtx->tdlsConnInfo[staIdx].
staId = pRoamInfo->staId;
- hdd_warn("TDLS: STA IDX at %d is %d "
+ hdd_debug("TDLS: STA IDX at %d is %d "
"of mac "
MAC_ADDRESS_STR,
staIdx,
@@ -3670,7 +3666,7 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
ucastSig);
} else {
status = QDF_STATUS_E_FAILURE;
- hdd_err("no available slot in conn_info. staId %d cannot be stored",
+ hdd_debug("no available slot in conn_info. staId: %d cannot be stored",
pRoamInfo->staId);
}
pAdapter->tdlsAddStaStatus = status;
@@ -3681,7 +3677,7 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
case eCSR_ROAM_RESULT_UPDATE_TDLS_PEER:
{
if (eSIR_SME_SUCCESS != pRoamInfo->statusCode) {
- hdd_err("Add Sta failed. status code(=%d)",
+ hdd_err("Add Sta failed. status code: %d",
pRoamInfo->statusCode);
}
/* store the ucast signature which will be used later when
@@ -3694,7 +3690,7 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
case eCSR_ROAM_RESULT_LINK_ESTABLISH_REQ_RSP:
{
if (eSIR_SME_SUCCESS != pRoamInfo->statusCode) {
- hdd_err("Link Establish Request failed. status(=%d)",
+ hdd_err("Link Establish Request failed. status: %d",
pRoamInfo->statusCode);
}
complete(&pAdapter->tdls_link_establish_req_comp);
@@ -3708,7 +3704,7 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
pRoamInfo->sessionId)
&& pRoamInfo->staId ==
pHddCtx->tdlsConnInfo[staIdx].staId) {
- hdd_warn("HDD: del STA IDX = %x",
+ hdd_debug("HDD: del STA IDX = %x",
pRoamInfo->staId);
mutex_lock(&pHddCtx->tdls_lock);
curr_peer =
@@ -3716,7 +3712,7 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
pRoamInfo->
peerMac.bytes);
if (NULL != curr_peer) {
- hdd_info("Current status for peer " MAC_ADDRESS_STR " is %d",
+ hdd_debug("Current status for peer " MAC_ADDRESS_STR " is %d",
MAC_ADDR_ARRAY(pRoamInfo->peerMac.bytes),
curr_peer->link_status);
if (TDLS_IS_CONNECTED(curr_peer)) {
@@ -3756,7 +3752,7 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
break;
case eCSR_ROAM_RESULT_TEARDOWN_TDLS_PEER_IND:
{
- hdd_err("Sending teardown to supplicant with reason code %u",
+ hdd_debug("Sending teardown to supplicant with reason code %u",
pRoamInfo->reasonCode);
mutex_lock(&pHddCtx->tdls_lock);
@@ -3779,7 +3775,7 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
if ((pHddCtx->tdlsConnInfo[staIdx].sessionId ==
pRoamInfo->sessionId)
&& pHddCtx->tdlsConnInfo[staIdx].staId) {
- hdd_warn("hdd_tdlsStatusUpdate: staIdx %d "
+ hdd_debug("hdd_tdlsStatusUpdate: staIdx %d "
MAC_ADDRESS_STR,
pHddCtx->tdlsConnInfo[staIdx].
staId,
@@ -3813,7 +3809,7 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
smeTdlsPeerStateParams.peerState =
eSME_TDLS_PEER_STATE_TEARDOWN;
- hdd_info("calling sme_update_tdls_peer_state for staIdx %d "
+ hdd_debug("calling sme_update_tdls_peer_state for staIdx %d "
MAC_ADDRESS_STR,
pHddCtx->tdlsConnInfo[staIdx].
staId,
@@ -3860,7 +3856,7 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
}
if (pHddCtx->tdls_nss_switch_in_progress) {
- hdd_err("TDLS antenna switch is in progress, ignore SHOULD_DISCOVER");
+ hdd_debug("TDLS antenna switch is in progress, ignore SHOULD_DISCOVER");
status = QDF_STATUS_SUCCESS;
break;
}
@@ -3869,7 +3865,7 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
pHddTdlsCtx = WLAN_HDD_GET_TDLS_CTX_PTR(pAdapter);
if (!pHddTdlsCtx) {
mutex_unlock(&pHddCtx->tdls_lock);
- hdd_info("TDLS ctx is null, ignore roamResult (%d)",
+ hdd_debug("TDLS ctx is null, ignore roamResult (%d)",
roamResult);
status = QDF_STATUS_E_FAILURE;
break;
@@ -3879,12 +3875,12 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
wlan_hdd_tdls_get_peer(pAdapter,
pRoamInfo->peerMac.bytes);
if (!curr_peer) {
- hdd_info("curr_peer is null");
+ hdd_debug("curr_peer is null");
status = QDF_STATUS_E_FAILURE;
} else {
if (eTDLS_LINK_CONNECTED ==
curr_peer->link_status) {
- hdd_err("TDLS link status is connected, ignore SHOULD_DISCOVER");
+ hdd_debug("TDLS link status is connected, ignore SHOULD_DISCOVER");
} else {
/*
* If external control is enabled then initiate
@@ -3895,11 +3891,11 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
fTDLSExternalControl
&& (false ==
curr_peer->isForcedPeer)) {
- hdd_info("TDLS ExternalControl enabled but curr_peer is not forced, ignore SHOULD_DISCOVER");
+ hdd_debug("TDLS ExternalControl enabled but curr_peer is not forced, ignore SHOULD_DISCOVER");
status = QDF_STATUS_SUCCESS;
break;
} else {
- hdd_info("initiate TDLS setup on SHOULD_DISCOVER, fTDLSExternalControl: %d, curr_peer->isForcedPeer: %d, reason: %d",
+ hdd_debug("initiate TDLS setup on SHOULD_DISCOVER, fTDLSExternalControl: %d, curr_peer->isForcedPeer: %d, reason: %d",
pHddCtx->config->
fTDLSExternalControl,
curr_peer->isForcedPeer,
@@ -3921,7 +3917,7 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
pHddTdlsCtx = WLAN_HDD_GET_TDLS_CTX_PTR(pAdapter);
if (!pHddTdlsCtx) {
mutex_unlock(&pHddCtx->tdls_lock);
- hdd_info("TDLS ctx is null, ignore roamResult (%d)",
+ hdd_debug("TDLS ctx is null, ignore roamResult (%d)",
roamResult);
status = QDF_STATUS_E_FAILURE;
break;
@@ -3931,12 +3927,12 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
wlan_hdd_tdls_find_peer(pAdapter,
pRoamInfo->peerMac.bytes);
if (!curr_peer) {
- hdd_info("curr_peer is null");
+ hdd_debug("curr_peer is null");
status = QDF_STATUS_E_FAILURE;
} else {
if (eTDLS_LINK_CONNECTED ==
curr_peer->link_status) {
- hdd_err("Received SHOULD_TEARDOWN for peer "
+ hdd_debug("Received SHOULD_TEARDOWN for peer "
MAC_ADDRESS_STR
" staId: %d, reason: %d",
MAC_ADDR_ARRAY(pRoamInfo->
@@ -3965,7 +3961,7 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
eTDLS_TEARDOWN_BSS_DISCONNECT,
curr_peer->peerMac);
} else {
- hdd_err("TDLS link is not connected, ignore SHOULD_TEARDOWN, reason: %d",
+ hdd_debug("TDLS link is not connected, ignore SHOULD_TEARDOWN, reason: %d",
pRoamInfo->reasonCode);
}
status = QDF_STATUS_SUCCESS;
@@ -3980,7 +3976,7 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
pHddTdlsCtx = WLAN_HDD_GET_TDLS_CTX_PTR(pAdapter);
if (!pHddTdlsCtx) {
mutex_unlock(&pHddCtx->tdls_lock);
- hdd_info("TDLS ctx is null, ignore roamResult (%d)",
+ hdd_debug("TDLS ctx is null, ignore roamResult (%d)",
roamResult);
status = QDF_STATUS_E_FAILURE;
break;
@@ -3990,14 +3986,14 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
wlan_hdd_tdls_find_peer(pAdapter,
pRoamInfo->peerMac.bytes);
if (!curr_peer) {
- hdd_info("curr_peer is null");
+ hdd_debug("curr_peer is null");
status = QDF_STATUS_E_FAILURE;
} else {
if (eTDLS_LINK_CONNECTED ==
curr_peer->link_status) {
- hdd_err("Received SHOULD_PEER_DISCONNECTED for peer "
+ hdd_debug("Received SHOULD_PEER_DISCONNECTED for peer "
MAC_ADDRESS_STR
- " staId: %d, reason: %d",
+ " staId: %d reason: %d",
MAC_ADDR_ARRAY(pRoamInfo->peerMac.bytes),
pRoamInfo->staId,
pRoamInfo->reasonCode);
@@ -4023,7 +4019,7 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
eTDLS_TEARDOWN_BSS_DISCONNECT,
curr_peer->peerMac);
} else {
- hdd_err("TDLS link is not connected, ignore SHOULD_PEER_DISCONNECTED, reason: %d",
+ hdd_debug("TDLS link is not connected, ignore SHOULD_PEER_DISCONNECTED, reason: %d",
pRoamInfo->reasonCode);
}
status = QDF_STATUS_SUCCESS;
@@ -4037,7 +4033,7 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
pHddTdlsCtx = WLAN_HDD_GET_TDLS_CTX_PTR(pAdapter);
if (!pHddTdlsCtx) {
mutex_unlock(&pHddCtx->tdls_lock);
- hdd_info("TDLS ctx is null, ignore roamResult (%d)",
+ hdd_debug("TDLS ctx is null, ignore roamResult (%d)",
roamResult);
status = QDF_STATUS_E_FAILURE;
break;
@@ -4095,7 +4091,7 @@ hdd_indicate_unprot_mgmt_frame(hdd_adapter_t *pAdapter, uint32_t nFrameLength,
uint8_t type = 0;
uint8_t subType = 0;
- hdd_info("Frame Type = %d Frame Length = %d",
+ hdd_debug("Frame Type = %d Frame Length = %d",
frameType, nFrameLength);
/* Sanity Checks */
@@ -4148,7 +4144,7 @@ hdd_indicate_unprot_mgmt_frame(hdd_adapter_t *pAdapter, uint32_t nFrameLength,
#endif
pAdapter->hdd_stats.hddPmfStats.numUnprotDeauthRx++;
} else {
- hdd_err("Frame type %d and subtype %d are not valid",
+ hdd_warn("Frame type %d and subtype %d are not valid",
type, subType);
return;
}
@@ -4183,7 +4179,7 @@ hdd_indicate_tsm_ie(hdd_adapter_t *pAdapter, uint8_t tid,
memset(&wrqu, '\0', sizeof(wrqu));
memset(buf, '\0', sizeof(buf));
- hdd_info("TSM Ind tid(%d) state(%d) MeasInt(%d)",
+ hdd_debug("TSM Ind tid(%d) state(%d) MeasInt(%d)",
tid, state, measInterval);
nBytes =
@@ -4222,7 +4218,7 @@ hdd_indicate_cckm_pre_auth(hdd_adapter_t *pAdapter, tCsrRoamInfo *pRoamInfo)
memset(buf, '\0', sizeof(buf));
/* Timestamp0 is lower 32 bits and Timestamp1 is upper 32 bits */
- hdd_info("CCXPREAUTHNOTIFY=" MAC_ADDRESS_STR " %d:%d",
+ hdd_debug("CCXPREAUTHNOTIFY=" MAC_ADDRESS_STR " %d:%d",
MAC_ADDR_ARRAY(pRoamInfo->bssid.bytes),
pRoamInfo->timestamp[0], pRoamInfo->timestamp[1]);
@@ -4267,7 +4263,7 @@ hdd_indicate_ese_adj_ap_rep_ind(hdd_adapter_t *pAdapter,
memset(&wrqu, '\0', sizeof(wrqu));
memset(buf, '\0', sizeof(buf));
- hdd_info("CCXADJAPREP=%u", pRoamInfo->tsmRoamDelay);
+ hdd_debug("CCXADJAPREP=%u", pRoamInfo->tsmRoamDelay);
nBytes =
snprintf(buf, IW_CUSTOM_MAX, "CCXADJAPREP=%u",
@@ -4305,7 +4301,7 @@ hdd_indicate_ese_bcn_report_no_results(const hdd_adapter_t *pAdapter,
memset(&wrqu, '\0', sizeof(wrqu));
memset(buf, '\0', sizeof(buf));
- hdd_info("CCXBCNREP=%d %d %d", measurementToken,
+ hdd_debug("CCXBCNREP=%d %d %d", measurementToken,
flag, numBss);
nBytes =
@@ -4364,7 +4360,7 @@ hdd_indicate_ese_bcn_report_ind(const hdd_adapter_t *pAdapter,
if ((pRoamInfo->pEseBcnReportRsp->flag >> 1)
&& (!pRoamInfo->pEseBcnReportRsp->numBss)) {
- hdd_info("Measurement Done but no scan results");
+ hdd_debug("Measurement Done but no scan results");
/* If the measurement is none and no scan results found,
indicate the supplicant about measurement done */
hdd_indicate_ese_bcn_report_no_results(
@@ -4394,14 +4390,14 @@ hdd_indicate_ese_bcn_report_ind(const hdd_adapter_t *pAdapter,
}
tot_bcn_ieLen += len;
sendBss++;
- hdd_info("i(%d) sizeof bcnReportFields(%d) IeLength(%d) Length of Ie(%d) totLen(%d)",
+ hdd_debug("i(%d) sizeof bcnReportFields(%d) IeLength(%d) Length of Ie(%d) totLen(%d)",
i, bcnRepFieldSize, 1,
pRoamInfo->pEseBcnReportRsp->
bcnRepBssInfo[i].ieLen, tot_bcn_ieLen);
}
- hdd_info("Sending %d BSS Info", sendBss);
- hdd_info("CCXBCNREP=%d %d %d %d",
+ hdd_debug("Sending %d BSS Info", sendBss);
+ hdd_debug("CCXBCNREP=%d %d %d %d",
pRoamInfo->pEseBcnReportRsp->measurementToken,
pRoamInfo->pEseBcnReportRsp->flag, sendBss,
tot_bcn_ieLen);
@@ -4421,7 +4417,7 @@ hdd_indicate_ese_bcn_report_ind(const hdd_adapter_t *pAdapter,
freeBytes -= sizeof(tot_bcn_ieLen);
for (i = 0; i < sendBss; i++) {
- hdd_info("ChanNum(%d) Spare(%d) MeasDuration(%d)"
+ hdd_debug("ChanNum(%d) Spare(%d) MeasDuration(%d)"
" PhyType(%d) RecvSigPower(%d) ParentTSF(%u)"
" TargetTSF[0](%u) TargetTSF[1](%u) BeaconInterval(%u)"
" CapabilityInfo(%d) BSSID(%02X:%02X:%02X:%02X:%02X:%02X)",
@@ -4573,7 +4569,7 @@ static void hdd_roam_channel_switch_handler(hdd_adapter_t *adapter,
struct wiphy *wiphy = wdev->wiphy;
QDF_STATUS status;
- hdd_info("channel switch for session:%d to channel:%d",
+ hdd_debug("channel switch for session:%d to channel:%d",
adapter->sessionId, roam_info->chan_info.chan_id);
chan_change.chan = roam_info->chan_info.chan_id;
@@ -4598,7 +4594,7 @@ static void hdd_roam_channel_switch_handler(hdd_adapter_t *adapter,
status = cds_set_hw_mode_on_channel_switch(adapter->sessionId);
if (QDF_IS_STATUS_ERROR(status))
- hdd_info("set hw mode change not done");
+ hdd_debug("set hw mode change not done");
}
/**
@@ -4622,12 +4618,12 @@ hdd_sme_roam_callback(void *pContext, tCsrRoamInfo *pRoamInfo, uint32_t roamId,
QDF_STATUS status = QDF_STATUS_SUCCESS;
struct cfg80211_bss *bss_status;
- hdd_info("CSR Callback: status= %d result= %d roamID=%d",
+ hdd_debug("CSR Callback: status= %d result= %d roamID=%d",
roamStatus, roamResult, roamId);
/* Sanity check */
if ((NULL == pAdapter) || (WLAN_HDD_ADAPTER_MAGIC != pAdapter->magic)) {
- hdd_alert("invalid adapter or adapter has invalid magic");
+ hdd_err("Invalid adapter or adapter has invalid magic");
return QDF_STATUS_E_FAILURE;
}
@@ -4658,7 +4654,7 @@ hdd_sme_roam_callback(void *pContext, tCsrRoamInfo *pRoamInfo, uint32_t roamId,
roamStatus, roamResult);
pHddStaCtx->ft_carrier_on = false;
pHddStaCtx->hdd_ReassocScenario = false;
- hdd_info("hdd_ReassocScenario set to: %d, ReAssoc Failed, session: %d",
+ hdd_debug("hdd_ReassocScenario set to: %d, ReAssoc Failed, session: %d",
pHddStaCtx->hdd_ReassocScenario, pAdapter->sessionId);
break;
@@ -4673,7 +4669,7 @@ hdd_sme_roam_callback(void *pContext, tCsrRoamInfo *pRoamInfo, uint32_t roamId,
* after reassoc.
*/
hdd_info("Disabling queues");
- hdd_info("Roam Synch Ind: NAPI Serialize ON");
+ hdd_debug("Roam Synch Ind: NAPI Serialize ON");
hdd_napi_serialize(1);
wlan_hdd_netif_queue_control(pAdapter,
WLAN_NETIF_TX_DISABLE,
@@ -4688,7 +4684,7 @@ hdd_sme_roam_callback(void *pContext, tCsrRoamInfo *pRoamInfo, uint32_t roamId,
pHddStaCtx->hdd_ReassocScenario, pAdapter->sessionId);
break;
case eCSR_ROAM_NAPI_OFF:
- hdd_info("After Roam Synch Comp: NAPI Serialize OFF");
+ hdd_debug("After Roam Synch Comp: NAPI Serialize OFF");
hdd_napi_serialize(0);
hdd_set_roaming_in_progress(false);
if (pAdapter->defer_disconnect)
@@ -4696,7 +4692,7 @@ hdd_sme_roam_callback(void *pContext, tCsrRoamInfo *pRoamInfo, uint32_t roamId,
break;
case eCSR_ROAM_SHOULD_ROAM:
/* notify apps that we can't pass traffic anymore */
- hdd_info("Disabling queues");
+ hdd_debug("Disabling queues");
wlan_hdd_netif_queue_control(pAdapter,
WLAN_NETIF_TX_DISABLE,
WLAN_CONTROL_PATH);
@@ -4708,7 +4704,7 @@ hdd_sme_roam_callback(void *pContext, tCsrRoamInfo *pRoamInfo, uint32_t roamId,
break;
case eCSR_ROAM_LOSTLINK:
if (roamResult == eCSR_ROAM_RESULT_LOSTLINK) {
- hdd_info("Roaming started due to connection lost");
+ hdd_debug("Roaming started due to connection lost");
hdd_info("Disabling queues");
wlan_hdd_netif_queue_control(pAdapter,
WLAN_NETIF_TX_DISABLE_N_CARRIER,
@@ -4717,7 +4713,7 @@ hdd_sme_roam_callback(void *pContext, tCsrRoamInfo *pRoamInfo, uint32_t roamId,
}
case eCSR_ROAM_DISASSOCIATED:
{
- hdd_info("****eCSR_ROAM_DISASSOCIATED****");
+ hdd_debug("****eCSR_ROAM_DISASSOCIATED****");
qdf_ret_status =
hdd_dis_connect_handler(pAdapter, pRoamInfo, roamId,
roamStatus, roamResult);
@@ -4729,13 +4725,13 @@ hdd_sme_roam_callback(void *pContext, tCsrRoamInfo *pRoamInfo, uint32_t roamId,
}
break;
case eCSR_ROAM_IBSS_LEAVE:
- hdd_info("****eCSR_ROAM_IBSS_LEAVE****");
+ hdd_debug("****eCSR_ROAM_IBSS_LEAVE****");
qdf_ret_status =
hdd_dis_connect_handler(pAdapter, pRoamInfo, roamId,
roamStatus, roamResult);
break;
case eCSR_ROAM_ASSOCIATION_COMPLETION:
- hdd_info("****eCSR_ROAM_ASSOCIATION_COMPLETION****");
+ hdd_debug("****eCSR_ROAM_ASSOCIATION_COMPLETION****");
/*
* To Do - address probable memory leak with WEP encryption upon
* successful association.
@@ -4755,7 +4751,7 @@ hdd_sme_roam_callback(void *pContext, tCsrRoamInfo *pRoamInfo, uint32_t roamId,
#endif
break;
case eCSR_ROAM_CANCELLED:
- hdd_info("****eCSR_ROAM_CANCELLED****");
+ hdd_debug("****eCSR_ROAM_CANCELLED****");
case eCSR_ROAM_ASSOCIATION_FAILURE:
qdf_ret_status = hdd_association_completion_handler(pAdapter,
pRoamInfo,
@@ -4794,7 +4790,7 @@ hdd_sme_roam_callback(void *pContext, tCsrRoamInfo *pRoamInfo, uint32_t roamId,
roamResult);
if (eCSR_ROAM_RESULT_AUTHENTICATED == roamResult) {
pHddStaCtx->hdd_ReassocScenario = false;
- hdd_info("hdd_ReassocScenario set to: %d, set key complete, session: %d",
+ hdd_debug("hdd_ReassocScenario set to: %d, set key complete, session: %d",
pHddStaCtx->hdd_ReassocScenario,
pAdapter->sessionId);
}
@@ -4921,7 +4917,7 @@ hdd_sme_roam_callback(void *pContext, tCsrRoamInfo *pRoamInfo, uint32_t roamId,
bss_status = wlan_hdd_cfg80211_inform_bss_frame(
pAdapter, pRoamInfo->pBssDesc);
if (NULL == bss_status)
- hdd_info("UPDATE_SCAN_RESULT returned NULL");
+ hdd_debug("UPDATE_SCAN_RESULT returned NULL");
else
cfg80211_put_bss(
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 0)) || defined(WITH_BACKPORTS)
@@ -4935,7 +4931,7 @@ hdd_sme_roam_callback(void *pContext, tCsrRoamInfo *pRoamInfo, uint32_t roamId,
roamResult);
break;
case eCSR_ROAM_START:
- hdd_info("Process ROAM_START from firmware");
+ hdd_debug("Process ROAM_START from firmware");
wlan_hdd_netif_queue_control(pAdapter,
WLAN_NETIF_TX_DISABLE,
WLAN_CONTROL_PATH);
@@ -4945,7 +4941,7 @@ hdd_sme_roam_callback(void *pContext, tCsrRoamInfo *pRoamInfo, uint32_t roamId,
cds_restart_opportunistic_timer(true);
break;
case eCSR_ROAM_ABORT:
- hdd_info("Firmware aborted roaming operation, previous connection is still valid");
+ hdd_debug("Firmware aborted roaming operation, previous connection is still valid");
hdd_napi_serialize(0);
wlan_hdd_netif_queue_control(pAdapter,
WLAN_WAKE_ALL_NETIF_QUEUE,
@@ -5027,7 +5023,7 @@ eCsrAuthType hdd_translate_wpa_to_csr_auth_type(uint8_t auth_suite[4])
{
auth_type = eCSR_AUTH_TYPE_UNKNOWN;
}
- hdd_info("auth_type: %d", auth_type);
+ hdd_debug("auth_type: %d", auth_type);
return auth_type;
}
@@ -5056,7 +5052,7 @@ hdd_translate_rsn_to_csr_encryption_type(uint8_t cipher_suite[4])
else
cipher_type = eCSR_ENCRYPT_TYPE_FAILED;
- hdd_info("cipher_type: %d", cipher_type);
+ hdd_debug("cipher_type: %d", cipher_type);
return cipher_type;
}
@@ -5085,7 +5081,7 @@ hdd_translate_wpa_to_csr_encryption_type(uint8_t cipher_suite[4])
else
cipher_type = eCSR_ENCRYPT_TYPE_FAILED;
- hdd_info("cipher_type: %d", cipher_type);
+ hdd_debug("cipher_type: %d", cipher_type);
return cipher_type;
}
@@ -5131,7 +5127,7 @@ static int32_t hdd_process_genie(hdd_adapter_t *pAdapter,
/* Validity checks */
if ((gen_ie_len < DOT11F_IE_RSN_MIN_LEN) ||
(gen_ie_len > DOT11F_IE_RSN_MAX_LEN)) {
- hdd_err("Invalid DOT11F RSN IE length :%d",
+ hdd_err("Invalid DOT11F RSN IE length: %d",
gen_ie_len);
return -EINVAL;
}
@@ -5142,9 +5138,9 @@ static int32_t hdd_process_genie(hdd_adapter_t *pAdapter,
dot11f_unpack_ie_rsn((tpAniSirGlobal) halHandle,
pRsnIe, RSNIeLen, &dot11RSNIE);
/* Copy out the encryption and authentication types */
- hdd_info("pairwise cipher suite count: %d",
+ hdd_debug("pairwise cipher suite count: %d",
dot11RSNIE.pwise_cipher_suite_count);
- hdd_info("authentication suite count: %d",
+ hdd_debug("authentication suite count: %d",
dot11RSNIE.akm_suite_count);
/*Here we have followed the apple base code,
but probably I suspect we can do something different */
@@ -5168,7 +5164,7 @@ static int32_t hdd_process_genie(hdd_adapter_t *pAdapter,
/* Set the PMKSA ID Cache for this interface */
for (i = 0; i < dot11RSNIE.pmkid_count; i++) {
if (is_zero_ether_addr(bssid)) {
- hdd_err("MAC address is all zeroes");
+ hdd_warn("MAC address is all zeroes");
break;
}
updatePMKCache = true;
@@ -5187,7 +5183,7 @@ static int32_t hdd_process_genie(hdd_adapter_t *pAdapter,
* Calling csr_roam_set_pmkid_cache to configure the
* PMKIDs into the cache.
*/
- hdd_info("Calling sme_roam_set_pmkid_cache with cache entry %d.",
+ hdd_debug("Calling sme_roam_set_pmkid_cache with cache entry %d.",
i);
/* Finally set the PMKSA ID Cache in CSR */
result =
@@ -5201,7 +5197,7 @@ static int32_t hdd_process_genie(hdd_adapter_t *pAdapter,
/* Validity checks */
if ((gen_ie_len < DOT11F_IE_WPA_MIN_LEN) ||
(gen_ie_len > DOT11F_IE_WPA_MAX_LEN)) {
- hdd_err("Invalid DOT11F WPA IE length :%d",
+ hdd_err("Invalid DOT11F WPA IE length: %d",
gen_ie_len);
return -EINVAL;
}
@@ -5212,9 +5208,9 @@ static int32_t hdd_process_genie(hdd_adapter_t *pAdapter,
dot11f_unpack_ie_wpa((tpAniSirGlobal) halHandle,
pRsnIe, RSNIeLen, &dot11WPAIE);
/* Copy out the encryption and authentication types */
- hdd_info("WPA unicast cipher suite count: %d",
+ hdd_debug("WPA unicast cipher suite count: %d",
dot11WPAIE.unicast_cipher_count);
- hdd_info("WPA authentication suite count: %d",
+ hdd_debug("WPA authentication suite count: %d",
dot11WPAIE.auth_suite_count);
/* dot11WPAIE.auth_suite_count */
/* Just translate the FIRST one */
@@ -5303,12 +5299,12 @@ int hdd_set_genie_to_csr(hdd_adapter_t *pAdapter, eCsrAuthType *RSNAuthType)
= mcRSNEncryptType;
}
#ifdef WLAN_FEATURE_11W
- hdd_info("RSNMfpRequired = %d, RSNMfpCapable = %d",
+ hdd_debug("RSNMfpRequired = %d, RSNMfpCapable = %d",
RSNMfpRequired, RSNMfpCapable);
pWextState->roamProfile.MFPRequired = RSNMfpRequired;
pWextState->roamProfile.MFPCapable = RSNMfpCapable;
#endif
- hdd_info("CSR AuthType = %d, EncryptionType = %d mcEncryptionType = %d",
+ hdd_debug("CSR AuthType = %d, EncryptionType = %d mcEncryptionType = %d",
*RSNAuthType, RSNEncryptType, mcRSNEncryptType);
}
return 0;
@@ -5328,7 +5324,7 @@ int hdd_set_csr_auth_type(hdd_adapter_t *pAdapter, eCsrAuthType RSNAuthType)
hdd_station_ctx_t *pHddStaCtx = WLAN_HDD_GET_STATION_CTX_PTR(pAdapter);
pRoamProfile->AuthType.numEntries = 1;
- hdd_info("pHddStaCtx->conn_info.authType = %d",
+ hdd_debug("pHddStaCtx->conn_info.authType = %d",
pHddStaCtx->conn_info.authType);
switch (pHddStaCtx->conn_info.authType) {
@@ -5347,11 +5343,11 @@ int hdd_set_csr_auth_type(hdd_adapter_t *pAdapter, eCsrAuthType RSNAuthType)
if ((RSNAuthType == eCSR_AUTH_TYPE_CCKM_WPA) &&
((pWextState->authKeyMgmt & IW_AUTH_KEY_MGMT_802_1X)
== IW_AUTH_KEY_MGMT_802_1X)) {
- hdd_info("set authType to CCKM WPA. AKM also 802.1X.");
+ hdd_debug("set authType to CCKM WPA. AKM also 802.1X.");
pRoamProfile->AuthType.authType[0] =
eCSR_AUTH_TYPE_CCKM_WPA;
} else if (RSNAuthType == eCSR_AUTH_TYPE_CCKM_WPA) {
- hdd_info("Last chance to set authType to CCKM WPA.");
+ hdd_debug("Last chance to set authType to CCKM WPA.");
pRoamProfile->AuthType.authType[0] =
eCSR_AUTH_TYPE_CCKM_WPA;
} else
@@ -5376,11 +5372,11 @@ int hdd_set_csr_auth_type(hdd_adapter_t *pAdapter, eCsrAuthType RSNAuthType)
if ((RSNAuthType == eCSR_AUTH_TYPE_CCKM_RSN) &&
((pWextState->authKeyMgmt & IW_AUTH_KEY_MGMT_802_1X)
== IW_AUTH_KEY_MGMT_802_1X)) {
- hdd_info("set authType to CCKM RSN. AKM also 802.1X.");
+ hdd_debug("set authType to CCKM RSN. AKM also 802.1X.");
pRoamProfile->AuthType.authType[0] =
eCSR_AUTH_TYPE_CCKM_RSN;
} else if (RSNAuthType == eCSR_AUTH_TYPE_CCKM_RSN) {
- hdd_info("Last chance to set authType to CCKM RSN.");
+ hdd_debug("Last chance to set authType to CCKM RSN.");
pRoamProfile->AuthType.authType[0] =
eCSR_AUTH_TYPE_CCKM_RSN;
} else
@@ -5436,13 +5432,13 @@ int hdd_set_csr_auth_type(hdd_adapter_t *pAdapter, eCsrAuthType RSNAuthType)
default:
#ifdef FEATURE_WLAN_ESE
- hdd_info("In default, unknown auth type.");
+ hdd_debug("In default, unknown auth type.");
#endif /* FEATURE_WLAN_ESE */
pRoamProfile->AuthType.authType[0] = eCSR_AUTH_TYPE_UNKNOWN;
break;
}
- hdd_info("Set roam Authtype to %d",
+ hdd_debug("Set roam Authtype to %d",
pWextState->roamProfile.AuthType.authType[0]);
return 0;
@@ -5492,7 +5488,7 @@ static int __iw_set_essid(struct net_device *dev,
pWextState = WLAN_HDD_GET_WEXT_STATE_PTR(pAdapter);
if (pWextState->mTKIPCounterMeasures == TKIP_COUNTER_MEASURE_STARTED) {
- hdd_info("Counter measure is in progress");
+ hdd_warn("Counter measure is in progress");
return -EBUSY;
}
if (SIR_MAC_MAX_SSID_LENGTH < wrqu->essid.length)
@@ -5539,12 +5535,12 @@ static int __iw_set_essid(struct net_device *dev,
hdd_set_csr_auth_type(pAdapter, RSNAuthType);
}
#ifdef FEATURE_WLAN_WAPI
- hdd_notice("Setting WAPI AUTH Type and Encryption Mode values");
+ hdd_debug("Setting WAPI AUTH Type and Encryption Mode values");
if (pAdapter->wapi_info.nWapiMode) {
switch (pAdapter->wapi_info.wapiAuthMode) {
case WAPI_AUTH_MODE_PSK:
{
- hdd_notice("WAPI AUTH TYPE: PSK: %d",
+ hdd_debug("WAPI AUTH TYPE: PSK: %d",
pAdapter->wapi_info.wapiAuthMode);
pRoamProfile->AuthType.numEntries = 1;
pRoamProfile->AuthType.authType[0] =
@@ -5553,7 +5549,7 @@ static int __iw_set_essid(struct net_device *dev,
}
case WAPI_AUTH_MODE_CERT:
{
- hdd_notice("WAPI AUTH TYPE: CERT: %d",
+ hdd_debug("WAPI AUTH TYPE: CERT: %d",
pAdapter->wapi_info.wapiAuthMode);
pRoamProfile->AuthType.numEntries = 1;
pRoamProfile->AuthType.authType[0] =
@@ -5563,7 +5559,7 @@ static int __iw_set_essid(struct net_device *dev,
} /* End of switch */
if (pAdapter->wapi_info.wapiAuthMode == WAPI_AUTH_MODE_PSK ||
pAdapter->wapi_info.wapiAuthMode == WAPI_AUTH_MODE_CERT) {
- hdd_notice("WAPI PAIRWISE/GROUP ENCRYPTION: WPI");
+ hdd_debug("WAPI PAIRWISE/GROUP ENCRYPTION: WPI");
pRoamProfile->EncryptionType.numEntries = 1;
pRoamProfile->EncryptionType.encryptionType[0] =
eCSR_ENCRYPT_TYPE_WPI;
@@ -5640,7 +5636,7 @@ static int __iw_set_essid(struct net_device *dev,
if ((QDF_STATUS_SUCCESS != status) &&
(QDF_STA_MODE == pAdapter->device_mode ||
QDF_P2P_CLIENT_MODE == pAdapter->device_mode)) {
- hdd_err("sme_roam_connect (session %d) failed with status %d. -> NotConnected",
+ hdd_err("sme_roam_connect failed session_id: %d status %d -> NotConnected",
pAdapter->sessionId, status);
/* change back to NotAssociated */
hdd_conn_set_connection_state(pAdapter,
@@ -5896,7 +5892,7 @@ static int __iw_set_auth(struct net_device *dev, struct iw_request_info *info,
#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) {
- hdd_info("CCKM AKM Set %d", wrqu->param.value);
+ hdd_debug("CCKM AKM Set %d", wrqu->param.value);
/* Set the CCKM bit in authKeyMgmt */
/*
* Right now, this breaks all ref to authKeyMgmt because
@@ -5940,12 +5936,12 @@ static int __iw_set_auth(struct net_device *dev, struct iw_request_info *info,
case IW_AUTH_TKIP_COUNTERMEASURES:
{
if (wrqu->param.value) {
- hdd_info("Counter Measure started %d",
+ hdd_debug("Counter Measure started %d",
wrqu->param.value);
pWextState->mTKIPCounterMeasures =
TKIP_COUNTER_MEASURE_STARTED;
} else {
- hdd_info("Counter Measure stopped=%d",
+ hdd_debug("Counter Measure stopped=%d",
wrqu->param.value);
pWextState->mTKIPCounterMeasures =
TKIP_COUNTER_MEASURE_STOPED;
@@ -6037,14 +6033,14 @@ static int __iw_get_auth(struct net_device *dev, struct iw_request_info *info,
wrqu->param.value = IW_AUTH_ALG_SHARED_KEY;
break;
case eCSR_AUTH_TYPE_UNKNOWN:
- hdd_info("called with unknown auth type");
+ hdd_debug("called with unknown auth type");
wrqu->param.value = IW_AUTH_ALG_OPEN_SYSTEM;
break;
case eCSR_AUTH_TYPE_AUTOSWITCH:
wrqu->param.value = IW_AUTH_ALG_OPEN_SYSTEM;
break;
case eCSR_AUTH_TYPE_WPA_PSK:
- hdd_info("called with WPA PSK auth type");
+ hdd_debug("called with WPA PSK auth type");
wrqu->param.value = IW_AUTH_ALG_OPEN_SYSTEM;
return -EIO;
@@ -6054,11 +6050,12 @@ static int __iw_get_auth(struct net_device *dev, struct iw_request_info *info,
case eCSR_AUTH_TYPE_RSN_PSK_SHA256:
case eCSR_AUTH_TYPE_RSN_8021X_SHA256:
#endif
- hdd_info("called with RSN PSK auth type");
+ hdd_debug("called with RSN PSK auth type");
wrqu->param.value = IW_AUTH_ALG_OPEN_SYSTEM;
return -EIO;
default:
- hdd_err("called with unknown auth type");
+ hdd_warn("Unknown auth type: %d",
+ pRoamProfile->negotiatedAuthType);
wrqu->param.value = IW_AUTH_ALG_OPEN_SYSTEM;
return -EIO;
}
@@ -6082,7 +6079,7 @@ static int __iw_get_auth(struct net_device *dev, struct iw_request_info *info,
wrqu->param.value = IW_AUTH_CIPHER_CCMP;
break;
default:
- hdd_notice("called with unknown auth type %d",
+ hdd_warn("called with unknown auth type %d",
pRoamProfile->negotiatedUCEncryptionType);
return -EIO;
}
@@ -6108,13 +6105,13 @@ static int __iw_get_auth(struct net_device *dev, struct iw_request_info *info,
wrqu->param.value = IW_AUTH_CIPHER_CCMP;
break;
default:
- hdd_info("called with unknown auth type %d",
+ hdd_err("called with unknown auth type %d",
pRoamProfile->negotiatedMCEncryptionType);
return -EIO;
}
}
- hdd_info("called with auth type %d",
+ hdd_debug("called with auth type %d",
pRoamProfile->AuthType.authType[0]);
EXIT();
return 0;
@@ -6175,7 +6172,7 @@ static int __iw_set_ap_address(struct net_device *dev,
return ret;
pMacAddress = (uint8_t *) wrqu->ap_addr.sa_data;
- hdd_info(" " MAC_ADDRESS_STR, MAC_ADDR_ARRAY(pMacAddress));
+ hdd_debug(" " MAC_ADDRESS_STR, MAC_ADDR_ARRAY(pMacAddress));
qdf_mem_copy(pHddStaCtx->conn_info.bssId.bytes, pMacAddress,
sizeof(struct qdf_mac_addr));
EXIT();