qcacmn: Rename broadcast T2LM data structure

- Replace T2LM array in wlan_t2lm_context structure with established_t2lm
  and upcoming_t2lm structures
- Mapping switch time is different for each AP vdevs. Hence, store the
  value in vdev_mlme_proto_ap structure.
- Fix a few issues seen in mapping switch time expiry and expected duration
  expiry.

Change-Id: Id69badc3f4bf5e5e741691348488369008ffc4e9
CRs-Fixed: 3369279
This commit is contained in:
Shashikala Prabhu
2023-01-04 10:02:44 +05:30
committed by Madan Koyyalamudi
parent 2d884cc639
commit 88785d0116
6 changed files with 276 additions and 228 deletions

View File

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2021-2023 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 above
@@ -86,9 +86,10 @@ struct vdev_mlme_proto_generic {
/**
* struct vdev_mlme_proto_ap - ap specific mlme protocol
* @.
* @mapping_switch_time: Mapping switch time of T2LM
*/
struct vdev_mlme_proto_ap {
uint16_t mapping_switch_time;
};
/**