Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp212193imm; Fri, 10 Aug 2018 10:00:29 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzpZmcNQM3HT/YFTgVas3ORSb8Nin7K1s5y950UNyib1KM+dMD7/RmS2s9p0ZPjMcJkWxlJ X-Received: by 2002:a63:6604:: with SMTP id a4-v6mr7034903pgc.404.1533920429550; Fri, 10 Aug 2018 10:00:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533920429; cv=none; d=google.com; s=arc-20160816; b=WNfuqN3hGWJBOL3noOv16tBmWrHv4IH5lvI/1k6QCG4Dc5b+vYTDy3US9B06rOspji Z6xvn7ynd9i48GoRcxssDzmNp7UCLS/LPd6YId+XbbGFr8Bh7mTfHKIxbuMNMccIoEDr 8IyoeF0Srb79N5Xszqsl1kjyYESIX1sY/WC8c9TXOLvbmx/TWVS/Zt+egNb1Wb0+htRq dHN+hbTl8Vw79mtJ4Ho4goEd8NYpMIZansqaBWLySj2BRb0K3ARis3Kq7awAsP+Hmeq3 O3bZcgi/B3F5uHnv1xSnKXERmLPGyouwOj2Frm9aHysPE2Q2dgxbtSxjAfSrlD4AfPpv bk4g== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=OIgzEOZgHe2eg7i8b4rjIta7oYoeO7WJS0qgDZi70iE=; b=PDmgzBIUcCHEydHUKbCSDM9S150U2BLOU3igSPIxiU0DsVGUBzlqR2hTs9u1brm+1d NojHjPlj2st8mdhejPiQvBuE59IIKHhUcLKGU5d6x29s/Afo0k47OVvCLyne5J1x6TU4 mO+DngI3j/axU5AWJEqj9MnR8B5ETiETxDx01EYxfreeBCn7gcadmCieCW7sz4aUi+oM n0Q+PqgJ8GZ0BeF4LjMU2bP0Y+EWXWf7XOYpl4yH+tXPBh0yqMZq2FtP0cq1DcOV7io4 snyf0pN3bjfymTHgsqFGxLARvWUqTa086EhtJfXlEBXY1NTjx808tnlMMGXM1JafJK5p DOkw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 l10-v6si9519020pgb.510.2018.08.10.10.00.14; Fri, 10 Aug 2018 10:00:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728478AbeHJT3a (ORCPT + 99 others); Fri, 10 Aug 2018 15:29:30 -0400 Received: from www.llwyncelyn.cymru ([82.70.14.225]:55784 "EHLO fuzix.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727522AbeHJT3a (ORCPT ); Fri, 10 Aug 2018 15:29:30 -0400 Received: from alans-desktop (82-70-14-226.dsl.in-addr.zen.co.uk [82.70.14.226]) by fuzix.org (8.15.2/8.15.2) with ESMTP id w7AFvBD3010872; Fri, 10 Aug 2018 16:57:12 +0100 Date: Fri, 10 Aug 2018 16:57:11 +0100 From: Alan Cox To: Jian-Hong Pan Cc: Andreas =?UTF-8?B?RsOkcmJlcg==?= , netdev@vger.kernel.org, ", "linux-kernel@vger.kernel.org>," , Jiri Pirko , Marcel Holtmann , "David S. Miller" , Matthias Brugger , Janus Piwek , Michael =?UTF-8?B?UsO2ZGVy?= , Dollar Chen , Ken Yu , Konstantin =?UTF-8?B?QsO2aG0=?= , Jan Jongboom , Jon Ortego , "linux-kernel@vger.kernel.org>," , Ben Whitten , Brian Ray , lora@globalsat.com.tw, Alexander Graf , Michal =?UTF-8?B?S3ViZcSNZWs=?= , Rob Herring , devicetree@vger.kernel.org, Steve deRosier , Mark Brown , linux-spi@vger.kernel.org, pieter.robyns@uhasselt.be, Hasnain Virk , linux-wpan - ML , Stefan Schmidt , Daniele Comel , shess@hessware.de, Xue Liu Subject: Re: [RFC net-next 00/15] net: A socket API for LoRa Message-ID: <20180810165711.59bf26f7@alans-desktop> In-Reply-To: References: <20180701110804.32415-1-afaerber@suse.de> <92ee4016-1da9-826b-3674-b2d604a64848@suse.de> <20180808213640.10a1d76f@alans-desktop> <20180809125939.39ac2cc9@alans-desktop> Organization: Intel Corporation X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Except saving power, mitigating the wireless signal conflict on the > air is one of the reasons. If the device level is always receiving when not transmitting it has no effect on this. The act of listening does not harm other traffic. > The sleep/idle/stop mitigate the unconcerned RF signals or messages. At the physical level it's irrelevant. If we are receiving then we might hear more things we later discard. It's not running on a tiny microcontroller so the extra CPU cycles are not going to kill us. > > How do you plan to deal with routing if you've got multiple devices ? > > For LoRaWAN, it is a star topology. No the question was much more how you plan to deal with it in the OS. If for example I want to open a LORA connection to something, then there needs to be a proper process to figure out where the target is and how to get traffic to them. I guess it's best phrased as - What does a struct sockaddr_lora look like - How does the kernel decide which interface it goes out of (if any), and if it loops back remembering we might only be talking to a hub, or we might even be a virtualized LORA interface where we are pretending to be some kind of sensor and feeding it back. Long term yes I think Alexander is right the inevitable fate of all networks is to become a link layer in order to transmit IP frames 8) Alan