qcacld-3.0: Add MTRACE logs for missing cfg80211_ops callbacks
qcacld-2.0 to qcacld-3.0 propagation Currently, MTRACE logs are not captured for few cfg80211_ops callbacks and SME functions. Add missing MTRACE logs in cfg80211_ops callbacks before calling SME function and also in few SME functions. Change-Id: Iced4b80de60f9640cad0342afac57f9a17c2a3e2 CRs-Fixed: 859961
This commit is contained in:

committed by
Satish Singh

parent
a0acf2ea9e
commit
14b3b9903c
@@ -81,6 +81,8 @@
|
|||||||
ENUM(TRACE_CODE_HDD_CHANGE_STATION) \
|
ENUM(TRACE_CODE_HDD_CHANGE_STATION) \
|
||||||
ENUM(TRACE_CODE_HDD_CFG80211_UPDATE_BSS) \
|
ENUM(TRACE_CODE_HDD_CFG80211_UPDATE_BSS) \
|
||||||
ENUM(TRACE_CODE_HDD_CFG80211_SCAN) \
|
ENUM(TRACE_CODE_HDD_CFG80211_SCAN) \
|
||||||
|
ENUM(TRACE_CODE_HDD_CFG80211_SCHED_SCAN_START) \
|
||||||
|
ENUM(TRACE_CODE_HDD_CFG80211_SCHED_SCAN_STOP) \
|
||||||
ENUM(TRACE_CODE_HDD_REMAIN_ON_CHANNEL) \
|
ENUM(TRACE_CODE_HDD_REMAIN_ON_CHANNEL) \
|
||||||
ENUM(TRACE_CODE_HDD_REMAINCHANREADYHANDLER) \
|
ENUM(TRACE_CODE_HDD_REMAINCHANREADYHANDLER) \
|
||||||
ENUM(TRACE_CODE_HDD_CFG80211_CANCEL_REMAIN_ON_CHANNEL) \
|
ENUM(TRACE_CODE_HDD_CFG80211_CANCEL_REMAIN_ON_CHANNEL) \
|
||||||
@@ -91,6 +93,7 @@
|
|||||||
ENUM(TRACE_CODE_HDD_CFG80211_DEL_STA) \
|
ENUM(TRACE_CODE_HDD_CFG80211_DEL_STA) \
|
||||||
ENUM(TRACE_CODE_HDD_CFG80211_ADD_STA) \
|
ENUM(TRACE_CODE_HDD_CFG80211_ADD_STA) \
|
||||||
ENUM(TRACE_CODE_HDD_CFG80211_SET_PMKSA) \
|
ENUM(TRACE_CODE_HDD_CFG80211_SET_PMKSA) \
|
||||||
|
ENUM(TRACE_CODE_HDD_CFG80211_DEL_PMKSA) \
|
||||||
ENUM(TRACE_CODE_HDD_CFG80211_UPDATE_FT_IES) \
|
ENUM(TRACE_CODE_HDD_CFG80211_UPDATE_FT_IES) \
|
||||||
ENUM(TRACE_CODE_HDD_CFG80211_TDLS_MGMT) \
|
ENUM(TRACE_CODE_HDD_CFG80211_TDLS_MGMT) \
|
||||||
ENUM(TRACE_CODE_HDD_CFG80211_TDLS_OPER) \
|
ENUM(TRACE_CODE_HDD_CFG80211_TDLS_OPER) \
|
||||||
@@ -100,7 +103,12 @@
|
|||||||
ENUM(TRACE_CODE_HDD_GETROAMSCANCHANNELMINTIME_IOCTL) \
|
ENUM(TRACE_CODE_HDD_GETROAMSCANCHANNELMINTIME_IOCTL) \
|
||||||
ENUM(TRACE_CODE_HDD_STORE_JOIN_REQ) \
|
ENUM(TRACE_CODE_HDD_STORE_JOIN_REQ) \
|
||||||
ENUM(TRACE_CODE_HDD_CLEAR_JOIN_REQ) \
|
ENUM(TRACE_CODE_HDD_CLEAR_JOIN_REQ) \
|
||||||
ENUM(TRACE_CODE_HDD_ISSUE_JOIN_REQ)
|
ENUM(TRACE_CODE_HDD_ISSUE_JOIN_REQ) \
|
||||||
|
ENUM(TRACE_CODE_HDD_CFG80211_RESUME_WLAN) \
|
||||||
|
ENUM(TRACE_CODE_HDD_CFG80211_SUSPEND_WLAN) \
|
||||||
|
ENUM(TRACE_CODE_HDD_CFG80211_SET_MAC_ACL) \
|
||||||
|
ENUM(TRACE_CODE_HDD_CFG80211_TESTMODE) \
|
||||||
|
ENUM(TRACE_CODE_HDD_CFG80211_DUMP_SURVEY)
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
#undef ENUM
|
#undef ENUM
|
||||||
|
@@ -9730,6 +9730,9 @@ static int __wlan_hdd_cfg80211_del_pmksa(struct wiphy *wiphy,
|
|||||||
|
|
||||||
halHandle = WLAN_HDD_GET_HAL_CTX(pAdapter);
|
halHandle = WLAN_HDD_GET_HAL_CTX(pAdapter);
|
||||||
|
|
||||||
|
MTRACE(cdf_trace(CDF_MODULE_ID_HDD,
|
||||||
|
TRACE_CODE_HDD_CFG80211_DEL_PMKSA,
|
||||||
|
pAdapter->sessionId, 0));
|
||||||
/* Delete the PMKID CSR cache */
|
/* Delete the PMKID CSR cache */
|
||||||
if (CDF_STATUS_SUCCESS !=
|
if (CDF_STATUS_SUCCESS !=
|
||||||
sme_roam_del_pmkid_from_cache(halHandle,
|
sme_roam_del_pmkid_from_cache(halHandle,
|
||||||
@@ -10126,6 +10129,9 @@ static int __wlan_hdd_cfg80211_set_mac_acl(struct wiphy *wiphy,
|
|||||||
hddLog(LOGE, "acl policy: = %d no acl entries = %d", params->acl_policy,
|
hddLog(LOGE, "acl policy: = %d no acl entries = %d", params->acl_policy,
|
||||||
params->n_acl_entries);
|
params->n_acl_entries);
|
||||||
|
|
||||||
|
MTRACE(cdf_trace(CDF_MODULE_ID_HDD,
|
||||||
|
TRACE_CODE_HDD_CFG80211_SET_MAC_ACL,
|
||||||
|
pAdapter->sessionId, pAdapter->device_mode));
|
||||||
if (WLAN_HDD_SOFTAP == pAdapter->device_mode) {
|
if (WLAN_HDD_SOFTAP == pAdapter->device_mode) {
|
||||||
pConfig = &pAdapter->sessionCtx.ap.sapConfig;
|
pConfig = &pAdapter->sessionCtx.ap.sapConfig;
|
||||||
|
|
||||||
@@ -10309,6 +10315,9 @@ static int __wlan_hdd_cfg80211_testmode(struct wiphy *wiphy,
|
|||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MTRACE(cdf_trace(CDF_MODULE_ID_HDD,
|
||||||
|
TRACE_CODE_HDD_CFG80211_TESTMODE,
|
||||||
|
NO_SESSION, nla_get_u32(tb[WLAN_HDD_TM_ATTR_CMD])));
|
||||||
switch (nla_get_u32(tb[WLAN_HDD_TM_ATTR_CMD])) {
|
switch (nla_get_u32(tb[WLAN_HDD_TM_ATTR_CMD])) {
|
||||||
#ifdef FEATURE_WLAN_LPHB
|
#ifdef FEATURE_WLAN_LPHB
|
||||||
/* Low Power Heartbeat configuration request */
|
/* Low Power Heartbeat configuration request */
|
||||||
|
@@ -1765,6 +1765,9 @@ static int __wlan_hdd_cfg80211_resume_wlan(struct wiphy *wiphy)
|
|||||||
#endif
|
#endif
|
||||||
hdd_resume_wlan();
|
hdd_resume_wlan();
|
||||||
|
|
||||||
|
MTRACE(cdf_trace(CDF_MODULE_ID_HDD,
|
||||||
|
TRACE_CODE_HDD_CFG80211_RESUME_WLAN,
|
||||||
|
NO_SESSION, pHddCtx->isWiphySuspended));
|
||||||
spin_lock(&pHddCtx->schedScan_lock);
|
spin_lock(&pHddCtx->schedScan_lock);
|
||||||
pHddCtx->isWiphySuspended = false;
|
pHddCtx->isWiphySuspended = false;
|
||||||
if (true != pHddCtx->isSchedScanUpdatePending) {
|
if (true != pHddCtx->isSchedScanUpdatePending) {
|
||||||
@@ -2026,7 +2029,9 @@ static int __wlan_hdd_cfg80211_suspend_wlan(struct wiphy *wiphy,
|
|||||||
}
|
}
|
||||||
pHddCtx->is_ol_rx_thread_suspended = true;
|
pHddCtx->is_ol_rx_thread_suspended = true;
|
||||||
#endif
|
#endif
|
||||||
|
MTRACE(cdf_trace(CDF_MODULE_ID_HDD,
|
||||||
|
TRACE_CODE_HDD_CFG80211_SUSPEND_WLAN,
|
||||||
|
NO_SESSION, pHddCtx->isWiphySuspended));
|
||||||
pHddCtx->isWiphySuspended = true;
|
pHddCtx->isWiphySuspended = true;
|
||||||
|
|
||||||
#ifdef CONFIG_CNSS
|
#ifdef CONFIG_CNSS
|
||||||
@@ -2306,6 +2311,9 @@ static int __wlan_hdd_cfg80211_get_txpower(struct wiphy *wiphy,
|
|||||||
return -ENOENT;
|
return -ENOENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MTRACE(cdf_trace(CDF_MODULE_ID_HDD,
|
||||||
|
TRACE_CODE_HDD_CFG80211_GET_TXPOWER,
|
||||||
|
pAdapter->sessionId, pAdapter->device_mode));
|
||||||
wlan_hdd_get_class_astats(pAdapter);
|
wlan_hdd_get_class_astats(pAdapter);
|
||||||
*dbm = pAdapter->hdd_stats.ClassA_stat.max_pwr;
|
*dbm = pAdapter->hdd_stats.ClassA_stat.max_pwr;
|
||||||
|
|
||||||
|
@@ -2073,6 +2073,9 @@ static int __wlan_hdd_cfg80211_sched_scan_start(struct wiphy *wiphy,
|
|||||||
return -EBUSY;
|
return -EBUSY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MTRACE(cdf_trace(CDF_MODULE_ID_HDD,
|
||||||
|
TRACE_CODE_HDD_CFG80211_SCHED_SCAN_START,
|
||||||
|
pAdapter->sessionId, pAdapter->device_mode));
|
||||||
/*
|
/*
|
||||||
* The current umac is unable to handle the SCAN_PREEMPT and SCAN_DEQUEUED
|
* The current umac is unable to handle the SCAN_PREEMPT and SCAN_DEQUEUED
|
||||||
* so its necessary to terminate the existing scan which is already issued
|
* so its necessary to terminate the existing scan which is already issued
|
||||||
@@ -2382,6 +2385,9 @@ static int __wlan_hdd_cfg80211_sched_scan_stop(struct wiphy *wiphy,
|
|||||||
pPnoRequest->enable = 0; /* Disable PNO */
|
pPnoRequest->enable = 0; /* Disable PNO */
|
||||||
pPnoRequest->ucNetworksCount = 0;
|
pPnoRequest->ucNetworksCount = 0;
|
||||||
|
|
||||||
|
MTRACE(cdf_trace(CDF_MODULE_ID_HDD,
|
||||||
|
TRACE_CODE_HDD_CFG80211_SCHED_SCAN_STOP,
|
||||||
|
pAdapter->sessionId, pAdapter->device_mode));
|
||||||
status = sme_set_preferred_network_list(hHal, pPnoRequest,
|
status = sme_set_preferred_network_list(hHal, pPnoRequest,
|
||||||
pAdapter->sessionId,
|
pAdapter->sessionId,
|
||||||
NULL, pAdapter);
|
NULL, pAdapter);
|
||||||
|
@@ -2447,6 +2447,10 @@ static int __wlan_hdd_cfg80211_dump_survey(struct wiphy *wiphy,
|
|||||||
wlan_hdd_get_snr(pAdapter, &snr);
|
wlan_hdd_get_snr(pAdapter, &snr);
|
||||||
wlan_hdd_get_rssi(pAdapter, &rssi);
|
wlan_hdd_get_rssi(pAdapter, &rssi);
|
||||||
|
|
||||||
|
MTRACE(cdf_trace(CDF_MODULE_ID_HDD,
|
||||||
|
TRACE_CODE_HDD_CFG80211_DUMP_SURVEY,
|
||||||
|
pAdapter->sessionId, pAdapter->device_mode));
|
||||||
|
|
||||||
sme_get_operation_channel(halHandle, &channel, pAdapter->sessionId);
|
sme_get_operation_channel(halHandle, &channel, pAdapter->sessionId);
|
||||||
hdd_wlan_get_freq(channel, &freq);
|
hdd_wlan_get_freq(channel, &freq);
|
||||||
|
|
||||||
|
@@ -58,6 +58,7 @@ enum {
|
|||||||
TRACE_CODE_SME_RX_HDD_ROAM_GET_CONNECTPROFILE,
|
TRACE_CODE_SME_RX_HDD_ROAM_GET_CONNECTPROFILE,
|
||||||
TRACE_CODE_SME_RX_HDD_ROAM_FREE_CONNECTPROFILE,
|
TRACE_CODE_SME_RX_HDD_ROAM_FREE_CONNECTPROFILE,
|
||||||
TRACE_CODE_SME_RX_HDD_ROAM_SET_PMKIDCACHE,
|
TRACE_CODE_SME_RX_HDD_ROAM_SET_PMKIDCACHE,
|
||||||
|
TRACE_CODE_SME_RX_HDD_ROAM_DEL_PMKIDCACHE,
|
||||||
TRACE_CODE_SME_RX_HDD_ROAM_GET_PMKIDCACHE,
|
TRACE_CODE_SME_RX_HDD_ROAM_GET_PMKIDCACHE,
|
||||||
TRACE_CODE_SME_RX_HDD_GET_CONFIGPARAM,
|
TRACE_CODE_SME_RX_HDD_GET_CONFIGPARAM,
|
||||||
TRACE_CODE_SME_RX_HDD_GET_MODPROFFIELDS,
|
TRACE_CODE_SME_RX_HDD_GET_MODPROFFIELDS,
|
||||||
@@ -131,6 +132,19 @@ enum {
|
|||||||
TRACE_CODE_SME_RX_HDD_STORE_JOIN_REQ,
|
TRACE_CODE_SME_RX_HDD_STORE_JOIN_REQ,
|
||||||
TRACE_CODE_SME_RX_HDD_CLEAR_JOIN_REQ,
|
TRACE_CODE_SME_RX_HDD_CLEAR_JOIN_REQ,
|
||||||
TRACE_CODE_SME_RX_HDD_ISSUE_JOIN_REQ,
|
TRACE_CODE_SME_RX_HDD_ISSUE_JOIN_REQ,
|
||||||
|
TRACE_CODE_SME_RX_HDD_MSG_DEAUTH_STA,
|
||||||
|
#ifdef FEATURE_WLAN_TDLS
|
||||||
|
TRACE_CODE_SME_RX_HDD_TDLS_LINK_ESTABLISH_PARAM,
|
||||||
|
TRACE_CODE_SME_RX_HDD_TDLS_CHAN_SWITCH_REQ,
|
||||||
|
TRACE_CODE_SME_RX_HDD_TDLS_SEND_MGMT_FRAME,
|
||||||
|
TRACE_CODE_SME_RX_HDD_TDLS_CHANGE_PEER_STA,
|
||||||
|
TRACE_CODE_SME_RX_HDD_TDLS_ADD_PEER_STA,
|
||||||
|
TRACE_CODE_SME_RX_HDD_TDLS_DEL_PEER_STA,
|
||||||
|
#endif
|
||||||
|
TRACE_CODE_SME_RX_HDD_PREF_NET_LIST,
|
||||||
|
#ifdef FEATURE_WLAN_LPHB
|
||||||
|
TRACE_CODE_SME_RX_HDD_LPHB_CONFIG_REQ,
|
||||||
|
#endif /* FEATURE_WLAN_LPHB */
|
||||||
};
|
};
|
||||||
|
|
||||||
void sme_trace_init(tpAniSirGlobal pMac);
|
void sme_trace_init(tpAniSirGlobal pMac);
|
||||||
|
@@ -3806,6 +3806,9 @@ CDF_STATUS sme_roam_deauth_sta(tHalHandle hHal, uint8_t sessionId,
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MTRACE(cdf_trace(CDF_MODULE_ID_SME,
|
||||||
|
TRACE_CODE_SME_RX_HDD_MSG_DEAUTH_STA,
|
||||||
|
sessionId, pDelStaParams->reason_code));
|
||||||
status = sme_acquire_global_lock(&pMac->sme);
|
status = sme_acquire_global_lock(&pMac->sme);
|
||||||
if (CDF_IS_STATUS_SUCCESS(status)) {
|
if (CDF_IS_STATUS_SUCCESS(status)) {
|
||||||
if (CSR_IS_SESSION_VALID(pMac, sessionId)) {
|
if (CSR_IS_SESSION_VALID(pMac, sessionId)) {
|
||||||
@@ -4074,6 +4077,10 @@ CDF_STATUS sme_roam_del_pmkid_from_cache(tHalHandle hHal, uint8_t sessionId,
|
|||||||
{
|
{
|
||||||
CDF_STATUS status = CDF_STATUS_E_FAILURE;
|
CDF_STATUS status = CDF_STATUS_E_FAILURE;
|
||||||
tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
|
tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
|
||||||
|
|
||||||
|
MTRACE(cdf_trace(CDF_MODULE_ID_SME,
|
||||||
|
TRACE_CODE_SME_RX_HDD_ROAM_DEL_PMKIDCACHE,
|
||||||
|
sessionId, flush_cache));
|
||||||
status = sme_acquire_global_lock(&pMac->sme);
|
status = sme_acquire_global_lock(&pMac->sme);
|
||||||
if (CDF_IS_STATUS_SUCCESS(status)) {
|
if (CDF_IS_STATUS_SUCCESS(status)) {
|
||||||
if (CSR_IS_SESSION_VALID(pMac, sessionId)) {
|
if (CSR_IS_SESSION_VALID(pMac, sessionId)) {
|
||||||
@@ -6020,6 +6027,9 @@ CDF_STATUS sme_set_preferred_network_list(tHalHandle hHal,
|
|||||||
tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
|
tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
|
||||||
CDF_STATUS status;
|
CDF_STATUS status;
|
||||||
|
|
||||||
|
MTRACE(cdf_trace(CDF_MODULE_ID_SME,
|
||||||
|
TRACE_CODE_SME_RX_HDD_PREF_NET_LIST,
|
||||||
|
sessionId, request->ucNetworksCount));
|
||||||
status = sme_acquire_global_lock(&pMac->sme);
|
status = sme_acquire_global_lock(&pMac->sme);
|
||||||
if (CDF_IS_STATUS_SUCCESS(status)) {
|
if (CDF_IS_STATUS_SUCCESS(status)) {
|
||||||
sme_set_ps_preferred_network_list(hHal, request, sessionId,
|
sme_set_ps_preferred_network_list(hHal, request, sessionId,
|
||||||
@@ -9713,6 +9723,10 @@ CDF_STATUS sme_send_tdls_link_establish_params(tHalHandle hHal,
|
|||||||
CDF_STATUS status = CDF_STATUS_SUCCESS;
|
CDF_STATUS status = CDF_STATUS_SUCCESS;
|
||||||
tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
|
tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
|
||||||
|
|
||||||
|
MTRACE(cdf_trace(CDF_MODULE_ID_SME,
|
||||||
|
TRACE_CODE_SME_RX_HDD_TDLS_LINK_ESTABLISH_PARAM,
|
||||||
|
sessionId,
|
||||||
|
tdlsLinkEstablishParams->isOffChannelSupported));
|
||||||
status = sme_acquire_global_lock(&pMac->sme);
|
status = sme_acquire_global_lock(&pMac->sme);
|
||||||
|
|
||||||
if (CDF_IS_STATUS_SUCCESS(status)) {
|
if (CDF_IS_STATUS_SUCCESS(status)) {
|
||||||
@@ -9748,6 +9762,9 @@ CDF_STATUS sme_send_tdls_mgmt_frame(tHalHandle hHal, uint8_t sessionId,
|
|||||||
tCsrTdlsSendMgmt sendTdlsReq = { {0} };
|
tCsrTdlsSendMgmt sendTdlsReq = { {0} };
|
||||||
tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
|
tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
|
||||||
|
|
||||||
|
MTRACE(cdf_trace(CDF_MODULE_ID_SME,
|
||||||
|
TRACE_CODE_SME_RX_HDD_TDLS_SEND_MGMT_FRAME,
|
||||||
|
sessionId, statusCode));
|
||||||
status = sme_acquire_global_lock(&pMac->sme);
|
status = sme_acquire_global_lock(&pMac->sme);
|
||||||
if (CDF_IS_STATUS_SUCCESS(status)) {
|
if (CDF_IS_STATUS_SUCCESS(status)) {
|
||||||
cdf_mem_copy(sendTdlsReq.peerMac, peerMac, sizeof(tSirMacAddr));
|
cdf_mem_copy(sendTdlsReq.peerMac, peerMac, sizeof(tSirMacAddr));
|
||||||
@@ -9788,6 +9805,9 @@ CDF_STATUS sme_change_tdls_peer_sta(tHalHandle hHal, uint8_t sessionId,
|
|||||||
"%s :pstaParams is NULL", __func__);
|
"%s :pstaParams is NULL", __func__);
|
||||||
return CDF_STATUS_E_FAILURE;
|
return CDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
|
MTRACE(cdf_trace(CDF_MODULE_ID_SME,
|
||||||
|
TRACE_CODE_SME_RX_HDD_TDLS_CHANGE_PEER_STA,
|
||||||
|
sessionId, pstaParams->capability));
|
||||||
status = sme_acquire_global_lock(&pMac->sme);
|
status = sme_acquire_global_lock(&pMac->sme);
|
||||||
if (CDF_IS_STATUS_SUCCESS(status)) {
|
if (CDF_IS_STATUS_SUCCESS(status)) {
|
||||||
status = csr_tdls_change_peer_sta(hHal, sessionId, peerMac,
|
status = csr_tdls_change_peer_sta(hHal, sessionId, peerMac,
|
||||||
@@ -9813,6 +9833,9 @@ CDF_STATUS sme_add_tdls_peer_sta(tHalHandle hHal, uint8_t sessionId,
|
|||||||
CDF_STATUS status = CDF_STATUS_SUCCESS;
|
CDF_STATUS status = CDF_STATUS_SUCCESS;
|
||||||
tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
|
tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
|
||||||
|
|
||||||
|
MTRACE(cdf_trace(CDF_MODULE_ID_SME,
|
||||||
|
TRACE_CODE_SME_RX_HDD_TDLS_ADD_PEER_STA,
|
||||||
|
sessionId, 0));
|
||||||
status = sme_acquire_global_lock(&pMac->sme);
|
status = sme_acquire_global_lock(&pMac->sme);
|
||||||
if (CDF_IS_STATUS_SUCCESS(status)) {
|
if (CDF_IS_STATUS_SUCCESS(status)) {
|
||||||
status = csr_tdls_add_peer_sta(hHal, sessionId, peerMac);
|
status = csr_tdls_add_peer_sta(hHal, sessionId, peerMac);
|
||||||
@@ -9837,6 +9860,9 @@ CDF_STATUS sme_delete_tdls_peer_sta(tHalHandle hHal, uint8_t sessionId,
|
|||||||
CDF_STATUS status = CDF_STATUS_SUCCESS;
|
CDF_STATUS status = CDF_STATUS_SUCCESS;
|
||||||
tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
|
tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
|
||||||
|
|
||||||
|
MTRACE(cdf_trace(CDF_MODULE_ID_SME,
|
||||||
|
TRACE_CODE_SME_RX_HDD_TDLS_DEL_PEER_STA,
|
||||||
|
sessionId, 0));
|
||||||
status = sme_acquire_global_lock(&pMac->sme);
|
status = sme_acquire_global_lock(&pMac->sme);
|
||||||
if (CDF_IS_STATUS_SUCCESS(status)) {
|
if (CDF_IS_STATUS_SUCCESS(status)) {
|
||||||
status = csr_tdls_del_peer_sta(hHal, sessionId, peerMac);
|
status = csr_tdls_del_peer_sta(hHal, sessionId, peerMac);
|
||||||
@@ -10095,6 +10121,9 @@ CDF_STATUS sme_send_tdls_chan_switch_req(tHalHandle hal,
|
|||||||
tdls_chan_switch_params *chan_switch_params = NULL;
|
tdls_chan_switch_params *chan_switch_params = NULL;
|
||||||
cds_msg_t cds_message;
|
cds_msg_t cds_message;
|
||||||
|
|
||||||
|
MTRACE(cdf_trace(CDF_MODULE_ID_SME,
|
||||||
|
TRACE_CODE_SME_RX_HDD_TDLS_CHAN_SWITCH_REQ,
|
||||||
|
NO_SESSION, ch_switch_params->tdls_off_channel));
|
||||||
status = sme_acquire_global_lock(&mac->sme);
|
status = sme_acquire_global_lock(&mac->sme);
|
||||||
if (CDF_STATUS_SUCCESS != status)
|
if (CDF_STATUS_SUCCESS != status)
|
||||||
return status;
|
return status;
|
||||||
@@ -10574,6 +10603,9 @@ CDF_STATUS sme_lphb_config_req
|
|||||||
tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
|
tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
|
||||||
cds_msg_t cds_message;
|
cds_msg_t cds_message;
|
||||||
|
|
||||||
|
MTRACE(cdf_trace(CDF_MODULE_ID_SME,
|
||||||
|
TRACE_CODE_SME_RX_HDD_LPHB_CONFIG_REQ,
|
||||||
|
NO_SESSION, lphdReq->cmd));
|
||||||
status = sme_acquire_global_lock(&pMac->sme);
|
status = sme_acquire_global_lock(&pMac->sme);
|
||||||
if (CDF_STATUS_SUCCESS == status) {
|
if (CDF_STATUS_SUCCESS == status) {
|
||||||
if ((LPHB_SET_EN_PARAMS_INDID == lphdReq->cmd) &&
|
if ((LPHB_SET_EN_PARAMS_INDID == lphdReq->cmd) &&
|
||||||
|
@@ -75,6 +75,7 @@ static uint8_t *sme_trace_get_rx_msg_string(uint32_t code)
|
|||||||
CASE_RETURN_STRING
|
CASE_RETURN_STRING
|
||||||
(TRACE_CODE_SME_RX_HDD_ROAM_FREE_CONNECTPROFILE);
|
(TRACE_CODE_SME_RX_HDD_ROAM_FREE_CONNECTPROFILE);
|
||||||
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_ROAM_SET_PMKIDCACHE);
|
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_ROAM_SET_PMKIDCACHE);
|
||||||
|
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_ROAM_DEL_PMKIDCACHE);
|
||||||
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_ROAM_GET_PMKIDCACHE);
|
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_ROAM_GET_PMKIDCACHE);
|
||||||
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_GET_CONFIGPARAM);
|
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_GET_CONFIGPARAM);
|
||||||
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_GET_MODPROFFIELDS);
|
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_GET_MODPROFFIELDS);
|
||||||
@@ -149,6 +150,20 @@ static uint8_t *sme_trace_get_rx_msg_string(uint32_t code)
|
|||||||
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_STORE_JOIN_REQ);
|
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_STORE_JOIN_REQ);
|
||||||
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_CLEAR_JOIN_REQ);
|
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_CLEAR_JOIN_REQ);
|
||||||
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_ISSUE_JOIN_REQ);
|
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_ISSUE_JOIN_REQ);
|
||||||
|
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_MSG_DEAUTH_STA);
|
||||||
|
#ifdef FEATURE_WLAN_TDLS
|
||||||
|
CASE_RETURN_STRING
|
||||||
|
(TRACE_CODE_SME_RX_HDD_TDLS_LINK_ESTABLISH_PARAM);
|
||||||
|
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_TDLS_CHAN_SWITCH_REQ);
|
||||||
|
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_TDLS_SEND_MGMT_FRAME);
|
||||||
|
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_TDLS_CHANGE_PEER_STA);
|
||||||
|
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_TDLS_ADD_PEER_STA);
|
||||||
|
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_TDLS_DEL_PEER_STA);
|
||||||
|
#endif
|
||||||
|
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_PREF_NET_LIST);
|
||||||
|
#ifdef FEATURE_WLAN_LPHB
|
||||||
|
CASE_RETURN_STRING(TRACE_CODE_SME_RX_HDD_LPHB_CONFIG_REQ);
|
||||||
|
#endif /* FEATURE_WLAN_LPHB */
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return "UNKNOWN";
|
return "UNKNOWN";
|
||||||
|
Reference in New Issue
Block a user