Bläddra i källkod

qcacld-3.0: Rename struct sSirBssDescription

The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename struct sSirBssDescription to align with
the Coding Style.

Note that it will be a separate exercie to replace instances of the
tSirBssDescription and tpSirBssDescription typedefs.

Change-Id: Ia698c5290e719ac6eef22cdee56e8954e5f61146
CRs-Fixed: 2122503
Jeff Johnson 7 år sedan
förälder
incheckning
e58271f05c
2 ändrade filer med 7 tillägg och 6 borttagningar
  1. 4 4
      core/hdd/inc/wlan_hdd_assoc.h
  2. 3 2
      core/mac/inc/sir_api.h

+ 4 - 4
core/hdd/inc/wlan_hdd_assoc.h

@@ -344,10 +344,10 @@ QDF_STATUS hdd_update_dp_vdev_flags(void *cbk_data,
 				    bool is_link_up);
 
 QDF_STATUS hdd_roam_register_sta(struct hdd_adapter *adapter,
-					struct tagCsrRoamInfo *roam_info,
-					uint8_t sta_id,
-					struct qdf_mac_addr *peer_mac_addr,
-					struct sSirBssDescription *bss_desc);
+				 struct tagCsrRoamInfo *roam_info,
+				 uint8_t sta_id,
+				 struct qdf_mac_addr *peer_mac_addr,
+				 struct bss_description *bss_desc);
 
 bool hdd_save_peer(struct hdd_station_ctx *sta_ctx, uint8_t sta_id,
 		   struct qdf_mac_addr *peer_mac_addr);

+ 3 - 2
core/mac/inc/sir_api.h

@@ -757,7 +757,7 @@ struct fils_ind_elements {
 };
 #endif
 
-typedef struct sSirBssDescription {
+struct bss_description {
 	/* offset of the ieFields from bssId. */
 	uint16_t length;
 	tSirMacAddr bssId;
@@ -802,7 +802,8 @@ typedef struct sSirBssDescription {
 #endif
 	/* Please keep the structure 4 bytes aligned above the ieFields */
 	uint32_t ieFields[1];
-} tSirBssDescription, *tpSirBssDescription;
+};
+typedef struct bss_description tSirBssDescription, *tpSirBssDescription;
 
 #ifdef FEATURE_WLAN_MCC_TO_SCC_SWITCH
 typedef struct sSirSmeHTProfile {