mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-10 08:44:39 +01:00
Drop all upstreamed patch and refresh all affected patch.
Minor changes were needed to the
350-mac80211-allow-scanning-while-on-radar-channel due to changes in
6.18.
Also some changes were needed to downstream patch due to upstream commit
b74947b4f6ff ("wifi: cfg80211/mac80211: Add support to get radio index")
Link: https://github.com/openwrt/openwrt/pull/20964
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
38 lines
1.2 KiB
Diff
38 lines
1.2 KiB
Diff
brcmfmac: disable dump_survey on Raspberry Pi
|
|
|
|
Enabling this causes slow iwinfo calls on Raspberry Pi and LuCI slows down
|
|
when wireless is enabled.
|
|
https://github.com/openwrt/openwrt/issues/14013
|
|
|
|
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
|
|
---
|
|
|
|
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
|
|
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
|
|
@@ -8049,6 +8049,7 @@ static s32 brcmf_translate_country_code(
|
|
return 0;
|
|
}
|
|
|
|
+#if !defined(CONFIG_ARCH_BCM2835)
|
|
static int
|
|
brcmf_parse_dump_obss(char *buf, struct brcmf_dump_survey *survey)
|
|
{
|
|
@@ -8271,6 +8272,7 @@ exit:
|
|
brcmf_set_mpc(ifp, 1);
|
|
return err;
|
|
}
|
|
+#endif /* CONFIG_ARCH_BCM2835 */
|
|
|
|
static void brcmf_cfg80211_reg_notifier(struct wiphy *wiphy,
|
|
struct regulatory_request *req)
|
|
@@ -8437,8 +8439,10 @@ struct brcmf_cfg80211_info *brcmf_cfg802
|
|
if (brcmf_feat_is_enabled(ifp, BRCMF_FEAT_WOWL_GTK))
|
|
ops->set_rekey_data = brcmf_cfg80211_set_rekey_data;
|
|
#endif
|
|
+#if !defined(CONFIG_ARCH_BCM2835)
|
|
if (brcmf_feat_is_enabled(ifp, BRCMF_FEAT_DUMP_OBSS))
|
|
ops->dump_survey = brcmf_cfg80211_dump_survey;
|
|
+#endif /* CONFIG_ARCH_BCM2835 */
|
|
|
|
err = wiphy_register(wiphy);
|
|
if (err < 0) {
|