Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp341011pxt; Fri, 6 Aug 2021 03:24:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxTl7p5PMLO3paCyWkdEGItjRMI1KXUKN0vrx/Vw807RJ2LdLDp3NEeV54TopveoiFuex0 X-Received: by 2002:a5d:93d1:: with SMTP id j17mr103993ioo.123.1628245474352; Fri, 06 Aug 2021 03:24:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628245474; cv=none; d=google.com; s=arc-20160816; b=Z4p5Rss3LDyP6PCgxt8h5jeKGi36Ta6D8WmpyrsnE0GL48A42jz+lAL5wyLhxL+Ual d4g8SfaeKzA/dKJ4Zceqhlk+7+1GtWVNsNvQ5WuZpuTRawUIv6TLgd7T8oWrLOCAx58z w/tz//z1jAG/0L1sS/T5kU1Py4ayQEa4aqpudjYE5DP7rKu0KMXtc645QJGIA7CqHeCP upzrZ06A0+6kPv9AR5dnvtxZA5NGECSszFWPHleEncb3JgvIERNnrMV8uaOBB0soboq+ F9Va8nnFCN/CROgqK3MeueuNGFMKey1y8K8oaJhI7ctvbrqHid0lO2lNEYZ8CefupSGD AyuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=qvoGztO/h6ZCjQn+dP/ewRm0uJwvqUO8fnqmidor9bg=; b=YwhQMRvrJkl/LLbVNXBMtaFrhw7IuZzekQo96m/kgeMysTVLdww+y13TY67CSNW60m PPbe+elAgmb0I68ZFRwkvSFsYEe71PIY4Kd50kmZ7JYrtllKBf1ovoCgWbbhGCgc0K+G f0ln/+V7xYtNgd8qO48eHY44QKFb/ZrbiH1xtA8I9nWwvy0FvIHGX68DN/cI3z5dIEP0 2qPr2kWEFHrCd7xBy8hxNCA+oSpml/+6N4DSuTrD5vuoTm6HN0xINBkYRFbT8mdm0uQg 35hnp2mnXBxutR61eIwfQLlQ9Nmf2gVgP6n9TuOGwreoNneySp3LcYKb5HT9cM8fJRcD JJFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flowbird.group header.s=google header.b=p7FGNcoX; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flowbird.group Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k12si7852987ilc.139.2021.08.06.03.24.22; Fri, 06 Aug 2021 03:24:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=@flowbird.group header.s=google header.b=p7FGNcoX; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flowbird.group Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245044AbhHFKX5 (ORCPT + 99 others); Fri, 6 Aug 2021 06:23:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244916AbhHFKXt (ORCPT ); Fri, 6 Aug 2021 06:23:49 -0400 Received: from mail-wr1-x461.google.com (mail-wr1-x461.google.com [IPv6:2a00:1450:4864:20::461]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DC1BC061799 for ; Fri, 6 Aug 2021 03:23:26 -0700 (PDT) Received: by mail-wr1-x461.google.com with SMTP id j2so10380613wrx.9 for ; Fri, 06 Aug 2021 03:23:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flowbird.group; s=google; h=from:to:cc:subject:date:message-id; bh=qvoGztO/h6ZCjQn+dP/ewRm0uJwvqUO8fnqmidor9bg=; b=p7FGNcoXVZ2XiEQJnto6NFd8GFgEJXyAqwoSFv6jskX/gQtmoiwAA/62QuvjstrCwU lQ/6hS0/wnbTsI05/ijBJrZpcmCcZ1JqiqMuLb/by4TQJqvA6yUIJDeCA7aFW6nds6Uk pYQpRhukwzGSRXNEG98zw/UY1qVZpBQH2shwQ4Fg2A7Yj64rVvp3M7D85Gb5ynRCzrmD TR/R+3pTXRIjqQ1+p21LSpm1QLPPODvcUT/Yk067+Rg/PX4weFQcLqM9O+EFMc1uaMtN /7EBlPglmkSpv56QzRyjKXonk6MMJDx52OZDAUwQJLisPnoiRDHdWV4/EETohl6qVkt6 p0RA== 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; bh=qvoGztO/h6ZCjQn+dP/ewRm0uJwvqUO8fnqmidor9bg=; b=YdPLJCPVL3ESXrLesRW/ikg+U9w9lOFbZTnkB8PzuxQ9+9sOuw7ocFd4BWjQMgvOdF t0EaEeR5PG5vp3PEXr2HMfnlpQIUg5KbkAQEvYrk+BU7zQP7FG4IkTZ9kGotWQtlfkCD 5e/oGl+GHcm28pIAyfKcV2FQNX1FgOlPBRCnbskxfGaBnaRffqk+6AJYAghhLqzyty8W XyaQvtTnHsMPD++l2AcWSUBZX6/TdTn/Kag9k07//+mUhuIwIHh7ADUZUXEzFLDiAck0 cpYQJLua7VhBHd4BcBLLhXAMF9pSxOBae8ibw/ietkdXvSHnYPQIedPxG5Cdf1B3Mpf8 OpHg== X-Gm-Message-State: AOAM5330sbYAoP4CTp/uQM3ayvuTm6kdYFTUh5ECxCahi0SFzdomT5CT +mpEakSQeY/zkpQZDoQMAlzPM4Sd5c4kyDZdlkMcO4TTYIRSgEPSnqQ/VU9ah2Qray3+WlRPyD5 9xGixSr2Pjt1XULR5dcE30B989uY0j2L5C1zqbMJJu5+Ub/wZkZGkwXDkv1Rd5uB3DtYfE2laTO LPtjPQO0RmwNC+pLQMxM7r2mJiH3haRA== X-Received: by 2002:a5d:684a:: with SMTP id o10mr9823963wrw.384.1628245404823; Fri, 06 Aug 2021 03:23:24 -0700 (PDT) Received: from mta1.parkeon.com ([185.149.63.251]) by smtp-relay.gmail.com with ESMTPS id m18sm282166wmg.38.2021.08.06.03.23.24 (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 06 Aug 2021 03:23:24 -0700 (PDT) X-Relaying-Domain: flowbird.group Received: from [172.16.12.14] (port=47598 helo=PC12445-BES.dynamic.besancon.parkeon.com) by mta1.parkeon.com with esmtp (Exim 4.71) (envelope-from ) id 1mBx0e-0006b1-FZ; Fri, 06 Aug 2021 12:23:24 +0200 From: Martin Fuzzey To: linux-wireless@vger.kernel.org Cc: Amitkumar Karwar , Siva Rebbagondla , Kalle Valo , Jakub Kicinski , Prameela Rani Garnepudi , linux-kernel@vger.kernel.org, Martin Fuzzey Subject: [PATCH 0/3] rsi: fix startup and P2P mode Date: Fri, 6 Aug 2021 12:23:20 +0200 Message-Id: <1628245403-2517-1-git-send-email-martin.fuzzey@flowbird.group> X-Mailer: git-send-email 1.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This series fixes an occasional startup failure when BT coexistence is enabled and makes P2P mode work (the two are unrelated but sending as a series since the same files are modified). Tested on RS9116 in P2P client mode against an Android phone (S8, Android 9) For an unknown reason GO mode does not work against the phone but it does work against a second RS9116 device. In this case Android does not send a response to the 3rd WPA handshake packet. It is difficult to debug this without the phone wpa_supplicant logs which I don't have. Regression tested OK for STA and AP modes. Martin Fuzzey (3): rsi: fix occasional initialisation failure with BT coex rsi: fix key enabled check causing unwanted encryption for vap_id > 0 rsi: fix rate mask set leading to P2P failure drivers/net/wireless/rsi/rsi_91x_core.c | 2 + drivers/net/wireless/rsi/rsi_91x_hal.c | 10 ++-- drivers/net/wireless/rsi/rsi_91x_mac80211.c | 74 +++++++++-------------------- drivers/net/wireless/rsi/rsi_91x_main.c | 16 +++++-- drivers/net/wireless/rsi/rsi_91x_mgmt.c | 24 +++++++--- drivers/net/wireless/rsi/rsi_main.h | 16 +++++-- 6 files changed, 72 insertions(+), 70 deletions(-) -- 1.9.1