From ef4a0c3173736a957d1495e9a706d7e7e3334613 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 1 May 2019 10:15:42 +0200 Subject: staging: rtlwifi: delete the staging driver A "real" driver for this hardware is now in the wireless-drivers-next tree, to be merged in the next major kernel release, so this staging driver can now be deleted as it is not needed anymore. Note, 2 .h files remain for this driver, as they are referenced in a separate staging driver. That mess will be cleaned up in a follow-on patch. Cc: Ping-Ke Shih Cc: Tzu-En Huang Cc: Yan-Hsuan Chuang Cc: Stanislaw Gruszka Cc: Brian Norris Cc: Kalle Valo Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtlwifi/phydm/phydm_acs.h | 46 ------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 drivers/staging/rtlwifi/phydm/phydm_acs.h (limited to 'drivers/staging/rtlwifi/phydm/phydm_acs.h') diff --git a/drivers/staging/rtlwifi/phydm/phydm_acs.h b/drivers/staging/rtlwifi/phydm/phydm_acs.h deleted file mode 100644 index c6516b871fdb..000000000000 --- a/drivers/staging/rtlwifi/phydm/phydm_acs.h +++ /dev/null @@ -1,46 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/****************************************************************************** - * - * Copyright(c) 2007 - 2016 Realtek Corporation. - * - * Contact Information: - * wlanfae - * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park, - * Hsinchu 300, Taiwan. - * - * Larry Finger - * - *****************************************************************************/ - -#ifndef __PHYDMACS_H__ -#define __PHYDMACS_H__ - -#define ACS_VERSION "1.1" /*20150729 by YuChen*/ -#define CLM_VERSION "1.0" - -#define ODM_MAX_CHANNEL_2G 14 -#define ODM_MAX_CHANNEL_5G 24 - -/* For phydm_auto_channel_select_setting_ap() */ -#define STORE_DEFAULT_NHM_SETTING 0 -#define RESTORE_DEFAULT_NHM_SETTING 1 -#define ACS_NHM_SETTING 2 - -struct acs_info { - bool is_force_acs_result; - u8 clean_channel_2g; - u8 clean_channel_5g; - /* channel_info[1]: channel score, channel_info[2]:channel_scan_times */ - u16 channel_info_2g[2][ODM_MAX_CHANNEL_2G]; - u16 channel_info_5g[2][ODM_MAX_CHANNEL_5G]; -}; - -void odm_auto_channel_select_init(void *dm_void); - -void odm_auto_channel_select_reset(void *dm_void); - -void odm_auto_channel_select(void *dm_void, u8 channel); - -u8 odm_get_auto_channel_select_result(void *dm_void, u8 band); - -#endif /* #ifndef __PHYDMACS_H__ */ -- cgit v1.2.3-59-g8ed1b