Prechádzať zdrojové kódy

qcacmn: Deprecate NSS Native Wi-Fi offload Feature

Remove all the APIs and callbacks related to NSS
Native Wi-Fi offload feature

CRs-Fixed: 2856146
Change-Id: Id8d33a48bb5840d652b6624875f60ab6826bbefb
phadiman 4 rokov pred
rodič
commit
2011898692
2 zmenil súbory, kde vykonal 2 pridanie a 21 odobranie
  1. 1 3
      dp/inc/cdp_txrx_ops.h
  2. 1 18
      dp/inc/cdp_txrx_raw.h

+ 1 - 3
dp/inc/cdp_txrx_ops.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
  *
  *
  * Permission to use, copy, modify, and/or distribute this software for
@@ -952,8 +952,6 @@ struct cdp_wds_ops {
 };
 
 struct cdp_raw_ops {
-	int (*txrx_get_nwifi_mode)(struct cdp_soc_t *soc, uint8_t vdev_id);
-
 	QDF_STATUS
 	(*rsim_get_astentry)(struct cdp_soc_t *soc, uint8_t vdev_id,
 			     qdf_nbuf_t *pnbuf, struct cdp_raw_ast *raw_ast);

+ 1 - 18
dp/inc/cdp_txrx_raw.h

@@ -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