You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.6 KiB

  1. # static-neighbor-reports
  2. The `static-neighbor-reports` package allows a user to configure static neighbor reports which
  3. are available for clients to be polled in case they support IEEE802.11k. This greatly improves
  4. the wireless experiences in terms of mobility.
  5. Make sure to enable `ieee80211k` for each VAP neighbor reports should be installed to.
  6. ## Configuring
  7. The uci config name is `static-neighbor-report`. There's currently only the section
  8. type `neighbor`.
  9. ### neighbor
  10. The followign options are supported for `neighbor` sections:
  11. #### neighbor_report
  12. This is the binary neighbor report element from a foreign AP. It is required for each neighbor.
  13. #### disabled
  14. Values other than `0` disable the neighbor. It won't be installed into hostapd in this case.
  15. If this option is missing, the neighbor is implicitly active.
  16. #### bssid
  17. The BSSID of the foreign AP. This option can usually be omitted, as it's implicitly present in
  18. the first 6 bytes of the binary neighbor report element.
  19. #### ssid
  20. The SSID of the foreign AP. This option can be omitted, in case it matches the SSID used on the local AP.
  21. #### iface
  22. Space seperated list of hostapd interfaces the neighbor should be installed to.
  23. ## Retrieving neighbor information
  24. To retrieve the neighbor informations of an AP to be isntalled on a foreign AP, make sure the UCI option
  25. `ieee80211k` is set to `1` on the VAP.
  26. Execute `ubus call hostapd.<ifname> rrm_nr_get_own` on the AP. To get a list of all available interfaces,
  27. execute `ubus list`.
  28. The returned information follows this format:
  29. ```json
  30. {
  31. "value": [
  32. "<BSSID>",
  33. "<SSID>",
  34. "<Neighbot report element>"
  35. ]
  36. }
  37. ```