hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#define _PHL_TDLS_C_
#include "phl_headers.h"
 
#ifdef CONFIG_PHL_TDLS
enum rtw_phl_status
rtw_phl_tdls_init_ops(
   void *phl,
   struct rtw_phl_tdls_ops *ops)
{
   enum rtw_phl_status status = RTW_PHL_STATUS_FAILURE;
   struct phl_info_t *phl_info = (struct phl_info_t *)phl;
   struct phl_tdls_info_t *tdls_info = &phl_info->tdls_info;
 
   if(tdls_info == NULL)
       goto exit;
 
   tdls_info->ops.priv = ops->priv;
   tdls_info->ops.check_tdls_frame = ops->check_tdls_frame;
   status = RTW_PHL_STATUS_SUCCESS;
exit:
   return status;
}
#endif