diff options
author | Jeff Johnson <quic_jjohnson@quicinc.com> | 2023-11-06 21:26:06 +0300 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2023-11-22 21:25:15 +0300 |
commit | 51516d9842a35809cb8b9238d61b07355a61f0ec (patch) | |
tree | ce3ffd27313f8b6505ee14a8160fa62a1501d4f0 /drivers/net/wireless/ath/ath11k | |
parent | 7d4a70201204def2d771571518efcbe37ee6b85d (diff) | |
download | linux-51516d9842a35809cb8b9238d61b07355a61f0ec.tar.xz |
wifi: ath12k: Consolidate WMI peer flags
Currently wmi.h has two separate set of definitions for peer
flags. One set of flags is defined in enum wmi_tlv_peer_flags, and,
except for the last three, are named WMI_TLV_PEER_*. The other set of
flags are defined as macros, and are named WMI_PEER_*. The last three
macros have the same name as the last three wmi_tlv_peer_flags
enumerators.
The code only uses the WMI_PEER_* names; the WMI_TLV_PEER_* names are
unused. So as a first step in consolidation, remove all the
WMI_TLV_PEER_* names.
But since having an enum to define all the flags is actually a good
thing since that provides a handle by which to refer to the entire set
of flags, recast the WMI_PEER_* macros into enumerators.
Compile tested only.
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20231106-ath-peer-flags-v1-4-781e83b7e8e8@quicinc.com
Diffstat (limited to 'drivers/net/wireless/ath/ath11k')
0 files changed, 0 insertions, 0 deletions