Message ID | 20230215230904.933291-4-andrei.otcheretianski@intel.com |
---|---|
State | Changes Requested |
Headers | show
Return-Path: <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=vh2RS0NU; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Orn0/f4S; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PHDMp63kHz23yD for <incoming@patchwork.ozlabs.org>; Thu, 16 Feb 2023 10:11:02 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=I2nMIHY0ZpUtZUxzB8EUZTG0JgUe4FaZyotpYK1Khok=; b=vh2RS0NUCkMPXX bV68OM5Mf+Hcticq4qHWaFjB9ITd+cqnC9xqfk8FG6BrN7AvzCeNwJNyuz6K9CI7rz44zWQMqLn+9 2/aP36LY5dWg1+vRY4nKjrDWMjhgoNZvv8C1oAudhc53zTnTWefarNmHISsh1DrVKHSM5Jabi+Ykm BrSwQuYegyDlv9hP3+vJx5iK4KWawlf2+ScoauQ+3YXe2V3uAHRTTsIv6n0NeFBIcr3lTITapW5CN gWYIo6qei5O84WCfcyWNU4sXl78RFUy5gNc83Mn7G4FCRQf7qTQzc+3zZSlV8a7c+lSodjRzeoERW g1zV7Qz/NQCssbKWbfcw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pSQuK-007lPB-79; Wed, 15 Feb 2023 23:09:48 +0000 Received: from mga03.intel.com ([134.134.136.65]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pSQu0-007lDw-Ju for hostap@lists.infradead.org; Wed, 15 Feb 2023 23:09:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676502568; x=1708038568; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=kzWWJCA/hDa5quA8Z4bIT+BkW1NRiCaQz/hqPmlDhZY=; b=Orn0/f4Sr5SdGEn3PwxTzRW5PA7aQRFkAiDimSo88PdYHQuB48AFJ8ug RrMvn7kMKrM8Ok9tNBsTB1p24/u9+y30M0V1keU0kusdi2tOd4cXETWTc zLUd7Q9heUbIpnPeMp67sfZW9KOias3XYHeZUuduuUGWKpWu/YqhsH/To pr0VcSLYyr2x84sJtOmYT3ddPi+thh24Po0lCDI0LawHFD2BhONz4vUMh MR7aNy5YR1mWEGQMzFe9Y7xUSCJhTsV0PCnF7O8VQztJBfUmcVKQY+C6s ICjwyfe7h0mWqACpVU8D+UtAaL76YsgNkn9PG2CAa+xiQOPh+rwgJ9MMT A==; X-IronPort-AV: E=McAfee;i="6500,9779,10622"; a="333719574" X-IronPort-AV: E=Sophos;i="5.97,300,1669104000"; d="scan'208";a="333719574" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2023 15:09:26 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10622"; a="702344131" X-IronPort-AV: E=Sophos;i="5.97,300,1669104000"; d="scan'208";a="702344131" Received: from zfilgut-mobl.ger.corp.intel.com (HELO aotchere-desk.intel.com) ([10.254.144.126]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2023 15:09:25 -0800 From: Andrei Otcheretianski <andrei.otcheretianski@intel.com> To: hostap@lists.infradead.org Cc: Andrei Otcheretianski <andrei.otcheretianski@intel.com>, Ilan Peer <ilan.peer@intel.com> Subject: [PATCH 03/50] driver: Add MLD link id to AP parameters Date: Thu, 16 Feb 2023 01:08:17 +0200 Message-Id: <20230215230904.933291-4-andrei.otcheretianski@intel.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230215230904.933291-1-andrei.otcheretianski@intel.com> References: <20230215230904.933291-1-andrei.otcheretianski@intel.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230215_150928_763636_BC75DB11 X-CRM114-Status: GOOD ( 10.96 ) X-Spam-Score: -2.7 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: To be used in later patches, e.g., for link tracking etc. Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com> Signed-off-by: Ilan Peer <ilan.peer@intel.com> --- src/ap/beacon.c | 8 ++++++++ src/drivers/driver.h | 10 ++++++++++ 2 files chan [...] Content analysis details: (-2.7 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [134.134.136.65 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.2 DKIMWL_WL_HIGH DKIMwl.org - High trust sender X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <hostap.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/hostap>, <mailto:hostap-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/hostap/> List-Post: <mailto:hostap@lists.infradead.org> List-Help: <mailto:hostap-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/hostap>, <mailto:hostap-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Hostap" <hostap-bounces@lists.infradead.org> Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
Add basic MLO support for AP
|
expand
|
diff --git a/src/ap/beacon.c b/src/ap/beacon.c index dbc6b062b8..14cde4c584 100644 --- a/src/ap/beacon.c +++ b/src/ap/beacon.c @@ -1974,6 +1974,14 @@ int ieee802_11_build_ap_params(struct hostapd_data *hapd, } } +#ifdef CONFIG_IEEE80211BE + if (hapd->conf->mld_ap && hapd->iconf->ieee80211be && + !hapd->conf->disable_11be) { + params->mld_ap = true; + params->mld_link_id = hapd->conf->mld_link_id; + } +#endif /* CONFIG_IEEE80211BE */ + return 0; } diff --git a/src/drivers/driver.h b/src/drivers/driver.h index a2bea930f9..3c5f41b087 100644 --- a/src/drivers/driver.h +++ b/src/drivers/driver.h @@ -1724,6 +1724,16 @@ struct wpa_driver_ap_params { * ema - Enhanced MBSSID advertisements support. */ bool ema; + + /** + * MLD AP + */ + bool mld_ap; + + /** + * Link id for MLD BSS's + */ + u8 mld_link_id; }; struct wpa_driver_mesh_bss_params {