qcacmn: Move RCSA and NOL IE related code under a function

The RCSA and NOL IE are win specific and need to be moved into a function.

Change-Id: I5bb68279b4747ca61a4e4a7c4a6d78818ee4be86
CRs-Fixed: 2737134
Этот коммит содержится в:
Vignesh U
2020-08-06 13:47:30 +05:30
коммит произвёл snandini
родитель eca6d16539
Коммит d96e6d0356
4 изменённых файлов: 106 добавлений и 24 удалений

Просмотреть файл

@@ -33,8 +33,10 @@ extern struct dfs_to_mlme global_dfs_to_mlme;
* @pdev: Pointer to DFS pdev object.
* @wait_for_csa: Wait for CSA from RootAP.
*/
#if defined(QCA_DFS_RCSA_SUPPORT)
void dfs_mlme_start_rcsa(struct wlan_objmgr_pdev *pdev,
bool *wait_for_csa);
#endif
/**
* dfs_mlme_mark_dfs() - Mark the channel in the channel list.

Просмотреть файл

@@ -31,12 +31,14 @@
#include "wni_api.h"
#endif
#if defined(QCA_DFS_RCSA_SUPPORT)
void dfs_mlme_start_rcsa(struct wlan_objmgr_pdev *pdev,
bool *wait_for_csa)
{
if (global_dfs_to_mlme.dfs_start_rcsa)
global_dfs_to_mlme.dfs_start_rcsa(pdev, wait_for_csa);
}
#endif
#ifndef QCA_MCL_DFS_SUPPORT
#ifdef CONFIG_CHAN_NUM_API