qcacmn: CFR: Abstract retrieval of netdevice name

Since netdevice name retrieval is tied to OS,
move it to qdf OS layer instead of doing it
inside CFR ucfg layer.

Change-Id: Ia9dcbdf56bcb36a1f0788be9964ea87fdf5beb3f
CRs-Fixed: 2643682
This commit is contained in:
Padma Raghunathan
2020-03-23 14:15:53 +05:30
committed by nshrivas
parent 0c314d439d
commit be65ea9002
4 changed files with 60 additions and 29 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2017 The Linux Foundation. All rights reserved.
* Copyright (c) 2016-2017,2020 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
@@ -20,6 +20,8 @@
#ifndef _WLAN_OSIF_PRIV_H_
#define _WLAN_OSIF_PRIV_H_
#include "qdf_net_if.h"
struct osif_scan_pdev;
struct osif_tdls_vdev;
@@ -28,11 +30,13 @@ struct osif_tdls_vdev;
* @wiphy: wiphy handle
* @legacy_osif_priv: legacy osif private handle
* @scan_priv: Scan related data used by cfg80211 scan
* @nif: pdev net device
*/
struct pdev_osif_priv {
struct wiphy *wiphy;
void *legacy_osif_priv;
struct osif_scan_pdev *osif_scan;
struct qdf_net_if *nif;
};
/**