Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4187566rwd; Sun, 11 Jun 2023 02:21:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Fp4Vn0qYA7hSptYCitCax76uM+cGOjatsepnMkWv24psppfDw+LiK8Q9NDwhDKjVon09i X-Received: by 2002:aa7:cfc8:0:b0:510:db93:f034 with SMTP id r8-20020aa7cfc8000000b00510db93f034mr2546192edy.36.1686475277115; Sun, 11 Jun 2023 02:21:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686475277; cv=none; d=google.com; s=arc-20160816; b=J9CPCYFhVGYsUuSufIQSdf+jp8QPkPgpHTUkkYQSLt46YKABskm7DWywvVAG6dhhgZ NvKkLgUot8AXAA0RN+k1AFFNzL0Im+AvkMvWImEUEevdqtd8Es3o/lNVT/W1BVzQBT9k Xu3/i31ZMDo9iPz63FE3gVFNPHalBI/U4Yp19lZ4rv9ttqTXw3CnNRW8ESRIfW/LauQ9 QnkhrhRaeamsI+Nca5xYxnyXFvI9PKPJ1QMSmeE5nI8fpKJKxf3sFv/hdD7mpnj1UeZK a1fKyZpjqiNAu03/UYSSMReF21Agwe3WIJxHYE3mCXbFYJvJkrxBO7kpXp/k5BYJlVoE 9Y0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bgqKdKUMZIaIm1KIQjJYEc4OvfqSmU5e3P0SvZPC5SQ=; b=VCaxVmAQd94eTPJpxpy4NBOOvIvGx2TJP5wtIM7hI5L+2JorrwwUpOXfslWcq2VfJR 7mnLG2i8nEmUSkiA2o6Mdfp7QdHQ9CKbvKwjNF1z7ONW7Tk9zWmdzEJ3SHDNe3yZj5M1 m5SZ5eBWQjiOSdTB9mAeDZjKnZm5nE1duq2EYy+rzxACBrR6CWIT5Hx09MUyxmXuAPeY zBVp6LKV1UDqDGWfYFYx1OQ1HzYl3CrET389hSM0szjCn9zbx7mghm91OTfb4fIgCaYE CRcRrhFUE5waHgQNByzLbc+Vh8QtOoy0i+wey0wO5bJsv+AlVnWtukm2Arv7TdZjHZ8q 5Cdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=X0rLcsN3; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o7-20020aa7c507000000b0050bc4795612si4659532edq.249.2023.06.11.02.21.01; Sun, 11 Jun 2023 02:21:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=X0rLcsN3; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233568AbjFKJO6 (ORCPT + 61 others); Sun, 11 Jun 2023 05:14:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232871AbjFKJOr (ORCPT ); Sun, 11 Jun 2023 05:14:47 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B905F173B for ; Sun, 11 Jun 2023 02:14:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686474886; x=1718010886; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=tCrltpD/DlpZPpsEoKm+r8MLURR8tz5E3GndKl1iBzU=; b=X0rLcsN33LmFkLzwy3L3y9faWj1c/jKh3HoJnK5QmyYhiEHskSjFhQQO qCSWYHU7f9ypnE2vLuZ3lOq0/ujzRWjb2UglCVIGvSCb7LbPe0ETdVWuW D45AZDLWfeioXxbtwUz19BqoCP8FDoidg3jXuOLuxmKYb/QT03pkGsStf jUm2i+A8B6yzIro3M9cINXtgRhMuLOmQkBJm7xzhF1ZoUnaZLED/HE0sU qfWnZa/cwYIMJ3oJgVL/6HFoDGZUlXP07ij2cvKSCXkk9jlUS0XBKH/+0 nUDYvysMV2FGXPENt15NOFwZl32sxdNYGwkGGFg9A3uwEKtXSrx5Fbx4i w==; X-IronPort-AV: E=McAfee;i="6600,9927,10737"; a="347488938" X-IronPort-AV: E=Sophos;i="6.00,234,1681196400"; d="scan'208";a="347488938" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2023 02:14:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10737"; a="688249741" X-IronPort-AV: E=Sophos;i="6.00,234,1681196400"; d="scan'208";a="688249741" Received: from rganonx-mobl1.ger.corp.intel.com (HELO ggreenma-mobl2.lan) ([10.214.222.121]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2023 02:14:44 -0700 From: gregory.greenman@intel.com To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Ilan Peer , Gregory Greenman Subject: [PATCH 2/4] wifi: mac80211: Do not use "non-MLD AP" syntax Date: Sun, 11 Jun 2023 12:14:27 +0300 Message-Id: <20230611121219.77236a2e26ad.I8193ca8e236c9eb015870471f77a7d5134da3156@changeid> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230611091429.24517-1-gregory.greenman@intel.com> References: <20230611091429.24517-1-gregory.greenman@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Ilan Peer Instead clarify the cases where link ID == 0 is intended for an AP STA that is not part of an AP MLD. Signed-off-by: Ilan Peer Signed-off-by: Gregory Greenman --- include/net/mac80211.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/net/mac80211.h b/include/net/mac80211.h index b5704ef4308f..914448cb0ecf 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -5282,7 +5282,8 @@ struct ieee80211_mutable_offsets { * @vif: &struct ieee80211_vif pointer from the add_interface callback. * @offs: &struct ieee80211_mutable_offsets pointer to struct that will * receive the offsets that may be updated by the driver. - * @link_id: the link id to which the beacon belongs (or 0 for a non-MLD AP) + * @link_id: the link id to which the beacon belongs (or 0 for an AP STA + * that is not associated with AP MLD). * * If the driver implements beaconing modes, it must use this function to * obtain the beacon template. @@ -5379,7 +5380,8 @@ void ieee80211_beacon_free_ema_list(struct ieee80211_ema_beacons *ema_beacons); * @tim_length: pointer to variable that will receive the TIM IE length, * (including the ID and length bytes!). * Set to 0 if invalid (in non-AP modes). - * @link_id: the link id to which the beacon belongs (or 0 for a non-MLD AP) + * @link_id: the link id to which the beacon belongs (or 0 for an AP STA + * that is not associated with AP MLD). * * If the driver implements beaconing modes, it must use this function to * obtain the beacon frame. @@ -5402,7 +5404,8 @@ struct sk_buff *ieee80211_beacon_get_tim(struct ieee80211_hw *hw, * ieee80211_beacon_get - beacon generation function * @hw: pointer obtained from ieee80211_alloc_hw(). * @vif: &struct ieee80211_vif pointer from the add_interface callback. - * @link_id: the link id to which the beacon belongs (or 0 for a non-MLD AP) + * @link_id: the link id to which the beacon belongs (or 0 for an AP STA + * that is not associated with AP MLD). * * See ieee80211_beacon_get_tim(). * -- 2.38.1