Project

General

Profile

Actions

Issue #2276

open

Replicant WiFi HAL: improve WiFi interface autodetection

Added by Denis 'GNUtoo' Carikli almost 3 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Wi-Fi
Target version:
Start date:
09/18/2021
Due date:
% Done:

0%

Estimated time:
Resolution:
Device:
Not device specific
Grant:
Type of work:
C programming, Reverse engineering (no code nor documentation available), User testing
Actions #1

Updated by Denis 'GNUtoo' Carikli almost 3 years ago

In hardware/replicant/wlan/wifi_hal/wifi_hal.cpp we have:
_wifi_interface(const char *name)
{
    if (strncmp(name, "wlan", 4) != 0 && strncmp(name, "swlan", 5) != 0 && strncmp(name, "p2p", 3) != 0) {
        /* not a wifi interface; ignore it */
        return false;
    } else {
        return true;
    }
}

It might be a good idea to check if devices are renamed sometimes and if they are to find a better way to detect if an interface is a WiFi interface.

Actions #2

Updated by Denis 'GNUtoo' Carikli almost 3 years ago

  • Project changed from Replicant to Upstreaming patches
  • Subject changed from Make the hardware/replicant/wlan WiFi HAL auto-detect better the WiFi interfaces to brcmfmac
  • Category changed from Wi-Fi to Linux
  • Target version changed from Replicant 11.0 to Replicant 11.0 0002
  • Upstream patch status set to Work not started
  • Device deleted (Not device specific)
  • Type of work Reverse engineering (no code nor documentation available) added
Actions #3

Updated by Denis 'GNUtoo' Carikli almost 3 years ago

  • Subject changed from brcmfmac to Replicant WiFi HAL: improve WiFi interface autodetection
Actions #4

Updated by Denis 'GNUtoo' Carikli almost 3 years ago

  • Project changed from Upstreaming patches to Replicant
  • Category deleted (Linux)
  • Upstream patch status deleted (Work not started)
  • Device Not device specific added
Actions #5

Updated by Denis 'GNUtoo' Carikli almost 3 years ago

  • Category set to Wi-Fi
Actions

Also available in: Atom PDF