Skip to content
Snippets Groups Projects
Select Git revision
  • 4f68ddf0d0d0da767cf9bf69cbcf9f3bd5b2edb9
  • experimental
  • master
  • v2021.1.2-ffs
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • v2020.2.3-ffs
  • nrbffs/fastd-remove-delay
  • v2020.2.2-ffs
  • v2020.2.1-ffs
  • v2020.2-ffs
  • v2020.2.x
  • v2020.1.3-ffs
  • v2020.1.1-ffs
  • v2020.1-ffs
  • v2019.1.2-ffs
  • v2019.1.1-ffs
  • nrb/test-radv-filter
  • v2019.1-ffs
  • nrbffs/netgear-ex6120
  • v2021.1.2-ffs0.2
  • v2021.1.2-ffs0.1
  • v2021.1.1-ffs0.4
  • v2021.1.1-ffs0.3
  • v2021.1.1-ffs0.2
  • v2021.1.1-ffs0.1
  • v2021.1-ffs0.1
  • v2020.2.3-ffs0.3
  • v2020.2.3-ffs0.2
  • v2020.2.3-ffs0.1
  • v2020.2.2-ffs0.1
  • v2020.2.1-ffs0.1
  • v2020.2-ffs0.1
  • v2020.2
  • v2020.2.x-ffs0.1
  • v2020.1.3-ffs0.1
  • v2020.1.1-ffs0.1
  • v2020.1-ffs0.1
  • v2019.1.2-ffs0.1
  • v2019.1.1-ffs0.1
41 results

0013-mac80211-create-channel-list-for-fixed-channel-operation.patch

Blame
  • Forked from firmware / FFS Gluon
    Source project has a limited visibility.
    0013-mac80211-create-channel-list-for-fixed-channel-operation.patch 1.20 KiB
    From: David Bauer <mail@david-bauer.net>
    Date: Sat, 4 Jul 2020 13:20:02 +0200
    Subject: mac80211: create channel list for fixed channel operation
    
    Currently a device which has a DFS channel selected using the UCI
    channel setting might switch to a non-DFS channel in case no chanlist is
    provided (UCI setting "channels") when the radio detects a DFS event.
    
    Automatically add a chanlist consisting of the configured channel when
    the device does not operate in auto-channel mode and no chanlist set to
    circumvent this issue.
    
    Signed-off-by: David Bauer <mail@david-bauer.net>
    
    diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
    index 36aebbb2ccfec2137d5d260fe2111d77f531ddec..367a3e8e37a8e8435c35ca2912ef0855efbdfc78 100644
    --- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
    +++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
    @@ -100,6 +100,9 @@ mac80211_hostapd_setup_base() {
     	json_get_vars noscan ht_coex
     	json_get_values ht_capab_list ht_capab tx_burst
     
    +	[ "$auto_channel" = 0 ] && [ -z "$channel_list" ] && \
    +		channel_list="$channel"
    +
     	set_default noscan 0
     
     	[ "$noscan" -gt 0 ] && hostapd_noscan=1