From patchwork Thu Apr 11 20:47:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajkumar Manoharan X-Patchwork-Id: 10896783 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 546041390 for ; Thu, 11 Apr 2019 20:47:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3EBAF28895 for ; Thu, 11 Apr 2019 20:47:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3220C28A33; Thu, 11 Apr 2019 20:47:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D5B5F28895 for ; Thu, 11 Apr 2019 20:47:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726862AbfDKUrq (ORCPT ); Thu, 11 Apr 2019 16:47:46 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:48798 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726629AbfDKUrq (ORCPT ); Thu, 11 Apr 2019 16:47:46 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 7FC9160907; Thu, 11 Apr 2019 20:47:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1555015665; bh=SA4RrF9fWmij1MmV0BY4YXxlS26PQVCF4ZrqdeNroQc=; h=From:To:Cc:Subject:Date:From; b=NSX2CWvlQGCEfHqOWm6lFZsoQct3ftoh9nbXBFyx1X1/rdXvHOK5qReFtxJCTBGKZ 9uJvMiJd8+RSG8ZYu1dssBMkpmAD4fdEd2vEM4X/hWECHRfRH/bFOywUbW+44Mt8sz O9kwfGmQTKujFTKe8WodOwfLonGzMWeafHmGM1Ow= Received: from smtp.codeaurora.org (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: rmanohar@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id E5B3D60FEB; Thu, 11 Apr 2019 20:47:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1555015665; bh=SA4RrF9fWmij1MmV0BY4YXxlS26PQVCF4ZrqdeNroQc=; h=From:To:Cc:Subject:Date:From; b=NSX2CWvlQGCEfHqOWm6lFZsoQct3ftoh9nbXBFyx1X1/rdXvHOK5qReFtxJCTBGKZ 9uJvMiJd8+RSG8ZYu1dssBMkpmAD4fdEd2vEM4X/hWECHRfRH/bFOywUbW+44Mt8sz O9kwfGmQTKujFTKe8WodOwfLonGzMWeafHmGM1Ow= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E5B3D60FEB Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=rmanohar@codeaurora.org Received: by smtp.codeaurora.org (sSMTP sendmail emulation); Thu, 11 Apr 2019 13:47:43 -0700 From: Rajkumar Manoharan To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Rajkumar Manoharan Subject: [PATCH v4 0/3] wireless: Add support to probe unexercised mesh link Date: Thu, 11 Apr 2019 13:47:23 -0700 Message-Id: <1555015646-7655-1-git-send-email-rmanohar@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Consider below mesh topology. MP1 / \ / \ MP2 --- MP3 Assume that even though MP1 & MP3 have direct mesh links, the path was established via MP2. (MP1 <-> MP2 <-> MP3). The 1-hop mesh link MP1 <-> MP3 never be excercised till the current path is terminated. As of now, there is no option to send data frame to pick other than primary path. So mesh link metric between MP1 & MP3 never be updated. This series allows user to send data to 1-hop mesh peers through unexercised mesh path. -Rajkumar v4: Rebased on mac80211-next top and fixed compile errors v3: Rebased the changes on TOT Rajkumar Manoharan (3): cfg80211: add support to probe unexercised mesh link mac80211: add option for setting control flags mac80211: probe unexercised mesh links include/net/cfg80211.h | 5 ++++ include/net/mac80211.h | 2 ++ include/uapi/linux/nl80211.h | 16 +++++++++++++ net/mac80211/cfg.c | 1 + net/mac80211/ieee80211_i.h | 5 +++- net/mac80211/mesh_hwmp.c | 4 ++++ net/mac80211/tdls.c | 2 +- net/mac80211/tx.c | 54 ++++++++++++++++++++++++++++++++++++++------ net/wireless/nl80211.c | 53 +++++++++++++++++++++++++++++++++++++++++++ net/wireless/rdev-ops.h | 13 +++++++++++ net/wireless/trace.h | 18 +++++++++++++++ 11 files changed, 164 insertions(+), 9 deletions(-)