Re: multi-antenna handling
Guy Harris <guy-FrUbXkNCsVf2fBVCVOL8/[email protected]> Wed, 25 Jun 2014 19:07:05 -0700
| Newsgroups | org.netbsd.radiotap |
|---|---|
| Message-ID | <[email protected]> |
On Jun 25, 2014, at 8:11 AM, Johannes Berg <[email protected]> wrote: > On Wed, 2014-06-25 at 09:09 -0400, Matteo Cypriani wrote: > >> I observed the same on TP-Link TL-WDR3500 (which is also ath9k-based), and >> assumed the signal in the first namespace was an average of the two others. >> Should I understand this may be a wrong assumption? > > Ah, there's a value in the first part, without per-antenna information - > that's the max of the per-antenna values. In the capture for the ask.wireshark.org question, frame 2 has -67 dBm in the first part, -68 dBm for antenna 0, and -73 dBm for antenna 1; I don't know what version of the kernel the machine in question is running, so I don't know what version of the ath9k driver it's running, but that's not a max or min or even an average. Perhaps somebody needs to gently remind the maintainers of the ath9k driver not to put an extra signal value into the radiotap header, lest they confuse users. The radiotap header dissects as: Frame 2: 66 bytes on wire (528 bits), 66 bytes captured (528 bits) Radiotap Header v0, Length 38 Header revision: 0 Header pad: 0 Header length: 38 Present flags .... .... .... .... .... .... .... ...1 = TSFT: True .... .... .... .... .... .... .... ..1. = Flags: True .... .... .... .... .... .... .... .1.. = Rate: True .... .... .... .... .... .... .... 1... = Channel: True .... .... .... .... .... .... ...0 .... = FHSS: False .... .... .... .... .... .... ..1. .... = dBm Antenna Signal: True .... .... .... .... .... .... .0.. .... = dBm Antenna Noise: False .... .... .... .... .... .... 0... .... = Lock Quality: False .... .... .... .... .... ...0 .... .... = TX Attenuation: False .... .... .... .... .... ..0. .... .... = dB TX Attenuation: False .... .... .... .... .... .0.. .... .... = dBm TX Power: False .... .... .... .... .... 0... .... .... = Antenna: False .... .... .... .... ...0 .... .... .... = dB Antenna Signal: False .... .... .... .... ..0. .... .... .... = dB Antenna Noise: False .... .... .... .... .1.. .... .... .... = RX flags: True .... .... .... .0.. .... .... .... .... = Channel+: False .... .... .... 0... .... .... .... .... = HT information: False .... .... ...0 .... .... .... .... .... = A-MPDU Status: False .... .... ..0. .... .... .... .... .... = VHT information: False ...0 0000 00.. .... .... .... .... .... = Reserved: 0x00000000 ..1. .... .... .... .... .... .... .... = Radiotap NS next: True .0.. .... .... .... .... .... .... .... = Vendor NS next: False 1... .... .... .... .... .... .... .... = Ext: True .... .... .... .... .... .... .... ...0 = TSFT: False .... .... .... .... .... .... .... ..0. = Flags: False .... .... .... .... .... .... .... .0.. = Rate: False .... .... .... .... .... .... .... 0... = Channel: False .... .... .... .... .... .... ...0 .... = FHSS: False .... .... .... .... .... .... ..1. .... = dBm Antenna Signal: True .... .... .... .... .... .... .0.. .... = dBm Antenna Noise: False .... .... .... .... .... .... 0... .... = Lock Quality: False .... .... .... .... .... ...0 .... .... = TX Attenuation: False .... .... .... .... .... ..0. .... .... = dB TX Attenuation: False .... .... .... .... .... .0.. .... .... = dBm TX Power: False .... .... .... .... .... 1... .... .... = Antenna: True .... .... .... .... ...0 .... .... .... = dB Antenna Signal: False .... .... .... .... ..0. .... .... .... = dB Antenna Noise: False .... .... .... .... .0.. .... .... .... = RX flags: False .... .... .... .0.. .... .... .... .... = Channel+: False .... .... .... 0... .... .... .... .... = HT information: False .... .... ...0 .... .... .... .... .... = A-MPDU Status: False .... .... ..0. .... .... .... .... .... = VHT information: False ...0 0000 00.. .... .... .... .... .... = Reserved: 0x00000000 ..1. .... .... .... .... .... .... .... = Radiotap NS next: True .0.. .... .... .... .... .... .... .... = Vendor NS next: False 1... .... .... .... .... .... .... .... = Ext: True .... .... .... .... .... .... .... ...0 = TSFT: False .... .... .... .... .... .... .... ..0. = Flags: False .... .... .... .... .... .... .... .0.. = Rate: False .... .... .... .... .... .... .... 0... = Channel: False .... .... .... .... .... .... ...0 .... = FHSS: False .... .... .... .... .... .... ..1. .... = dBm Antenna Signal: True .... .... .... .... .... .... .0.. .... = dBm Antenna Noise: False .... .... .... .... .... .... 0... .... = Lock Quality: False .... .... .... .... .... ...0 .... .... = TX Attenuation: False .... .... .... .... .... ..0. .... .... = dB TX Attenuation: False .... .... .... .... .... .0.. .... .... = dBm TX Power: False .... .... .... .... .... 1... .... .... = Antenna: True .... .... .... .... ...0 .... .... .... = dB Antenna Signal: False .... .... .... .... ..0. .... .... .... = dB Antenna Noise: False .... .... .... .... .0.. .... .... .... = RX flags: False .... .... .... .0.. .... .... .... .... = Channel+: False .... .... .... 0... .... .... .... .... = HT information: False .... .... ...0 .... .... .... .... .... = A-MPDU Status: False .... .... ..0. .... .... .... .... .... = VHT information: False ...0 0000 00.. .... .... .... .... .... = Reserved: 0x00000000 ..0. .... .... .... .... .... .... .... = Radiotap NS next: False .0.. .... .... .... .... .... .... .... = Vendor NS next: False 0... .... .... .... .... .... .... .... = Ext: False MAC timestamp: 1789208778 Flags: 0x10 .... ...0 = CFP: False .... ..0. = Preamble: Long .... .0.. = WEP: False .... 0... = Fragmentation: False ...1 .... = FCS at end: True ..0. .... = Data Pad: False .0.. .... = Bad FCS: False 0... .... = Short GI: False Data Rate: 1.0 Mb/s Channel frequency: 2412 [BG 1] Channel type: 802.11g (pure-g) (0x00c0) .... .... ...0 .... = Turbo: False .... .... ..0. .... = Complementary Code Keying (CCK): False .... .... .1.. .... = Orthogonal Frequency-Division Multiplexing (OFDM): True .... .... 1... .... = 2 GHz spectrum: True .... ...0 .... .... = 5 GHz spectrum: False .... ..0. .... .... = Passive: False .... .0.. .... .... = Dynamic CCK-OFDM: False .... 0... .... .... = Gaussian Frequency Shift Keying (GFSK): False ...0 .... .... .... = GSM (900MHz): False ..0. .... .... .... = Static Turbo: False .0.. .... .... .... = Half Rate Channel (10MHz Channel Width): False 0... .... .... .... = Quarter Rate Channel (5MHz Channel Width): False SSI Signal: -67 dBm RX flags: 0x0000 .... .... .... .... .... ..0. = Bad PLCP: False SSI Signal: -68 dBm Antenna: 0 SSI Signal: -73 dBm Antenna: 1 IEEE 802.11 Null function (No data), Flags: ...P...TC