Re: git: 6a15fd92392c - main - linuxkpi: add WLAN_EID_HT_OPERATION to ieee80211_eid

From: Gleb Smirnoff <glebius_at_freebsd.org>
Date: Tue, 11 Aug 2026 14:46:27 UTC
  Bjoern,

On Fri, Aug 07, 2026 at 10:15:06PM +0000, Bjoern A. Zeeb wrote:
B> > The branch main has been updated by glebius:
B> > 
B> > URL: https://cgit.FreeBSD.org/src/commit/?id=6a15fd92392cfda1e0b7608e1a4a08509bc796f3
B> > 
B> > commit 6a15fd92392cfda1e0b7608e1a4a08509bc796f3
B> > Author:     Gleb Smirnoff <glebius@FreeBSD.org>
B> > AuthorDate: 2026-08-06 05:59:20 +0000
B> > Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
B> > CommitDate: 2026-08-07 21:12:57 +0000
B> > 
B> >    linuxkpi: add WLAN_EID_HT_OPERATION to ieee80211_eid
B> 
B> The gernal line I try to use starts with LinuxKPI: 802.11: ...

Sorry.  I usually try to check git log for most common pattern, but sometimes
fail to recognize one.  Will do better next time.

B> 
B> >    It matches our IEEE80211_ELEMID_HTINFO, that is already in use.
B> > 
B> >    Found with:     clang -Werror=assign-enum
B> 
B> Sorry, what was the error for this?
B> I am confused as to how/where this shows up?

Somewhere else in the code there is a place where a variable of Linux's type
enum ieee80211_eid is assigned FreeBSD's enum value IEEE80211_ELEMID_HTINFO.
Since this value is not on the Linux's enum, that would fail with
-Werror=assign-enum.

-- 
Gleb Smirnoff