|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2016-2017, 2019 The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2016-2017, 2019, 2021 The Linux Foundation. All rights reserved.
|
|
|
*
|
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -26,23 +26,6 @@
|
|
|
|
|
|
#include "cdp_txrx_handle.h"
|
|
|
#include "cdp_txrx_ops.h"
|
|
|
-/* TODO: adf need to be replaced with qdf */
|
|
|
-static inline int cdp_get_nwifi_mode(ol_txrx_soc_handle soc,
|
|
|
- uint8_t vdev_id)
|
|
|
-{
|
|
|
- if (!soc || !soc->ops) {
|
|
|
- QDF_TRACE(QDF_MODULE_ID_CDP, QDF_TRACE_LEVEL_DEBUG,
|
|
|
- "%s: Invalid Instance", __func__);
|
|
|
- QDF_BUG(0);
|
|
|
- return 0;
|
|
|
- }
|
|
|
-
|
|
|
- if (!soc->ops->raw_ops ||
|
|
|
- !soc->ops->raw_ops->txrx_get_nwifi_mode)
|
|
|
- return 0;
|
|
|
-
|
|
|
- return soc->ops->raw_ops->txrx_get_nwifi_mode(soc, vdev_id);
|
|
|
-}
|
|
|
|
|
|
/**
|
|
|
* @brief finds the ast entry for the packet
|