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. --- 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(-) -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html