commit 3760a49650b39edd623a85a2b9d51645b52d004a
parent c4d114d8049af38b9fd55b5b07c9770217f04daf
Author: James Prestwood <prestwoj@gmail.com>
Date: Wed, 27 Aug 2025 05:55:01 -0700
station: print vendor quirks (if any) when connecting/roaming
This makes it clear the BSS being selected for a connection/roam has
any quirks associated with its OUI(s) and that IWD may behave
differently based on these.
Diffstat:
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/station.c b/src/station.c
@@ -2750,11 +2750,15 @@ static bool station_try_next_transition(struct station *station,
enum security security = network_get_security(connected);
struct handshake_state *new_hs;
struct ie_rsn_info cur_rsne, target_rsne;
+ const char *vendor_quirks = vendor_quirks_to_string(bss->vendor_quirks);
iwd_notice(IWD_NOTICE_ROAM_INFO, "bss: "MAC", signal: %d, load: %d/255",
MAC_STR(bss->addr),
bss->signal_strength / 100,
bss->utilization);
+ if (vendor_quirks)
+ l_debug("vendor quirks for "MAC": %s",
+ MAC_STR(bss->addr), vendor_quirks);
/* Reset AP roam flag, at this point the roaming behaves the same */
station->ap_directed_roaming = false;
@@ -3913,6 +3917,7 @@ int __station_connect_network(struct station *station, struct network *network,
{
struct handshake_state *hs;
int r;
+ const char *vendor_quirks = vendor_quirks_to_string(bss->vendor_quirks);
/*
* If we already have a handshake_state ref this is due to a retry,
@@ -3947,6 +3952,10 @@ int __station_connect_network(struct station *station, struct network *network,
bss->signal_strength / 100,
bss->utilization);
+ if (vendor_quirks)
+ l_debug("vendor quirks for "MAC": %s",
+ MAC_STR(bss->addr), vendor_quirks);
+
station->connected_bss = bss;
station->connected_network = network;
station->hs = handshake_state_ref(hs);