qcacmn: Add 6GHz Monitor Mode Support

Add monitor mode support to capture packets over 6GHz frequencies by
getting capture frequency from pdev.

Change freq type to qdf_freq_t.

Change-Id: I7b6edc43e254dc98a3c2939c369874bec9d16ddd
CRs-Fixed: 2568970
This commit is contained in:
Saket Jha
2019-11-18 16:59:15 -08:00
committed by nshrivas
parent 374e7c25dc
commit 540da9a56c
9 changed files with 71 additions and 45 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2014-2020 The Linux Foundation. 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
@@ -246,7 +246,7 @@ struct mon_rx_status {
uint64_t tsft;
uint32_t ppdu_timestamp;
uint32_t preamble_type;
uint16_t chan_freq;
qdf_freq_t chan_freq;
uint16_t chan_num;
uint16_t chan_flags;
uint16_t ht_flags;