Wireshark-users: Re: [Wireshark-users] Is there any switch or option to decrypt 802.11 parket thr
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 23 Nov 2008 01:34:32 -0800

On Nov 23, 2008, at 12:22 AM, Sake Blok wrote:

Or you can use command line options to set preferences like this:

tshark -o "wlan.enable_decryption: TRUE" -o "wlan.wep_key1: wpa-pwd: 1f2e3d4c5b:myssid -i wifi etc...

The space between the colon and the option value isn't necessary, so you could just do

tshark -o wlan.enable_decryption:TRUE -o wlan.wep_key1:wpa-pwd: 1f2e3d4c5b:myssid -i wifi etc...

(and the "-o" option works in Wireshark as well).