Revert "qcacld-3.0: Create lim session for monitor mode for legacy targets"

The change 2812433 needs revert it got merged with still some
pending comments.

Change-Id: I4555d60bf0c8cea1b3a812063ee24956b07c0d8b
CRs-Fixed: 2499426
This commit is contained in:
Arun Kumar Khandavalli 2019-07-30 11:35:29 +05:30 committed by nshrivas
parent 9a93483f83
commit 6ba1569220
2 changed files with 0 additions and 25 deletions

View File

@ -63,7 +63,6 @@
#include "cfg_ucfg_api.h"
#include "target_type.h"
#include "wlan_hdd_object_manager.h"
#include "sme_api.h"
#if defined(QCA_LL_TX_FLOW_CONTROL_V2) || defined(QCA_LL_PDEV_TX_FLOW_CONTROL)
/*
@ -2665,13 +2664,6 @@ int hdd_set_mon_rx_cb(struct net_device *dev)
struct ol_txrx_ops txrx_ops;
void *soc = cds_get_context(QDF_MODULE_ID_SOC);
void *pdev = cds_get_context(QDF_MODULE_ID_TXRX);
struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(adapter);
if (!hdd_ctx || !soc || !pdev) {
hdd_err("Context is NULL");
return -EINVAL;
}
qdf_mem_zero(&txrx_ops, sizeof(txrx_ops));
txrx_ops.rx.rx = hdd_mon_rx_packet_cbk;
@ -2690,13 +2682,6 @@ int hdd_set_mon_rx_cb(struct net_device *dev)
goto exit;
}
qdf_status = sme_create_mon_session(hdd_ctx->mac_handle,
adapter->mac_addr.bytes,
adapter->vdev_id);
if (QDF_STATUS_SUCCESS != qdf_status)
hdd_err("sme_create_mon_session() failed to register. Status= %d [0x%08X]",
qdf_status, qdf_status);
exit:
ret = qdf_status_to_os_return(qdf_status);
return ret;

View File

@ -1739,18 +1739,8 @@ sme_apf_read_work_memory(mac_handle_t mac_handle,
#endif /* FEATURE_WLAN_APF */
uint32_t sme_get_wni_dot11_mode(mac_handle_t mac_handle);
#if !defined(QCA_WIFI_QCA6290) || !defined(QCA_WIFI_QCA6390)
QDF_STATUS sme_create_mon_session(mac_handle_t mac_handle, uint8_t *bssid,
uint8_t vdev_id);
#else
inline QDF_STATUS sme_create_mon_session(mac_handle_t mac_handle,
uint8_t *bssid,
uint8_t vdev_id) {
return QDF_STATUS_SUCCESS;
}
#endif
/**
* sme_delete_mon_session() - post message to delete PE session for mon_mode