On Tue, 11 Aug 2026, Gleb Smirnoff wrote:
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 <[email protected]>
B> > AuthorDate: 2026-08-06 05:59:20 +0000
B> > Commit: Gleb Smirnoff <[email protected]>
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.
Oh, it's passed as a value to a function argument of the enum. I was confused
by the "assigned". Now that there is a Linux[KPI] name I should change that
function to use that as well.
Thanks for the etxra explanation.
--
Bjoern A. Zeeb r15:7