mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacmn: Change DFS agile flag
Agile flag WMI_CHAN_FLAG_AGILE_MODE added. When this flag is set, the primary VHT80 will not be affected when channel change is done. Change-Id: Ie6bce12ec955c0c8a79246dda57092808611803d CRs-Fixed: 1072504
This commit is contained in:
parent
4f30c00e1c
commit
b408ac4481
2 changed files with 6 additions and 1 deletions
|
|
@ -379,6 +379,7 @@ struct vdev_delete_params {
|
|||
* @is_chan_passive: is this passive channel
|
||||
* @allow_ht: HT allowed in chan
|
||||
* @allow_vht: VHT allowed on chan
|
||||
* @dfs_set_agile: is agile mode
|
||||
* @phy_mode: phymode (vht80 or ht40 or ...)
|
||||
* @cfreq1: centre frequency on primary
|
||||
* @cfreq2: centre frequency on secondary
|
||||
|
|
@ -399,7 +400,8 @@ struct channel_param {
|
|||
dfs_set_cfreq2:1,
|
||||
is_chan_passive:1,
|
||||
allow_ht:1,
|
||||
allow_vht:1;
|
||||
allow_vht:1,
|
||||
dfs_set_agile:1;
|
||||
uint32_t phy_mode;
|
||||
uint32_t cfreq1;
|
||||
uint32_t cfreq2;
|
||||
|
|
|
|||
|
|
@ -193,6 +193,9 @@ QDF_STATUS send_vdev_start_cmd_non_tlv(wmi_unified_t wmi,
|
|||
if (param->channel.dfs_set_cfreq2)
|
||||
WMI_SET_CHANNEL_FLAG(&cmd->chan, WMI_CHAN_FLAG_DFS_CFREQ2);
|
||||
|
||||
if (param->channel.dfs_set_agile)
|
||||
WMI_SET_CHANNEL_FLAG(&cmd->chan, WMI_CHAN_FLAG_AGILE_MODE);
|
||||
|
||||
if (param->channel.half_rate)
|
||||
WMI_SET_CHANNEL_FLAG(&cmd->chan, WMI_CHAN_FLAG_HALF);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue