qcacld-3.0: Use new TDLS peer callback interface
Change "qcacmn: Introduce new versions of TDLS peer callbacks"
(Change-Id Id4ea23266b0f3e1480b645c5afce6c17585ccb46 in project
qca-wifi-host-cmn) introduced a new interface which removed an unused
parameter and changed obsolete naming. Update qcacld-3.0 to use this
new interface.
Change-Id: I5c4684ac0a62f314da26f92ece2c9a9874d63634
CRs-Fixed: 2200993
diff --git a/core/hdd/inc/wlan_hdd_tdls.h b/core/hdd/inc/wlan_hdd_tdls.h
index f646367..2a96720 100644
--- a/core/hdd/inc/wlan_hdd_tdls.h
+++ b/core/hdd/inc/wlan_hdd_tdls.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2018 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -220,12 +220,12 @@
const void *data,
int data_len);
-QDF_STATUS hdd_tdls_register_tdls_peer(void *userdata, uint32_t vdev_id,
- const uint8_t *mac, uint16_t sta_id,
- uint8_t ucastsig, uint8_t qos);
+QDF_STATUS hdd_tdls_register_peer(void *userdata, uint32_t vdev_id,
+ const uint8_t *mac, uint16_t sta_id,
+ uint8_t qos);
-QDF_STATUS hdd_tdls_deregister_tdl_peer(void *userdata,
- uint32_t vdev_id, uint8_t sta_id);
+QDF_STATUS hdd_tdls_deregister_peer(void *userdata, uint32_t vdev_id,
+ uint8_t sta_id);
#else
@@ -250,18 +250,16 @@
{
}
-static QDF_STATUS hdd_tdls_register_tdls_peer(void *userdata,
- uint32_t vdev_id,
- const uint8_t *mac,
- uint16_t sta_id,
- uint8_t ucastsig,
- uint8_t qos)
+static inline
+QDF_STATUS hdd_tdls_register_peer(void *userdata, uint32_t vdev_id,
+ const uint8_t *mac, uint16_t sta_id,
+ uint8_t qos);
{
}
-static QDF_STATUS hdd_tdls_deregister_tdl_peer(void *userdata,
- uint32_t vdev_id, uint8_t sta_id)
-
+static inline
+QDF_STATUS hdd_tdls_deregister_peer(void *userdata, uint32_t vdev_id,
+ uint8_t sta_id)
{
}
#endif /* End of FEATURE_WLAN_TDLS */