On Tue, 2012-06-12 at 13:46 -0700, Thomas Pedersen wrote: > The ath6kl firmware can filter scan results based on rssi. This is > useful to limit hosts wakeups on scheduled scans. [] > diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c > index 6f20998..4f20693 100644 > --- a/drivers/net/wireless/ath/ath6kl/cfg80211.c > +++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c > @@ -3267,6 +3267,16 @@ static int ath6kl_cfg80211_sscan_start(struct wiphy *wiphy, > return ret; > } > > + if (test_bit(ATH6KL_FW_CAPABILITY_RSSI_SCAN_THOLD, > + ar->fw_capabilities)) { > + ret = ath6kl_wmi_set_rssi_filter_cmd(ar->wmi, vif->fw_vif_idx, > + request->rssi_thold); poor argument alignment. > + if (ret) { > + ath6kl_err("failed to set RSSI threshold for scan"); missing newline termination. -- 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