On 26/02/2025 15:33, Johannes Berg wrote:
On Mon, 2025-02-10 at 10:48 +0100, Pablo MARTIN-GOMEZ wrote:
On 20/01/2025 12:45, Pablo Martin-Gomez wrote:
[...]
Took me some time to look into this, but I don't think the band needs to
be unknown. I'd still split this and use the existing version for
*local* data, such as callers in net/wireless/nl80211.c, and have the
band used for parsing in net/mac80211/parse.c. We already pass e.g.
"from_ap" in the parsing context, so we can have the band too. Most
callers aren't even affected since they don't need to parse this, it'd
only be those in net/mac80211/mlme.c, and we can default to
NUM_NL80211_BANDS (unknown) for ieee802_11_parse_elems_crc().
Want to take a stab at that?
I'm very new at any sort of kernel development, but I'm ready to try to
figure it out given that you pre-chewed some of the work. I'll come back
before the end of the month either with a RFC patch or a white flag.
Pablo MG