qcacmn: Enable/Disable multi group key support

Support to Enable/Disable multi group key and configure
maximum number of group keys.

Change-Id: Ie6ce2a38d0ad04a47f966fc281f35a8af7125447
CRs-Fixed: 2490599
This commit is contained in:
Gurumoorthi Gnanasambandhan
2019-07-25 10:24:10 +05:30
committed by nshrivas
부모 17d1e0f676
커밋 80e1ae17a6
5개의 변경된 파일43개의 추가작업 그리고 21개의 파일을 삭제

파일 보기

@@ -5157,6 +5157,8 @@ typedef enum {
wmi_vdev_param_rawmode_open_war,
wmi_vdev_param_max_mtu_size,
wmi_vdev_param_mcast_rc_stale_period,
wmi_vdev_param_enable_multi_group_key,
wmi_vdev_param_max_group_keys,
} wmi_conv_vdev_param_id;
/**
@@ -5474,6 +5476,7 @@ struct wmi_host_fw_abi_ver {
* by the AP
* @max_bssid_indicator: max number of MBSS VAPs
* @three_way_coex_config_legacy_en: enable three way coex legacy feature
* @max_num_group_keys: max number of group keys supported for VLAN
*/
typedef struct {
uint32_t num_vdevs;
@@ -5557,6 +5560,7 @@ typedef struct {
eapol_minrate_ac_set:2;
bool tstamp64_en;
bool three_way_coex_config_legacy_en;
uint32_t max_num_group_keys;
} target_resource_config;
/**

파일 보기

@@ -472,6 +472,9 @@ static const uint32_t vdev_param_tlv[] = {
[wmi_vdev_param_max_mtu_size] = WMI_VDEV_PARAM_MAX_MTU_SIZE,
[wmi_vdev_param_mcast_rc_stale_period] =
WMI_VDEV_PARAM_MCAST_RC_STALE_PERIOD,
[wmi_vdev_param_enable_multi_group_key] =
WMI_VDEV_PARAM_ENABLE_MULTI_GROUP_KEY,
[wmi_vdev_param_max_group_keys] = WMI_VDEV_PARAM_NUM_GROUP_KEYS,
};
#endif
@@ -6474,6 +6477,7 @@ void wmi_copy_resource_config(wmi_resource_config *resource_cfg,
resource_cfg->num_packet_filters = tgt_res_cfg->num_packet_filters;
resource_cfg->num_max_sta_vdevs = tgt_res_cfg->num_max_sta_vdevs;
resource_cfg->max_bssid_indicator = tgt_res_cfg->max_bssid_indicator;
resource_cfg->max_num_group_keys = tgt_res_cfg->max_num_group_keys;
if (tgt_res_cfg->atf_config)
WMI_RSRC_CFG_FLAG_ATF_CONFIG_ENABLE_SET(resource_cfg->flag1, 1);
if (tgt_res_cfg->mgmt_comp_evt_bundle_support)