• Jeff Johnson's avatar
    wifi: ath11k: Consolidate WMI peer flags · 7d4a7020
    Jeff Johnson authored
    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: default avatarJeff Johnson <quic_jjohnson@quicinc.com>
    Signed-off-by: default avatarKalle Valo <quic_kvalo@quicinc.com>
    Link: https://lore.kernel.org/r/20231106-ath-peer-flags-v1-3-781e83b7e8e8@quicinc.com
    7d4a7020
wmi.h 174 KB