|
@@ -162,7 +162,7 @@ struct dfs_precac_entry {
|
|
|
* dfs_zero_cac_timer_init() - Initialize zero-cac timers
|
|
|
* @dfs_soc_obj: Pointer to DFS SOC object structure.
|
|
|
*/
|
|
|
-#if defined(ATH_SUPPORT_ZERO_CAC_DFS) && !defined(QCA_MCL_DFS_SUPPORT)
|
|
|
+#if defined(ATH_SUPPORT_ZERO_CAC_DFS) && !defined(MOBILE_DFS_SUPPORT)
|
|
|
void dfs_zero_cac_timer_init(struct dfs_soc_priv_obj *dfs_soc_obj);
|
|
|
#else
|
|
|
static inline void
|
|
@@ -174,7 +174,7 @@ dfs_zero_cac_timer_init(struct dfs_soc_priv_obj *dfs_soc_obj)
|
|
|
* dfs_print_precaclists() - Print precac list.
|
|
|
* @dfs: Pointer to wlan_dfs structure.
|
|
|
*/
|
|
|
-#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(QCA_MCL_DFS_SUPPORT)
|
|
|
+#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(MOBILE_DFS_SUPPORT)
|
|
|
void dfs_print_precaclists(struct wlan_dfs *dfs);
|
|
|
#else
|
|
|
static inline void dfs_print_precaclists(struct wlan_dfs *dfs)
|
|
@@ -186,7 +186,7 @@ static inline void dfs_print_precaclists(struct wlan_dfs *dfs)
|
|
|
* dfs_reset_precac_lists() - Resets the precac lists.
|
|
|
* @dfs: Pointer to wlan_dfs structure.
|
|
|
*/
|
|
|
-#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(QCA_MCL_DFS_SUPPORT)
|
|
|
+#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(MOBILE_DFS_SUPPORT)
|
|
|
void dfs_reset_precac_lists(struct wlan_dfs *dfs);
|
|
|
#else
|
|
|
static inline void dfs_reset_precac_lists(struct wlan_dfs *dfs)
|
|
@@ -198,7 +198,7 @@ static inline void dfs_reset_precac_lists(struct wlan_dfs *dfs)
|
|
|
* dfs_reset_precaclists() - Clears and initializes precac_list.
|
|
|
* @dfs: Pointer to wlan_dfs structure.
|
|
|
*/
|
|
|
-#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(QCA_MCL_DFS_SUPPORT)
|
|
|
+#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(MOBILE_DFS_SUPPORT)
|
|
|
void dfs_reset_precaclists(struct wlan_dfs *dfs);
|
|
|
#else
|
|
|
static inline void dfs_reset_precaclists(struct wlan_dfs *dfs)
|
|
@@ -216,7 +216,7 @@ void dfs_deinit_precac_list(struct wlan_dfs *dfs);
|
|
|
* dfs_zero_cac_detach() - Free zero_cac memory.
|
|
|
* @dfs: Pointer to wlan_dfs dtructure.
|
|
|
*/
|
|
|
-#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(QCA_MCL_DFS_SUPPORT)
|
|
|
+#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(MOBILE_DFS_SUPPORT)
|
|
|
void dfs_zero_cac_detach(struct wlan_dfs *dfs);
|
|
|
#else
|
|
|
static inline void dfs_zero_cac_detach(struct wlan_dfs *dfs)
|
|
@@ -230,7 +230,7 @@ static inline void dfs_zero_cac_detach(struct wlan_dfs *dfs)
|
|
|
*/
|
|
|
void dfs_init_precac_list(struct wlan_dfs *dfs);
|
|
|
|
|
|
-#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(QCA_MCL_DFS_SUPPORT)
|
|
|
+#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(MOBILE_DFS_SUPPORT)
|
|
|
/**
|
|
|
* dfs_start_precac_timer_for_freq() - Start precac timer.
|
|
|
* @dfs: Pointer to wlan_dfs structure.
|
|
@@ -254,7 +254,7 @@ void dfs_start_precac_timer_for_freq(struct wlan_dfs *dfs,
|
|
|
* dfs_cancel_precac_timer() - Cancel the precac timer.
|
|
|
* @dfs: Pointer to wlan_dfs structure.
|
|
|
*/
|
|
|
-#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(QCA_MCL_DFS_SUPPORT)
|
|
|
+#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(MOBILE_DFS_SUPPORT)
|
|
|
void dfs_cancel_precac_timer(struct wlan_dfs *dfs);
|
|
|
#else
|
|
|
static inline void dfs_cancel_precac_timer(struct wlan_dfs *dfs)
|
|
@@ -266,7 +266,7 @@ static inline void dfs_cancel_precac_timer(struct wlan_dfs *dfs)
|
|
|
* dfs_zero_cac_attach() - Initialize dfs zerocac variables.
|
|
|
* @dfs: Pointer to DFS structure.
|
|
|
*/
|
|
|
-#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(QCA_MCL_DFS_SUPPORT)
|
|
|
+#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(MOBILE_DFS_SUPPORT)
|
|
|
void dfs_zero_cac_attach(struct wlan_dfs *dfs);
|
|
|
#else
|
|
|
static inline void dfs_zero_cac_attach(struct wlan_dfs *dfs)
|
|
@@ -278,7 +278,7 @@ static inline void dfs_zero_cac_attach(struct wlan_dfs *dfs)
|
|
|
* dfs_zero_cac_reset() - Reset Zero cac DFS variables.
|
|
|
* @dfs: Pointer to wlan_dfs structure.
|
|
|
*/
|
|
|
-#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(QCA_MCL_DFS_SUPPORT)
|
|
|
+#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(MOBILE_DFS_SUPPORT)
|
|
|
void dfs_zero_cac_reset(struct wlan_dfs *dfs);
|
|
|
#else
|
|
|
static inline void dfs_zero_cac_reset(struct wlan_dfs *dfs)
|
|
@@ -290,7 +290,7 @@ static inline void dfs_zero_cac_reset(struct wlan_dfs *dfs)
|
|
|
* dfs_zero_cac_timer_detach() - Free Zero cac DFS variables.
|
|
|
* @dfs_soc_obj: Pointer to dfs_soc_priv_obj structure.
|
|
|
*/
|
|
|
-#if defined(ATH_SUPPORT_ZERO_CAC_DFS) && !defined(QCA_MCL_DFS_SUPPORT)
|
|
|
+#if defined(ATH_SUPPORT_ZERO_CAC_DFS) && !defined(MOBILE_DFS_SUPPORT)
|
|
|
void dfs_zero_cac_timer_detach(struct dfs_soc_priv_obj *dfs_soc_obj);
|
|
|
#else
|
|
|
static inline void
|
|
@@ -308,7 +308,7 @@ dfs_zero_cac_timer_detach(struct dfs_soc_priv_obj *dfs_soc_obj)
|
|
|
* * True: If precac is done on channel.
|
|
|
* * False: If precac is not done on channel.
|
|
|
*/
|
|
|
-#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(QCA_MCL_DFS_SUPPORT)
|
|
|
+#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(MOBILE_DFS_SUPPORT)
|
|
|
bool dfs_is_precac_done(struct wlan_dfs *dfs, struct dfs_channel *chan);
|
|
|
#else
|
|
|
static inline bool dfs_is_precac_done(struct wlan_dfs *dfs,
|
|
@@ -369,7 +369,7 @@ uint16_t dfs_get_ieeechan_for_precac_for_freq(struct wlan_dfs *dfs,
|
|
|
* @dfs: Pointer to wlan_dfs structure.
|
|
|
* @precac_timeout: Precac timeout value.
|
|
|
*/
|
|
|
-#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(QCA_MCL_DFS_SUPPORT)
|
|
|
+#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(MOBILE_DFS_SUPPORT)
|
|
|
int dfs_override_precac_timeout(struct wlan_dfs *dfs,
|
|
|
int precac_timeout);
|
|
|
#else
|
|
@@ -385,7 +385,7 @@ static inline int dfs_override_precac_timeout(struct wlan_dfs *dfs,
|
|
|
* @dfs: Pointer wlan_dfs structure.
|
|
|
* @precac_timeout: Get precac timeout value in this variable.
|
|
|
*/
|
|
|
-#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(QCA_MCL_DFS_SUPPORT)
|
|
|
+#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(MOBILE_DFS_SUPPORT)
|
|
|
int dfs_get_override_precac_timeout(struct wlan_dfs *dfs,
|
|
|
int *precac_timeout);
|
|
|
#else
|
|
@@ -421,7 +421,7 @@ static inline int dfs_get_override_precac_timeout(struct wlan_dfs *dfs,
|
|
|
* Which means when all the channels in precac-required-list are
|
|
|
* exhausted the VHT80_80/VHT160 comes back to VHT80 mode.
|
|
|
*/
|
|
|
-#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(QCA_MCL_DFS_SUPPORT)
|
|
|
+#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(MOBILE_DFS_SUPPORT)
|
|
|
/*
|
|
|
* dfs_find_vht80_chan_for_precac_for_freq() - Find VHT80 channel for precac.
|
|
|
* @dfs: Pointer to wlan_dfs structure.
|
|
@@ -612,7 +612,7 @@ static inline void dfs_agile_soc_obj_init(struct wlan_dfs *dfs,
|
|
|
* @dfs: Pointer to wlan_dfs structure.
|
|
|
* @value: input value for dfs_legacy_precac_ucfg flag.
|
|
|
*/
|
|
|
-#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(QCA_MCL_DFS_SUPPORT)
|
|
|
+#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(MOBILE_DFS_SUPPORT)
|
|
|
void dfs_set_precac_enable(struct wlan_dfs *dfs,
|
|
|
uint32_t value);
|
|
|
#else
|
|
@@ -629,7 +629,7 @@ static inline void dfs_set_precac_enable(struct wlan_dfs *dfs,
|
|
|
*
|
|
|
* Return: True if legacy preCAC is enabled, else false.
|
|
|
*/
|
|
|
-#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(QCA_MCL_DFS_SUPPORT)
|
|
|
+#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(MOBILE_DFS_SUPPORT)
|
|
|
bool dfs_is_legacy_precac_enabled(struct wlan_dfs *dfs);
|
|
|
#else
|
|
|
static inline bool dfs_is_legacy_precac_enabled(struct wlan_dfs *dfs)
|
|
@@ -777,7 +777,7 @@ void dfs_zero_cac_reset(struct wlan_dfs *dfs);
|
|
|
*
|
|
|
* Return: None (void).
|
|
|
*/
|
|
|
-#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(QCA_MCL_DFS_SUPPORT)
|
|
|
+#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(MOBILE_DFS_SUPPORT)
|
|
|
void dfs_reinit_precac_lists(struct wlan_dfs *src_dfs,
|
|
|
struct wlan_dfs *dest_dfs,
|
|
|
uint16_t low_5g_freq,
|
|
@@ -821,7 +821,7 @@ dfs_is_precac_done_on_ht20_40_80_160_165_chan_for_freq(struct wlan_dfs *dfs,
|
|
|
bool dfs_is_precac_done_on_ht8080_chan(struct wlan_dfs *dfs,
|
|
|
struct dfs_channel *chan);
|
|
|
|
|
|
-#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(QCA_MCL_DFS_SUPPORT)
|
|
|
+#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(MOBILE_DFS_SUPPORT)
|
|
|
#ifdef CONFIG_CHAN_FREQ_API
|
|
|
/**
|
|
|
* dfs_find_curchwidth_and_center_chan_for_freq() - Find the channel width
|
|
@@ -923,7 +923,7 @@ static inline void dfs_unmark_precac_nol_for_freq(struct wlan_dfs *dfs,
|
|
|
* dfs_is_precac_timer_running() - Check whether precac timer is running.
|
|
|
* @dfs: Pointer to wlan_dfs structure.
|
|
|
*/
|
|
|
-#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(QCA_MCL_DFS_SUPPORT)
|
|
|
+#if defined(WLAN_DFS_PARTIAL_OFFLOAD) && !defined(MOBILE_DFS_SUPPORT)
|
|
|
bool dfs_is_precac_timer_running(struct wlan_dfs *dfs);
|
|
|
#else
|
|
|
static inline bool dfs_is_precac_timer_running(struct wlan_dfs *dfs)
|