android_kernel_xiaomi_sm8350/components
Jianmin Zhu 2f9e7536a6 qcacld-3.0: Update 2g vht20 cfg by target capability
Only when F/W indicates 2g vht20 supported and ini config
gEnableVhtFor24GHzBand=1, 2g vht20 can be enabled.

Steps:
For chips wmi_service_ext_msg supported:

1. hdd_component_psoc_open->mlme_cfg_on_psoc_enable->
	mlme_init_vht_cap_cfg, read and save ini cfg:
	gEnableVhtFor24GHzBand.
2. WMI_SERVICE_READY_EXT_EVENT indicates 2g vht20 capability by
	mac_phy_caps->vht_cap_info_2G.
3. init_deinit_populate_mac_phy_capability calls
	extract_mac_phy_cap_service_ready_ext_tlv
	to extract vht_cap_info_2G, and set to
	psoc->tgt_if_handle->info.mac_phy_cap.
4. hdd_update_tgt_cfg->hdd_update_vhtcap_2g->
	wma_get_caps_for_phyidx_hwmode, get target capability,
	and combine ini cfg, update 2g vht20 cfg in mlme.

For chips wmi_service_ext_msg unsupported:

1. hdd_component_psoc_open->mlme_cfg_on_psoc_enable->
	mlme_init_vht_cap_cfg, read and save ini cfg:
	gEnableVhtFor24GHzBand.
2. WMI_SERVICE_READY_EVENT indicates 2g vht20 capability by
	hal_reg_capabilities-> wireless_modes
	REGDMN_MODE_11AC_VHT20_2G bit.
3. init_deinit_populate_phy_reg_cap calls wmi_extract_hal_reg_cap
	to extract hal_reg_capabilities, and set to
	regulatory component by ucfg_reg_set_hal_reg_cap, saved
	in wlan_regulatory_psoc_priv_obj->reg_cap.
4. hdd_update_tgt_cfg->hdd_update_vhtcap_2g, get and target
	capability and combine ini cfg, update 2g vht20 cfg in
	mlme.

Change-Id: Id4f2edd129bb1eefec3e39b4246c5f52b2b4124a
CRs-Fixed: 2384842
2019-01-30 02:32:01 -08:00
..
action_oui qcacld-3.0: Add ini to disable some aggressive TX features 2018-12-13 23:21:25 -08:00
cfg qcacld-3.0: Add legacy DP CFG items and APIs 2018-11-01 05:42:07 -07:00
cmn_services/policy_mgr qcacld-3.0: Add support for new regulatory files 2019-01-23 15:14:09 -08:00
disa qcacld-3.0: Rename GET_DISA_TX_OPS_FROM_VDEV() 2018-12-07 11:18:49 -08:00
dsc qcacld-3.0: Fix race in DSC threaded unit test 2019-01-10 19:42:10 -08:00
fw_offload qcacld-3.0: Fix fw offload ucfg APIs for wiphy features 2019-01-16 17:09:44 -08:00
ipa qcacld-3.0: Delete second STA wlan ipa interface 2019-01-16 12:56:51 -08:00
mlme qcacld-3.0: Update 2g vht20 cfg by target capability 2019-01-30 02:32:01 -08:00
nan qcacld-3.0: Refactor firmware, serialization and HDD CMD timeouts 2019-01-24 16:17:50 -08:00
ocb qcacld-3.0: Optimize schedule msg post error logging 2019-01-22 02:37:31 -08:00
p2p qcacld-3.0: sta interface supports to tx p2p action frames 2019-01-29 14:31:45 -08:00
pmo qcacld-3.0: Change to include PDEV MLME component object 2019-01-24 20:14:33 -08:00
target_if qcacld-3.0: Optimize schedule msg post error logging 2019-01-22 02:37:31 -08:00
tdls qcacld-3.0: Refactor firmware, serialization and HDD CMD timeouts 2019-01-24 16:17:50 -08:00