qcacld-3.0: Fetch bcn/prb rsp received freq based on source addr

Firmware sends beacon/probe rsp received to host as part of roam
sync(frame) indication. Frame received frequency is same as
re-association frequency in case of non-ML or single link ML
roaming.
But the ML probe response might come from non-assoc link in case
of multi link roaming. Probe response received frequency and
reassociation frequency are different in such cases. Some
IEs(e.g. HT_INFO) expect frame received frequency to match with
the frequency mentioned in the IE.
So, fetch the probe response received frequency from source
address of the frame and the ml_info of roam sync indication.

Change-Id: Ife96aa46de10d4cd6882e6d04479dfdd481582d4
CRs-Fixed: 3412842
This commit is contained in:
Srinivas Dasari
2023-02-21 14:08:41 +05:30
committed by Madan Koyyalamudi
parent b607e016e8
commit 8f1170af29
7 changed files with 54 additions and 34 deletions

View File

@@ -4245,4 +4245,16 @@ wlan_mlme_stats_get_periodic_display_time(struct wlan_objmgr_psoc *psoc,
*/
bool
wlan_mlme_is_bcn_prot_disabled_for_sap(struct wlan_objmgr_psoc *psoc);
/**
* wlan_mlme_get_src_addr_from_frame() - Get source address of the frame
* @frame: frame ptr
*
* Extract source mac address of the frame
*
* Return: Ptr for extracted src mac address
*
*/
uint8_t *
wlan_mlme_get_src_addr_from_frame(struct element_info *frame);
#endif /* _WLAN_MLME_API_H_ */