code: def get_parameters(self, packet_count=None):
          
          params = []
          if self._capture_filter:
              params += ['-f', self._capture_filter]
          if self._display_filter:
              params += [get_tshark_display_filter_flag(self.tshark_path), self._display_filter]
          # Raw is only enabled when JSON is also enabled.
          if self.include_raw:
              params += ["-x"]
          if packet_count:
              params += ['-c', str(packet_count)]
          if self._custom_parameters:
              for key, val in self._custom_parameters.items():
                  params += [key, val]
          if all(self.encryption):
              params += ['-o', 'wlan.enable_decryption:TRUE', '-o', 'uat:80211_keys:"' + self.encryption[1] + '","' +
                                                                    self.encryption[0] + '"']
          if self._override_prefs:
              for preference_name, preference_value in self._override_prefs.items():
                  if all(self.encryption) and preference_name in ('wlan.enable_decryption', 'uat:80211_keys'):
                      continue  # skip if override preferences also given via --encryption options
                  params += ['-o', '{0}:{1}'.format(preference_name, preference_value)]
  
          if self._output_file:
              params += ['-w', self._output_file]
  
          if self._decode_as:
              for criterion, decode_as_proto in self._decode_as.items():
                  params += ['-d', ','.join([criterion.strip(), decode_as_proto.strip()])]
  
          if self._disable_protocol:
              params += ['--disable-protocol', self._disable_protocol.strip()]
  
          return params
docs: Returns the special tshark parameters to be used according to the configuration of this class.