]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/net/cfg80211.h
cfg80211/mac80211: get mandatory rates based on scan width
[karo-tx-linux.git] / include / net / cfg80211.h
index bae8614a450f1983c37c6a6f6b8a36d414867481..88f15631701aff8b7acf7b2f84956c3d3463bcec 100644 (file)
@@ -3128,11 +3128,13 @@ ieee80211_get_response_rate(struct ieee80211_supported_band *sband,
 /**
  * ieee80211_mandatory_rates - get mandatory rates for a given band
  * @sband: the band to look for rates in
+ * @scan_width: width of the control channel
  *
  * This function returns a bitmap of the mandatory rates for the given
  * band, bits are set according to the rate position in the bitrates array.
  */
-u32 ieee80211_mandatory_rates(struct ieee80211_supported_band *sband);
+u32 ieee80211_mandatory_rates(struct ieee80211_supported_band *sband,
+                             enum nl80211_bss_scan_width scan_width);
 
 /*
  * Radiotap parsing functions -- for controlled injection support