nerves-networking / vintage_net_wifi

WiFi networking for VintageNet
Apache License 2.0
32 stars 18 forks source link

Fast Transmission flags are not handled correctly #79

Closed tonnenpinguin closed 3 years ago

tonnenpinguin commented 3 years ago

Describe the bug I noticed a bunch of warning messages when the router sends 802.11r Fast Transmission flags.

The connectivity works fine and I'm not quite sure this is a problem. But given that these messages are printed about every 7 seconds I figured I'd report it anyway :)

11:25:00.926 [info]  module=VintageNetWiFi.WPASupplicant WPASupplicant ignoring {:event, "WPS-AP-AVAILABLE"}
11:25:00.931 [debug] module=MuonTrap.Daemon wpa_supplicant: wlan0: Failed to initiate sched scan
11:25:00.933 [info]  module=VintageNetWiFi.WPASupplicant wpa_supplicant(wlan0): Failed to initiate sched scan
11:25:00.933 [info]  module=VintageNetWiFi.WPASupplicant WPASupplicant ignoring {:event, "CTRL-EVENT-NETWORK-NOT-FOUND"}
11:25:00.943 [warn]  module=VintageNetWiFi.WPASupplicantDecoder [wpa_supplicant] Unknown flag: "WPA2-PSK+FT/PSK-CCMP"
11:25:00.945 [warn]  module=VintageNetWiFi.WPASupplicantDecoder [wpa_supplicant] Unknown flag: "WPA2-EAP+FT/EAP-CCMP"
11:25:00.948 [warn]  module=VintageNetWiFi.WPASupplicantDecoder [wpa_supplicant] Unknown flag: "WPA2-PSK+FT/PSK-CCMP"
11:25:00.953 [warn]  module=VintageNetWiFi.WPASupplicantDecoder [wpa_supplicant] Unknown flag: "WPA2-PSK+FT/PSK-CCMP"
11:25:00.958 [warn]  module=VintageNetWiFi.WPASupplicantDecoder [wpa_supplicant] Unknown flag: "WPA2-PSK+FT/PSK-CCMP"
11:25:00.960 [warn]  module=VintageNetWiFi.WPASupplicantDecoder [wpa_supplicant] Unknown flag: "WPA2-PSK+FT/PSK-CCMP"

To Reproduce Tbh I'm not sure how that specific network is setup

Expected behavior For the flags to be handled gracefully

VintageNet Info

VintageNet 0.10.5

All interfaces:       ["eth0", "lo", "wlan0"]
Available interfaces: ["eth0"]

Interface eth0
  Type: VintageNetEthernet
  Present: true
  State: :configured (1:13:33)
  Connection: :internet (1:13:27)
  Addresses: fe80::e65f:1ff:fe30:85a4/64, 192.168.1.23/24
  Configuration:
    %{ipv4: %{method: :dhcp}, type: VintageNetEthernet}

Interface usb0
  Type: VintageNetDirect
  Present: false
  Configuration:
    %{type: VintageNetDirect}

Interface wlan0
  Type: VintageNetWiFi
  Present: true
  State: :configured (1:13:33)
  Connection: :disconnected (1:13:33)
  Configuration:
    %{
      ipv4: %{method: :dhcp},
      type: VintageNetWiFi,
      vintage_net_wifi: %{
        networks: []
      }
    }

Environment

|nerves_bootstrap| Environment Package List

  Pkg:         nerves_toolchain_aarch64_nerves_linux_gnu
  Vsn:         1.4.3
  Type:        toolchain
  BuildRunner: {Nerves.Artifact.BuildRunners.Local, []}

  Pkg:         nerves_system_custom_rpi4
  Vsn:         1.16.2-spa1
  Type:        system
  BuildRunner: {Nerves.Artifact.BuildRunners.Docker, [make_args: ["source", "all"]]}

  Pkg:         nerves_toolchain_ctng
  Vsn:         1.8.4
  Type:        toolchain_platform
  BuildRunner: {nil, []}

  Pkg:         nerves_system_br
  Vsn:         1.16.4
  Type:        system_platform
  BuildRunner: {nil, []}

It's a custom rpi4 image build with some minor modifications that shouldn't impact the networking stack.

tonnenpinguin commented 3 years ago

Damn that was quick. Really cool @fhunleth ! :)

fhunleth commented 3 years ago

You're welcome. You had good timing with this issue.