Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1211665pxb; Tue, 17 Aug 2021 06:32:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxS3NRnQASVNSlfK1WdFj9dVZv6sJ9oy9f0aNWQuTQkgFTmCivPxhtrGnhBARU7iHs/wvjR X-Received: by 2002:ac2:434b:: with SMTP id o11mr2556925lfl.102.1629207154501; Tue, 17 Aug 2021 06:32:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629207154; cv=none; d=google.com; s=arc-20160816; b=oUrf0Ak5UigWUOxkP334z4N8qhHpZ1flfaaQcbDxftjC4lubkDygTbLD0cSBV0kczP q3+BpOL2EjqLuHGddswYQi64iJTjupZQf0Xl5O6L/D2D0bQsU1RHBzbfym6IPELTvybP LBtxqV42VeGrbnJlkGwBTL4y2O+1ts8ytQD2yWSSOB+dt5jgRrq1bSf52wxsh757Av/Z T1fpu1/xM1ow2O1vEfCfbgKwD7QDDoS3lg6iTPKs8EkDfbRaZQnJLeolMkpkYG28ZYwP c+bwhwt2Gtck8npmdGbS8z6VurWlQtgnvAHxoRQcCtsMzZde+sIOdkX9kgXzk8o0oQdm CSAg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=OzNUm8hN1AEsHQGtDta7OSeQVgR7GVTLDRlUoY7wuUY=; b=rGpGZL95U2mM5ZvvwRsrSwJlLk29f2s82JkmXJtGDTVIqvf3rGiSnrW0xTRxpmxcyl QS9wyZ+pnu/Vw2tjaO8zDunikK5U1D/3E0c/oSoATjSX4wfQm29va+dCRXpGCfxfioWH NsUGhn3zgDwZCW90dVl8yx3X89UUeBpDyDNYav7yLkD2OUieukeuOPZ95a+HvNgG46+B 7N1o4gfdP76jHkzCWzxsxV2xcTOyjblbx08sItXbJexFS9uL/BgO4F++fFVoYRb4exBR kZT2vNHweUhINTRPbnSkLDt4jkxi63GFl0H8PaPjxt1Rw9iChyIZ5/0O9VKU1LiRTRLr mR0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nz1+0Hpq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bh6si2285966ejb.691.2021.08.17.06.32.09; Tue, 17 Aug 2021 06:32:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nz1+0Hpq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239864AbhHQN3I (ORCPT + 99 others); Tue, 17 Aug 2021 09:29:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236398AbhHQN3H (ORCPT ); Tue, 17 Aug 2021 09:29:07 -0400 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AC17C061764; Tue, 17 Aug 2021 06:28:34 -0700 (PDT) Received: by mail-pj1-x1029.google.com with SMTP id u13-20020a17090abb0db0290177e1d9b3f7so5212327pjr.1; Tue, 17 Aug 2021 06:28:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OzNUm8hN1AEsHQGtDta7OSeQVgR7GVTLDRlUoY7wuUY=; b=nz1+0HpqWM7CXmGnMuDOtCz/0d9QhZJdet+zPgDQsTWVAYZQmRB1bdJW+L8Km8dgbX M4jSA0ura8Gg6qK8XmNVt0bKOeH5cWWz/eU3lZy92okhsOUH5HnsvJUgj+vEDB7sgold aplY+rmi00PBCVcdo2qClNXDIAB/yy6n4xzxgmlkeYASNiT8g2RkqtY4thbEGz1KYo18 4ZqbxAWB0z+/ydZgzB640i4d6R+RCP2lzod6KxZm14/38wdR1qrNtHBTe3Jnspkt721Y PUlifTcJ2BGJI+mhw3Vn+Xu4C79GcujCgan57vqiExOxVrPa2w3kUs/XBG4r8KZ9rpM7 3GKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OzNUm8hN1AEsHQGtDta7OSeQVgR7GVTLDRlUoY7wuUY=; b=kyDE/ZxjvOHcnH8mAkaOVVRCFTYiMgjuclUjS5PalbJTRjbamwkEg/8rqr3U38RXOW vm/kCWgt5Jts5BDFiCjmpB7UJAV/ddfCV640dp9Og92YLx2fbxtvhCJ4+gIp2YUq1F1v 4N6edYaqKzrf3bGTRWTHql7BnmFbQeTZ2bKJYKQ9IVuNHmbOKEePspFpvhTIRhVlqCXN ltfCgN2OTBrVkN1nA58RDAjnQIy0Lu2bDjeq/Z1FT6dhukt9QZkqVzuUfd43Gz9HLmn+ 9L9t/lxxuWQF1qF+4Uh47EZn5GhW8Zh3TA7YrxWWKz+VboqwKp2YTUn3dz3zNGU1Hp0R Fu0Q== X-Gm-Message-State: AOAM531F/GfuNUMsQyHxz1pURJ88Q9gweGGxUuqGEjRrZ/wX8UJ1FM8c cNyvQhO3j8PZyk0DYDF0j5Q= X-Received: by 2002:a17:902:da8a:b029:12c:6f0:fe3c with SMTP id j10-20020a170902da8ab029012c06f0fe3cmr2819657plx.41.1629206913694; Tue, 17 Aug 2021 06:28:33 -0700 (PDT) Received: from ubuntu.localdomain ([182.226.226.37]) by smtp.gmail.com with ESMTPSA id j6sm2791577pfi.220.2021.08.17.06.28.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Aug 2021 06:28:32 -0700 (PDT) From: bongsu.jeon2@gmail.com To: shuah@kernel.org, krzysztof.kozlowski@canonical.com Cc: netdev@vger.kernel.org, linux-nfc@lists.01.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Bongsu Jeon Subject: [PATCH v2 net-next 0/8] Update the virtual NCI device driver and add the NCI testcase Date: Tue, 17 Aug 2021 06:28:10 -0700 Message-Id: <20210817132818.8275-1-bongsu.jeon2@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bongsu Jeon This series updates the virtual NCI device driver and NCI selftest code and add the NCI test case in selftests. 1/8 to use wait queue in virtual device driver. 2/8 to remove the polling code in selftests. 3/8 to fix a typo. 4/8 to fix the next nlattr offset calculation. 5/8 to fix the wrong condition in if statement. 6/8 to add a flag parameter to the Netlink send function. 7/8 to extract the start/stop discovery function. 8/8 to add the NCI testcase in selftests. v2: 1/8 - change the commit message. - add the dfense code while reading a frame. 3/8 - change the commit message. - separate the commit into 3/8~8/8. Bongsu Jeon (8): nfc: virtual_ncidev: Use wait queue instead of polling selftests: nci: Remove the polling code to read a NCI frame selftests: nci: Fix the typo selftests: nci: Fix the code for next nlattr offset selftests: nci: Fix the wrong condition selftests: nci: Add the flags parameter for the send_cmd_mt_nla selftests: nci: Extract the start/stop discovery function selftests: nci: Add the NCI testcase reading T4T Tag drivers/nfc/virtual_ncidev.c | 9 +- tools/testing/selftests/nci/nci_dev.c | 416 ++++++++++++++++++++++---- 2 files changed, 362 insertions(+), 63 deletions(-) -- 2.32.0