Adding support for Transition Disable policy setting
With the implementation of seamless roaming across WPA3-SAE and
WPA2PSK, there is a need to avoid driver roam to APs with certain
security based on the Transition Disable policy set by the current AP.
The setting of Transition Disable policy to driver is done based
on the Transition disable bitmap received as part of EAPOL 3/4th frame.
Bug:210811506
Test:Validated on Hikey with Android-S
Signed-off-by: Vinayak Yadawad <vinayak.yadawad@broadcom.com>
Change-Id: Iaf95f6d635584f6df7c3866d5efde6b10db6a73e
diff --git a/src/drivers/driver.h b/src/drivers/driver.h
index 85be4c3..8b92e12 100644
--- a/src/drivers/driver.h
+++ b/src/drivers/driver.h
@@ -1203,6 +1203,12 @@
* 2 = both hunting-and-pecking loop and hash-to-element enabled
*/
int sae_pwe;
+#ifdef CONFIG_DRIVER_NL80211_BRCM
+ /**
+ * td_policy - Transition Disable Policy
+ */
+ u32 td_policy;
+#endif /* CONFIG_DRIVER_NL80211_BRCM */
};
enum hide_ssid {
@@ -2495,6 +2501,9 @@
WPA_DRV_UPDATE_ASSOC_IES = BIT(0),
WPA_DRV_UPDATE_FILS_ERP_INFO = BIT(1),
WPA_DRV_UPDATE_AUTH_TYPE = BIT(2),
+#ifdef CONFIG_DRIVER_NL80211_BRCM
+ WPA_DRV_UPDATE_TD_POLICY = BIT(3),
+#endif /* CONFIG_DRIVER_NL80211_BRCM */
};
/**