qcacld-3.0: HDD cleanup for IPA API ucfg_ipa_wlan_evt
Currently, the IPA AIP ucfg_ipa_wlan_evt takes as input the sta_id. As a
part of cleaning up the usage of sta_id, remove the parameter. Since
mac_addr is already present in the list of parameters, no need to add.
Change-Id: Iacc4a05de88973014eb4bcc1dfc97b7dc4a0d4fa
CRs-Fixed: 2503944
diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c
index 3d41e8f..7d98804 100644
--- a/core/hdd/src/wlan_hdd_assoc.c
+++ b/core/hdd/src/wlan_hdd_assoc.c
@@ -1724,7 +1724,6 @@
(sta_ctx->conn_info.sta_id[0] != HDD_WLAN_INVALID_STA_ID))
ucfg_ipa_wlan_evt(hdd_ctx->pdev, adapter->dev,
adapter->device_mode,
- sta_ctx->conn_info.sta_id[0],
adapter->vdev_id,
WLAN_IPA_STA_DISCONNECT,
sta_ctx->conn_info.bssid.bytes);
@@ -2920,7 +2919,6 @@
if (ucfg_ipa_is_enabled())
ucfg_ipa_wlan_evt(hdd_ctx->pdev, adapter->dev,
adapter->device_mode,
- roam_info->staId,
adapter->vdev_id,
WLAN_IPA_STA_CONNECT,
roam_info->bssid.bytes);
diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c
index 6a0d887..ca59f01 100644
--- a/core/hdd/src/wlan_hdd_hostapd.c
+++ b/core/hdd/src/wlan_hdd_hostapd.c
@@ -1888,7 +1888,6 @@
status = ucfg_ipa_wlan_evt(hdd_ctx->pdev,
adapter->dev,
adapter->device_mode,
- ap_ctx->broadcast_sta_id,
adapter->vdev_id,
WLAN_IPA_AP_CONNECT,
adapter->dev->dev_addr);
@@ -2232,7 +2231,6 @@
status = ucfg_ipa_wlan_evt(hdd_ctx->pdev,
adapter->dev,
adapter->device_mode,
- event->staId,
adapter->vdev_id,
WLAN_IPA_CLIENT_CONNECT_EX,
event->staMac.bytes);
diff --git a/core/hdd/src/wlan_hdd_softap_tx_rx.c b/core/hdd/src/wlan_hdd_softap_tx_rx.c
index 192ab03..4224d6e 100644
--- a/core/hdd/src/wlan_hdd_softap_tx_rx.c
+++ b/core/hdd/src/wlan_hdd_softap_tx_rx.c
@@ -1032,7 +1032,6 @@
if (ucfg_ipa_is_enabled()) {
if (ucfg_ipa_wlan_evt(hdd_ctx->pdev, adapter->dev,
adapter->device_mode,
- adapter->sta_info[sta_id].sta_id,
adapter->vdev_id,
WLAN_IPA_CLIENT_DISCONNECT,
adapter->sta_info[sta_id].sta_mac.
@@ -1265,7 +1264,6 @@
if (ucfg_ipa_wlan_evt(hdd_ctx->pdev,
adapter->dev,
adapter->device_mode,
- ap_ctx->broadcast_sta_id,
adapter->vdev_id,
WLAN_IPA_AP_DISCONNECT,
adapter->dev->dev_addr) !=