unable to get an correct association repsonse in wpa_supplicant 2.4 with radio measurement

fritz Becker fritz.becker12
Fri May 29 15:58:38 PDT 2015


I currently use wpa_supplicant 2.4. I compiled it in ubuntu 15.04 which
uses kernel 3.19 and netlink lib >= 3.0 (I think 3.2).

I can start wpa_supplicant. An association is done with an cisco access
point which supports radio measurement (802.11k) and fast transition
(802.11r) standard.

But I reconginzed that wpa_supplicant doesnt't send a correct association
request. It doesn't set in fixed capability field the "radio measurement"
bit to 1.


How can I enable radio measurement bit?

As i recognized wpa_supplicant doesn't send a "RM capability information
element" in association request. Could this the reason that the bit in the
"capability field" isn't set?


I took a look in kernel code. Here it is implemented with
"NL80211_ATTR_USE_RRM"
flag in nl80211.c file.


This is my build config:

CONFIG_DRIVER_NL80211=y
CONFIG_LIBNL32=y
CONFIG_DRIVER_WIRED=y
CONFIG_IEEE8021X_EAPOL=y
CONFIG_EAP_MD5=y
CONFIG_EAP_MSCHAPV2=y
CONFIG_EAP_TLS=y
CONFIG_EAP_PEAP=y
CONFIG_EAP_TTLS=y
CONFIG_EAP_GTC=y
CONFIG_EAP_OTP=y
CONFIG_EAP_LEAP=y
CONFIG_PKCS12=y
CONFIG_CTRL_IFACE=y
CONFIG_BACKEND=file
CONFIG_PEERKEY=y
CONFIG_IEEE80211R=y


the probe response snippet from cisco AP:

IEEE 802.11 Probe Response, Flags: ....R...C
IEEE 802.11 wireless LAN management frame
    Fixed parameters (12 bytes)
        Timestamp: 0x000000033f96bc73
        Beacon Interval: 0,104448 [Seconds]
        Capabilities Information: 0x1431
            .... .... .... ...1 = ESS capabilities: Transmitter is an AP
            .... .... .... ..0. = IBSS status: Transmitter belongs to a BSS
            .... ..0. .... 00.. = CFP participation capabilities: No point
coordinator at AP (0x0000)
            .... .... ...1 .... = Privacy: AP/STA can support WEP
            .... .... ..1. .... = Short Preamble: Allowed
            .... .... .0.. .... = PBCC: Not Allowed
            .... .... 0... .... = Channel Agility: Not in use
            .... ...0 .... .... = Spectrum Management: Not Implemented
            .... .1.. .... .... = Short Slot Time: In use
            .... 0... .... .... = Automatic Power Save Delivery: Not
Implemented
            ...1 .... .... .... = Radio Measurement: Implemented
            ..0. .... .... .... = DSSS-OFDM: Not Allowed
            .0.. .... .... .... = Delayed Block Ack: Not Implemented
            0... .... .... .... = Immediate Block Ack: Not Implemented
    Tagged parameters (239 bytes)
        Tag: Mobility Domain
            Tag Number: Mobility Domain (54)
            Tag length: 3
            Mobility Domain Identifier: 0x4aa2
            FT Capability and Policy: 0x01
            .... ...1 = Fast BSS Transition over DS: 0x01
            .... ..0. = Resource Request Protocol Capability: 0x00
        Tag: RM Enabled Capabilities (5 octets)
            Tag Number: RM Enabled Capabilities (70)
            Tag length: 5
            RM Capabilities: 0x73 (octet 1)
                .... ...1 = Link Measurement: Enabled
                .... ..1. = Neighbor Report: Enabled
                .... .0.. = Parallel Measurements: Disabled
                .... 0... = Repeated Measurements: Disabled
                ...1 .... = Beacon Passive Measurement: Enabled
                ..1. .... = Beacon Active Measurement: Enabled
                .1.. .... = Beacon Table Measurement: Supported
                0... .... = Beacon Measurement Reporting Conditions:
Disabled
            RM Capabilities: 0xc0 (octet 2)
                .... ...0 = Frame Measurement: Disabled
                .... ..0. = Channel Load Measurement: Disabled
                .... .0.. = Noise Histogram Measurement: Disabled
                .... 0... = Statistics Measurement: Disabled
                ...0 .... = LCI Measurement: Disabled
                ..0. .... = LCI Azimuth capability: Disabled
                .1.. .... = Transmit Stream/Category Measurement: Supported
                1... .... = Triggered Transmit Stream/Category Measurement:
Enabled
            RM Capabilities: 0x00 (octet 3)
                .... ...0 = AP Channel Report capability: Disabled
                .... ..0. = RM MIB capability: Disabled
                ...0 00.. = Operating Channel Max Measurement Duration: 0
                000. .... = Nonoperating Channel Max Measurement Duration: 0
            RM Capabilities: 0x00 (octet 4)
                .... .000 = Measurement Pilotcapability: 0
                .... 0... = Measurement Pilot Transmission Information:
Disabled
                ...0 .... = Neighbor Report TSF Offset: Disabled
                ..0. .... = RCPI Measurement capability: Disabled
                .0.. .... = RSNI Measurement capability: Not supported
                0... .... = BSS Average Access Delay capability: Disabled
            RM Capabilities: 0x00 (octet 5)
                .... ...0 = BSS Available Admission Capacity capability:
Disabled
                .... ..0. = Antenna capability: Disabled
                0000 00.. = Reserved: 0x00


Association request snippet from STA:

IEEE 802.11 Association Request, Flags: ........C
IEEE 802.11 wireless LAN management frame
    Fixed parameters (4 bytes)
        Capabilities Information: 0x0431
            .... .... .... ...1 = ESS capabilities: Transmitter is an AP
            .... .... .... ..0. = IBSS status: Transmitter belongs to a BSS
            .... ..0. .... 00.. = CFP participation capabilities: No point
coordinator at AP (0x0000)
            .... .... ...1 .... = Privacy: AP/STA can support WEP
            .... .... ..1. .... = Short Preamble: Allowed
            .... .... .0.. .... = PBCC: Not Allowed
            .... .... 0... .... = Channel Agility: Not in use
            .... ...0 .... .... = Spectrum Management: Not Implemented
            .... .1.. .... .... = Short Slot Time: In use
            .... 0... .... .... = Automatic Power Save Delivery: Not
Implemented
            ...0 .... .... .... = Radio Measurement: Not Implemented
            ..0. .... .... .... = DSSS-OFDM: Not Allowed
            .0.. .... .... .... = Delayed Block Ack: Not Implemented
            0... .... .... .... = Immediate Block Ack: Not Implemented
        Listen Interval: 0x000a


Association response snippet from Cisco AP:

IEEE 802.11 Association Response, Flags: ........C
IEEE 802.11 wireless LAN management frame
    Fixed parameters (6 bytes)
        Capabilities Information: 0x0431
            .... .... .... ...1 = ESS capabilities: Transmitter is an AP
            .... .... .... ..0. = IBSS status: Transmitter belongs to a BSS
            .... ..0. .... 00.. = CFP participation capabilities: No point
coordinator at AP (0x0000)
            .... .... ...1 .... = Privacy: AP/STA can support WEP
            .... .... ..1. .... = Short Preamble: Allowed
            .... .... .0.. .... = PBCC: Not Allowed
            .... .... 0... .... = Channel Agility: Not in use
            .... ...0 .... .... = Spectrum Management: Not Implemented
            .... .1.. .... .... = Short Slot Time: In use
            .... 0... .... .... = Automatic Power Save Delivery: Not
Implemented
            ...0 .... .... .... = Radio Measurement: Not Implemented
            ..0. .... .... .... = DSSS-OFDM: Not Allowed
            .0.. .... .... .... = Delayed Block Ack: Not Implemented
            0... .... .... .... = Immediate Block Ack: Not Implemented
        Status code: Successful (0x0000)
        ..00 0000 0000 0001 = Association ID: 0x0001
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20150530/ebcf22da/attachment-0001.htm>



More information about the Hostap mailing list