cfg80211: allow userspace to control supported rates in scan
[firefly-linux-kernel-4.4.55.git] / include / net / cfg80211.h
index 930c783286fc95d9934d5b7c810a1f5add362084..d17f47fc9e31b9a3298b1911b5c46c9fb34d3400 100644 (file)
@@ -777,6 +777,7 @@ struct cfg80211_ssid {
  * @n_channels: total number of channels to scan
  * @ie: optional information element(s) to add into Probe Request or %NULL
  * @ie_len: length of ie in octets
+ * @rates: bitmap of rates to advertise for each band
  * @wiphy: the wiphy this was for
  * @dev: the interface
  * @aborted: (internal) scan request was notified as aborted
@@ -788,6 +789,8 @@ struct cfg80211_scan_request {
        const u8 *ie;
        size_t ie_len;
 
+       u32 rates[IEEE80211_NUM_BANDS];
+
        /* internal */
        struct wiphy *wiphy;
        struct net_device *dev;