mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: Change enum pkt_capture_mode to bit map
In packet capture component change enum pkt_capture_mode from value to bit map. Change-Id: Ic777b5091e85ed8c906d7e855b5cadb0fa3319d5 CRs-Fixed: 3048502
This commit is contained in:
parent
d126746c50
commit
f7b542bdb1
1 changed files with 3 additions and 4 deletions
|
|
@ -1,5 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2020-2021 The Linux Foundation. All rights reserved.
|
||||
* 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
|
||||
|
|
@ -28,13 +29,11 @@
|
|||
* @PACKET_CAPTURE_MODE_DISABLE: packet capture mode disable
|
||||
* @PACKET_CAPTURE_MODE_MGMT_ONLY: capture mgmt packets only
|
||||
* @PACKET_CAPTURE_MODE_DATA_ONLY: capture data packets only
|
||||
* @PACKET_CAPTURE_MODE_DATA_MGMT: capture both data and mgmt packets
|
||||
*/
|
||||
enum pkt_capture_mode {
|
||||
PACKET_CAPTURE_MODE_DISABLE = 0,
|
||||
PACKET_CAPTURE_MODE_MGMT_ONLY,
|
||||
PACKET_CAPTURE_MODE_DATA_ONLY,
|
||||
PACKET_CAPTURE_MODE_DATA_MGMT,
|
||||
PACKET_CAPTURE_MODE_MGMT_ONLY = BIT(0),
|
||||
PACKET_CAPTURE_MODE_DATA_ONLY = BIT(1),
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue