Skip to content

FBW scans for new networks only on 5 GHz radios, warn the user or add also 2.4 GHz radios #661

Open

Description

@ilario

FBW function to join an existing network does not work with 2.4 GHz only devices.
It will make the user wait and then return just a "no network found" message.

This is likely the cause of #589

The related code is:

local radios_5ghz = ft.filter(wireless.is5Ghz, radios)
-- Convert radios to phys (get a list of phys from radio devices)
local phys = ft.map(utils.extract_phys_from_radios, radios_5ghz)
-- Scan networks in phys and format result
local networks = ft.map(
function(phy)
local nets = iwinfo.nl80211.scanlist(phy)
return ft.map(utils.add_prop("phy_idx", utils.phy_to_idx(phy)), nets)
end, phys)

A possible improvement would be to use 2.4 GHz radios only once the 5 GHz radios didn't find anything.

Activity

  1. changed the title [-]FBW scans for new networks only on 5 GHz radios[/-] [+]FBW scans for new networks only on 5 GHz radios, warn the user or add also 2.4 GHz radios[/+] on Jan 4, 2020
  2. spiccinini commented on Jun 4, 2020

    @spiccinini
    Contributor

    Maybe we can filter out radios that do not have a mesh interface (so if 2.4GHz radios do not have a mesh interfaces then they are not used), what do you think?

  3. ilario commented on Jun 4, 2020

    @ilario
    MemberAuthor

    That would do!

  4. luandro commented on Mar 21, 2022

    @luandro
    Contributor

    I tested this yesterday with LROS 1.5, only using 2.4. One network found the other. Might be solved.

  5. ilario commented on Mar 22, 2022

    @ilario
    MemberAuthor

    I tested this yesterday with LROS 1.5, only using 2.4. One network found the other. Might be solved.

    The causing code didn't change, it should not be fixed...
    What do you mean with "only using 2.4"?

  6. ilario commented on Dec 16, 2022

    @ilario
    MemberAuthor

    @selankon let's continue here the discussion started on libremesh/lime-app#324 (comment) :
    there are places in firstbootwizard.lua where the 5 GHz interfaces get listed, like here:

    local radios_5ghz = ft.filter(wireless.is5Ghz, radios)

    we could add a check and in case this list is empty do something else with the available interfaces.

    We should address the following cases:

  7. added this to the 2020.2 milestone on Feb 23, 2023
  8. ilario commented on Feb 28, 2023

    @ilario
    MemberAuthor

    This is important if we want to suggest FBW to non-LibreRouter users.
    @selankon @spiccinini do you think that we can fix this before the 2020.2 release?

  9. removed this from the 2024.1 milestone on Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    altermundiDevelopment is being done for Altermundibugfbw

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions