Just add channels in the periodic_request structure. This is needed in order to pass the desired channels to scan on down to the mac. Signed-off-by: Luciano Coelho <luciano.coelho@xxxxxxxxx> --- include/net/cfg80211.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 41e7dc4..218e59f 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -721,13 +721,20 @@ struct cfg80211_scan_request { /** * struct cfg80211_periodic_request - periodic scan request description * + * @n_channels: total number of channels to scan * @wiphy: the wiphy this was for * @dev: the interface + * @channels: channels to scan */ struct cfg80211_periodic_request { + u32 n_channels; + /* internal */ struct wiphy *wiphy; struct net_device *dev; + + /* keep last */ + struct ieee80211_channel *channels[0]; }; /** -- 1.7.0.4 -- 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