From patchwork Fri Mar 18 20:22:09 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Cardona X-Patchwork-Id: 644931 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2IKNAj2012482 for ; Fri, 18 Mar 2011 20:23:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757044Ab1CRUXJ (ORCPT ); Fri, 18 Mar 2011 16:23:09 -0400 Received: from mail-iw0-f174.google.com ([209.85.214.174]:59323 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757055Ab1CRUXG (ORCPT ); Fri, 18 Mar 2011 16:23:06 -0400 Received: by mail-iw0-f174.google.com with SMTP id 34so4370073iwn.19 for ; Fri, 18 Mar 2011 13:23:06 -0700 (PDT) Received: by 10.43.61.137 with SMTP id ww9mr2111266icb.376.1300479786416; Fri, 18 Mar 2011 13:23:06 -0700 (PDT) Received: from localhost.localdomain (adsl-99-114-136-65.dsl.pltn13.sbcglobal.net [99.114.136.65]) by mx.google.com with ESMTPS id 19sm2425023ibx.1.2011.03.18.13.23.03 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 Mar 2011 13:23:05 -0700 (PDT) From: Javier Cardona To: "John W. Linville" Cc: Javier Cardona , Thomas Pedersen , devel@lists.open80211s.org, Johannes Berg , linux-wireless@vger.kernel.org Subject: [PATCH 2/5 v4] mac80211: Let user space receive and send mesh auth/deauth frames Date: Fri, 18 Mar 2011 13:22:09 -0700 Message-Id: <1300479732-25920-3-git-send-email-javier@cozybit.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1299288252-28314-1-git-send-email-thomas@cozybit.com> References: <1299288252-28314-1-git-send-email-thomas@cozybit.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 18 Mar 2011 20:23:10 +0000 (UTC) diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 562d298..0ae9b22 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -545,7 +545,9 @@ ieee80211_default_mgmt_stypes[NUM_NL80211_IFTYPES] = { }, [NL80211_IFTYPE_MESH_POINT] = { .tx = 0xffff, - .rx = BIT(IEEE80211_STYPE_ACTION >> 4), + .rx = BIT(IEEE80211_STYPE_ACTION >> 4) | + BIT(IEEE80211_STYPE_AUTH >> 4) | + BIT(IEEE80211_STYPE_DEAUTH >> 4), }, };