mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacld-3.0: Pass original beacon TSF to user space
Pass original beacon TSF to user space application. This TSF is used by the user space application for its internal processing. Change-Id: I6c1638801dba2b53cbcb5b1ebc925d6f4e035582 CRs-Fixed: 998544
This commit is contained in:
parent
c332b35416
commit
a4e1224bb5
2 changed files with 4 additions and 0 deletions
|
|
@ -7835,6 +7835,8 @@ wlan_hdd_cfg80211_inform_bss_frame(hdd_adapter_t *pAdapter,
|
|||
qie_age->age =
|
||||
qdf_mc_timer_get_system_ticks() - bss_desc->nReceivedTime;
|
||||
qie_age->tsf_delta = bss_desc->tsf_delta;
|
||||
memcpy(&qie_age->beacon_tsf, bss_desc->timeStamp,
|
||||
sizeof(qie_age->beacon_tsf));
|
||||
#endif
|
||||
|
||||
memcpy(mgmt->u.probe_resp.variable, ie, ie_length);
|
||||
|
|
|
|||
|
|
@ -121,6 +121,7 @@
|
|||
* @type: Type
|
||||
* @age: Age
|
||||
* @tsf_delta: tsf delta from FW
|
||||
* @beacon_tsf: original beacon TSF
|
||||
*/
|
||||
typedef struct {
|
||||
u8 element_id;
|
||||
|
|
@ -131,6 +132,7 @@ typedef struct {
|
|||
u32 type;
|
||||
u32 age;
|
||||
u32 tsf_delta;
|
||||
u64 beacon_tsf;
|
||||
} __attribute__ ((packed)) qcom_ie_age;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue