Browse Source

qcacld-3.0: Add debug logs to print FILS ERP Seq Number

Currently the debug logs print only the KEK, KCK and other
keys during FILS Roam sync indication from FW to Framework.

Add additional debug logs to print Next ERP Sequence Number
from the firmware during roam sync indication to Framework.

Change-Id: I3df03cd3d426ffa18e021a45d95edb3148838858
CRs-Fixed: 2106552
Vignesh Viswanathan 7 years ago
parent
commit
8da68cf1f9

+ 3 - 0
core/hdd/src/wlan_hdd_cfg80211.c

@@ -5426,6 +5426,9 @@ static int wlan_hdd_add_fils_params_roam_auth_event(struct sk_buff *skb,
 		return -EINVAL;
 	}
 
+	hdd_debug("Update ERP Seq Num %d, Next ERP Seq Num %d",
+			roam_info->update_erp_next_seq_num,
+			roam_info->next_erp_seq_num);
 	if (roam_info->update_erp_next_seq_num &&
 	    nla_put_u16(skb,
 			QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_FILS_ERP_NEXT_SEQ_NUM,

+ 3 - 0
core/sme/src/csr/csr_api_roam.c

@@ -20998,6 +20998,9 @@ static QDF_STATUS csr_process_roam_sync_callback(tpAniSirGlobal mac_ctx,
 	roam_info->update_erp_next_seq_num =
 			roam_synch_data->update_erp_next_seq_num;
 	roam_info->next_erp_seq_num = roam_synch_data->next_erp_seq_num;
+	sme_debug("Update ERP Seq Num : %d, Next ERP Seq Num : %d",
+			roam_info->update_erp_next_seq_num,
+			roam_info->next_erp_seq_num);
 	qdf_mem_copy(roam_info->replay_ctr, roam_synch_data->replay_ctr,
 			SIR_REPLAY_CTR_LEN);
 	QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,

+ 3 - 0
core/wma/src/wma_scan_roam.c

@@ -2391,6 +2391,9 @@ static int wma_fill_roam_synch_buffer(tp_wma_handle wma,
 		roam_synch_ind_ptr->next_erp_seq_num =
 				fils_info->next_erp_seq_num;
 
+		WMA_LOGD("Update ERP Seq Num %d, Next ERP Seq Num %d",
+			 roam_synch_ind_ptr->update_erp_next_seq_num,
+			 roam_synch_ind_ptr->next_erp_seq_num);
 		WMA_LOGD("%s: KEK dump", __func__);
 		QDF_TRACE_HEX_DUMP(QDF_MODULE_ID_WMA, QDF_TRACE_LEVEL_DEBUG,
 				   roam_synch_ind_ptr->kek, fils_info->kek_len);