mac80211: support more than one band in scan request
Some drivers (such as iwlmvm) can handle multiple bands in a single HW scan request. Add a HW flag to indicate that the driver support this. To hold the required data, create a separate structure for HW scan request that holds cfg scan request and data about different parts of the scan IEs. As this changes the mac80211 API, update all drivers using it to use the correct new function type/argument. Signed-off-by: David Spinadel <david.spinadel@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:

committed by
Johannes Berg

parent
ee10f2c779
commit
c56ef67250
@@ -1572,8 +1572,9 @@ il_scan_initiate(struct il_priv *il, struct ieee80211_vif *vif)
|
||||
|
||||
int
|
||||
il_mac_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
|
||||
struct cfg80211_scan_request *req)
|
||||
struct ieee80211_scan_request *hw_req)
|
||||
{
|
||||
struct cfg80211_scan_request *req = &hw_req->req;
|
||||
struct il_priv *il = hw->priv;
|
||||
int ret;
|
||||
|
||||
|
Reference in New Issue
Block a user