All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Prestwood <prestwoj@gmail.com>
To: daniel antoine <univac55@gmail.com>, iwd@lists.linux.dev
Subject: Re: IWD CMD_SET_CQM failed: Operation not supported
Date: Thu, 25 Jul 2024 09:41:51 -0700	[thread overview]
Message-ID: <444d59ad-9a07-4d2c-922b-e6c43b7d8cb0@gmail.com> (raw)
In-Reply-To: <CA+iibzCB-6wXch6yFu-4V9dKgz0sJRopsd7wXchccptT5hNB-A@mail.gmail.com>

Hi Daniel,

On 7/25/24 9:15 AM, daniel antoine wrote:
> Hi
>
> I always have this error when iwd connect. It's not a problem, it
> works perfectly. How to get rid of it.
>
> juil. 25 17:35:05 grat-os1 iwd[530]: Wireless daemon version 2.19
> juil. 25 17:35:05 grat-os1 iwd[530]: station: Network configuration is disabled.
> juil. 25 17:35:05 grat-os1 iwd[530]: Wiphy: 0, Name: phy0
> juil. 25 17:35:05 grat-os1 iwd[530]:         Permanent Address:
> 50:c2:e8:0b:58:bd
> juil. 25 17:35:05 grat-os1 iwd[530]:         2.4GHz Band:
> juil. 25 17:35:05 grat-os1 iwd[530]:                 Bitrates (non-HT):
> juil. 25 17:35:05 grat-os1 iwd[530]:                          1.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                          2.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                          5.5 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                         11.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                          6.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                          9.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                         12.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                         18.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                         24.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                         36.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                         48.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                         54.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                 HT Capabilities:
> juil. 25 17:35:05 grat-os1 iwd[530]:                         HT40
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Short GI for 20Mhz
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Short GI for 40Mhz
> juil. 25 17:35:05 grat-os1 iwd[530]:                 HT RX MCS indexes:
> juil. 25 17:35:05 grat-os1 iwd[530]:                         0-15
> juil. 25 17:35:05 grat-os1 iwd[530]:                 HE Capabilities
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Interface Types: ap
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Max HE RX
> <= 80MHz MCS: 0-11 for NSS: 2
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Max HE TX
> <= 80MHz MCS: 0-11 for NSS: 2
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Interface
> Types: station
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Max HE RX
> <= 80MHz MCS: 0-11 for NSS: 2
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Max HE TX
> <= 80MHz MCS: 0-11 for NSS: 2
> juil. 25 17:35:05 grat-os1 iwd[530]:         5GHz Band:
> juil. 25 17:35:05 grat-os1 iwd[530]:                 Bitrates (non-HT):
> juil. 25 17:35:05 grat-os1 iwd[530]:                          6.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                          9.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                         12.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                         18.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                         24.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                         36.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                         48.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                         54.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                 HT Capabilities:
> juil. 25 17:35:05 grat-os1 iwd[530]:                         HT40
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Short GI for 20Mhz
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Short GI for 40Mhz
> juil. 25 17:35:05 grat-os1 iwd[530]:                 HT RX MCS indexes:
> juil. 25 17:35:05 grat-os1 iwd[530]:                         0-15
> juil. 25 17:35:05 grat-os1 iwd[530]:                 VHT Capabilities:
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Short GI for 80Mhz
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Max RX
> MCS: 0-9 for NSS: 2
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Max TX
> MCS: 0-9 for NSS: 2
> juil. 25 17:35:05 grat-os1 iwd[530]:                 HE Capabilities
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Interface Types: ap
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Max HE RX
> <= 80MHz MCS: 0-11 for NSS: 2
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Max HE TX
> <= 80MHz MCS: 0-11 for NSS: 2
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Interface
> Types: station
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Max HE RX
> <= 80MHz MCS: 0-11 for NSS: 2
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Max HE TX
> <= 80MHz MCS: 0-11 for NSS: 2
> juil. 25 17:35:05 grat-os1 iwd[530]:         6GHz Band:
> juil. 25 17:35:05 grat-os1 iwd[530]:                 Bitrates (non-HT):
> juil. 25 17:35:05 grat-os1 iwd[530]:                          6.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                          9.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                         12.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                         18.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                         24.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                         36.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                         48.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                         54.0 Mbps
> juil. 25 17:35:05 grat-os1 iwd[530]:                 HE Capabilities
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Interface Types: ap
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Max HE RX
> <= 80MHz MCS: 0-11 for NSS: 2
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Max HE TX
> <= 80MHz MCS: 0-11 for NSS: 2
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Interface
> Types: station
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Max HE RX
> <= 80MHz MCS: 0-11 for NSS: 2
> juil. 25 17:35:05 grat-os1 iwd[530]:                         Max HE TX
> <= 80MHz MCS: 0-11 for NSS: 2
> juil. 25 17:35:05 grat-os1 iwd[530]:         Ciphers: BIP-CMAC-256
> BIP-GMAC-256 BIP-GMAC-128 CCMP-256
> juil. 25 17:35:05 grat-os1 iwd[530]:                  GCMP-256
> GCMP-128 BIP-CMAC-128 CCMP-128
> juil. 25 17:35:05 grat-os1 iwd[530]:                  TKIP
> juil. 25 17:35:05 grat-os1 iwd[530]:         Supported iftypes: station ap
> juil. 25 17:35:05 grat-os1 iwd[530]: udev interface=wlan0 ifindex=3
> juil. 25 17:35:05 grat-os1 iwd[530]: udev interface=virbr0 ifindex=4
> juil. 25 17:35:06 grat-os1 iwd[530]: event: state, old: disconnected,
> new: autoconnect_quick
> juil. 25 17:35:06 grat-os1 iwd[530]: udev interface=wlan0 ifindex=5
> juil. 25 17:35:06 grat-os1 iwd[530]: event: state, old:
> autoconnect_quick, new: autoconnect_full
> juil. 25 17:35:06 grat-os1 iwd[530]: event: connect-info, ssid:
> Livebox-XXXX xx.xx.xx.xx.xx.xx, signal: -45, load: 6/255
> juil. 25 17:35:06 grat-os1 iwd[530]: event: state, old:
> autoconnect_full, new: connecting
> juil. 25 17:35:06 grat-os1 iwd[530]: CMD_SET_CQM failed: Operation not supported
> juil. 25 17:35:10 grat-os1 iwd[530]: event: state, old: connecting,
> new: connected
> juil. 25 17:35:10 grat-os1 iwd[530]: event: roam-scan,
> juil. 25 17:35:12 grat-os1 iwd[530]: event: roam-info, bss:
> yy:yy:yy:yy:yy:yy, signal: -49, load: 1/255
> juil. 25 17:35:12 grat-os1 iwd[530]: event: state, old: connected, new: roaming
> juil. 25 17:35:12 grat-os1 iwd[530]: CMD_SET_CQM failed: Operation not supported
> juil. 25 17:35:13 grat-os1 iwd[530]: event: state, old: roaming, new: connected
>
> I have found one commit referring to CMD_SET_CQM it's the commit
> 2dc785982d29ebd72b7cc6ed5548454f386ce222  netdev: Check
> EXT_FEATURE_CQM_RSSI_LIST before sending CMD_SET_CQM

There is that extended feature for RSSI lists, but most likely that's 
not the reason because IWD will only use a single threshold unless your 
using a signal agent, which I assume your not. Looking at the kernel I 
did find one case where driver support is checked, and if that fails it 
returns not supported:

net/mac80211/cfg.c: ieee80211_set_cqm_rssi_config()

if (sdata->vif.driver_flags & IEEE80211_VIF_BEACON_FILTER &&
         !(sdata->vif.driver_flags & IEEE80211_VIF_SUPPORTS_CQM_RSSI))
         return -EOPNOTSUPP;

What hardware are you using? Also could you enable debugging because it 
would appear that CQM is still working as you are able to roam, so this 
error may be related to something else.

Thanks,

James

>
> Best regards
>
> Daniel
>

  reply	other threads:[~2024-07-25 16:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-25 16:15 IWD CMD_SET_CQM failed: Operation not supported daniel antoine
2024-07-25 16:41 ` James Prestwood [this message]
2024-07-25 18:15   ` daniel antoine
2024-07-25 18:45     ` James Prestwood
     [not found]       ` <CA+iibzD=UQC5sDwcoOy5_tPm=_58yp-mvV973Sq3dwJrej=89g@mail.gmail.com>
     [not found]         ` <314a3582-0103-40e1-a7a3-274897f5950d@gmail.com>
     [not found]           ` <CA+iibzDc=45P+U-xd6gxQBCqrEtb4ENFewFfzof91a9cU8OErA@mail.gmail.com>
     [not found]             ` <4bcf6591-168a-446c-b6ff-b8ba5f7efedb@gmail.com>
     [not found]               ` <CA+iibzDAZ0QSH9yXBgNd_CrOA3Z69z3yhbZMaiPjMUE8ZG8u0w@mail.gmail.com>
     [not found]                 ` <CAPv5Ue71TT7dDpe6TZQSimCztT3iQew30C7i0syZb=5JhiYCOw@mail.gmail.com>
     [not found]                   ` <CA+iibzB3j__Xe2VtpEr-5BH+kcJRM06UxcxWVmVZxHVyNMWsyg@mail.gmail.com>
     [not found]                     ` <CAPv5Ue6n1BF5E=c3u_cwcHZd+L++v4X8waqKmpW9sgQNvHVSxQ@mail.gmail.com>
2024-08-28 10:41                       ` daniel antoine
2024-08-28 11:56                         ` James Prestwood
2024-08-29 11:50                           ` James Prestwood
2024-08-29 12:29                             ` daniel antoine

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=444d59ad-9a07-4d2c-922b-e6c43b7d8cb0@gmail.com \
    --to=prestwoj@gmail.com \
    --cc=iwd@lists.linux.dev \
    --cc=univac55@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.