o11s / open80211s

open80211s
Other
242 stars 55 forks source link

Operation not supported - when joining mesh. #67

Closed darkdrgn2k closed 5 years ago

darkdrgn2k commented 6 years ago

Recently upgraded Raspbery Pi to Debian Stretch causes some issues with meshing. I have no idea where the issue is (driver,kernel, etc)

example of issue below

PS: hardware worked Fine on Debain 8 (jessie)

sudo iw reg set CA sudo iw phy phy1 interface add mesh0 type mp sudo iw --debug dev mesh0 mesh join tomesh freq 2412

root@raspberrypi:/usr/bin# iw --debug dev mesh0 mesh join tomesh freq 2412 
-- Debug: Sent Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [NETLINK HEADER] 16 octets
    .nlmsg_len = 48
    .type = 22 <0x16>
    .flags = 5 <REQUEST,ACK>
    .seq = 1508506231
    .port = 1497367426
  [GENERIC NETLINK HEADER] 4 octets
    .cmd = 68
    .version = 0
    .unused = 0
  [PAYLOAD] 28 octets
    08 00 03 00 05 00 00 00 0a 00 18 00 74 6f 6d 65 ............tome
    73 68 00 00 08 00 26 00 6c 09 00 00             sh....&.l...
---------------------------  END NETLINK MESSAGE   ---------------------------
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [NETLINK HEADER] 16 octets
    .nlmsg_len = 68
    .type = 2 <ERROR>
    .flags = 0 <>
    .seq = 1508506231
    .port = 1497367426
  [ERRORMSG] 20 octets
    .error = -95 "Operation not supported"
  [ORIGINAL MESSAGE] 16 octets
    .nlmsg_len = 16
    .type = 22 <0x16>
    .flags = 5 <REQUEST,ACK>
    .seq = 1508506231
    .port = 1497367426
---------------------------  END NETLINK MESSAGE   ---------------------------
command failed: Operation not supported (-95)
chunyeow commented 6 years ago

What's the wireless driver that you used? Check whether it supports mesh

On Oct 20, 2017 11:05 PM, "darkdrgn2k" notifications@github.com wrote:

Recently upgraded Raspbery Pi to Debian Stretch causes some issues with meshing. I have no idea where the issue is (driver,kernel, etc)

example of issue below

PS: hardware worked Fine on Debain 8 (jessie)

sudo iw reg set CA sudo iw phy phy1 interface add mesh0 type mp sudo iw --debug dev mesh0 mesh join tomesh freq 2412

root@raspberrypi:/usr/bin# iw --debug dev mesh0 mesh join tomesh freq 2412 -- Debug: Sent Message: -------------------------- BEGIN NETLINK MESSAGE --------------------------- [NETLINK HEADER] 16 octets .nlmsg_len = 48 .type = 22 <0x16> .flags = 5 <REQUEST,ACK> .seq = 1508506231 .port = 1497367426 [GENERIC NETLINK HEADER] 4 octets .cmd = 68 .version = 0 .unused = 0 [PAYLOAD] 28 octets 08 00 03 00 05 00 00 00 0a 00 18 00 74 6f 6d 65 ............tome 73 68 00 00 08 00 26 00 6c 09 00 00 sh....&.l... --------------------------- END NETLINK MESSAGE --------------------------- -- Debug: Received Message: -------------------------- BEGIN NETLINK MESSAGE --------------------------- [NETLINK HEADER] 16 octets .nlmsg_len = 68 .type = 2 .flags = 0 <> .seq = 1508506231 .port = 1497367426 [ERRORMSG] 20 octets .error = -95 "Operation not supported" [ORIGINAL MESSAGE] 16 octets .nlmsg_len = 16 .type = 22 <0x16> .flags = 5 <REQUEST,ACK> .seq = 1508506231 .port = 1497367426 --------------------------- END NETLINK MESSAGE --------------------------- command failed: Operation not supported (-95)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/o11s/open80211s/issues/67, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBewp6QCJqvEB4737fK0ApqwuYqCwV3ks5suLacgaJpZM4QAzQ7 .

darkdrgn2k commented 6 years ago

As i mentioned in my above post the hardware we are using has not changed between DEBIAN 8 and 9

everything works in 8, but not in 9

Also i can create the mesh INTERFACE (which if the drivers did not support would not be possible) I just cannot JOIN the mesh network

ath9k_htc,mac80211,ath,ath9k_common

Wiphy phy0
        max # scan SSIDs: 4
        max scan IEs length: 2257 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports RSN-IBSS.
        Device supports T-DLS.
        Supported Ciphers:
                * WEP40 (00-0f-ac:1)
                * WEP104 (00-0f-ac:5)
                * TKIP (00-0f-ac:2)
                * CCMP-128 (00-0f-ac:4)
                * CCMP-256 (00-0f-ac:10)
                * GCMP-128 (00-0f-ac:8)
                * GCMP-256 (00-0f-ac:9)
                * CMAC (00-0f-ac:6)
                * CMAC-256 (00-0f-ac:13)
                * GMAC-128 (00-0f-ac:11)
                * GMAC-256 (00-0f-ac:12)
        Available Antennas: TX 0x1 RX 0x1
        Configured Antennas: TX 0x1 RX 0x1
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
                 * mesh point
                 * P2P-client
                 * P2P-GO
                 * outside context of a BSS
        Band 1:
                Capabilities: 0x116e
                        HT20/HT40
                        SM Power Save disabled
                        RX HT20 SGI
                        RX HT40 SGI
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT TX/RX MCS rate indexes supported: 0-7
                Bitrates (non-HT):
                        * 1.0 Mbps
                        * 2.0 Mbps (short preamble supported)
                        * 5.5 Mbps (short preamble supported)
                        * 11.0 Mbps (short preamble supported)
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 2412 MHz [1] (30.0 dBm)
                        * 2417 MHz [2] (30.0 dBm)
                        * 2422 MHz [3] (30.0 dBm)
                        * 2427 MHz [4] (30.0 dBm)
                        * 2432 MHz [5] (30.0 dBm)
                        * 2437 MHz [6] (30.0 dBm)
                        * 2442 MHz [7] (30.0 dBm)
                        * 2447 MHz [8] (30.0 dBm)
                        * 2452 MHz [9] (30.0 dBm)
                        * 2457 MHz [10] (30.0 dBm)
                        * 2462 MHz [11] (30.0 dBm)
                        * 2467 MHz [12] (disabled)
                        * 2472 MHz [13] (disabled)
                        * 2484 MHz [14] (disabled)
        Supported commands:
                 * new_interface
                 * set_interface
                 * new_key
                 * start_ap
                 * new_station
                 * new_mpath
                 * set_mesh_config
                 * set_bss
                 * authenticate
                 * associate
                 * deauthenticate
                 * disassociate
                 * join_ibss
                 * join_mesh
                 * remain_on_channel
                 * set_tx_bitrate_mask
                 * frame
                 * frame_wait_cancel
                 * set_wiphy_netns
                 * set_channel
                 * set_wds_peer
                 * tdls_mgmt
                 * tdls_oper
                 * probe_client
                 * set_noack_map
                 * register_beacons
                 * start_p2p_device
                 * set_mcast_rate
                 * channel_switch
                 * set_qos_map
                 * connect
                 * disconnect
        Supported TX frame types:
                 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
        Supported RX frame types:
                 * IBSS: 0x40 0xb0 0xc0 0xd0
                 * managed: 0x40 0xd0
                 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * mesh point: 0xb0 0xc0 0xd0
                 * P2P-client: 0x40 0xd0
                 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * P2P-device: 0x40 0xd0
        software interface modes (can always be added):
                 * AP/VLAN
                 * monitor
        valid interface combinations:
                 * #{ managed, P2P-client } <= 2, #{ AP, mesh point, P2P-GO } <= 2,
                   total <= 2, #channels <= 1
        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
        Device supports TX status socket option.
        Device supports HT-IBSS.
        Device supports SAE with AUTHENTICATE command
        Device supports low priority scan.
        Device supports scan flush.
        Device supports AP scan.
        Device supports per-vif TX power setting
        Driver supports full state transitions for AP/GO clients
        Driver supports a userspace MPM
        Device supports configuring vdev MAC-addr on create.
root@raspberrypi:/usr/bin# 

Also confirmed with a secondary device that we have used to mesh before too (supprts dual band) rt2800usb

Wiphy phy1
        max # scan SSIDs: 4
        max scan IEs length: 2257 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports RSN-IBSS.
        Supported Ciphers:
                * WEP40 (00-0f-ac:1)
                * WEP104 (00-0f-ac:5)
                * TKIP (00-0f-ac:2)
                * CCMP-128 (00-0f-ac:4)
                * CCMP-256 (00-0f-ac:10)
                * GCMP-128 (00-0f-ac:8)
                * GCMP-256 (00-0f-ac:9)
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * WDS
                 * monitor
                 * mesh point
        Band 1:
                Capabilities: 0x2fe
                        HT20/HT40
                        SM Power Save disabled
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 2-streams
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 2 usec (0x04)
                HT RX MCS rate indexes supported: 0-15, 32
                TX unequal modulation not supported
                HT TX Max spatial streams: 2
                HT TX MCS rate indexes supported may differ
                Bitrates (non-HT):
                        * 1.0 Mbps
                        * 2.0 Mbps (short preamble supported)
                        * 5.5 Mbps (short preamble supported)
                        * 11.0 Mbps (short preamble supported)
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 2412 MHz [1] (30.0 dBm)
                        * 2417 MHz [2] (30.0 dBm)
                        * 2422 MHz [3] (30.0 dBm)
                        * 2427 MHz [4] (30.0 dBm)
                        * 2432 MHz [5] (30.0 dBm)
                        * 2437 MHz [6] (30.0 dBm)
                        * 2442 MHz [7] (30.0 dBm)
                        * 2447 MHz [8] (30.0 dBm)
                        * 2452 MHz [9] (30.0 dBm)
                        * 2457 MHz [10] (30.0 dBm)
                        * 2462 MHz [11] (30.0 dBm)
                        * 2467 MHz [12] (disabled)
                        * 2472 MHz [13] (disabled)
                        * 2484 MHz [14] (disabled)
        Band 2:
                Capabilities: 0x2fe
                        HT20/HT40
                        SM Power Save disabled
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 2-streams
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 2 usec (0x04)
                HT RX MCS rate indexes supported: 0-15, 32
                TX unequal modulation not supported
                HT TX Max spatial streams: 2
                HT TX MCS rate indexes supported may differ
                Bitrates (non-HT):
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 5180 MHz [36] (17.0 dBm)
                        * 5190 MHz [38] (17.0 dBm)
                        * 5200 MHz [40] (17.0 dBm)
                        * 5210 MHz [42] (17.0 dBm)
                        * 5220 MHz [44] (17.0 dBm)
                        * 5230 MHz [46] (17.0 dBm)
                        * 5240 MHz [48] (17.0 dBm)
                        * 5250 MHz [50] (disabled)
                        * 5260 MHz [52] (24.0 dBm) (radar detection)
                        * 5270 MHz [54] (24.0 dBm) (radar detection)
                        * 5280 MHz [56] (24.0 dBm) (radar detection)
                        * 5290 MHz [58] (24.0 dBm) (radar detection)
                        * 5300 MHz [60] (24.0 dBm) (radar detection)
                        * 5310 MHz [62] (24.0 dBm) (radar detection)
                        * 5320 MHz [64] (24.0 dBm) (radar detection)
                        * 5500 MHz [100] (24.0 dBm) (radar detection)
                        * 5510 MHz [102] (24.0 dBm) (radar detection)
                        * 5520 MHz [104] (24.0 dBm) (radar detection)
                        * 5530 MHz [106] (24.0 dBm) (radar detection)
                        * 5540 MHz [108] (24.0 dBm) (radar detection)
                        * 5550 MHz [110] (24.0 dBm) (radar detection)
                        * 5560 MHz [112] (24.0 dBm) (radar detection)
                        * 5570 MHz [114] (24.0 dBm) (radar detection)
                        * 5580 MHz [116] (24.0 dBm) (radar detection)
                        * 5590 MHz [118] (24.0 dBm) (radar detection)
                        * 5600 MHz [120] (disabled)
                        * 5610 MHz [122] (disabled)
                        * 5620 MHz [124] (disabled)
                        * 5630 MHz [126] (disabled)
                        * 5640 MHz [128] (disabled)
                        * 5650 MHz [130] (disabled)
                        * 5660 MHz [132] (24.0 dBm) (radar detection)
                        * 5670 MHz [134] (24.0 dBm) (radar detection)
                        * 5680 MHz [136] (24.0 dBm) (radar detection)
                        * 5690 MHz [138] (24.0 dBm) (radar detection)
                        * 5700 MHz [140] (24.0 dBm) (radar detection)
                        * 5745 MHz [149] (30.0 dBm)
                        * 5755 MHz [151] (30.0 dBm)
                        * 5765 MHz [153] (30.0 dBm)
                        * 5775 MHz [155] (30.0 dBm)
                        * 5785 MHz [157] (30.0 dBm)
                        * 5795 MHz [159] (30.0 dBm)
                        * 5805 MHz [161] (30.0 dBm)
                        * 5825 MHz [165] (30.0 dBm)
                        * 4920 MHz [184] (disabled)
                        * 4940 MHz [188] (disabled)
                        * 4960 MHz [192] (disabled)
                        * 4980 MHz [196] (disabled)
        Supported commands:
                 * new_interface
                 * set_interface
                 * new_key
                 * start_ap
                 * new_station
                 * new_mpath
                 * set_mesh_config
                 * set_bss
                 * authenticate
                 * associate
                 * deauthenticate
                 * disassociate
                 * join_ibss
                 * join_mesh
                 * set_tx_bitrate_mask
                 * frame
                 * frame_wait_cancel
                 * set_wiphy_netns
                 * set_channel
                 * set_wds_peer
                 * probe_client
                 * set_noack_map
                 * register_beacons
                 * start_p2p_device
                 * set_mcast_rate
                 * set_qos_map
                 * connect
                 * disconnect
        Supported TX frame types:
                 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
        Supported RX frame types:
                 * IBSS: 0x40 0xb0 0xc0 0xd0
                 * managed: 0x40 0xd0
                 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * mesh point: 0xb0 0xc0 0xd0
                 * P2P-client: 0x40 0xd0
                 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * P2P-device: 0x40 0xd0
        software interface modes (can always be added):
                 * AP/VLAN
                 * monitor
        valid interface combinations:
                 * #{ AP, mesh point } <= 8,
                   total <= 8, #channels <= 1
        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
        Device supports TX status socket option.
        Device supports HT-IBSS.
        Device supports SAE with AUTHENTICATE command
        Device supports low priority scan.
        Device supports scan flush.
        Device supports AP scan.
        Device supports per-vif TX power setting
        Driver supports full state transitions for AP/GO clients
        Driver supports a userspace MPM
        Device supports configuring vdev MAC-addr on create.
chunyeow commented 6 years ago

Should be no problem for ath9k_htc. While you up your interface, is that any other VAP running on the same interface? If yes, try to remove it first.

Also make sure that there is no network-manager managing the interface on the background.


Chun-Yeow

On Sat, Oct 21, 2017 at 3:09 AM, darkdrgn2k notifications@github.com wrote:

As i mentioned in my above post the hardware we are using has not changed between DEBIAN 8 and 9

everything works in 8, but not in 9 also i can create the mesh INTERFACE just not JOIN the mesh network

ath9k_htc,mac80211,ath,ath9k_common

Wiphy phy0 max # scan SSIDs: 4 max scan IEs length: 2257 bytes max # sched scan SSIDs: 0 max # match sets: 0 max # scan plans: 1 max scan plan interval: -1 max scan plan iterations: 0 Retry short limit: 7 Retry long limit: 4 Coverage class: 0 (up to 0m) Device supports RSN-IBSS. Device supports T-DLS. Supported Ciphers:

  • WEP40 (00-0f-ac:1)
  • WEP104 (00-0f-ac:5)
  • TKIP (00-0f-ac:2)
  • CCMP-128 (00-0f-ac:4)
  • CCMP-256 (00-0f-ac:10)
  • GCMP-128 (00-0f-ac:8)
  • GCMP-256 (00-0f-ac:9)
  • CMAC (00-0f-ac:6)
  • CMAC-256 (00-0f-ac:13)
  • GMAC-128 (00-0f-ac:11)
  • GMAC-256 (00-0f-ac:12) Available Antennas: TX 0x1 RX 0x1 Configured Antennas: TX 0x1 RX 0x1 Supported interface modes:
    • IBSS
    • managed
    • AP
    • AP/VLAN
    • monitor
    • mesh point
    • P2P-client
    • P2P-GO
    • outside context of a BSS Band 1: Capabilities: 0x116e HT20/HT40 SM Power Save disabled RX HT20 SGI RX HT40 SGI RX STBC 1-stream Max AMSDU length: 3839 bytes DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 8 usec (0x06) HT TX/RX MCS rate indexes supported: 0-7 Bitrates (non-HT):
      • 1.0 Mbps
      • 2.0 Mbps (short preamble supported)
      • 5.5 Mbps (short preamble supported)
      • 11.0 Mbps (short preamble supported)
      • 6.0 Mbps
      • 9.0 Mbps
      • 12.0 Mbps
      • 18.0 Mbps
      • 24.0 Mbps
      • 36.0 Mbps
      • 48.0 Mbps
      • 54.0 Mbps Frequencies:
      • 2412 MHz [1] (30.0 dBm)
      • 2417 MHz [2] (30.0 dBm)
      • 2422 MHz [3] (30.0 dBm)
      • 2427 MHz [4] (30.0 dBm)
      • 2432 MHz [5] (30.0 dBm)
      • 2437 MHz [6] (30.0 dBm)
      • 2442 MHz [7] (30.0 dBm)
      • 2447 MHz [8] (30.0 dBm)
      • 2452 MHz [9] (30.0 dBm)
      • 2457 MHz [10] (30.0 dBm)
      • 2462 MHz [11] (30.0 dBm)
      • 2467 MHz [12] (disabled)
      • 2472 MHz [13] (disabled)
      • 2484 MHz [14] (disabled) Supported commands:
    • new_interface
    • set_interface
    • new_key
    • start_ap
    • new_station
    • new_mpath
    • set_mesh_config
    • set_bss
    • authenticate
    • associate
    • deauthenticate
    • disassociate
    • join_ibss
    • join_mesh
    • remain_on_channel
    • set_tx_bitrate_mask
    • frame
    • frame_wait_cancel
    • set_wiphy_netns
    • set_channel
    • set_wds_peer
    • tdls_mgmt
    • tdls_oper
    • probe_client
    • set_noack_map
    • register_beacons
    • start_p2p_device
    • set_mcast_rate
    • channel_switch
    • set_qos_map
    • connect
    • disconnect Supported TX frame types:
    • IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
    • managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
    • AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
    • AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
    • mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
    • P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
    • P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
    • P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 Supported RX frame types:
    • IBSS: 0x40 0xb0 0xc0 0xd0
    • managed: 0x40 0xd0
    • AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
    • AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
    • mesh point: 0xb0 0xc0 0xd0
    • P2P-client: 0x40 0xd0
    • P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
    • P2P-device: 0x40 0xd0 software interface modes (can always be added):
    • AP/VLAN
    • monitor valid interface combinations:
    • { managed, P2P-client } <= 2, #{ AP, mesh point, P2P-GO } <= 2,

             total <= 2, #channels <= 1

      HT Capability overrides:

    • MCS: ff ff ff ff ff ff ff ff ff ff
    • maximum A-MSDU length
    • supported channel width
    • short GI for 40 MHz
    • max A-MPDU length exponent
    • min MPDU start spacing Device supports TX status socket option. Device supports HT-IBSS. Device supports SAE with AUTHENTICATE command Device supports low priority scan. Device supports scan flush. Device supports AP scan. Device supports per-vif TX power setting Driver supports full state transitions for AP/GO clients Driver supports a userspace MPM Device supports configuring vdev MAC-addr on create. root@raspberrypi:/usr/bin#

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/o11s/open80211s/issues/67#issuecomment-338297014, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBewiXzzdtbdpt7xedvYYRzPeSJAI2Iks5suO_dgaJpZM4QAzQ7 .

darkdrgn2k commented 6 years ago

The only AP is the default one

Interface wlan0
        ifindex 3
        wdev 0x1
        addr 18:d6:c7:0d:78:94
        type managed
        wiphy 0
        txpower 30.00 dBm

it seems the mesh came up when i re-purposed wlan0 instead of creating secondary one.

intereting..

darkdrgn2k commented 6 years ago

ok seems there is still a problem

this does NOT work (and confirmed that wlan0 IS deleted and no longer exists in ifconfig -a)

root@raspberrypi:/home/pi# ifconfig  wlan0 down
iroot@raspberrypi:/home/pi# iw wlan0 del
root@raspberrypi:/home/pi# iw phy phy0 interface add mesh0 type mp
root@raspberrypi:/home/pi# ifconfig mesh0 up
root@raspberrypi:/home/pi#  iw dev mesh0 mesh join tomesh freq 2412 HT40+
command failed: Operation not supported (-95)

but this does

root@raspberrypi:/home/pi# ifconfig wlan0 down
root@raspberrypi:/home/pi# iw wlan0 set type mp
root@raspberrypi:/home/pi# ifconfig wlan0 up
root@raspberrypi:/home/pi#
root@raspberrypi:/home/pi# iw wlan0 mesh join tomesh freq 2412 HT40+
darkdrgn2k commented 5 years ago

Seemed to be an os issue of some sort.

samvrlewis commented 5 years ago

Found that I had the exact same issue as you, running Raspbian stretch and a RT5370. Did you ever figure out what was causing it?

darkdrgn2k commented 5 years ago

at the time we found creating a. virtual. interface was breaking things.l instead we reused the existing one and things started working.

however I have found that network manager and wpa_supplicant both create problems.

network manager seems to now be gone ow but try killing wpa_supplicant it may help.

samvrlewis commented 5 years ago

Thanks @darkdrgn2k, I also found that killing wpa_supplicant was necessary. There's supposedly 802.11s support coming in a version of wpa_supplicant but it doesn't appear to be in stretch.

Reusing the existing interface looks like it works for me as well, will just stick to that moving forward.