From f6fb4c5eaa7a13bdaafd96a2cfced58970adff24 Mon Sep 17 00:00:00 2001 From: Yeshwanth Sriram Guntuka Date: Tue, 2 May 2017 16:57:13 +0530 Subject: qcacld-3.0: Remove unnecessary kernel message Moved unnecessary kernel message to debug logs where ever not required in kernel logs Change-Id: If7b69fbdc4afea4597d38a44f786ee221ee917b2 CRs-Fixed: 2042092 --- core/hdd/src/wlan_hdd_assoc.c | 68 +++++++++++++++++++------------------- core/hdd/src/wlan_hdd_regulatory.c | 2 +- core/hdd/src/wlan_hdd_tdls.c | 64 +++++++++++++++++------------------ core/hdd/src/wlan_hdd_wmm.c | 24 +++++++------- 4 files changed, 79 insertions(+), 79 deletions(-) diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c index 1ec80454317c..9471ed7c6c57 100644 --- a/core/hdd/src/wlan_hdd_assoc.c +++ b/core/hdd/src/wlan_hdd_assoc.c @@ -1336,10 +1336,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_info("wlan: new IBSS connection to " MAC_ADDRESS_STR, + hdd_debug("wlan: new IBSS connection to " MAC_ADDRESS_STR, MAC_ADDR_ARRAY(pHddStaCtx->conn_info.bssId.bytes)); } else { /* Not Associated */ - hdd_info("wlan: disconnected"); + hdd_debug("wlan: disconnected"); memset(wrqu.ap_addr.sa_data, '\0', ETH_ALEN); cds_decr_session_set_pcl(pAdapter->device_mode, pAdapter->sessionId); @@ -1463,38 +1463,38 @@ static void hdd_print_bss_info(hdd_station_ctx_t *hdd_sta_ctx) { uint32_t *cap_info; - hdd_info("WIFI DATA LOGGER"); - hdd_info("channel: %d", + hdd_debug("WIFI DATA LOGGER"); + hdd_debug("channel: %d", hdd_sta_ctx->conn_info.freq); - hdd_info("dot11mode: %d", + hdd_debug("dot11mode: %d", hdd_sta_ctx->conn_info.dot11Mode); - hdd_info("AKM: %d", - hdd_sta_ctx->conn_info.last_auth_type); - hdd_info("ssid: %.*s", + hdd_debug("AKM: %d", + hdd_sta_ctx->conn_info.last_auth_type); + hdd_debug("ssid: %.*s", hdd_sta_ctx->conn_info.last_ssid.SSID.length, hdd_sta_ctx->conn_info.last_ssid.SSID.ssId); - hdd_info("roam count: %d", + hdd_debug("roam count: %d", hdd_sta_ctx->conn_info.roam_count); - hdd_info("ant_info: %d", + hdd_debug("ant_info: %d", hdd_sta_ctx->conn_info.txrate.nss); - hdd_info("datarate legacy %d", + hdd_debug("datarate legacy %d", hdd_sta_ctx->conn_info.txrate.legacy); - hdd_info("datarate mcs: %d", + hdd_debug("datarate mcs: %d", hdd_sta_ctx->conn_info.txrate.mcs); if (hdd_sta_ctx->conn_info.conn_flag.ht_present) { cap_info = (uint32_t *)&hdd_sta_ctx->conn_info.ht_caps; - hdd_info("ht caps: %x", *cap_info); + hdd_debug("ht caps: %x", *cap_info); } if (hdd_sta_ctx->conn_info.conn_flag.vht_present) { cap_info = (uint32_t *)&hdd_sta_ctx->conn_info.vht_caps; - hdd_info("vht caps: %x", *cap_info); + hdd_debug("vht caps: %x", *cap_info); } if (hdd_sta_ctx->conn_info.conn_flag.hs20_present) - hdd_info("hs20 info: %x", + hdd_debug("hs20 info: %x", hdd_sta_ctx->conn_info.hs20vendor_ie.release_num); - hdd_info("signal: %d", + hdd_debug("signal: %d", hdd_sta_ctx->conn_info.signal); - hdd_info("noise: %d", + hdd_debug("noise: %d", hdd_sta_ctx->conn_info.noise); } @@ -1601,7 +1601,7 @@ static QDF_STATUS hdd_dis_connect_handler(hdd_adapter_t *pAdapter, ); } - hdd_info("sent disconnected event to nl80211, reason code %d", + hdd_debug("sent disconnected event to nl80211, reason code %d", (eCSR_ROAM_LOSTLINK == roamStatus) ? pRoamInfo->reasonCode : WLAN_REASON_UNSPECIFIED); @@ -2254,7 +2254,7 @@ static QDF_STATUS hdd_roam_set_key_complete_handler(hdd_adapter_t *pAdapter, * (those that do not require upper layer authentication) we can put TL * directly into 'authenticated' state. */ - hdd_info("Set Key completion roamStatus =%d roamResult=%d " + hdd_debug("Set Key completion roamStatus =%d roamResult=%d " MAC_ADDRESS_STR, roamStatus, roamResult, MAC_ADDR_ARRAY(pRoamInfo->peerMac.bytes)); @@ -2273,7 +2273,7 @@ static QDF_STATUS hdd_roam_set_key_complete_handler(hdd_adapter_t *pAdapter, &pRoamInfo->peerMac, &staId); if (QDF_STATUS_SUCCESS == qdf_status) { - hdd_info("WLAN TL STA Ptk Installed for STAID=%d", + hdd_debug("WLAN TL STA Ptk Installed for STAID=%d", staId); pHddStaCtx->roam_info.roamingState = HDD_ROAM_STATE_NONE; @@ -2842,7 +2842,7 @@ static QDF_STATUS hdd_association_completion_handler(hdd_adapter_t *pAdapter, * hdd_roam_register_sta will flush any cached * data frames immediately. */ - hdd_info("Enabling queues"); + hdd_debug("Enabling queues"); wlan_hdd_netif_queue_control(pAdapter, WLAN_WAKE_ALL_NETIF_QUEUE, WLAN_CONTROL_PATH); @@ -2915,7 +2915,7 @@ static QDF_STATUS hdd_association_completion_handler(hdd_adapter_t *pAdapter, if (pRoamInfo->roamSynchInProgress) hdd_debug("LFR3:netif_tx_wake_all_queues"); #endif - hdd_info("Enabling queues"); + hdd_debug("Enabling queues"); wlan_hdd_netif_queue_control(pAdapter, WLAN_WAKE_ALL_NETIF_QUEUE, WLAN_CONTROL_PATH); @@ -3056,7 +3056,7 @@ static QDF_STATUS hdd_association_completion_handler(hdd_adapter_t *pAdapter, } hdd_wmm_init(pAdapter); - hdd_info("Disabling queues"); + hdd_debug("Disabling queues"); wlan_hdd_netif_queue_control(pAdapter, WLAN_STOP_ALL_NETIF_QUEUE_N_CARRIER, WLAN_CONTROL_PATH); @@ -3145,7 +3145,7 @@ static void hdd_roam_ibss_indication_handler(hdd_adapter_t *pAdapter, unsigned int freq; #endif /* we created the IBSS, notify supplicant */ - hdd_info("%s: created ibss " MAC_ADDRESS_STR, + hdd_debug("%s: created ibss " MAC_ADDRESS_STR, pAdapter->dev->name, MAC_ADDR_ARRAY( pRoamInfo->pBssDesc->bssId)); @@ -3158,7 +3158,7 @@ static void hdd_roam_ibss_indication_handler(hdd_adapter_t *pAdapter, pAdapter->dev->name); return; } - hdd_info("Enabling queues"); + hdd_debug("Enabling queues"); wlan_hdd_netif_queue_control(pAdapter, WLAN_START_ALL_NETIF_QUEUE_N_CARRIER, WLAN_CONTROL_PATH); @@ -3466,7 +3466,7 @@ roam_roam_connect_status_update_handler(hdd_adapter_t *pAdapter, WLAN_HDD_GET_STATION_CTX_PTR(pAdapter); struct station_info *stainfo; - hdd_info("IBSS New Peer indication from SME " + hdd_debug("IBSS New Peer indication from SME " "with peerMac " MAC_ADDRESS_STR " BSSID: " MAC_ADDRESS_STR " and stationID= %d", MAC_ADDR_ARRAY(pRoamInfo->peerMac.bytes), @@ -3524,7 +3524,7 @@ roam_roam_connect_status_update_handler(hdd_adapter_t *pAdapter, qdf_copy_macaddr(&pHddStaCtx->ibss_enc_key.peerMac, &pRoamInfo->peerMac); - hdd_info("New peer joined set PTK encType=%d", + hdd_debug("New peer joined set PTK encType=%d", pHddStaCtx->ibss_enc_key.encType); qdf_status = @@ -3540,7 +3540,7 @@ roam_roam_connect_status_update_handler(hdd_adapter_t *pAdapter, return QDF_STATUS_E_FAILURE; } } - hdd_info("Enabling queues"); + hdd_debug("Enabling queues"); wlan_hdd_netif_queue_control(pAdapter, WLAN_START_ALL_NETIF_QUEUE_N_CARRIER, WLAN_CONTROL_PATH); @@ -3562,7 +3562,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_info("IBSS Peer Departed from SME " + hdd_debug("IBSS Peer Departed from SME " "with peerMac " MAC_ADDRESS_STR " BSSID: " MAC_ADDRESS_STR " and stationID= %d", MAC_ADDR_ARRAY(pRoamInfo->peerMac.bytes), @@ -3583,7 +3583,7 @@ roam_roam_connect_status_update_handler(hdd_adapter_t *pAdapter, { hdd_debug("Received eCSR_ROAM_RESULT_IBSS_INACTIVE from SME"); /* Stop only when we are inactive */ - hdd_info("Disabling queues"); + hdd_debug("Disabling queues"); wlan_hdd_netif_queue_control(pAdapter, WLAN_STOP_ALL_NETIF_QUEUE_N_CARRIER, WLAN_CONTROL_PATH); @@ -4869,7 +4869,7 @@ hdd_sme_roam_callback(void *pContext, tCsrRoamInfo *pRoamInfo, uint32_t roamId, * doing disassoc at this time. This saves 30-60 msec * after reassoc. */ - hdd_info("Disabling queues"); + hdd_debug("Disabling queues"); hdd_debug("Roam Synch Ind: NAPI Serialize ON"); hdd_napi_serialize(1); wlan_hdd_netif_queue_control(pAdapter, @@ -4881,7 +4881,7 @@ hdd_sme_roam_callback(void *pContext, tCsrRoamInfo *pRoamInfo, uint32_t roamId, qdf_ret_status = QDF_STATUS_E_FAILURE; pHddStaCtx->ft_carrier_on = true; pHddStaCtx->hdd_ReassocScenario = true; - hdd_info("hdd_ReassocScenario set to: %d, due to eCSR_ROAM_FT_START, session: %d", + hdd_debug("hdd_ReassocScenario set to: %d, due to eCSR_ROAM_FT_START, session: %d", pHddStaCtx->hdd_ReassocScenario, pAdapter->sessionId); break; case eCSR_ROAM_NAPI_OFF: @@ -4909,7 +4909,7 @@ hdd_sme_roam_callback(void *pContext, tCsrRoamInfo *pRoamInfo, uint32_t roamId, case eCSR_ROAM_LOSTLINK: if (roamResult == eCSR_ROAM_RESULT_LOSTLINK) { hdd_debug("Roaming started due to connection lost"); - hdd_info("Disabling queues"); + hdd_debug("Disabling queues"); wlan_hdd_netif_queue_control(pAdapter, WLAN_STOP_ALL_NETIF_QUEUE_N_CARRIER, WLAN_CONTROL_PATH); @@ -5675,7 +5675,7 @@ int hdd_set_csr_auth_type(hdd_adapter_t *pAdapter, eCsrAuthType RSNAuthType) RSNAuthType)) { pRoamProfile->AuthType.authType[0] = RSNAuthType; - hdd_info("updated profile authtype as %d", + hdd_debug("updated profile authtype as %d", RSNAuthType); } else if ((pWextState-> diff --git a/core/hdd/src/wlan_hdd_regulatory.c b/core/hdd/src/wlan_hdd_regulatory.c index 79e7f4df7e9e..bfd8be5d6cc2 100644 --- a/core/hdd/src/wlan_hdd_regulatory.c +++ b/core/hdd/src/wlan_hdd_regulatory.c @@ -618,7 +618,7 @@ void hdd_reg_notifier(struct wiphy *wiphy, bool reset = false; enum dfs_region dfs_reg; - hdd_info("country: %c%c, initiator %d, dfs_region: %d", + hdd_debug("country: %c%c, initiator %d, dfs_region: %d", request->alpha2[0], request->alpha2[1], request->initiator, diff --git a/core/hdd/src/wlan_hdd_tdls.c b/core/hdd/src/wlan_hdd_tdls.c index d0c891babf02..24f3c23598f3 100644 --- a/core/hdd/src/wlan_hdd_tdls.c +++ b/core/hdd/src/wlan_hdd_tdls.c @@ -109,7 +109,7 @@ static void wlan_hdd_tdls_determine_channel_opclass(hdd_context_t *hddctx, *channel = curr_peer->pref_off_chan_num; *opclass = curr_peer->op_class_for_pref_off_chan; } - hdd_info("channel:%d opclass:%d", *channel, *opclass); + hdd_debug("channel:%d opclass:%d", *channel, *opclass); } #ifdef FEATURE_WLAN_DIAG_SUPPORT @@ -732,7 +732,7 @@ void hdd_tdls_context_init(hdd_context_t *hdd_ctx, bool ssr) * standalone STA mode */ hdd_ctx->enable_tdls_connection_tracker = false; - hdd_info("hdd_ctx->enable_tdls_connection_tracker: 0"); + hdd_debug("hdd_ctx->enable_tdls_connection_tracker: 0"); } /** @@ -747,7 +747,7 @@ void hdd_tdls_context_destroy(hdd_context_t *hdd_ctx) { hdd_ctx->tdls_external_peer_count = 0; hdd_ctx->enable_tdls_connection_tracker = false; - hdd_info("hdd_ctx->enable_tdls_connection_tracker: 0"); + hdd_debug("hdd_ctx->enable_tdls_connection_tracker: 0"); mutex_destroy(&hdd_ctx->tdls_lock); qdf_spinlock_destroy(&hdd_ctx->tdls_ct_spinlock); } @@ -949,7 +949,7 @@ static void wlan_hdd_tdls_peer_idle_timers_destroy(tdlsCtx_t *hdd_tdls_ctx) curr_peer = list_entry(pos, hddTdlsPeer_t, node); if (curr_peer != NULL && curr_peer->is_peer_idle_timer_initialised) { - hdd_info(MAC_ADDRESS_STR ": destroy idle timer", + hdd_debug(MAC_ADDRESS_STR ": destroy idle timer", MAC_ADDR_ARRAY(curr_peer->peerMac)); qdf_mc_timer_stop(&curr_peer->peer_idle_timer); qdf_mc_timer_destroy(&curr_peer->peer_idle_timer); @@ -1136,7 +1136,7 @@ void wlan_hdd_tdls_set_peer_link_status(hddTdlsPeer_t *curr_peer, curr_peer->reason = reason; - hdd_info("Peer is forced and the reason:%d", reason); + hdd_debug("Peer is forced and the reason:%d", reason); wlan_hdd_tdls_determine_channel_opclass(pHddCtx, adapter, curr_peer, &channel, &opclass); @@ -1938,7 +1938,7 @@ void wlan_hdd_update_tdls_info(hdd_adapter_t *adapter, bool tdls_prohibited, goto done; } - hdd_info("tdls_prohibited: %d, tdls_chan_swit_prohibited: %d", + hdd_debug("tdls_prohibited: %d, tdls_chan_swit_prohibited: %d", tdls_prohibited, tdls_chan_swit_prohibited); mutex_lock(&hdd_ctx->tdls_lock); @@ -2056,7 +2056,7 @@ void wlan_hdd_update_tdls_info(hdd_adapter_t *adapter, bool tdls_prohibited, hdd_ctx->set_state_info.set_state_cnt--; } - hdd_info("TDLS Set state cnt %d", + hdd_debug("TDLS Set state cnt %d", hdd_ctx->set_state_info.set_state_cnt); mutex_unlock(&hdd_ctx->tdls_lock); @@ -2081,7 +2081,7 @@ void wlan_hdd_tdls_notify_connect(hdd_adapter_t *adapter, { hdd_context_t *hdd_ctx; - hdd_info("Check and update TDLS state"); + hdd_debug("Check and update TDLS state"); if (cds_mode_specific_connection_count(CDS_SAP_MODE, NULL) >= 1) { hdd_debug("SAP sessions exist, TDLS can't be enabled"); @@ -2134,7 +2134,7 @@ void wlan_hdd_tdls_notify_disconnect(hdd_adapter_t *adapter, bool lfr_roam) hdd_adapter_t *temp_adapter; hdd_context_t *hdd_ctx = WLAN_HDD_GET_CTX(adapter); - hdd_info("Check and update TDLS state"); + hdd_debug("Check and update TDLS state"); /* Disassociation event */ if (adapter->device_mode == QDF_STA_MODE || @@ -3040,7 +3040,7 @@ void wlan_hdd_tdls_indicate_teardown(hdd_adapter_t *pAdapter, wlan_hdd_tdls_set_peer_link_status(curr_peer, eTDLS_LINK_TEARING, eTDLS_LINK_UNSPECIFIED); - hdd_info("Teardown reason %d", reason); + hdd_debug("Teardown reason %d", reason); cfg80211_tdls_oper_request(pAdapter->dev, curr_peer->peerMac, NL80211_TDLS_TEARDOWN, reason, GFP_KERNEL); @@ -3404,49 +3404,49 @@ __wlan_hdd_cfg80211_configure_tdls_mode(struct wiphy *wiphy, if (tb[QCA_WLAN_VENDOR_ATTR_TDLS_CONFIG_TX_STATS_PERIOD]) { hdd_tdls_ctx->threshold_config.tx_period_t = nla_get_u32( tb[QCA_WLAN_VENDOR_ATTR_TDLS_CONFIG_TX_STATS_PERIOD]); - hdd_info("attr tdls tx stats period %d", + hdd_debug("attr tdls tx stats period %d", hdd_tdls_ctx->threshold_config.tx_period_t); } if (tb[QCA_WLAN_VENDOR_ATTR_TDLS_CONFIG_TX_THRESHOLD]) { hdd_tdls_ctx->threshold_config.tx_packet_n = nla_get_u32( tb[QCA_WLAN_VENDOR_ATTR_TDLS_CONFIG_TX_THRESHOLD]); - hdd_info("attr tdls tx packet period %d", + hdd_debug("attr tdls tx packet period %d", hdd_tdls_ctx->threshold_config.tx_packet_n); } if (tb[QCA_WLAN_VENDOR_ATTR_TDLS_CONFIG_MAX_DISCOVERY_ATTEMPT]) { hdd_tdls_ctx->threshold_config.discovery_tries_n = nla_get_u32( tb[QCA_WLAN_VENDOR_ATTR_TDLS_CONFIG_MAX_DISCOVERY_ATTEMPT]); - hdd_info("attr tdls max discovery attempt %d", + hdd_debug("attr tdls max discovery attempt %d", hdd_tdls_ctx->threshold_config.discovery_tries_n); } if (tb[QCA_WLAN_VENDOR_ATTR_TDLS_CONFIG_IDLE_TIMEOUT]) { hdd_tdls_ctx->threshold_config.idle_timeout_t = nla_get_u32( tb[QCA_WLAN_VENDOR_ATTR_TDLS_CONFIG_IDLE_TIMEOUT]); - hdd_info("attr tdls idle time out period %d", + hdd_debug("attr tdls idle time out period %d", hdd_tdls_ctx->threshold_config.idle_timeout_t); } if (tb[QCA_WLAN_VENDOR_ATTR_TDLS_CONFIG_IDLE_PACKET_THRESHOLD]) { hdd_tdls_ctx->threshold_config.idle_packet_n = nla_get_u32( tb[QCA_WLAN_VENDOR_ATTR_TDLS_CONFIG_IDLE_PACKET_THRESHOLD]); - hdd_info("attr tdls idle pkt threshold %d", + hdd_debug("attr tdls idle pkt threshold %d", hdd_tdls_ctx->threshold_config.idle_packet_n); } if (tb[QCA_WLAN_VENDOR_ATTR_TDLS_CONFIG_SETUP_RSSI_THRESHOLD]) { hdd_tdls_ctx->threshold_config.rssi_trigger_threshold = nla_get_s32( tb[QCA_WLAN_VENDOR_ATTR_TDLS_CONFIG_SETUP_RSSI_THRESHOLD]); - hdd_info("attr tdls rssi trigger threshold %d", + hdd_debug("attr tdls rssi trigger threshold %d", hdd_tdls_ctx->threshold_config.rssi_trigger_threshold); } if (tb[QCA_WLAN_VENDOR_ATTR_TDLS_CONFIG_TEARDOWN_RSSI_THRESHOLD]) { hdd_tdls_ctx->threshold_config.rssi_teardown_threshold = nla_get_s32( tb[QCA_WLAN_VENDOR_ATTR_TDLS_CONFIG_TEARDOWN_RSSI_THRESHOLD]); - hdd_info("attr tdls tx stats period %d", + hdd_debug("attr tdls tx stats period %d", hdd_tdls_ctx->threshold_config.rssi_teardown_threshold); } @@ -4314,7 +4314,7 @@ static int __wlan_hdd_cfg80211_tdls_mgmt(struct wiphy *wiphy, /* TDLS NSS switch is fully completed, so * reset the flags. */ - hdd_info("TDLS NSS switch is fully completed"); + hdd_debug("TDLS NSS switch is fully completed"); pHddCtx->tdls_nss_switch_in_progress = false; pHddCtx->tdls_nss_teardown_complete = false; } else { @@ -4322,13 +4322,13 @@ static int __wlan_hdd_cfg80211_tdls_mgmt(struct wiphy *wiphy, * tdls teardown is completed for all the * peers. */ - hdd_info("TDLS teardown is completed and NSS switch still in progress"); + hdd_debug("TDLS teardown is completed and NSS switch still in progress"); pHddCtx->tdls_nss_teardown_complete = true; } } mutex_unlock(&pHddCtx->tdls_lock); } - hdd_info("Wait for tdls_mgmt_comp. Timeout %u ms", + hdd_debug("Wait for tdls_mgmt_comp. Timeout %u ms", WAIT_TIME_TDLS_MGMT); rc = wait_for_completion_timeout(&pAdapter->tdls_mgmt_comp, @@ -4375,7 +4375,7 @@ static int __wlan_hdd_cfg80211_tdls_mgmt(struct wiphy *wiphy, pAdapter->mgmtTxCompletionStatus = false; return -EINVAL; } - hdd_info("Mgmt Tx Completion status %ld TxCompletion %u", + hdd_debug("Mgmt Tx Completion status %ld TxCompletion %u", rc, pAdapter->mgmtTxCompletionStatus); if (max_sta_failed) @@ -4810,7 +4810,7 @@ static int __wlan_hdd_cfg80211_tdls_oper(struct wiphy *wiphy, if (eTDLS_LINK_CONNECTED != peer_status) { if (IS_ADVANCE_TDLS_ENABLE) { - hdd_info("Advance TDLS is enabled"); + hdd_debug("Advance TDLS is enabled"); if (0 != wlan_hdd_tdls_get_link_establish_params (pAdapter, peer, @@ -5033,7 +5033,7 @@ static int __wlan_hdd_cfg80211_tdls_oper(struct wiphy *wiphy, SME_AC_BE}; uint8_t tlTid[4] = { 7, 5, 2, 3 }; - hdd_info("Update TL about UAPSD masks"); + hdd_debug("Update TL about UAPSD masks"); for (ac = 0; ac < 4; ac++) { status = sme_enable_uapsd_for_ac( (WLAN_HDD_GET_CTX(pAdapter))->pcds_context, @@ -5443,7 +5443,7 @@ int hdd_set_tdls_offchannelmode(hdd_adapter_t *adapter, int offchanmode) qdf_mem_copy(&chan_switch_params.peer_mac_addr, &conn_peer->peerMac, sizeof(tSirMacAddr)); - hdd_info("Peer " MAC_ADDRESS_STR + hdd_debug("Peer " MAC_ADDRESS_STR " vdevId: %d, off channel: %d, offset: %d, mode: %d, is_responder: %d", MAC_ADDR_ARRAY(chan_switch_params.peer_mac_addr), chan_switch_params.vdev_id, @@ -5810,7 +5810,7 @@ static void wlan_hdd_tdls_idle_handler(void *user_data) goto error_idle_return; } - hdd_info(MAC_ADDRESS_STR " tx_pkt: %d, rx_pkt: %d, idle_packet_n: %d", + hdd_debug(MAC_ADDRESS_STR " tx_pkt: %d, rx_pkt: %d, idle_packet_n: %d", MAC_ADDR_ARRAY(curr_peer->peerMac), curr_peer->tx_pkt, curr_peer->rx_pkt, @@ -5824,12 +5824,12 @@ static void wlan_hdd_tdls_idle_handler(void *user_data) (curr_peer->rx_pkt >= curr_peer->pHddTdlsCtx->threshold_config.idle_packet_n)) { /* this tdls link got back to normal, so keep it */ - hdd_info("tdls link to " MAC_ADDRESS_STR + hdd_debug("tdls link to " MAC_ADDRESS_STR " back to normal, will stay", MAC_ADDR_ARRAY(curr_peer->peerMac)); } else { /* this tdls link needs to get torn down */ - hdd_info("trigger tdls link to "MAC_ADDRESS_STR + hdd_debug("trigger tdls link to "MAC_ADDRESS_STR " down", MAC_ADDR_ARRAY(curr_peer->peerMac)); wlan_hdd_tdls_indicate_teardown(curr_peer->pHddTdlsCtx->pAdapter, curr_peer, @@ -5860,12 +5860,12 @@ static void tdls_ct_process_idle_and_discovery(hddTdlsPeer_t *curr_peer, if ((curr_peer->tx_pkt + curr_peer->rx_pkt) >= hdd_tdls_ctx->threshold_config.tx_packet_n) { if (HDD_MAX_NUM_TDLS_STA > valid_peers) { - hdd_info("Tput trigger TDLS pre-setup"); + hdd_debug("Tput trigger TDLS pre-setup"); hdd_tdls_ctx->curr_candidate = curr_peer; wlan_hdd_tdls_implicit_send_discovery_request( hdd_tdls_ctx); } else { - hdd_info("Maximum peers connected already! %d", + hdd_debug("Maximum peers connected already! %d", valid_peers); } } @@ -6199,7 +6199,7 @@ static int wlan_hdd_tdls_teardown_links(hdd_context_t *hddctx, continue; } - hdd_info("Indicate TDLS teardown (staId %d)", + hdd_debug("Indicate TDLS teardown (staId %d)", curr_peer->staId); wlan_hdd_tdls_indicate_teardown( @@ -6212,7 +6212,7 @@ static int wlan_hdd_tdls_teardown_links(hdd_context_t *hddctx, mutex_lock(&hddctx->tdls_lock); if (hddctx->tdls_teardown_peers_cnt >= 1) { hddctx->tdls_nss_switch_in_progress = true; - hdd_info("TDLS peers to be torn down = %d", + hdd_debug("TDLS peers to be torn down = %d", hddctx->tdls_teardown_peers_cnt); /* Antenna switch 2x2 to 1x1 */ if (mode == HDD_ANTENNA_MODE_1X1) { @@ -6225,7 +6225,7 @@ static int wlan_hdd_tdls_teardown_links(hdd_context_t *hddctx, TDLS_NSS_TRANSITION_1x1_to_2x2; ret = 0; } - hdd_info("TDLS teardown for antenna switch operation starts"); + hdd_debug("TDLS teardown for antenna switch operation starts"); } mutex_unlock(&hddctx->tdls_lock); return ret; diff --git a/core/hdd/src/wlan_hdd_wmm.c b/core/hdd/src/wlan_hdd_wmm.c index 7418721c4e76..f98763870797 100644 --- a/core/hdd/src/wlan_hdd_wmm.c +++ b/core/hdd/src/wlan_hdd_wmm.c @@ -505,13 +505,13 @@ static QDF_STATUS hdd_wmm_sme_callback(tHalHandle hHal, acType = pQosContext->acType; pAc = &pAdapter->hddWmmStatus.wmmAcStatus[acType]; - hdd_info("status %d flowid %d info %pK", + hdd_debug("status %d flowid %d info %pK", smeStatus, qosFlowId, pCurrentQosInfo); switch (smeStatus) { case SME_QOS_STATUS_SETUP_SUCCESS_IND: - hdd_info("Setup is complete"); + hdd_debug("Setup is complete"); /* there will always be a TSPEC returned with this * status, even if a TSPEC is not exchanged OTA @@ -793,7 +793,7 @@ static QDF_STATUS hdd_wmm_sme_callback(tHalHandle hHal, pAc->wmmAcAccessGranted = false; pAc->wmmAcAccessFailed = false; } else { - hdd_info("Explicit Qos, notifying user space"); + hdd_debug("Explicit Qos, notifying user space"); /* this was triggered by an application */ pQosContext->lastStatus = HDD_WLAN_WMM_STATUS_LOST; @@ -805,7 +805,7 @@ static QDF_STATUS hdd_wmm_sme_callback(tHalHandle hHal, break; case SME_QOS_STATUS_RELEASE_REQ_PENDING_RSP: - hdd_info("Release pending"); + hdd_debug("Release pending"); /* not a callback status -- ignore if we get it */ break; @@ -820,7 +820,7 @@ static QDF_STATUS hdd_wmm_sme_callback(tHalHandle hHal, break; case SME_QOS_STATUS_MODIFY_SETUP_SUCCESS_IND: - hdd_info("Modification is complete, notify TL"); + hdd_debug("Modification is complete, notify TL"); /* there will always be a TSPEC returned with this * status, even if a TSPEC is not exchanged OTA @@ -865,7 +865,7 @@ static QDF_STATUS hdd_wmm_sme_callback(tHalHandle hHal, break; case SME_QOS_STATUS_MODIFY_SETUP_PENDING_RSP: - hdd_info("modification pending"); + hdd_debug("modification pending"); /* not a callback status -- ignore if we get it */ break; @@ -1019,7 +1019,7 @@ static void __hdd_wmm_do_implicit_qos(struct work_struct *work) acType = pQosContext->acType; pAc = &pAdapter->hddWmmStatus.wmmAcStatus[acType]; - hdd_info("pAdapter %pK acType %d", pAdapter, acType); + hdd_debug("pAdapter %pK acType %d", pAdapter, acType); if (!pAc->wmmAcAccessNeeded) { hdd_err("AC %d doesn't need service", acType); @@ -1195,7 +1195,7 @@ static void __hdd_wmm_do_implicit_qos(struct work_struct *work) /* setup is pending, so no more work to do now. all * further work will be done in hdd_wmm_sme_callback() */ - hdd_info("Setup is pending, no further work"); + hdd_debug("Setup is pending, no further work"); break; @@ -1217,7 +1217,7 @@ static void __hdd_wmm_do_implicit_qos(struct work_struct *work) /* for these cases everything is already setup so we * can signal TL that it has work to do */ - hdd_info("Setup is complete, notify TL"); + hdd_debug("Setup is complete, notify TL"); pAc->wmmAcAccessAllowed = true; pAc->wmmAcAccessGranted = true; @@ -2262,7 +2262,7 @@ hdd_wlan_wmm_status_e hdd_wmm_delts(hdd_adapter_t *pAdapter, uint32_t handle) return HDD_WLAN_WMM_STATUS_RELEASE_FAILED_BAD_PARAM; } - hdd_info("found handle 0x%x, flow %d, AC %d, context %pK", + hdd_debug("found handle 0x%x, flow %d, AC %d, context %pK", handle, qosFlowId, acType, pQosContext); #ifndef WLAN_MDM_CODE_REDUCTION_OPT @@ -2270,7 +2270,7 @@ hdd_wlan_wmm_status_e hdd_wmm_delts(hdd_adapter_t *pAdapter, uint32_t handle) sme_qos_release_req(WLAN_HDD_GET_HAL_CTX(pAdapter), pAdapter->sessionId, qosFlowId); - hdd_info("SME flow %d released, SME status %d", qosFlowId, smeStatus); + hdd_debug("SME flow %d released, SME status %d", qosFlowId, smeStatus); switch (smeStatus) { case SME_QOS_STATUS_RELEASE_SUCCESS_RSP: @@ -2352,7 +2352,7 @@ hdd_wlan_wmm_status_e hdd_wmm_checkts(hdd_adapter_t *pAdapter, uint32_t handle) list_for_each_entry(pQosContext, &pAdapter->hddWmmStatus.wmmContextList, node) { if (pQosContext->handle == handle) { - hdd_info("found handle 0x%x, context %pK", + hdd_debug("found handle 0x%x, context %pK", handle, pQosContext); status = pQosContext->lastStatus; -- cgit v1.2.3