Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2612021ybl; Thu, 29 Aug 2019 10:27:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqzXdwwScQukPu3h9JWqOXUDWD5fjh4v9rTMSfIfRso+AWJmDf4vNADjP97GJlZ+eDI+Db4d X-Received: by 2002:a17:90a:256d:: with SMTP id j100mr11018039pje.126.1567099634171; Thu, 29 Aug 2019 10:27:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567099634; cv=none; d=google.com; s=arc-20160816; b=CYPP4uVfIc85LjJ/ECeS/YNFCYJlFdppyis4StpcE7XX3QaAfCG8yg2eSXuKDBx+Kv 0jmpCvYbebnHTJDJw3h34KVB+UyDoLslTQgajFFpz9orqInSvK6/3eE8qeK9ADDCY8YN OrRCk81z0+WU41ioDep/anF1XJJPMG6Mb3/ckzera5YPT0EleCogMIbiREHrUeebBZXH X8lp8HmFhYG5z5uR69jLxR32W3ItLczbRRnaCemhhDHuv/mLcDXHFHKyy/z7pDt9Nt5Y Qa6ATjWnQDyY8Ic2aQMyl8WR9kkizOdaZqXwGzmHMT+KJ0+cu/wvkorpOJg6/fNpmdhc mYPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=HTjEOSlmw/41X82DlnjMZC+5cuUae2Y0RPch5J+KTn4=; b=0kDH0B+6DshF47I3GcAxhyK5b/CGxsayd6mqRcBGXHofc2m0L7IO7tgUAeHA1TnV9W OyRR4YbEamDgT1coHgLZdWUPo9G0EqEHeZGKOAf+82QdqAOYik8U6uGCRa1bovsfIxoF CKfcESwg5WFdiqhmZKZQc2ncTS5Ho7VMyj6jm1n+p2Zc2KanaWVg+AI7IM7u+MHGIwJu YIKZYNQvcLxoLsWi8Z4nkw6JQR9iiZA/Bxjp9Le0VCmjurqgFHYgRVgTNvwVfytueCuq koE7R6/1ABZoP4BRYXe7Pa30/Rz+IAPbhoSGaFFKtG0fiJjKJk53A8F5G16dj95l9qcv Jcsw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i97si2709034pje.47.2019.08.29.10.26.48; Thu, 29 Aug 2019 10:27:14 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727978AbfH2RY3 (ORCPT + 99 others); Thu, 29 Aug 2019 13:24:29 -0400 Received: from s3.sipsolutions.net ([144.76.43.62]:44590 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726661AbfH2RY3 (ORCPT ); Thu, 29 Aug 2019 13:24:29 -0400 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.92.1) (envelope-from ) id 1i3O9r-0005kH-II; Thu, 29 Aug 2019 19:24:27 +0200 Message-ID: <80d9c12986ec0a13c34672ca1c16f37cae0cc096.camel@sipsolutions.net> Subject: Re: mac80211_hwsim (kernel 4.18+): wmediumd + 2.4Ghz From: Johannes Berg To: Ramon Fontes Cc: linux-wireless@vger.kernel.org Date: Thu, 29 Aug 2019 19:24:25 +0200 In-Reply-To: (sfid-20190829_190437_979108_D411F41E) References: (sfid-20190829_190437_979108_D411F41E) Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thu, 2019-08-29 at 14:04 -0300, Ramon Fontes wrote: > Yes, that's what I (we?) expect. > > Yes, wmediumd has some log files, but they don't help me to identify > the reason of the problem. I also unsuccessfully tried to modified the > wmediumd code. Both wmediumd and mac80211_hwsim work fine up to kernel > version 4.17. The problem comes only from kernel 4.18. Since there are > some wmediumd related-codes in mac80211_hwsim, I was wondering whether > something wasn't missing in mac80211_hwsim (or even some needed > changes in wmediumd) that is causing such problem. Hmm, but are there? There's basically no change in hwsim between 4.17 and 4.18, only a few error path cleanups/fixes and the SUPPORTS_PS change which also shouldn't matter for this? > Another weird thing > is the channel, since the channel is the same as defined in hostapd > and doesn't match 5Ghz channels. You mean the DS element? That's just from the frame itself. johannes