Skip to content

RDKOSS-1234: wpa_supplicant patch for bss selection#479

Open
INajeemaBegam wants to merge 1 commit into
developfrom
feature/RDKOSS-1234
Open

RDKOSS-1234: wpa_supplicant patch for bss selection#479
INajeemaBegam wants to merge 1 commit into
developfrom
feature/RDKOSS-1234

Conversation

@INajeemaBegam

Copy link
Copy Markdown

No description provided.

Copilot AI review requested due to automatic review settings July 16, 2026 07:10
@INajeemaBegam
INajeemaBegam requested review from a team as code owners July 16, 2026 07:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a Yocto bbappend reference and a new wpa_supplicant source patch intended to adjust/override driver-based BSS selection behavior and add related debug logging.

Changes:

  • Add wpa_supplicant_bss_selection.patch to wpa-supplicant_%.bbappend SRC_URI.
  • Patch wpa_supplicant.c to log wpas_driver_bss_selection() state.
  • Patch driver_nl80211_capa.c handling to avoid setting WPA_DRIVER_FLAGS_BSS_SELECTION when roam support is reported.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend Adds the new patch to the recipe so it is applied during the build.
recipes-connectivity/wpa-supplicant/files/wpa_supplicant_bss_selection.patch Introduces logging and modifies nl80211 capability behavior related to driver-based roaming/BSS selection.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Index: wpa_supplicant-2.10/src/drivers/driver_nl80211_capa.c
===================================================================
--- wpa_supplicant-2.10.org/src/drivers/driver_nl80211_capa.c 2022-01-16 20:51:29.000000000 +0000
+++ wpa_supplicant-2.10/src/drivers/driver_nl80211_capa-mod.c 2025-11-05 20:32:58.225091403 +0000
@@ -0,0 +1,41 @@
Date: Jan 29, 2020 1:41 AM
From:
Subject: Add retry logic to connect to same bssid during auth timeout events
if (tb[NL80211_ATTR_ROAM_SUPPORT]) {
wpa_printf(MSG_DEBUG, "nl80211: Using driver-based roaming");
- capa->flags |= WPA_DRIVER_FLAGS_BSS_SELECTION;
+ wpa_printf(MSG_DEBUG, "Disabled WPA_DRIVER_FLAGS_BSS_SELECTION");
Comment on lines +18 to +24
+ {
+ wpa_printf(MSG_DEBUG, "wpas_driver_bss_selection is TRUE");
+ }
+ else
+ {
+ wpa_printf(MSG_DEBUG, "wpas_driver_bss_selection is FALSE");
+ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants