RDKOSS-1234: wpa_supplicant patch for bss selection#479
Open
INajeemaBegam wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
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.patchtowpa-supplicant_%.bbappendSRC_URI. - Patch
wpa_supplicant.cto logwpas_driver_bss_selection()state. - Patch
driver_nl80211_capa.chandling to avoid settingWPA_DRIVER_FLAGS_BSS_SELECTIONwhen 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"); | ||
| + } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.