<div dir="ltr"><div><div><div><div>I currently use wpa_supplicant 2.4. I compiled it in ubuntu 15.04 which uses kernel 3.19 and netlink lib &gt;= 3.0 (I think 3.2).<br><br></div>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.<br><br></div>But I reconginzed that wpa_supplicant doesnt&#39;t send a correct association request. It doesn&#39;t set in fixed capability field the &quot;radio measurement&quot; bit to 1.<br><br><br></div><div>How can I enable radio measurement bit?<br><br>As i recognized wpa_supplicant doesn&#39;t send a &quot;RM capability information element&quot; in association request. Could this the reason that the bit in the &quot;capability field&quot; isn&#39;t set?<br><br><br>I took a look in kernel code. Here it is implemented with &quot;<code>NL80211_ATTR_USE_RRM&quot; flag in nl80211.c file.<span class=""></span></code></div><div><br><br></div><div>This is my build config:<br></div><br>CONFIG_DRIVER_NL80211=y<br>CONFIG_LIBNL32=y<br>CONFIG_DRIVER_WIRED=y<br>CONFIG_IEEE8021X_EAPOL=y<br>CONFIG_EAP_MD5=y<br>CONFIG_EAP_MSCHAPV2=y<br>CONFIG_EAP_TLS=y<br>CONFIG_EAP_PEAP=y<br>CONFIG_EAP_TTLS=y<br>CONFIG_EAP_GTC=y<br>CONFIG_EAP_OTP=y<br>CONFIG_EAP_LEAP=y<br>CONFIG_PKCS12=y<br>CONFIG_CTRL_IFACE=y<br>CONFIG_BACKEND=file<br>CONFIG_PEERKEY=y<br>CONFIG_IEEE80211R=y<br><br><br></div>the probe response snippet from cisco AP:<br><br><div>IEEE 802.11 Probe Response, Flags: ....R...C<br>IEEE 802.11 wireless LAN management frame<br>    Fixed parameters (12 bytes)<br>        Timestamp: 0x000000033f96bc73<br>        Beacon Interval: 0,104448 [Seconds]<br>        Capabilities Information: 0x1431<br>            .... .... .... ...1 = ESS capabilities: Transmitter is an AP<br>            .... .... .... ..0. = IBSS status: Transmitter belongs to a BSS<br>            .... ..0. .... 00.. = CFP participation capabilities: No point coordinator at AP (0x0000)<br>            .... .... ...1 .... = Privacy: AP/STA can support WEP<br>            .... .... ..1. .... = Short Preamble: Allowed<br>            .... .... .0.. .... = PBCC: Not Allowed<br>            .... .... 0... .... = Channel Agility: Not in use<br>            .... ...0 .... .... = Spectrum Management: Not Implemented<br>            .... .1.. .... .... = Short Slot Time: In use<br>            .... 0... .... .... = Automatic Power Save Delivery: Not Implemented<br>            ...1 .... .... .... = Radio Measurement: Implemented<br>            ..0. .... .... .... = DSSS-OFDM: Not Allowed<br>            .0.. .... .... .... = Delayed Block Ack: Not Implemented<br>            0... .... .... .... = Immediate Block Ack: Not Implemented<br>    Tagged parameters (239 bytes)<br>        Tag: Mobility Domain<br>            Tag Number: Mobility Domain (54)<br>            Tag length: 3<br>            Mobility Domain Identifier: 0x4aa2<br>            FT Capability and Policy: 0x01<br>            .... ...1 = Fast BSS Transition over DS: 0x01<br>            .... ..0. = Resource Request Protocol Capability: 0x00<br>        Tag: RM Enabled Capabilities (5 octets)<br>            Tag Number: RM Enabled Capabilities (70)<br>            Tag length: 5<br>            RM Capabilities: 0x73 (octet 1)<br>                .... ...1 = Link Measurement: Enabled<br>                .... ..1. = Neighbor Report: Enabled<br>                .... .0.. = Parallel Measurements: Disabled<br>                .... 0... = Repeated Measurements: Disabled<br>                ...1 .... = Beacon Passive Measurement: Enabled<br>                ..1. .... = Beacon Active Measurement: Enabled<br>                .1.. .... = Beacon Table Measurement: Supported<br>                0... .... = Beacon Measurement Reporting Conditions: Disabled<br>            RM Capabilities: 0xc0 (octet 2)<br>                .... ...0 = Frame Measurement: Disabled<br>                .... ..0. = Channel Load Measurement: Disabled<br>                .... .0.. = Noise Histogram Measurement: Disabled<br>                .... 0... = Statistics Measurement: Disabled<br>                ...0 .... = LCI Measurement: Disabled<br>                ..0. .... = LCI Azimuth capability: Disabled<br>                .1.. .... = Transmit Stream/Category Measurement: Supported<br>                1... .... = Triggered Transmit Stream/Category Measurement: Enabled<br>            RM Capabilities: 0x00 (octet 3)<br>                .... ...0 = AP Channel Report capability: Disabled<br>                .... ..0. = RM MIB capability: Disabled<br>                ...0 00.. = Operating Channel Max Measurement Duration: 0<br>                000. .... = Nonoperating Channel Max Measurement Duration: 0<br>            RM Capabilities: 0x00 (octet 4)<br>                .... .000 = Measurement Pilotcapability: 0<br>                .... 0... = Measurement Pilot Transmission Information: Disabled<br>                ...0 .... = Neighbor Report TSF Offset: Disabled<br>                ..0. .... = RCPI Measurement capability: Disabled<br>                .0.. .... = RSNI Measurement capability: Not supported<br>                0... .... = BSS Average Access Delay capability: Disabled<br>            RM Capabilities: 0x00 (octet 5)<br>                .... ...0 = BSS Available Admission Capacity capability: Disabled<br>                .... ..0. = Antenna capability: Disabled<br>                0000 00.. = Reserved: 0x00<br><br><br></div><div>Association request snippet from STA:<br><br>IEEE 802.11 Association Request, Flags: ........C<br>IEEE 802.11 wireless LAN management frame<br>    Fixed parameters (4 bytes)<br>        Capabilities Information: 0x0431<br>            .... .... .... ...1 = ESS capabilities: Transmitter is an AP<br>            .... .... .... ..0. = IBSS status: Transmitter belongs to a BSS<br>            .... ..0. .... 00.. = CFP participation capabilities: No point coordinator at AP (0x0000)<br>            .... .... ...1 .... = Privacy: AP/STA can support WEP<br>            .... .... ..1. .... = Short Preamble: Allowed<br>            .... .... .0.. .... = PBCC: Not Allowed<br>            .... .... 0... .... = Channel Agility: Not in use<br>            .... ...0 .... .... = Spectrum Management: Not Implemented<br>            .... .1.. .... .... = Short Slot Time: In use<br>            .... 0... .... .... = Automatic Power Save Delivery: Not Implemented<br>            ...0 .... .... .... = Radio Measurement: Not Implemented<br>            ..0. .... .... .... = DSSS-OFDM: Not Allowed<br>            .0.. .... .... .... = Delayed Block Ack: Not Implemented<br>            0... .... .... .... = Immediate Block Ack: Not Implemented<br>        Listen Interval: 0x000a<br><br><br></div><div>Association response snippet from Cisco AP:<br><br>IEEE 802.11 Association Response, Flags: ........C<br>IEEE 802.11 wireless LAN management frame<br>    Fixed parameters (6 bytes)<br>        Capabilities Information: 0x0431<br>            .... .... .... ...1 = ESS capabilities: Transmitter is an AP<br>            .... .... .... ..0. = IBSS status: Transmitter belongs to a BSS<br>            .... ..0. .... 00.. = CFP participation capabilities: No point coordinator at AP (0x0000)<br>            .... .... ...1 .... = Privacy: AP/STA can support WEP<br>            .... .... ..1. .... = Short Preamble: Allowed<br>            .... .... .0.. .... = PBCC: Not Allowed<br>            .... .... 0... .... = Channel Agility: Not in use<br>            .... ...0 .... .... = Spectrum Management: Not Implemented<br>            .... .1.. .... .... = Short Slot Time: In use<br>            .... 0... .... .... = Automatic Power Save Delivery: Not Implemented<br>            ...0 .... .... .... = Radio Measurement: Not Implemented<br>            ..0. .... .... .... = DSSS-OFDM: Not Allowed<br>            .0.. .... .... .... = Delayed Block Ack: Not Implemented<br>            0... .... .... .... = Immediate Block Ack: Not Implemented<br>        Status code: Successful (0x0000)<br>        ..00 0000 0000 0001 = Association ID: 0x0001<br></div></div>