From nobody Wed Jun 11 09:14:21 2025 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bHKjV1xWXz5yysp; Wed, 11 Jun 2025 09:14:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bHKjT71Pcz3lm1; Wed, 11 Jun 2025 09:14:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749633262; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=19nG1Ie8wdsGaVmAy1Qw+Li1DKIFWhND7C99XccCWjQ=; b=BEJNeHNSFcKuZLp8r0mtm+/KLHVQBRE6xfedcR4LV4C/Oq8zF8wTho/jvFyLk1iYH+Y9SL DY46IrWXD9vy+9MRn+yG46d+0g1Oe8/78MY+0ShXke8J8CwXXdRm1Yqja63UFgQTF931DZ Az7Sh4YxlW5zAfTD8K5OsBwvJ9oPauIkJB0kc0fbFTolGg4v8QDkE0d/QBsw2dKuovwFcJ u7mgyqlqS6mr3Ajvx021PtPhQpLhnXLk/6IDg6p7JlxK/gGPXJs6fL/7rP3BHE1AYPUJZ1 hYG19574xnEHEALp7FGaGNjVKAP3rzm7xNitoQ+XTC0UN0njgsoO/W67+tyNKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749633262; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=19nG1Ie8wdsGaVmAy1Qw+Li1DKIFWhND7C99XccCWjQ=; b=gCLz7kid269erJLT9LGC/4CQ5LfIU1YeVERIRxJ61JfLWTpVbeMP4Gan232tgTiAIkdR0f q2hvdBc5MgUZLfGLRy/ftlOLo9qEJ6OITe/DPhikpKbnorKaVmkQQf4thNQrhnYty73nSH +Kvbu600Lf1h4IPjwP4cjKdDEZk54uvBY5sINWmyjeLECRe6qS1TmFLpGRS0uDJZtQNjTg camXzzuHUml90ik9ElY0iYKE7BbBUBJs8gcn4rrF0VlS21bBCal4jNuf+Ma3DItNTfDFye 3zyMPvogZ+9eDXf5kqHlUnZRwCJI/6kKj3s0KRWXphlox+4/xdPggPiebXOJAA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1749633262; a=rsa-sha256; cv=none; b=Fj4uKdwE9IsbNyDOo9Bed/6Rzb9Mz2IH9+bEsCrpMJFIcj6W5P00TUwLsF8tOjMKCP1WUm oxg5WBN+oSfF5p/CtXvCV8sbYXlQIp2PfP9geKXN2XQ1Fli813bnyi8u0nI9c5jKLfWelZ T/eoveUwHPGUsujKEvEfrhSlyIutuJlRPbSEAL2ZmAxYYPydprS6Y40nwqzTii74Hnby4q 1jmL3LroYomuoXNcRNp/wjkn1MhR/E5qm7RWisJRsYOImxDsi34goC9g2MIzLuVFe1Eto7 52/fifVVFMda+VCYzB9kkd/k/BhWRMlUc/8V9C1/2UQRylmA6+VZzy7biaOd+A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4bHKjT6bqHz529; Wed, 11 Jun 2025 09:14:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 55B9ELiD062163; Wed, 11 Jun 2025 09:14:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 55B9ELMX062160; Wed, 11 Jun 2025 09:14:21 GMT (envelope-from git) Date: Wed, 11 Jun 2025 09:14:21 GMT Message-Id: <202506110914.55B9ELMX062160@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: e95893ce015e - stable/14 - net80211: add the beginning of the extfield information elements (IE ext) List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: e95893ce015e7f7b071d6a30b685fe82977f06f6 Auto-Submitted: auto-generated The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=e95893ce015e7f7b071d6a30b685fe82977f06f6 commit e95893ce015e7f7b071d6a30b685fe82977f06f6 Author: Bjoern A. Zeeb AuthorDate: 2025-06-02 16:00:37 +0000 Commit: Bjoern A. Zeeb CommitDate: 2025-06-10 23:40:05 +0000 net80211: add the beginning of the extfield information elements (IE ext) The original list of IEs got expanded from TLV to TLextTV. If the T matches 255 then we have a second list of IEs where the meaning of TL stays the same. That means the 1 octet extT is part of the length and the value starts at ie+3. Start populating the list with IEEE802.11-2020 and 802.11ax-2021 values. They will be initially used to start decoding some of the announced IEs for ifconfig [-v] list (scan|sta). That should help users with AX-enabled APs to see this (rather than no or UNKNOWN_ELEMID_255 and make debugging easier once we implement 11ax. Sposored by: The FreeBSD Foundation Reviewed by: adrian Differential Revision: https://reviews.freebsd.org/D50674 (cherry picked from commit fa02d9fceab7d452d5b3312a89b4e7b95529edcd) --- sys/net80211/ieee80211.h | 69 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/sys/net80211/ieee80211.h b/sys/net80211/ieee80211.h index 16daeb530133..95bbed19a31a 100644 --- a/sys/net80211/ieee80211.h +++ b/sys/net80211/ieee80211.h @@ -1027,6 +1027,7 @@ struct ieee80211_ie_vht_txpwrenv { * Management information element payloads. * * 802.11-2020 Table 9-92 (Element IDs). + * 802.11ax-2021 */ enum { @@ -1268,6 +1269,74 @@ enum { IEEE80211_ELEMID_EXTFIELD = 255 }; +enum ieee80211_elemid_ext { + IEEE80211_ELEMID_EXT_ASSOC_DELAY_INFO = 1, + IEEE80211_ELEMID_EXT_FILS_REQ_PARAMS = 2, + IEEE80211_ELEMID_EXT_FILS_KEY_CONFIRM = 3, + IEEE80211_ELEMID_EXT_FILS_SESSION = 4, + IEEE80211_ELEMID_EXT_FILS_HLP_CONTAINER = 5, + IEEE80211_ELEMID_EXT_FILS_IP_ADDR_ASSIGNMENT = 6, + IEEE80211_ELEMID_EXT_KEY_DELIVERY = 7, + IEEE80211_ELEMID_EXT_FILS_WRAPPED_DATA = 8, + IEEE80211_ELEMID_EXT_FTM_SYNC_INFO = 9, + IEEE80211_ELEMID_EXT_EXT_REQ = 10, + IEEE80211_ELEMID_EXT_EST_SERVICE_PARAM_INBOUND = 11, + IEEE80211_ELEMID_EXT_FILS_PUBLIC_KEY = 12, + IEEE80211_ELEMID_EXT_FILS_NONCE = 13, + IEEE80211_ELEMID_EXT_FUTURE_CHAN_GUIDANCE = 14, + IEEE80211_ELEMID_EXT_SERVICE_HINT = 15, + IEEE80211_ELEMID_EXT_SERVICE_HASH = 16, + IEEE80211_ELEMID_EXT_CDMG_CAPA = 17, + IEEE80211_ELEMID_EXT_DYN_BW_CTRL = 18, + IEEE80211_ELEMID_EXT_CDMG_EXT_SCHEDULE = 19, + IEEE80211_ELEMID_EXT_SSW_REPORT = 20, + IEEE80211_ELEMID_EXT_CLUSTER_PROBE = 21, + IEEE80211_ELEMID_EXT_EXT_CLUSTER_REPORT = 22, + IEEE80211_ELEMID_EXT_CLUSTER_SW_ANNOUNCEMENT = 23, + IEEE80211_ELEMID_EXT_ENHANCED_BEAM_TRACKING = 24, + IEEE80211_ELEMID_EXT_SPSH_REPORT = 25, + IEEE80211_ELEMID_EXT_CLUSTER_INTERF_ASSESS = 26, + IEEE80211_ELEMID_EXT_CMMG_CAPA = 27, + IEEE80211_ELEMID_EXT_CMMG_OPER = 28, + IEEE80211_ELEMID_EXT_CMMG_OPMODE_NOTIF = 29, + IEEE80211_ELEMID_EXT_CMMG_LINK_MARGIN = 30, + IEEE80211_ELEMID_EXT_CMMG_LINK_ADAP_ACK = 31, + /* 32 reserved. */ + IEEE80211_ELEMID_EXT_PASSWORD_ID = 33, + IEEE80211_ELEMID_EXT_GLK_GCR_PARAM_SET = 34, + IEEE80211_ELEMID_EXT_HE_CAPA = 35, + IEEE80211_ELEMID_EXT_HE_OPER = 36, + IEEE80211_ELEMID_EXT_UORA_PARAM_SET = 37, + IEEE80211_ELEMID_EXT_MU_EDCA_PARAM_SET = 38, + IEEE80211_ELEMID_EXT_SPATIAL_REUSE_PARAM_SET = 39, + IEEE80211_ELEMID_EXT_GAS_EXTENSION = 40, + IEEE80211_ELEMID_EXT_NDP_FEEDB_REPORT_PARAM = 41, + IEEE80211_ELEMID_EXT_BSS_COLOR_CHG_ANNOUNCE = 42, + IEEE80211_ELEMID_EXT_QUIET_TIMME_PERIOD = 43, + IEEE80211_ELEMID_EXT_VENDOR_SPECIFIC_REQ_ELEM = 44, + IEEE80211_ELEMID_EXT_ESS_REPORT = 45, + IEEE80211_ELEMID_EXT_OPS = 46, + IEEE80211_ELEMID_EXT_HE_BSS_LOAD = 47, + /* 48-51 reserved. */ + IEEE80211_ELEMID_EXT_MAC_CH_SW_TIME = 52, + IEEE80211_ELEMID_EXT_EST_SERVICE_PARAM_OUTBOUND = 53, + IEEE80211_ELEMID_EXT_OCI = 54, + IEEE80211_ELEMID_EXT_MULTI_BSSID_CONFIG = 55, + IEEE80211_ELEMID_EXT_NON_INHERITANCE = 56, + IEEE80211_ELEMID_EXT_KNOWN_BSSID = 57, + IEEE80211_ELEMID_EXT_SHORT_SSID_LIST = 58, + IEEE80211_ELEMID_EXT_HE_6GHZ_BAND_CAPA = 59, + IEEE80211_ELEMID_EXT_ULMU_POWER_CAAP = 60, + /* 61-87 reserved. */ + IEEE80211_ELEMID_EXT_MSCS_DESCRIPTOR = 88, + IEEE80211_ELEMID_EXT_TCLAS_MASK = 89, + IEEE80211_ELEMID_EXT_SUPPL_CLASS_2_CAPA = 90, + IEEE80211_ELEMID_EXT_OCT_SOURCE = 91, + IEEE80211_ELEMID_EXT_REJECTED_GROUPS = 92, + IEEE80211_ELEMID_EXT_ANTI_CLOGGING_TAOKEN_CONTAINER = 93, + /* 94-255 reserved. */ +}; + struct ieee80211_tim_ie { uint8_t tim_ie; /* IEEE80211_ELEMID_TIM */ uint8_t tim_len;