qcacmn: Add oem target six ghz support disable flag in wifipos

Host driver sends channel list and number of channels to lowi-server
in ANI_MSG_GET_OEM_CAP_RSP. 6Ghz channels in the channel list are not
useful for legacy lowi-server not supporting 6Ghz channels.

For legacy oem targets, driver sets "oem_6g_support_disable".

Change-Id: Ibc072ff2df3d7b246d3a48d7cebcb5feac35b715
CRs-Fixed: 2597645
This commit is contained in:
Abhishek Ambure
2020-01-03 19:50:02 +05:30
committed by nshrivas
parent 540da9a56c
commit d49729cd47
4 changed files with 44 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2012-2020 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
@@ -330,6 +330,16 @@ uint32_t ucfg_wifi_pos_get_ftm_cap(struct wlan_objmgr_psoc *psoc);
*/
void ucfg_wifi_pos_set_ftm_cap(struct wlan_objmgr_psoc *psoc, uint32_t val);
/**
* ucfg_wifi_pos_set_oem_6g_supported: API to set oem target 6g enabled/disabled
* @psoc: psoc object
* @val: value to set
*
* Return: None
*/
void ucfg_wifi_pos_set_oem_6g_supported(struct wlan_objmgr_psoc *psoc,
bool val);
/**
* wifi_pos_get_app_pid: returns oem app pid.
* @psoc: pointer to psoc object