Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DFS support on MT7925E #926

Open
ToBiDi0410 opened this issue Oct 27, 2024 · 0 comments
Open

DFS support on MT7925E #926

ToBiDi0410 opened this issue Oct 27, 2024 · 0 comments

Comments

@ToBiDi0410
Copy link

ToBiDi0410 commented Oct 27, 2024

I've got one of the new Mediatek MT7925E PCIe-Cards i wanted to integrate into my home network, but i can't get DFS to work correctly and therefore the full potential of the card (160MHz) is restricted.

When selecting a DFS channel in the lastest OpenWRT STABLE and SNAPSHOT builds the interface is not able to start correctly.
This happens both with 80MHz and 160MHz channel width. I also tried checking if there is a radar in range, but there probably isn't as my home router (AVM FRITZ!Box 7590) flawlessly works on DFS channels (it even logs that there was no radar detected on startup)

From system log you can see that start_dfs_cac() fails with code -1
The relevant extract from my system log:

Sun Oct 27 14:30:46 2024 daemon.notice hostapd: Configuration file: data: driver=nl80211 logger_syslog=127 logger_syslog_level=2 logger_stdout=127 logger_stdout_level=2 country_code=DE ieee80211d=1 ieee80211h=1 hw_mode=a beacon_int=100 stationary_ap=1 chanlist=100 tx_queue_data2_burst=2.0 #num_global_macaddr=1 ieee80211n=1 ht_coex=0 ht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][MAX-AMSDU-7935] ieee80211ac=1 vht_oper_chwidth=2 vht_oper_centr_freq_seg0_idx=114 vht_capab=[RXLDPC][SHORT-GI-80][SHORT-GI-160][TX-STBC-2BY1][SU-BEAMFORMEE][MU-BEAMFORMEE][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][BF-ANTENNA-4][VHT160][MAX-MPDU-11454][MAX-A-MPDU-LEN-EXP7] ieee80211ax=1 he_oper_chwidth=2 he_oper_centr_freq_seg0_idx=114 he_bss_color=128 he_spr_sr_control=3 he_default_pe_duration=4 he_rts_threshold=1023 he_mu_edca_qos_info_param_count=0 he_mu_edca_qos_info_q_ack=0 he_mu_edca_qos_info_queue_request=0 he_mu_edca_qos_info_txop_request=0 he_mu_edca_ac_be_aifsn=8 he_mu_edca_ac_be_aci=0 he_mu_edca_ac_be_ecwmin=9 he
Sun Oct 27 14:30:46 2024 kern.info kernel: [ 4385.572896] br-lan: port 3(phy0-ap0) entered blocking state
Sun Oct 27 14:30:46 2024 kern.info kernel: [ 4385.579417] br-lan: port 3(phy0-ap0) entered disabled state
Sun Oct 27 14:30:46 2024 kern.info kernel: [ 4385.585864] mt7925e 0000:01:00.0 phy0-ap0: entered allmulticast mode
Sun Oct 27 14:30:46 2024 kern.info kernel: [ 4385.593303] mt7925e 0000:01:00.0 phy0-ap0: entered promiscuous mode
Sun Oct 27 14:30:46 2024 daemon.notice hostapd: phy0-ap0: interface state UNINITIALIZED->COUNTRY_UPDATE
Sun Oct 27 14:30:46 2024 daemon.notice hostapd: phy0-ap0: interface state COUNTRY_UPDATE->HT_SCAN
Sun Oct 27 14:30:46 2024 daemon.notice netifd: lan (2779): udhcpc: sending renew to server 192.168.178.1
Sun Oct 27 14:30:46 2024 daemon.notice netifd: lan (2779): udhcpc: lease of 192.168.178.88 obtained from 192.168.178.1, lease time 2592000
Sun Oct 27 14:30:46 2024 daemon.notice netifd: Wireless device 'radio0' is now up
Sun Oct 27 14:30:47 2024 daemon.notice hostapd: phy0-ap0: interface state HT_SCAN->DFS
Sun Oct 27 14:30:47 2024 daemon.notice hostapd: phy0-ap0: DFS-CAC-START freq=5500 chan=100 sec_chan=1, width=2, seg0=114, seg1=0, cac_time=60s
Sun Oct 27 14:30:47 2024 daemon.err hostapd: DFS start_dfs_cac() failed, -1
Sun Oct 27 14:30:47 2024 daemon.err hostapd: Interface initialization failed
Sun Oct 27 14:30:47 2024 daemon.notice hostapd: phy0-ap0: interface state DFS->DISABLED
Sun Oct 27 14:30:47 2024 daemon.notice hostapd: phy0-ap0: AP-DISABLED

HW/SW information from kernel log:

[   14.675216] mt7925e 0000:01:00.0: ASIC revision: 79250000
[   14.812304] mt7925e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20231227093012a
[   15.172335] mt7925e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20231227093232

As there is limited information about this card online, i was wondering if DFS is even supported on this card?
As i read here, there are some cards which do not support DFS.

@ToBiDi0410 ToBiDi0410 changed the title DFS support on MT7925e DFS support on MT7925BE Oct 27, 2024
@ToBiDi0410 ToBiDi0410 changed the title DFS support on MT7925BE DFS support on MT7925E Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant