-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ucode: update patches and add multi-radio support
Signed-off-by: John Crispin <john@phrozen.org>
- Loading branch information
Showing
19 changed files
with
1,752 additions
and
983 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
feeds/qca/hostapd/patches/zzz-100-skip-iface-recreate.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,20 @@ | ||
--- a/src/drivers/driver_nl80211.c | ||
+++ b/src/drivers/driver_nl80211.c | ||
@@ -14314,6 +14314,8 @@ static int wpa_driver_nl80211_can_share_ | ||
const u8 *addr; | ||
int ret = -1; | ||
|
||
+ return -1; | ||
+ | ||
/* create a dummy drv to read the phyname */ | ||
if (params->global_priv == NULL) | ||
return ret; | ||
@@ -14367,7 +14369,7 @@ static int wpa_driver_nl80211_can_share_ | ||
params->ifname, addr, ctx, drv_priv, | ||
force_ifname, if_addr, | ||
params->num_bridge && params->bridge[0] ? params->bridge[0] : NULL, | ||
- 0, 1)) { | ||
+ 1, 1)) { | ||
wpa_printf(MSG_DEBUG, "nl80211: Failed to add BSS. Expect issues!"); | ||
goto free_all; | ||
} |
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,20 @@ | ||
--- a/src/ap/hw_features.c | ||
+++ b/src/ap/hw_features.c | ||
@@ -525,7 +525,7 @@ static void ap_ht40_scan_retry(void *elo | ||
wpa_printf(MSG_ERROR, | ||
"Failed to request a scan of neighboring BSSes ret=%d (%s) - try to scan again (attempt %d)", | ||
ret, strerror(-ret), iface->num_ht40_scan_tries); | ||
- eloop_register_timeout(1, 0, ap_ht40_scan_retry, iface, NULL); | ||
+ eloop_register_timeout(10, 0, ap_ht40_scan_retry, iface, NULL); | ||
return; | ||
} | ||
|
||
@@ -582,7 +582,7 @@ static int ieee80211n_check_40mhz(struct | ||
ret, strerror(-ret)); | ||
iface->num_ht40_scan_tries = 1; | ||
eloop_cancel_timeout(ap_ht40_scan_retry, iface, NULL); | ||
- eloop_register_timeout(1, 0, ap_ht40_scan_retry, iface, NULL); | ||
+ eloop_register_timeout(10, 0, ap_ht40_scan_retry, iface, NULL); | ||
return 1; | ||
} | ||
|
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
Oops, something went wrong.