Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4499959ybl; Mon, 9 Dec 2019 11:50:13 -0800 (PST) X-Google-Smtp-Source: APXvYqzAJUT/qgforN2LSvVM10tffxHFajIeNDs/JjUt/RGbMN38VB3PnnZNF7+8Hd1tI/Lw9i8A X-Received: by 2002:aca:c389:: with SMTP id t131mr720371oif.102.1575921013872; Mon, 09 Dec 2019 11:50:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575921013; cv=none; d=google.com; s=arc-20160816; b=HDD/qyWiQS8+Uo13siCUYPkH0u53VGkUJ0HHJisGWf1HbGeXPXqbrgEUDgEqqTrdLY VyfLlw+n4qZJG/8nR7bgkZf3M4Yh2Zll+CnBZ/v2aGfNpvQtvKbnL2nTBZgngQmcpXSM FPodS8+8bNHsvw4Ur+I5VS0T7GOq4kJDnvxstVOkcDFNlszd15bn3eIj8idCpYystR2t lfnj2uX0uEfr8y9hMsEBV6KGnXiaG1yKzYdKrMCnacsO6wIntylYpyuWALGrX1uRz6vS WaOqBoW7Lwbi/FqgOqe5ouFK7vuiCoNRNcAdZLgRc1tmX7TkSqYrCFHZVIXaZ0GUeHVa L2SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version:dkim-signature; bh=AQll4KRhgPJZReykA/0eCvQSWgdhy+FBux08PlQKUvo=; b=DtJaNY3R7tOdd/qL+oXdZnaBRmAJOPgpaWuwZvqPjtTZ/PbHjUo7hHpaY1IuH1AcC9 QlmQHW9rZTT7o7sFa/VDIE2vgd6hjBuueKalTTpgTc8xmIUCiM9Vo1UwFiI066pZE7tc j009DY9Pn5Up0oVQc5pNWVik9kIgZ2Vp+8sQGqiOYtSRr82oKmhoHGaaVDeQJFXVimSx xMbG/6cEVgzWt6i3A4zDP7JIKWmKU9cwBzQ9hiUSBIxWDpvrI+ZBS5iaHjea9wR0lqWN NKYASwSbUExtPhzpogO4JTKcV7M4aXLVm9LGTPFucfDMgM/310AXnWUHqU6BshIegT9r mwcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OrlO+8ZD; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id e15si537990otp.161.2019.12.09.11.49.59; Mon, 09 Dec 2019 11:50:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OrlO+8ZD; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 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 S1726495AbfLITtB (ORCPT + 99 others); Mon, 9 Dec 2019 14:49:01 -0500 Received: from mail-qv1-f51.google.com ([209.85.219.51]:45009 "EHLO mail-qv1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726342AbfLITtB (ORCPT ); Mon, 9 Dec 2019 14:49:01 -0500 Received: by mail-qv1-f51.google.com with SMTP id n8so3133679qvg.11 for ; Mon, 09 Dec 2019 11:49:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=AQll4KRhgPJZReykA/0eCvQSWgdhy+FBux08PlQKUvo=; b=OrlO+8ZDubdamDsG/B0TX7TJTiYB1EwlO14UoXaRBPYaa8F+oIEReSDz1y+Ga7K+c0 uYkdOdWvcui8BvK2nStBMMss6lVEsWBeRFSrFhBd5+tgIsGSDJqvWx1nWYmvHFozIBIH jb30+1ouf/vjT8LMmhDpKTtyKfcBnK1I9RH8xPQpqPeukPIgxr8OcGD+AsYQtQJabttn T95J05Z62Eviho3e31Ymk8LbRPHOMo1yn3bmtbjMAiZfiDVZovC3IR/tsolnz4ScHRGR TvM5pOlF4KeB/Vi0/9tydtC7LRLYpHDlaMTX6H32Zj4btNyKKm1ephDWSnhapMH5m5RS /cjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=AQll4KRhgPJZReykA/0eCvQSWgdhy+FBux08PlQKUvo=; b=guvoOLTx1cMT3uoc8r1z2MQshyXh/9XvQxHAX0hBthN5KBxur6fEGhA5ET5Bi5beMp tRMoDM5I337wgsFstMp0gRmiZH+iwHSaTau1dJn4JxnqbriCAj6KF+c3jk32z/lqGJUC A3xfZqfpn5tyjioFMd2Y35zfWqLSPWcZYocBvH89L82z1163mjM4EyEkrADhUF7mqiKw fbhHMyxQgVssdF8PSTUH/RS5ypBZWKJtho2xgHclxCI/1FAQvxdSOi1YLz+aSz5BCvQB Q7NGCfZolSxjZ2nJ7k9Q4L+/YpWuXvAL1pvlMIJ7CFYjy+F6+j6ysr25T1GIiFYdWZ2X rTFA== X-Gm-Message-State: APjAAAVjwiGiQaOaV49EdmMcoK6iMgUPFQU6iLSdvtVT7k0nqtKagGn2 sFxuKfO7RbJ+k82lOLHi/rncLWKXDYeGxEwZbC30pfay X-Received: by 2002:a0c:e34e:: with SMTP id a14mr25049112qvm.73.1575920940049; Mon, 09 Dec 2019 11:49:00 -0800 (PST) MIME-Version: 1.0 From: Janusz Dziedzic Date: Mon, 9 Dec 2019 20:48:49 +0100 Message-ID: Subject: iw set freq regression To: linux-wireless Cc: Johannes Berg Content-Type: text/plain; charset="UTF-8" Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hello, For v4.9 this command works correctly: ./iw wlp1s0 set freq 5220 20 5220 0 ./iw wlp1s0 set freq 5180 40 5190 0 With latest master this fail with err msg: Usage: ./iw [options] dev set freq [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz] dev set freq [5|10|20|40|80|80+80|160] [ []] Options: --debug enable netlink debugging After bisection and revert this one, works as before: 4871fcf iw: parse_freqs: check how many center frequencies to expect I know we don't need to set this all arguments and finally I can change my script (don't set cf1/cf2). Anyway report this. BR Janusz