qcacld-3.0: Add ucfg API to set 6ghz relaxed conn policy flag

Add ucfg API to set 6ghz relaxed connection policy flag.

change-Id: I659bf86c4308691d5adc9f2a4d2ed3c38bbc63f0
CRs-Fixed: 3166847
This commit is contained in:
nakul kachhwaha
2022-04-05 12:15:05 +05:30
committed by Madan Koyyalamudi
parent 8de281b1ae
commit 91468b4a79
3 changed files with 52 additions and 1 deletions

View File

@@ -2242,6 +2242,18 @@ wlan_mlme_set_rf_test_mode_enabled(struct wlan_objmgr_psoc *psoc, bool value);
QDF_STATUS
wlan_mlme_is_relaxed_6ghz_conn_policy_enabled(struct wlan_objmgr_psoc *psoc,
bool *value);
/**
* wlan_mlme_set_relaxed_6ghz_conn_policy_enabled() - Set the 6ghz relaxed
* connection policy flag
* @psoc: psoc context
* @value: True/False
*
* Return: QDF_STATUS
*/
QDF_STATUS
wlan_mlme_set_relaxed_6ghz_conn_policy(struct wlan_objmgr_psoc *psoc,
bool value);
#else
static inline QDF_STATUS
wlan_mlme_is_relaxed_6ghz_conn_policy_enabled(struct wlan_objmgr_psoc *psoc,
@@ -2250,6 +2262,13 @@ wlan_mlme_is_relaxed_6ghz_conn_policy_enabled(struct wlan_objmgr_psoc *psoc,
*value = false;
return QDF_STATUS_SUCCESS;
}
static inline QDF_STATUS
wlan_mlme_set_relaxed_6ghz_conn_policy(struct wlan_objmgr_psoc *psoc,
bool value)
{
return QDF_STATUS_SUCCESS;
}
#endif
/**