From 570a46c710b84b693dc6dae993b1fc478c20e1ac Mon Sep 17 00:00:00 2001 From: Sourav Mohapatra Date: Tue, 6 Aug 2019 15:08:36 +0530 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_assoc.c | 2 -- core/hdd/src/wlan_hdd_hostapd.c | 2 -- core/hdd/src/wlan_hdd_softap_tx_rx.c | 2 -- 3 files changed, 6 deletions(-) diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c index 3d41e8f70581d..7d988045455be 100644 --- a/core/hdd/src/wlan_hdd_assoc.c +++ b/core/hdd/src/wlan_hdd_assoc.c @@ -1724,7 +1724,6 @@ static QDF_STATUS hdd_dis_connect_handler(struct hdd_adapter *adapter, (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 @@ hdd_association_completion_handler(struct hdd_adapter *adapter, 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 6a0d88724aba6..ca59f01b4544e 100644 --- a/core/hdd/src/wlan_hdd_hostapd.c +++ b/core/hdd/src/wlan_hdd_hostapd.c @@ -1888,7 +1888,6 @@ QDF_STATUS hdd_hostapd_sap_event_cb(struct sap_event *sap_event, 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 @@ QDF_STATUS hdd_hostapd_sap_event_cb(struct sap_event *sap_event, 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 192ab03d905c9..4224d6e614808 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 @@ QDF_STATUS hdd_softap_deregister_sta(struct hdd_adapter *adapter, 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 @@ QDF_STATUS hdd_softap_stop_bss(struct hdd_adapter *adapter) 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) !=