qcacld-3.0: Export new API to update default link

Currently default link update is only done in link switch
or dynamic mac address update case.
There is other scenario also where default link case become
inactive and update to DP will not happen.

So, to handle those scenarios, expert new API to update
DP default link.

CRs-Fixed: 3733584
Change-Id: Iab24c38c454cc5cb9f568de680531b38e4d3da45
This commit is contained in:
Amit Mehta
2024-02-08 14:53:42 +05:30
committed by Ravindra Konda
parent 998bdc2630
commit 1d0a7af857
6 changed files with 97 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2023-2024, 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
@@ -91,4 +91,15 @@ wlan_dp_is_local_pkt_capture_enabled(struct wlan_objmgr_psoc *psoc)
return false;
}
#endif /* WLAN_FEATURE_LOCAL_PKT_CAPTURE */
/**
* wlan_dp_update_def_link() - update DP interface default link
* @psoc: psoc handle
* @intf_mac: interface MAC address
* @vdev: objmgr vdev handle to set the def_link in dp_intf
*
*/
void wlan_dp_update_def_link(struct wlan_objmgr_psoc *psoc,
struct qdf_mac_addr *intf_mac,
struct wlan_objmgr_vdev *vdev);
#endif