qcacmn: Add INI param to support max chan switch IE

Add change to support max channel switch IE as a INI config.
With this INI enabled, max channel switch IE will be used in scenario,
where client disconnection is to be avoided with CSA on CAC channel.

Change-Id: I786e7e12e12ebcb3fc7d0720ed02e01bff6c82b8
CRs-Fixed: 2949206
Esse commit está contido em:
Santosh Anbu
2021-05-19 14:29:01 +05:30
commit de Madan Koyyalamudi
commit 08c37be1d9
7 arquivos alterados com 91 adições e 5 exclusões

Ver arquivo

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2019-2021 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 above
@@ -23,6 +23,7 @@
#include <include/wlan_psoc_mlme.h>
#include <wlan_psoc_mlme_api.h>
#include <qdf_module.h>
#include "cfg_ucfg_api.h"
struct psoc_mlme_obj *wlan_psoc_mlme_get_cmpt_obj(struct wlan_objmgr_psoc *psoc)
{
@@ -88,6 +89,8 @@ static void mlme_init_cfg(struct wlan_objmgr_psoc *psoc)
return;
wlan_cm_init_score_config(psoc, &mlme_psoc_obj->psoc_cfg.score_config);
mlme_psoc_obj->psoc_cfg.phy_config.max_chan_switch_ie =
cfg_get(psoc, CFG_MLME_MAX_CHAN_SWITCH_IE_ENABLE);
}
QDF_STATUS mlme_psoc_open(struct wlan_objmgr_psoc *psoc)