qcacmn: Remove unused SBS specific code

Remove unused SBS specific code.

Change-Id: I2e35eee885b2a70fd78ff48acc9d2a96e9573b77
CRs-Fixed: 3093793
This commit is contained in:
Abhishek Singh
2021-12-09 10:58:19 +05:30
committed by Madan Koyyalamudi
orang tua eb3e1b4096
melakukan f8e482d488
5 mengubah file dengan 2 tambahan dan 43 penghapusan

Melihat File

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. 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
@@ -28,8 +29,6 @@
#include <wlan_reg_afc.h>
#endif
#define REG_SBS_SEPARATION_THRESHOLD 100
#ifdef CONFIG_BAND_6GHZ
#define REG_MAX_CHANNELS_PER_OPERATING_CLASS 70
/*

Melihat File

@@ -1142,16 +1142,6 @@ void wlan_reg_update_nol_history_ch_for_freq(struct wlan_objmgr_pdev *pdev,
uint16_t *ch_list,
uint8_t num_ch,
bool nol_history_ch);
/**
* wlan_reg_is_frequency_valid_5g_sbs() Check if the given frequency is 5G SBS.
* @curfreq: current channel center frequency
* @newfreq:new channel center frequency
*
* Return: true if the given frequency is a valid 5G SBS
*/
#define WLAN_REG_IS_FREQUENCY_VALID_5G_SBS(curfreq, newfreq) \
wlan_reg_is_frequency_valid_5g_sbs(curfreq, newfreq)
bool wlan_reg_is_frequency_valid_5g_sbs(qdf_freq_t curfreq, qdf_freq_t newfreq);
/**
* wlan_reg_chan_has_dfs_attribute_for_freq() - check channel has dfs

Melihat File

@@ -949,11 +949,6 @@ bool wlan_reg_is_same_band_freqs(qdf_freq_t freq1, qdf_freq_t freq2)
return reg_is_same_band_freqs(freq1, freq2);
}
bool wlan_reg_is_frequency_valid_5g_sbs(qdf_freq_t curfreq, qdf_freq_t newfreq)
{
return reg_is_frequency_valid_5g_sbs(curfreq, newfreq);
}
enum channel_enum wlan_reg_get_chan_enum_for_freq(qdf_freq_t freq)
{
return reg_get_chan_enum_for_freq(freq);