Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1332356pxb; Mon, 11 Oct 2021 03:49:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1CGT9DMNdK1nZ/z/yOjY/4PdkHcQODrdxRe/+ZNd+4kX/59KhXrmaPDrv4okUen9dg9D0 X-Received: by 2002:a05:6402:11c9:: with SMTP id j9mr6276872edw.373.1633949392437; Mon, 11 Oct 2021 03:49:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633949392; cv=none; d=google.com; s=arc-20160816; b=0PpuLzLr00UApkfJtoyz2PJuR6IRpXJda5LcDTHBp4E4N9LXVFt79KulWwiu2xZCxi W5GfiBXfYEnZTuwBYUwPx2mJR+Ox0px63eKjZuEojtMmO3MzLxHgke3YK62P+Spzz5j5 uot7VzYZ43kU6s62/pCAQvRP1/SW6s8fcv2LmVcqTuoOaJ5KsDbbVZMoZBTdKWI5tOK+ Zwa+FKVp5A1NeyuI39oOESxXXpiWMkV+BlHpTLqHDlpLTshuiDzyp/X2RO0r4tceoT+U tQT1BaIhfF1Z1y1OuT3N85+Dj66EgDTbijxWt5Z3AQ5h81urH2dk5ImP3KxM/xTOxUrj s5Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:mime-version :dkim-signature; bh=WpgdAJjO8KWwGTfSShcuZNH5VDBopLDqz+ukb3W8eoM=; b=hgK2e9fYccY3gbfvect115F9vfP21p3KvO+pPz7cGA/I8iEyR8Q7eKO/pzCcHZ13J1 yDvTPRXYGAUW7sYGbqSZ5Ght9milG4AN887yIjNaMZV2CwsGbYzJnqoWxPA1XCPlUQbp 1AseePeiBScmW058ztnPUPTPhP8CRBU4QpZqc6kUGryoGTB5tg9Q2UCVf/QF1RT6nbIB gq6fW8V6SPVkWKxbzblrn5U0VI8ncKia89zF1NiCuV9shH5ltAwUAtncwmZNAGoIRjqS ZKSLeEPBnXTbwrWvIo2M+t+4ZtphzaBylG4zTZjdgIbbBSI5tU2BtAXp6tM4u5LKf2Wl YNIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KRCu1Ph1; 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=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 q18si10913077ejz.555.2021.10.11.03.49.32; Mon, 11 Oct 2021 03:49:52 -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=@gmail.com header.s=20210112 header.b=KRCu1Ph1; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235960AbhJKKsy (ORCPT + 76 others); Mon, 11 Oct 2021 06:48:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231240AbhJKKsx (ORCPT ); Mon, 11 Oct 2021 06:48:53 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55C15C061570 for ; Mon, 11 Oct 2021 03:46:53 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id t9so70718819lfd.1 for ; Mon, 11 Oct 2021 03:46:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=WpgdAJjO8KWwGTfSShcuZNH5VDBopLDqz+ukb3W8eoM=; b=KRCu1Ph1TIn56av0wUC59o0amEJyST3tH0sq+cxoFuTIYLtQvCHPttQdlBgtvxzOcs Ti3CyDV1Wr0sylj9A1JuDRF3EDFj0IbbfnwyVWSKOKatSN1R0zdKh6m3f0lz2TQsPwzr bOfYS5T5uaFngflcLKPTjTN5+aOCNkWd07jEHWwUSgYtL1xgUvAuf+ZXGLT0ZxCWCkZP p2CLVCRaIWiHtmURYwTdZj+4GrpTcocU48N3po4DGbTCIqCezNZ3noKywsnVtEjUWtgL Py+6M0uAKGerxSA+OM25WRtzKy80tIjSjVwtUUcyLU9gVV2QCeGRZEkB3eIdcP9SluQE 5Hyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=WpgdAJjO8KWwGTfSShcuZNH5VDBopLDqz+ukb3W8eoM=; b=OVYUQW8+PS+CqUlQZkTtH1+A5+yMVkMY8nRx5XdegbQSuysvOWzU+yk7dP5Pzm4Yv+ WOkT+RTfTC/in3oe8MXq2AdvbJ/UevrzRDBOiRqB6sBYlG7odKGy1q8kqP8DRTxrNibJ QhYdNTxFhc7SILVL5Q5k2dYjjYCDRlPThVQ00tKzM+syjHv7H5MuuLEsv4qh1TkRrcUh Vkc1rHO3mme0P2xoCTcNJT3Te/PEqAFNNchv4rVCuuF6rKiB80McK3BsSt+hIZxsGkvG DuhEuPfGwAJlQMcWfiRJ5e8mSpFtwi0W3ozpUublYiNa7HX+HNwefBjbgmEZkUOnDEx9 Kujg== X-Gm-Message-State: AOAM530Xr5v/6E+BKJxgAS3R9BEE7CjboKeTJsusoJC2e9ejTiRqoaWq szdX/M8aF69Vlj3KtR85C9YJiHpxDZ/r+qB7mTVWgXyKZDo= X-Received: by 2002:a05:6512:3b8b:: with SMTP id g11mr6624027lfv.216.1633949211359; Mon, 11 Oct 2021 03:46:51 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?B?TcOhdGjDqSBLb3Bww6FueQ==?= Date: Mon, 11 Oct 2021 13:46:40 +0300 Message-ID: Subject: ath9k: unable to connect to hidden SSID on DFS channel To: linux-wireless@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hello, I have a project where I want to establish Wi-Fi connection to a hidden SSID, on DFS channel. I am running wpa_supplicant 2.9 on a device with: "Linux 4.9.51-yocto-standard armv7l" and "Network controller: Qualcomm Atheros AR958x 802.11abgn Wireless Network Adapter (rev 01)" Sounds an old project, I know, but want to bring this alive, if possible. Unfortunately, connection to a hidden SSID on DFS channel seems not working. However, it works on a different, newer device, which has "Linux raspberrypi 5.10.17-v7l+ armv7l" and "PCI bridge: Broadcom Limited Device 2711 (rev 10)". The wpa_supplicant on the two devices is mostly idem: same v2.9, same runtime configuration, almost all config variables (wpa_cli dump) match (not seen relevant difference). There might be compile option difference, but don't think they are relevant. The only thing I see is with driver flags, where the newer device supports flags like DFS_OFFLOAD, BSS_SELECTION, or 4WWAY_HANDSHAKE_PSK, but the older device does not offer these. So I suspect the issue is due to some of the above missing features in my ath9k driver (have default driver provided by kernel). Questions: - is it possible to enable the above driver flags/features for ath9k? If so, how to enable and are there patches for these? - any hint where to look in ath9k driver for passive scanning implementation? Is there another module/location where passive scanning is implemented? - any suggestions for a solution to my issue? Thanks, Koppany