Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb94333a authored by Arik Nemtsov's avatar Arik Nemtsov Committed by Kalle Valo
Browse files

ath6kl: indicate probe-resp offload support



The ath6kl responds to probe-requests in HW while operating as an AP. It
supports offloading exclusions to support the WPS, WPS2, P2P and
802.11u protocols.

Signed-off-by: default avatarArik Nemtsov <arik@wizery.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 9a97af7e
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -1647,7 +1647,14 @@ int ath6kl_core_init(struct ath6kl *ar)
		ar->conf_flags |= ATH6KL_CONF_SUSPEND_CUTPOWER;

	ar->wiphy->flags |= WIPHY_FLAG_SUPPORTS_FW_ROAM |
			    WIPHY_FLAG_HAVE_AP_SME;
			    WIPHY_FLAG_HAVE_AP_SME |
			    WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD;

	ar->wiphy->probe_resp_offload =
		NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS |
		NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2 |
		NL80211_PROBE_RESP_OFFLOAD_SUPPORT_P2P |
		NL80211_PROBE_RESP_OFFLOAD_SUPPORT_80211U;

	set_bit(FIRST_BOOT, &ar->flag);