-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hostapd: rework frequency/ht/vht selection for ibss/mesh
- Remove obsolete patch chunks regarding fixed_freq - Instead of patching in custom HT40+/- parameters, use the standard config syntax as much as possible. - Use fixed_freq for mesh - Fix issues with disabling obss scan when using fixed_freq on mesh Signed-off-by: Felix Fietkau <nbd@nbd.name>
- Loading branch information
Showing
9 changed files
with
58 additions
and
179 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
156 changes: 0 additions & 156 deletions
156
package/network/services/hostapd/patches/462-wpa_s-support-htmode-param.patch
This file was deleted.
Oops, something went wrong.
This file contains 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
19 changes: 19 additions & 0 deletions
19
package/network/services/hostapd/patches/464-fix-mesh-obss-check.patch
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- a/wpa_supplicant/wpa_supplicant.c | ||
+++ b/wpa_supplicant/wpa_supplicant.c | ||
@@ -2010,11 +2010,13 @@ void ibss_mesh_setup_freq(struct wpa_sup | ||
for (j = 0; j < wpa_s->last_scan_res_used; j++) { | ||
struct wpa_bss *bss = wpa_s->last_scan_res[j]; | ||
|
||
- if (ssid->mode != WPAS_MODE_IBSS) | ||
+ /* Don't adjust control freq in case of fixed_freq */ | ||
+ if (ssid->fixed_freq) { | ||
+ obss_scan = 0; | ||
break; | ||
+ } | ||
|
||
- /* Don't adjust control freq in case of fixed_freq */ | ||
- if (ssid->fixed_freq) | ||
+ if (ssid->mode != WPAS_MODE_IBSS) | ||
break; | ||
|
||
if (!bss_is_ibss(bss)) |