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:
@@ -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;
|
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)
|
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;
|
return mode_info;
|
||||||
}
|
}
|
||||||
|
@@ -556,7 +556,8 @@ struct wlan_lmac_if_dfs_tx_ops {
|
|||||||
uint16_t *devid);
|
uint16_t *devid);
|
||||||
QDF_STATUS (*dfs_get_phymode_info)(struct wlan_objmgr_pdev *pdev,
|
QDF_STATUS (*dfs_get_phymode_info)(struct wlan_objmgr_pdev *pdev,
|
||||||
uint32_t chan_mode,
|
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,
|
QDF_STATUS (*dfs_reg_ev_handler)(struct wlan_objmgr_psoc *psoc,
|
||||||
bool dfs_offload);
|
bool dfs_offload);
|
||||||
QDF_STATUS (*dfs_process_emulate_bang_radar_cmd)(
|
QDF_STATUS (*dfs_process_emulate_bang_radar_cmd)(
|
||||||
|
Reference in New Issue
Block a user