This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Please, I want to know how wireshark calculate the SSI signal of the wireless network.

According to the capture result, the "SSI Signal" is -70 dBm, but the displayed hexadecimal value is "ba". Convert the "ba" to decimal = 186 and not -70. So, I really want to know how wireshark calculate that, because my final year project is about 802.11 capturing.

asked 11 Nov '10, 17:51

cshong87's gravatar image

cshong87
1111
accept rate: 0%


Ick - math.

Ok... you are right - 0xba converts to decimal 186, but Wireshark displays -70.

Short answer = subtract the actual decimal number in that field from 256 and then make it a negative number (e.g., 256-186 = 70 which you make -70).

Believe it's done in two's complement math - see the example at http://en.wikipedia.org/wiki/Twos_complement.

permanent link

answered 11 Nov '10, 19:25

lchappell's gravatar image

lchappell ♦
1.2k2730
accept rate: 8%

FYI, I was looking at the Radiotap header applied by an AirPcap adapter.

(15 Nov '10, 09:35) lchappell ♦

AFAIK Wireshark does not really calculate the signal strength, it only displays what is being delivered from the "driver".

Signal Values from my experience are strongly depended on the type of wireless NIC plus the monitoring driver and it's headers.

I have lots of captures with negative values and ALSO lots of captures from other cards with a positive value...

If you capture directly with wireshark/tshark you should be given the PRISM header information. If your tracefile comes from another software there might be other headers indicating physical properties of the wireless network.

permanent link

answered 15 Nov '10, 02:52

Landi's gravatar image

Landi
2.3k51442
accept rate: 28%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×3

question asked: 11 Nov '10, 17:51

question was seen: 5,640 times

last updated: 15 Nov '10, 09:35

p​o​w​e​r​e​d by O​S​Q​A