Browse Source

qcacld-3.0: Rename struct sPESession

Rename struct sPESession to struct pe_session to align with the Linux
coding standard.

Change-Id: Ic14621ca23eac4a32468f2b53d249fc680fd7848
CRs-Fixed: 2352177
Jeff Johnson 6 years ago
parent
commit
0f99bd8473

+ 4 - 3
core/mac/src/pe/include/lim_session.h

@@ -117,8 +117,7 @@ struct obss_detection_cfg {
 	uint8_t obss_ht_20mhz_detect_mode;
 };
 
-typedef struct sPESession       /* Added to Support BT-AMP */
-{
+struct pe_session {
 	/* To check session table is in use or free */
 	uint8_t available;
 	uint16_t peSessionId;
@@ -565,7 +564,9 @@ typedef struct sPESession       /* Added to Support BT-AMP */
 	bool enable_session_twt_support;
 	uint32_t cac_duration_ms;
 	uint32_t dfs_regdomain;
-} tPESession, *tpPESession;
+};
+
+typedef struct pe_session tPESession, *tpPESession;
 
 struct session_params {
 	uint16_t session_id;

+ 1 - 1
core/mac/src/pe/lim/lim_process_message_queue.c

@@ -1410,7 +1410,7 @@ fail:
 static void lim_process_sme_obss_scan_ind(tpAniSirGlobal mac_ctx,
 					  struct scheduler_msg *msg)
 {
-	struct sPESession *session;
+	struct pe_session *session;
 	uint8_t session_id;
 	struct sme_obss_ht40_scanind_msg *ht40_scanind;
 

+ 1 - 1
core/mac/src/pe/lim/lim_process_sme_req_messages.c

@@ -4726,7 +4726,7 @@ static void lim_process_sme_update_access_policy_vendor_ie(
 						uint32_t *msg)
 {
 	struct sme_update_access_policy_vendor_ie *update_vendor_ie;
-	struct sPESession *pe_session_entry;
+	struct pe_session *pe_session_entry;
 	uint16_t num_bytes;
 
 	if (!msg) {

+ 1 - 1
core/mac/src/pe/lim/lim_send_messages.c

@@ -698,7 +698,7 @@ QDF_STATUS lim_send_exclude_unencrypt_ind(tpAniSirGlobal pMac,
  * Return: status of operation
  */
 QDF_STATUS lim_send_ht40_obss_scanind(tpAniSirGlobal mac_ctx,
-						struct sPESession *session)
+						struct pe_session *session)
 {
 	QDF_STATUS ret = QDF_STATUS_SUCCESS;
 	struct obss_ht40_scanind *ht40_obss_scanind;