qcacmn: Update OCAC completion Host structure and processing routine

The OCAC completion event 'wmi_vdev_adfs_ocac_complete_event_fixed_param'
has been updated to include center frequencies of 2 segments in MHz for
165Mhz Agile mode.

Update the corresponding Host OCAC completion data structure
'vdev_adfs_complete_status' to include 2 center frequencies to support
165MHz Agile mode.

Also FW might send a delayed OCAC completion status after the Host has
configured a new agile channel. So all the OCAC completion events should be
validated if the status is received for the current agile channel.

Update the OCAC completion processing API to include 2 center frequencies
and chwidth so that, it is possible to check if the OCAC completion status
is received on current agile channel or an obsolete agile channel.

CRs-Fixed: 2705671
Change-Id: Iab8980f8d030120d107f068d890c9694d28ee98c
このコミットが含まれているのは:
Vignesh U
2020-06-09 09:33:57 +05:30
committed by nshrivas
コミット ace59f2d1f
4個のファイルの変更29行の追加9行の削除

ファイルの表示

@@ -103,14 +103,18 @@ struct dfs_emulate_bang_radar_test_cmd {
* @vdev_id: Physical device identifier
* @chan_freq: Channel number
* @chan_width: Channel Width
* @center_freq: Center channel number
* @center_freq1 : For 20/40/80/160Mhz, it is the center of the corresponding
* band. For 80P80/165MHz, it is the center of the left 80MHz.
* @center_freq2 : It is valid and non-zero only for 80P80/165MHz. It indicates
* the Center Frequency of the right 80MHz segment.
* @ocac_status: off channel cac status
*/
struct vdev_adfs_complete_status {
uint32_t vdev_id;
uint32_t chan_freq;
uint32_t chan_width;
uint32_t center_freq;
uint32_t center_freq1;
uint32_t center_freq2;
uint32_t ocac_status;
};