qcacmn: Fixes for compilation issues

- Fixes for compilation issues after enabling
  monitor 2.0 support.
- change copyright year for all files in the chain.

Change-Id: I885e257bd8ca83850656d8a1f408c1bc34920d7a
CRs-Fixed: 3086483
这个提交包含在:
Naga
2021-12-01 16:47:30 +05:30
提交者 Madan Koyyalamudi
父节点 165f79e802
当前提交 7798784bc5
修改 27 个文件,包含 128 行新增110 行删除

查看文件

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2021,2022 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
@@ -23,6 +23,9 @@
#include "dp_be.h"
#include "dp_be_tx.h"
#include "dp_be_rx.h"
#ifdef QCA_MONITOR_2_0_SUPPORT
#include "dp_mon_2.0.h"
#endif
#include <hal_be_api.h>
/* Generic AST entry aging timer value */
@@ -73,6 +76,8 @@ qdf_size_t dp_get_context_size_be(enum dp_context_type context_type)
return sizeof(struct dp_vdev_be);
case DP_CONTEXT_TYPE_PEER:
return sizeof(struct dp_peer_be);
case DP_CONTEXT_TYPE_MON_PDEV:
return dp_get_mon_obj_be_size(DP_CONTEXT_TYPE_MON_PDEV);
default:
return 0;
}