qcacmn: Add WMI support for Tbtt sync in Multi Soc

Support synchronization of Tbtt in multi SoC case.
Add WMI to send vdev details of one soc to another.
Info includes beacon interval, bssid and tbtt calculated
in host wrt to other Soc.

Change-Id: I465140268b0fe5e0cb69f636ebeb08dc80667cf7
Bu işleme şunda yer alıyor:
Sumedh Baikady
2020-03-20 16:32:11 -07:00
işlemeyi yapan: nshrivas
ebeveyn 446ac2d46e
işleme 84bcbc29b5
6 değiştirilmiş dosya ile 74 ekleme ve 0 silme

Dosyayı Görüntüle

@@ -146,6 +146,39 @@ struct sta_ps_params {
uint32_t value;
};
/**
* struct rnr_bss_tbtt_info_param: Reported Vdev info
* @bss_mac: Mac address
* @beacon_intval: Beacon interval of reported AP
* @opclass: Channel Opclass
* @chan_idx: Channel number
* @next_qtime_tbtt_high: Tbtt higher 32bit
* @next_qtime_tbtt_low: Tbtt lower 32bit
*/
struct rnr_bss_tbtt_info_param {
uint8_t bss_mac[QDF_MAC_ADDR_SIZE];
uint32_t beacon_intval;
uint32_t opclass;
uint32_t chan_idx;
uint32_t next_qtime_tbtt_high;
uint32_t next_qtime_tbtt_low;
};
/**
* struct rnr_tbtt_multisoc_sync_param - Params to
* sync tbtt with non self SoCs timers
* @pdev_id: Host pdev_id
* @rnr_vap_count: Count of Vap to be included in WMI cmd
* @cmd_type: Set/Get tbtt sync info
* @rnr_bss_tbtt: Reported AP Vap info
*/
struct rnr_tbtt_multisoc_sync_param {
uint32_t pdev_id;
uint8_t rnr_vap_count;
uint8_t cmd_type;
struct rnr_bss_tbtt_info_param *rnr_bss_tbtt;
};
/**
* struct tbttoffset_params - Tbttoffset event params
* @vdev_id: Virtual AP device identifier