Browse Source

qcacld-3.0: Fix camelCase for sessionId in t_packetmeta

Replace sessionId with session_id in t_packetmeta.

Change-Id: I041d25a5a5f61dd65fea25d41fa11d6456e4e88f
CRs-Fixed: 2413150
Jingxiang Ge 6 years ago
parent
commit
45a2433bca
3 changed files with 6 additions and 6 deletions
  1. 3 3
      core/cds/src/i_cds_packet.h
  2. 1 1
      core/wma/inc/wma_types.h
  3. 2 2
      core/wma/src/wma_mgmt.c

+ 3 - 3
core/cds/src/i_cds_packet.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2014-2016, 2019 The Linux Foundation. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
@@ -53,7 +53,7 @@
  * @scan: Bit set to 1 if packet received during scanning
  * @scan_src: Source of scan
  * @dpuFeedback: DPU feedback for frame
- * @sessionId: PE session
+ * @session_id: PE session
  * @tsf_delta: Delta between tsf in frame and local value of tsf
  * @rssi_raw: rssi based on actual noise floor in hardware.
  */
@@ -72,7 +72,7 @@ typedef struct {
 	uint8_t scan:1;
 	uint8_t scan_src;
 	uint8_t dpuFeedback;
-	uint8_t sessionId;
+	uint8_t session_id;
 	uint32_t tsf_delta;
 	uint32_t rssi_raw;
 } t_packetmeta, *tp_packetmeta;

+ 1 - 1
core/wma/inc/wma_types.h

@@ -91,7 +91,7 @@
 #define WMA_GET_ROAMCANDIDATEIND(pRxMeta) \
 	(((t_packetmeta *)pRxMeta)->roamCandidateInd)
 #define WMA_GET_SESSIONID(pRxMeta) \
-	(((t_packetmeta *)pRxMeta)->sessionId)
+	(((t_packetmeta *)pRxMeta)->session_id)
 #define WMA_GET_SCAN_SRC(pRxMeta) \
 	(((t_packetmeta *)pRxMeta)->scan_src)
 

+ 2 - 2
core/wma/src/wma_mgmt.c

@@ -4177,7 +4177,7 @@ int wma_form_rx_packet(qdf_nbuf_t buf,
 		}
 	}
 
-	rx_pkt->pkt_meta.sessionId =
+	rx_pkt->pkt_meta.session_id =
 		(vdev_id == WMA_INVALID_VDEV_ID ? 0 : vdev_id);
 
 	if (mgt_type == IEEE80211_FC0_TYPE_MGT &&
@@ -4204,7 +4204,7 @@ int wma_form_rx_packet(qdf_nbuf_t buf,
 			mgt_subtype != MGMT_SUBTYPE_BEACON) &&
 			packetdump_cb)
 		packetdump_cb(rx_pkt->pkt_buf, QDF_STATUS_SUCCESS,
-			rx_pkt->pkt_meta.sessionId, RX_MGMT_PKT);
+			rx_pkt->pkt_meta.session_id, RX_MGMT_PKT);
 
 	return 0;
 }