|
@@ -2617,6 +2617,13 @@ static int ath6kl_start_ap(struct wiphy *wiphy, struct net_device *dev,
|
|
|
p.nw_subtype = SUBTYPE_NONE;
|
|
|
}
|
|
|
|
|
|
+ if (info->inactivity_timeout) {
|
|
|
+ res = ath6kl_wmi_set_inact_period(ar->wmi, vif->fw_vif_idx,
|
|
|
+ info->inactivity_timeout);
|
|
|
+ if (res < 0)
|
|
|
+ return res;
|
|
|
+ }
|
|
|
+
|
|
|
res = ath6kl_wmi_ap_profile_commit(ar->wmi, vif->fw_vif_idx, &p);
|
|
|
if (res < 0)
|
|
|
return res;
|
|
@@ -3283,6 +3290,10 @@ int ath6kl_cfg80211_init(struct ath6kl *ar)
|
|
|
if (test_bit(ATH6KL_FW_CAPABILITY_SCHED_SCAN, ar->fw_capabilities))
|
|
|
ar->wiphy->flags |= WIPHY_FLAG_SUPPORTS_SCHED_SCAN;
|
|
|
|
|
|
+ if (test_bit(ATH6KL_FW_CAPABILITY_INACTIVITY_TIMEOUT,
|
|
|
+ ar->fw_capabilities))
|
|
|
+ ar->wiphy->features = NL80211_FEATURE_INACTIVITY_TIMER;
|
|
|
+
|
|
|
ar->wiphy->probe_resp_offload =
|
|
|
NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS |
|
|
|
NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2 |
|