mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
qcacmn: Use new phymode for vht in 2G
Today for VHT in 2G, we are sending WMI_HOST_MODE_11NG_HT20/40 as phymode values to FW. Change this to WMI_HOST_MODE_11AC_VHT40/20_2G which are dedicated phymodes defined for VHT operation in 2G. This change is applicable only for tlv based chipsets. CRs-Fixed: 2205265 Change-Id: I9482bfd1834285a21b5a45b6c039a13e9cd80479
This commit is contained in:
parent
b311d8e273
commit
2703fafbe2
2 changed files with 5 additions and 2 deletions
|
|
@ -202,8 +202,10 @@ uint32_t lmac_get_phymode_info(struct wlan_objmgr_pdev *pdev,
|
|||
|
||||
dfs_tx_ops = &psoc->soc_cb.tx_ops.dfs_tx_ops;
|
||||
|
||||
/* since dfs never comes into 2G, hardcode is_2gvht_en flag to false */
|
||||
if (dfs_tx_ops->dfs_get_phymode_info)
|
||||
dfs_tx_ops->dfs_get_phymode_info(pdev, chan_mode, &mode_info);
|
||||
dfs_tx_ops->dfs_get_phymode_info(pdev, chan_mode, &mode_info,
|
||||
false);
|
||||
|
||||
return mode_info;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -556,7 +556,8 @@ struct wlan_lmac_if_dfs_tx_ops {
|
|||
uint16_t *devid);
|
||||
QDF_STATUS (*dfs_get_phymode_info)(struct wlan_objmgr_pdev *pdev,
|
||||
uint32_t chan_mode,
|
||||
uint32_t *mode_info);
|
||||
uint32_t *mode_info,
|
||||
bool is_2gvht_en);
|
||||
QDF_STATUS (*dfs_reg_ev_handler)(struct wlan_objmgr_psoc *psoc,
|
||||
bool dfs_offload);
|
||||
QDF_STATUS (*dfs_process_emulate_bang_radar_cmd)(
|
||||
|
|
|
|||
Loading…
Reference in a new issue