[imx8m] wpa_supplicant mesh support

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[imx8m] wpa_supplicant mesh support

1,854 Views
jhii6488_vine
Contributor I

I tried changing wifi to mesh mode through network manager.

Below is the command I used.

==============================================================================

root@imx8mq-var-dart:~# nmcli con add type wifi ifname wlp1s0 ssid Drone2
Connection 'wifi-wlp1s0' (5037e96e-1e55-41e9-855d-21ba818c3400) successfully added.
root@imx8mq-var-dart:~# nmcli con edit wifi-wlp1s0

===| nmcli interactive connection editor |===

Editing existing '802-11-wireless' connection: 'wifi-wlp1s0'

Type 'help' or '?' for available commands.
Type 'print' to show all the connection properties.
Type 'describe [<setting>.<prop>]' for detailed property description.

You may edit the following settings: connection, 802-11-wireless (wifi), 802-11-wireless-security (wifi-sec), 802-1x, ethtool, match, ipv4, ipv6, tc, proxy
nmcli> print
===============================================================================
Connection profile details (wifi-wlp1s0)
===============================================================================
connection.id: wifi-wlp1s0
connection.uuid: 5037e96e-1e55-41e9-855d-21ba818c3400
connection.stable-id: --
connection.type: 802-11-wireless
connection.interface-name: wlp1s0
connection.autoconnect: yes
connection.autoconnect-priority: 0
connection.autoconnect-retries: -1 (default)
connection.multi-connect: 0 (default)
connection.auth-retries: -1
connection.timestamp: 0
connection.read-only: no
connection.permissions: --
connection.zone: --
connection.master: --
connection.slave-type: --
connection.autoconnect-slaves: -1 (default)
connection.secondaries: --
connection.gateway-ping-timeout: 0
connection.metered: unknown
connection.lldp: default
connection.mdns: -1 (default)
connection.llmnr: -1 (default)
connection.wait-device-timeout: -1
-------------------------------------------------------------------------------
802-11-wireless.ssid: Drone2
802-11-wireless.mode: infrastructure
802-11-wireless.band: --
802-11-wireless.channel: 0
802-11-wireless.bssid: --
802-11-wireless.rate: 0
802-11-wireless.tx-power: 0
802-11-wireless.mac-address: --
802-11-wireless.cloned-mac-address: --
802-11-wireless.generate-mac-address-mask:--
802-11-wireless.mac-address-blacklist: --
802-11-wireless.mac-address-randomization:default
802-11-wireless.mtu: auto
802-11-wireless.seen-bssids: --
802-11-wireless.hidden: no
802-11-wireless.powersave: 0 (default)
802-11-wireless.wake-on-wlan: 0x1 (default)
-------------------------------------------------------------------------------
ipv4.method: auto
ipv4.dns: --
ipv4.dns-search: --
ipv4.dns-options: --
ipv4.dns-priority: 0
ipv4.addresses: --
ipv4.gateway: --
ipv4.routes: --
ipv4.route-metric: -1
ipv4.route-table: 0 (unspec)
ipv4.routing-rules: --
ipv4.ignore-auto-routes: no
ipv4.ignore-auto-dns: no
ipv4.dhcp-client-id: --
ipv4.dhcp-iaid: --
ipv4.dhcp-timeout: 0 (default)
ipv4.dhcp-send-hostname: yes
ipv4.dhcp-hostname: --
ipv4.dhcp-fqdn: --
ipv4.dhcp-hostname-flags: 0x0 (none)
ipv4.never-default: no
ipv4.may-fail: yes
ipv4.dad-timeout: -1 (default)
-------------------------------------------------------------------------------
ipv6.method: auto
ipv6.dns: --
ipv6.dns-search: --
ipv6.dns-options: --
ipv6.dns-priority: 0
ipv6.addresses: --
ipv6.gateway: --
ipv6.routes: --
ipv6.route-metric: -1
ipv6.route-table: 0 (unspec)
ipv6.routing-rules: --
ipv6.ignore-auto-routes: no
ipv6.ignore-auto-dns: no
ipv6.never-default: no
ipv6.may-fail: yes
ipv6.ip6-privacy: -1 (unknown)
ipv6.addr-gen-mode: stable-privacy
ipv6.ra-timeout: 0 (default)
ipv6.dhcp-duid: --
ipv6.dhcp-iaid: --
ipv6.dhcp-timeout: 0 (default)
ipv6.dhcp-send-hostname: yes
ipv6.dhcp-hostname: --
ipv6.dhcp-hostname-flags: 0x0 (none)
ipv6.token: --
-------------------------------------------------------------------------------
proxy.method: none
proxy.browser-only: no
proxy.pac-url: --
proxy.pac-script: --
-------------------------------------------------------------------------------
nmcli> set ipv4.method shared
nmcli> set ipv6.method ignore
nmcli> set 802-11-wireless.mode mesh
nmcli> set 802-11-wireless.band a
nmcli> set 802-11-wireless.channel 40
nmcli> save
Connection 'wifi-wlp1s0' (5037e96e-1e55-41e9-855d-21ba818c3400) successfully updated.
nmcli> quit
root@imx8mq-var-dart:~# nmcli con up wifi-wlp1s0
Error: Connection activation failed: No suitable device found for this connection (device wlp1s0 not available because profile is not compatible with device (wpa_supplicant does not support Mesh mode)).

==============================================================================

I set it like the following in the menuconfig.

CONFIG_MAC80211_MESH=y

If Wpa_supplicant does not support mesh mode as in the error, can I not use mesh mode?

 

 

0 Kudos
Reply
3 Replies

1,436 Views
synaption
Contributor I

I am confused.  Is this a limitation of the imx linux kernel, or is this just a limitation on the driver for the specific wifi module that comes on the imx boards?  I am currently getting the error wlan0: Driver does not support mesh mode with a usb wifi device.  

0 Kudos
Reply

1,851 Views
igorpadykov
NXP Employee
NXP Employee

Hi Hyein

 

unfortunately nxp wifi drivers do not support mesh mode, supported functionality

is described in nxp linux official documentation   NXP Wi-Fi Driver Features and Release Notes

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

Best regards
igor

0 Kudos
Reply

1,842 Views
jhii6488_vine
Contributor I

I am using Atheros QCA9882 chipset(wle600v5-27), driver is ath10k. When I printed out the mode supported by wifi on the board, it was as follows.

-------------------------------------------------------------------------------
WIFI-PROPERTIES.WEP: yes
WIFI-PROPERTIES.WPA: yes
WIFI-PROPERTIES.WPA2: yes
WIFI-PROPERTIES.TKIP: yes
WIFI-PROPERTIES.CCMP: yes
WIFI-PROPERTIES.AP: yes
WIFI-PROPERTIES.ADHOC: no
WIFI-PROPERTIES.2GHZ: no
WIFI-PROPERTIES.5GHZ: yes
WIFI-PROPERTIES.MESH: yes
WIFI-PROPERTIES.IBSS-RSN: yes
-------------------------------------------------------------------------------

 

If I want to communicate with wifi<----->wifi other than mesh mode, can you tell me what can I do?

However, I cannot use Access Point <-----> Station mode.

0 Kudos
Reply