qcacmn: Add support to configure 165MHz Agile channel

The FW has updated the wmi command wmi_vdev_adfs_ch_cfg_cmd_fixed_param to
configure the Agile channel to enable the 165MHz channel as an Agile
channel by enabling 2 center frequencies.

For a 160MHz and 80MHz channel, the parameter center_freq1 will be the
center of the respective channels. For the 165MHz channel(restricted 80p80)
the parameter center_freq1 will be the center of the left 80MHz channel
(5690MHz) and the parameter center_freq2 will be the center of the right
80MHz channel (5775MHz)..

Update the ADFS parameters across UMAC, TARGET_IF and WMI layes to
update the Agile channel configuration command.

Change-Id: Ie480af9a6bb8dad87dd783ab06e17b449605b1c9
CRs-Fixed: 2642555
Этот коммит содержится в:
Vignesh U
2020-03-12 11:25:06 +05:30
коммит произвёл nshrivas
родитель 2a82e71b65
Коммит 6933f411c1
4 изменённых файлов: 25 добавлений и 12 удалений

Просмотреть файл

@@ -1125,7 +1125,11 @@ struct scan_chan_list_params {
* @max_duration_ms: Maximum Off channel CAC duration
* @chan_freq: channel number of precac channel
* @chan_width: Precac Channel width
* @center_freq: Center frequency of precac channel
* @center_freq1: Agile preCAC channel frequency in MHz for 20/40/80/160
* and left center frequency(5690MHz) for restricted 80p80.
* @center_freq2: Second segment Agile frequency if applicable. 0 for
* 20/40/80/160 and right center frequency(5775MHz) for
* restricted 80p80.
*/
struct vdev_adfs_ch_cfg_params {
uint32_t vdev_id;
@@ -1134,7 +1138,8 @@ struct vdev_adfs_ch_cfg_params {
uint32_t max_duration_ms;
uint32_t chan_freq;
uint32_t chan_width;
uint32_t center_freq; /* in MHz */
uint32_t center_freq1; /* in MHz */
uint32_t center_freq2; /* in MHz */
};
/**