On Wed, Mar 25, 2026 at 05:25:37PM +0100, Kirill A. Korinsky wrote:
> On Wed, 25 Mar 2026 11:59:36 +0100,
> Stefan Sperling <[email protected]> wrote:
> > Please also update IEEE80211_NODEREQ_ASSOCFAIL and the _BITS string
> > in ieee80211_ioctl.h for the new CSA failure case. Otherwise ifconfig
> > won't be able to display the failure.
> > 
> 
> Do you mean something like that?

Yes this is what I had in mind, thanks!

> Index: sys/net80211/ieee80211_ioctl.h
> ===================================================================
> RCS file: /home/cvs/src/sys/net80211/ieee80211_ioctl.h,v
> diff -u -p -r1.44 ieee80211_ioctl.h
> --- sys/net80211/ieee80211_ioctl.h    22 Mar 2025 07:24:08 -0000      1.44
> +++ sys/net80211/ieee80211_ioctl.h    25 Mar 2026 16:23:29 -0000
> @@ -385,9 +385,10 @@ struct ieee80211_nodereq {
>  #define IEEE80211_NODEREQ_ASSOCFAIL_BSSID    0x20
>  #define IEEE80211_NODEREQ_ASSOCFAIL_WPA_PROTO        0x40
>  #define IEEE80211_NODEREQ_ASSOCFAIL_WPA_KEY  0x80
> +#define IEEE80211_NODEREQ_ASSOCFAIL_CSA              0x100
>  #define IEEE80211_NODEREQ_ASSOCFAIL_BITS     \
>       "\20\1!CHAN\2!IBSS\3!PRIVACY\4!BASICRATE\5!ESSID\6!BSSID\7!WPAPROTO" \
> -     "\10!WPAKEY"
> +     "\10!WPAKEY\11!CSA"
>  
>  /* get the entire node cache */
>  struct ieee80211_nodereq_all {

Reply via email to