Skip to content
Snippets Groups Projects
Select Git revision
  • fc46d4470f5ef30f6a310c0819201ea8be96a806
  • experimental default protected
  • v2023.2.5-ffs
  • nrb/ex400-remove-wps
  • nrb/airmax-test
  • v2023.2.4-ffs
  • nrb/ar9344-reset-sequence
  • autinerd/experimental-openwrt-24.10
  • v2023.2.3-ffs
  • v2023.2.2-ffs
  • v2023.2-ffs
  • v2023.1-ffs
  • v2022.1.4-ffs
  • feature/addMikrotikwAP
  • v2022.1.3-ffs
  • v2021.1.2-ffs
  • v2022.1.1-ffs
  • master protected
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • experimental-2025-07-04
  • experimental-2025-07-04-base
  • experimental-2025-07-01
  • experimental-2025-07-01-base
  • experimental-2025-06-25
  • experimental-2025-06-25-base
  • experimental-2025-06-24
  • experimental-2025-06-24-base
  • experimental-2025-06-22
  • experimental-2025-06-22-base
  • v2023.2.5-ffs0.1
  • experimental-2025-06-08
  • experimental-2025-06-08-base
  • experimental-2025-06-06
  • experimental-2025-06-06-base
  • experimental-2025-05-27
  • experimental-2025-05-27-base
  • experimental-2025-05-18
  • experimental-2025-05-18-base
  • experimental-2025-05-15
41 results

0019-ath10k-ct-fix-incorrect-multicast-broadcast-rate-setting.patch

Blame
    • Sven Eckelmann's avatar
      b2f249e9
      ath10k/ath10k-ct: fix incorrect multicast/broadcast rate setting · b2f249e9
      Sven Eckelmann authored
      If no mcast_rate is set for the wifi-iface then there is no rate_idx (0)
      set for the bss. This breaks for example 5GHz meshpoint interfaces because
      0 maps to a CCK rate (11Mbit/s).
      
      It must also be avoided that the ath10k-ct internal state for the rates is
      not synced with the mac80211 rates state. Otherwise, the user specified
      rate (e.g. a wifi-iface mcast_rate for a meshpoint interface) will only be
      set on startup. And a short while after that, ath10k-ct specific code in
      ath10k_check_apply_special_rates is missing a valid rate in its own
      structures and is then recalculating a new default rate. This default rate
      is in most situations not the requested rate.
      
      Fixes: a399b607 ("ath10k/ath10k-ct: support multicast and management rate control")
      b2f249e9
      History
      ath10k/ath10k-ct: fix incorrect multicast/broadcast rate setting
      Sven Eckelmann authored
      If no mcast_rate is set for the wifi-iface then there is no rate_idx (0)
      set for the bss. This breaks for example 5GHz meshpoint interfaces because
      0 maps to a CCK rate (11Mbit/s).
      
      It must also be avoided that the ath10k-ct internal state for the rates is
      not synced with the mac80211 rates state. Otherwise, the user specified
      rate (e.g. a wifi-iface mcast_rate for a meshpoint interface) will only be
      set on startup. And a short while after that, ath10k-ct specific code in
      ath10k_check_apply_special_rates is missing a valid rate in its own
      structures and is then recalculating a new default rate. This default rate
      is in most situations not the requested rate.
      
      Fixes: a399b607 ("ath10k/ath10k-ct: support multicast and management rate control")
    check_site.lua 1.37 KiB
    need_string 'site_code'
    need_string 'site_name'
    
    if need_table('opkg', nil, false) then
    	need_string('opkg.lede', false)
    
    	function check_repo(k, _)
    		-- this is not actually a uci name, but using the same naming rules here is fine
    		assert_uci_name(k)
    
    		need_string(string.format('opkg.extra[%q]', k))
    	end
    
    	need_table('opkg.extra', check_repo, false)
    end
    
    need_string('hostname_prefix', false)
    need_string 'timezone'
    
    need_string_array('ntp_servers', false)
    
    need_string_match('prefix6', '^[%x:]+/%d+$')
    
    
    for _, config in ipairs({'wifi24', 'wifi5'}) do
    	if need_table(config, nil, false) then
    		need_string('regdom') -- regdom is only required when wifi24 or wifi5 is configured
    
    		need_number(config .. '.channel')
    
    		local rates = {1000, 2000, 5500, 6000, 9000, 11000, 12000, 18000, 24000, 36000, 48000, 54000}
    		local supported_rates = need_array_of(config .. '.supported_rates', rates, false)
    		if supported_rates then
    			need_array_of(config .. '.basic_rate', supported_rates, true)
    		else
    			need_array_of(config .. '.basic_rate', rates, false)
    		end
    	end
    end
    
    need_boolean('poe_passthrough', false)
    if need_table('dns', nil, false) then
    	need_number('dns.cacheentries', false)
    	need_string_array('dns.servers', false)
    end
    
    if need_table('next_node', nil, false) then
    	need_string_match('next_node.ip6', '^[%x:]+$', false)
    	need_string_match('next_node.ip4', '^%d+.%d+.%d+.%d+$', false)
    end