qcacmn: Replace slave for target
Replace slave for target, and replace master for initiator which pair of slave. Change-Id: I51ee0ce1ce0d0dc30281388a270bda1edfac2903 CRs-Fixed: 3169180
This commit is contained in:

committed by
Madan Koyyalamudi

parent
5b5276e2ec
commit
c505123a57
@@ -1,6 +1,7 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2018,2020-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2008 Atheros Communications, Inc.
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -795,10 +796,10 @@
|
||||
/* if channel has been checked for DFS */
|
||||
#define WLAN_CHAN_DFS_CLEAR 0x0008
|
||||
|
||||
/* DFS radar history for slave device(STA mode) */
|
||||
/* DFS radar history for client device(STA mode) */
|
||||
#define WLAN_CHAN_HISTORY_RADAR 0x0100
|
||||
|
||||
/* DFS CAC valid for slave device(STA mode) */
|
||||
/* DFS CAC valid for client device(STA mode) */
|
||||
#define WLAN_CHAN_CAC_VALID 0x0200
|
||||
|
||||
#define WLAN_IS_CHAN_DFS(_c) \
|
||||
|
@@ -4600,12 +4600,12 @@ struct ftm_time_sync_start_stop_params {
|
||||
/**
|
||||
* struct wlan_time_sync_qtime_pair- Get wlan time sync qtime pair value
|
||||
* @vdev_id: vdev id
|
||||
* @qtime_master: qtimer value of master
|
||||
* @qtime_slave: qtimer value of slave
|
||||
* @qtime_initiator: qtimer value of initiator
|
||||
* @qtime_target: qtimer value of target
|
||||
*/
|
||||
struct wlan_time_sync_qtime_pair {
|
||||
uint64_t qtime_master;
|
||||
uint64_t qtime_slave;
|
||||
uint64_t qtime_initiator;
|
||||
uint64_t qtime_target;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -4902,7 +4902,7 @@ typedef enum {
|
||||
wmi_roam_pmkid_request_event_id,
|
||||
#ifdef FEATURE_WLAN_TIME_SYNC_FTM
|
||||
wmi_wlan_time_sync_ftm_start_stop_event_id,
|
||||
wmi_wlan_time_sync_q_master_slave_offset_eventid,
|
||||
wmi_wlan_time_sync_q_initiator_target_offset_eventid,
|
||||
#endif
|
||||
wmi_roam_scan_chan_list_id,
|
||||
wmi_muedca_params_config_eventid,
|
||||
|
@@ -16770,10 +16770,10 @@ extract_time_sync_ftm_offset_event_tlv(wmi_unified_t wmi, void *buf,
|
||||
}
|
||||
|
||||
for (iter = 0; iter < param->num_qtime; iter++) {
|
||||
param->pairs[iter].qtime_master = (
|
||||
param->pairs[iter].qtime_initiator = (
|
||||
(uint64_t)q_pair[iter].qmaster_u32 << 32) |
|
||||
q_pair[iter].qmaster_l32;
|
||||
param->pairs[iter].qtime_slave = (
|
||||
param->pairs[iter].qtime_target = (
|
||||
(uint64_t)q_pair[iter].qslave_u32 << 32) |
|
||||
q_pair[iter].qslave_l32;
|
||||
}
|
||||
@@ -18257,7 +18257,7 @@ static void populate_tlv_events_id(uint32_t *event_ids)
|
||||
#ifdef FEATURE_WLAN_TIME_SYNC_FTM
|
||||
event_ids[wmi_wlan_time_sync_ftm_start_stop_event_id] =
|
||||
WMI_VDEV_AUDIO_SYNC_START_STOP_EVENTID;
|
||||
event_ids[wmi_wlan_time_sync_q_master_slave_offset_eventid] =
|
||||
event_ids[wmi_wlan_time_sync_q_initiator_target_offset_eventid] =
|
||||
WMI_VDEV_AUDIO_SYNC_Q_MASTER_SLAVE_OFFSET_EVENTID;
|
||||
#endif
|
||||
event_ids[wmi_roam_scan_chan_list_id] =
|
||||
|
Reference in New Issue
Block a user