Wireshark-dev: [Wireshark-dev] Is this a bug in display filter engine or something I have done
From: Richard Sharpe <realrichardsharpe@xxxxxxxxx>
Date: Mon, 17 Aug 2015 18:51:42 -0700
Hi folks,

I have the following definition (someone else wrote this piece):

   {&hf_ieee80211_ff_dmg_params_bss,
     {"BSS Type", "wlan.dmg_params.bss",
      FT_UINT8, BASE_DEC, VALS(bss_type), 0x03,
      NULL, HFILL }},

and am dissecting this for Probe Response frames depending on whether
or not it is a DMG STA or not (based on the frequency of the STA:
70,000 MHz):

  gboolean     *p_isDMG =
((gboolean*)(p_get_proto_data(wmem_file_scope(), pinfo, proto_wlan,
IS_DMG_KEY)));
...
  if (p_isDMG && *p_isDMG) {
    add_ff_dmg_params(cap_tree, tvb, pinfo, offset);
...

This displays correctly, but if we specify a display filter of
wlan.dmg_params.bss == 1 nothing is found.

What do I need to do here to make this work?

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)