Bläddra i källkod

qcacld-3.0: Remove unused hdd_roam_register_tdlssta() param

The parameters to function hdd_roam_register_tdlssta() currently
includes ucastSig. This "signature" parameter dates back to a previous
version of the driver that used signatures to synchronize the data
plane with the control plane. However the current version of the
driver does not use this parameter, so remove it as part of the plan
to completely remove these signatures from throughout the driver.

Change-Id: Iee51d79e58501e3e8312c6c7a21b98c1ae6bf268
CRs-Fixed: 2200886
Jeff Johnson 7 år sedan
förälder
incheckning
a8ce12744d
3 ändrade filer med 5 tillägg och 18 borttagningar
  1. 3 3
      core/hdd/inc/wlan_hdd_assoc.h
  2. 1 14
      core/hdd/src/wlan_hdd_assoc.c
  3. 1 1
      core/hdd/src/wlan_hdd_tdls.c

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

@@ -292,16 +292,16 @@ int hdd_set_csr_auth_type(struct hdd_adapter *adapter,
  * @adapter: pointer to adapter
  * @peerMac: pointer to peer MAC address
  * @staId: station identifier
- * @ucastSig: unicast signature
+ * @qos: Quality of service
  *
- * Construct the staDesc and register with TL the new STA.
+ * Construct the staDesc and register the new STA with the Data Plane.
  * This is called as part of ADD_STA in the TDLS setup.
  *
  * Return: QDF_STATUS enumeration
  */
 QDF_STATUS hdd_roam_register_tdlssta(struct hdd_adapter *adapter,
 				     const uint8_t *peerMac, uint16_t staId,
-				     uint8_t ucastSig, uint8_t qos);
+				     uint8_t qos);
 #endif
 
 QDF_STATUS hdd_roam_deregister_tdlssta(struct hdd_adapter *adapter,

+ 1 - 14
core/hdd/src/wlan_hdd_assoc.c

@@ -3781,22 +3781,9 @@ roam_roam_connect_status_update_handler(struct hdd_adapter *adapter,
 }
 
 #ifdef FEATURE_WLAN_TDLS
-/**
- * hdd_roam_register_tdlssta() - register new TDLS station
- * @adapter: pointer to adapter
- * @peerMac: pointer to peer MAC address
- * @staId: station identifier
- * @ucastSig: unicast signature
- * @qos: QOS capability of TDLS station/link
- *
- * Construct the staDesc and register with TL the new STA.
- * This is called as part of ADD_STA in the TDLS setup.
- *
- * Return: QDF_STATUS enumeration
- */
 QDF_STATUS hdd_roam_register_tdlssta(struct hdd_adapter *adapter,
 				     const uint8_t *peerMac, uint16_t staId,
-				     uint8_t ucastSig, uint8_t qos)
+				     uint8_t qos)
 {
 	QDF_STATUS qdf_status = QDF_STATUS_E_FAILURE;
 	struct ol_txrx_desc_type staDesc = { 0 };

+ 1 - 1
core/hdd/src/wlan_hdd_tdls.c

@@ -863,7 +863,7 @@ QDF_STATUS hdd_tdls_register_tdls_peer(void *userdata, uint32_t vdev_id,
 		return QDF_STATUS_E_FAILURE;
 	}
 
-	return hdd_roam_register_tdlssta(adapter, mac, sta_id, ucastsig, qos);
+	return hdd_roam_register_tdlssta(adapter, mac, sta_id, qos);
 }
 
 QDF_STATUS hdd_tdls_deregister_tdl_peer(void *userdata,