Finally got 802.11v working (FULLY) - Few pointers

This thread is basically an extension of the rrm thread. This is the only dawn discussion thread. Several of us has been testing it- @PolynomialDivision is the contributor for dawn.

So far roaming is smooth between my APs. We’ve made recommendations for showing APs that don’t have any connected clients. Otherwise the 17 April version seems to be working well. :sunglasses:

Sry, I'm currently very busy. Next week I have time to fix everything! :slight_smile:

There is a huge problem with global interface. Suddenly hostapd has this global interface. I will fix that soon.

I think this is the official definition of how RCPI should work: https://patents.google.com/patent/US8462701. (RCPI * 0.5) -110 is dBm power, but only within 5dB.

So if client is reporting (say) RCPI = 100 (-60dBm) the AP connected to it could easily be saying -50dB to -70dB RSSI due to the inaccuracy, and perhaps that one end is broadcasting more power than the other. I think that last effect would tend to make the AP RSSI lower (more negative dB) than (converted) device RCPI as AP will be broadcasting stronger signal.

That looks like it roughly fits the Samsung data above. No idea what Apple are doing though...

1 Like

There's some potentially useful looking code in here for understanding the quality information: https://github.com/chunsj/nxctrl/blob/master/iw-test.c. It looks like there a three accepted usages of the RCPI / signal quality field which are indicated by a status bit.

With a quick look I can't make the Apple data fit any of them, although ~280 - the decimal value gets pretty close.

I found it by first of all thinking that LUCI must have a way to untangle the data. A search for "LUCI rcpi" led to the IW_QUAL_... definitions in here, with onward searches taking me to the above: https://github.com/ntlf9t/luci-1/blob/master/contrib/package/freifunk-watchdog/src/wireless.22.h.

I haven't had time to look, but am thinking there should be something reusable in libiwinfo (or new code that should live there) that does this.

Hi
I have a r7800 how would I go about making 802.11v and k work on openwrt. I don't know much about codeing.
What do I need to install and setup?

Super easy thanks to all the great work. I’m running hynman’s master build on a r7800.

This is how I got it running on my 5ghz radio, you’ll need to do this for each access point. You can do it for 2.4ghz too if you change the radio name in the below command-

  1. Turn your 802.11r on (just click the toggle on the luci GUI)

  2. Enable v & k (run this command in its entirety):


uci set wireless.default_radio0.ieee80211v=1; uci set wireless.default_radio0.ieee80211k=1; uci set wireless.default_radio0.bss_transition=1; uci commit

You can check that they were added by running:
cat /etc/config/wireless

  1. go to software on your luci GUI, click the “update lists...” button.

  2. search for dawn in the filter box

  3. install the dawn and luci-app-dawn

  4. refresh your browser page and enjoy the new dawn options. I’ve found its pretty good right out of the box.

7 Likes

Do need install luci-app-dawn?

Thanks for the reply

Do I need to be on a certain version of openwrt?
Are there any settings to make 802.11v switch aps at certain rssi levels?

1 Like

19.07 seems to have the commits for 802.11k and 802.11v. Personally I use master branch on a r7800. @PolynomialDivision - any reason 19.07 or certain devices wouldn’t support your software?

https://git.openwrt.org/?p=openwrt%2Fopenwrt.git&a=search&h=refs%2Fheads%2Fopenwrt-19.07&st=commit&s=802.11k

https://git.openwrt.org/?p=openwrt%2Fopenwrt.git&a=search&h=refs%2Fheads%2Fopenwrt-19.07&st=commit&s=802.11v

It should support my hardware.

Can the rssi levels be configured for switing ap with 802.11v

This commit is not included: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=c8ef465e10f46fd017cc9c3e455cc368a2b9da2b

Which version is that commit included in?

Master has it, 19.07 doesn’t. Use master to try out 802.11k and v. :sunglasses:

It isn’t required. It adds a nice GUI representation of your network and an easy way to configure all the options.

Is a snapshot the same as a master version?

uci set wireless.default_radio0.ieee80211v=1; uci set wireless.default_radio0.ieee80211k=1; uci set wireless.default_radio0.bss_transition=1; uci commit

ieee80211v=1 : wireless radio is off, can't enable
I use snapshot version https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-d-team_newifi-d2-squashfs-sysupgrade.bin

1 Like

Does roaming work well for you?

Can different brands of router be used for roaming to work or beat with all same router model?

Do you use it out of the box or do you make any changes to it for better roaming?

Can be different models of APs. Master branch = most recent snapshot:

https://openwrt.org/downloads

I run hynman’s r7800 master build.

No, when I uci set ieee80211v=1
Wireless radio off, not associated