
Changes to create DP ML context and associate with CP MLO manager. Change-Id: Ic254c883de7c6d6db0fe722a48f0faabbaad0247
41 lines
1.4 KiB
C
41 lines
1.4 KiB
C
/*
|
|
* Copyright (c) 2021 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
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
#ifndef _CDP_TXRX_MLO_H_
|
|
#define _CDP_TXRX_MLO_H_
|
|
struct cdp_mlo_ctxt;
|
|
|
|
/**
|
|
* cdp_ctrl_mlo_mgr - opaque handle for mlo manager context
|
|
*/
|
|
struct cdp_ctrl_mlo_mgr;
|
|
|
|
struct
|
|
cdp_mlo_ctxt *dp_mlo_ctxt_attach_wifi3(struct cdp_ctrl_mlo_mgr *ctrl_ctxt);
|
|
void dp_mlo_ctxt_detach_wifi3(struct cdp_mlo_ctxt *ml_ctxt);
|
|
|
|
static inline
|
|
struct cdp_mlo_ctxt *cdp_mlo_ctxt_attach(struct cdp_ctrl_mlo_mgr *ctrl_ctxt)
|
|
{
|
|
return dp_mlo_ctxt_attach_wifi3(ctrl_ctxt);
|
|
}
|
|
|
|
static inline
|
|
void cdp_mlo_ctxt_detach(struct cdp_mlo_ctxt *ml_ctxt)
|
|
{
|
|
dp_mlo_ctxt_detach_wifi3(ml_ctxt);
|
|
}
|
|
#endif /*_CDP_TXRX_MLO_H_*/
|