From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from emh04.mail.saunalahti.fi ([62.142.5.110]:58233 "EHLO emh04.mail.saunalahti.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753363Ab0AESQP (ORCPT ); Tue, 5 Jan 2010 13:16:15 -0500 Received: from saunalahti-vams (vs3-11.mail.saunalahti.fi [62.142.5.95]) by emh04-2.mail.saunalahti.fi (Postfix) with SMTP id 732A413B581 for ; Tue, 5 Jan 2010 20:16:14 +0200 (EET) Received: from [127.0.1.1] (a91-155-131-184.elisa-laajakaista.fi [91.155.131.184]) by emh06.mail.saunalahti.fi (Postfix) with ESMTP id 5AF0BE51BE for ; Tue, 5 Jan 2010 20:16:13 +0200 (EET) Subject: [PATCH v2 0/9] mac80211: templates for drivers To: linux-wireless@vger.kernel.org From: Kalle Valo Date: Tue, 05 Jan 2010 20:16:12 +0200 Message-ID: <20100105181522.27418.97100.stgit@tikku> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Sender: linux-wireless-owner@vger.kernel.org List-ID: Hello, there has been talk of creating templates in mac80211 for drivers and here's what I have been thinking. I have also included wl1251 usage as an example. Please comment. v2: o fix documentation typos in ieee80211_probereq_get() (johill) --- Kalle Valo (9): mac80211: add functions to create PS Poll and Nullfunc templates mac80211: use PS Poll and Nullfunc templates when sending such frames wl1251: get PS Poll and Nullfunc templates from mac80211 mac80211: create Probe Request template mac80211: use Probe Request template when sending a direct scan wl1251: cleanup scanning code wl1251: get probe request template from mac80211 wl1251: use mac80211 provided channel parameters in scanning wl1251: fix sleep related error paths in wl1251_op_bss_info_changed() drivers/net/wireless/wl12xx/wl1251_cmd.c | 83 +++++++++ drivers/net/wireless/wl12xx/wl1251_cmd.h | 22 ++ drivers/net/wireless/wl12xx/wl1251_main.c | 274 ++++++----------------------- include/linux/ieee80211.h | 9 + include/net/mac80211.h | 47 +++++ net/mac80211/mlme.c | 48 +---- net/mac80211/tx.c | 128 ++++++++++++++ net/mac80211/util.c | 40 ++-- 8 files changed, 363 insertions(+), 288 deletions(-)