openwrt / openwrt/mt76

5Ghz Wi-Fi doesn't work if DFS channel used on TP-Link Archer C6(EU) Ver3.20

Open
#699 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
888
Forks
436
PR merge metrics
No merged PRs in 30d

Description

Basic working configuration:
dmesg.txt
wireless.txt

Known non-DFS channels: 36, 40, 44, 48, 149, 153, 157, and 161

Steps to reproduce:

  • Set Wi-Fi 5GHz channel to 52 (dfs channel)

Result:

  • 5GHz Wi-Fi stops working:
    Mon Sep 12 07:54:17 2022 daemon.notice hostapd: wlan1: interface state HT_SCAN->DFS
    Mon Sep 12 07:54:17 2022 daemon.notice hostapd: wlan1: DFS-CAC-START freq=5260 chan=52 sec_chan=1, width=1, seg0=58, seg1=0, cac_time=60s
    Mon Sep 12 07:54:17 2022 daemon.err hostapd: DFS start_dfs_cac() failed, -1
    Mon Sep 12 07:54:17 2022 daemon.err hostapd: Interface initialization failed
    
  • Can't use 160Mhz bandwidth, seems because it overlaps with DFS-channels

logread.txt

System
Hostname OpenWrt
Model TP-Link Archer C6 v3
Architecture MediaTek MT7621 ver:1 eco:3
Target Platform ramips/mt7621
Firmware Version OpenWrt 22.03.0 r19685-512e76967f / LuCI openwrt-22.03 branch git-22.245.77528-487e58a
Kernel Version 5.10.138

Hardware: TP-Link Archer C6(EU) Ver3.20

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the attached dmesg.txt, wireless.txt, and logread.txt, then inspect the mt76 driver paths involved in DFS-CAC initialization for the MT7621-based Archer C6 v3. Reproduce the failure on channel 52 and compare it with the listed non-DFS channels. Done means 5 GHz operation succeeds on DFS channels and 160 MHz configuration is no longer blocked by the DFS handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.