Mt7921u and 6e bands

Hi,

has anyone got any of the mt7921u wifi usb working on Band 6e? thank you

the device works fine apart from any of the 6e bands, hostapd starts with no complains but scanning doesn't show the ssid

I am tempted to start looking at the code but thought to ask first if anyone is having similar issues

thank you

lsusb and link to where it is sold?

0x0e8d, 0x7961
Amazon
ALFA AWUS036AXML

1 Like

Set region and start it up? No globally avail 6GHz channel.
post resulting section of /etc/config/wireless - radio setup and access point setup , take out passwords

i asked if anyone had similar issues i didn't asked for help on how hostapd works. and by the way opclass=131-5 is a feature it is not just on the hostapd.conf example !. thank you anyhow

/etc/config/wireless generates hostapd.conf
can I have a look or go with status quo that "it does not work"

1 Like

op_calls != opclass != "global operating class" cc3

1 Like

wireless

config wifi-device 'radio0'
	option type 'mac80211'
	option path 'pci0000:00/0000:00:02.1/0000:02:00.0/usb2/2-1/2-1:1.3'
	option htmode 'HE80'
	option cell_density '0'
	option country 'US'
	option band '6g'
	option channel '1'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'mt7621u'
	option encryption 'sae'
	option key 'xxxxx'
	option disassoc_low_ack '0'
	option bss_transition '1'

hostapd

driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
country_code=US
ieee80211d=1
ieee80211h=1
hw_mode=a
beacon_int=100
channel=1
chanlist=1

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]
op_class=133
ieee80211ac=1
vht_oper_chwidth=1
vht_oper_centr_freq_seg0_idx=7
vht_capab=[RXLDPC][SHORT-GI-80][TX-STBC-2BY1][SU-BEAMFORMEE][MU-BEAMFORMEE][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][BF-ANTENNA-4][MAX-MPDU-11454][MAX-A-MPDU-LEN-EXP7]
ieee80211ax=1
he_oper_chwidth=1
he_oper_centr_freq_seg0_idx=7
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_mu_edca_ac_be_ecwmax=10
he_mu_edca_ac_be_timer=255
he_mu_edca_ac_bk_aifsn=15
he_mu_edca_ac_bk_aci=1
he_mu_edca_ac_bk_ecwmin=9
he_mu_edca_ac_bk_ecwmax=10
he_mu_edca_ac_bk_timer=255
he_mu_edca_ac_vi_ecwmin=5
he_mu_edca_ac_vi_ecwmax=7
he_mu_edca_ac_vi_aifsn=5
he_mu_edca_ac_vi_aci=2
he_mu_edca_ac_vi_timer=255
he_mu_edca_ac_vo_aifsn=5
he_mu_edca_ac_vo_aci=3
he_mu_edca_ac_vo_ecwmin=5
he_mu_edca_ac_vo_ecwmax=7
he_mu_edca_ac_vo_timer=255

interface=phy0-ap0
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=0
skip_inactivity_poll=0
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
utf8_ssid=1
multi_ap=0
sae_require_mfp=1
sae_pwe=2
wpa_passphrase=xxxxxx
wpa_psk_file=/var/run/hostapd-phy0-ap0.psk
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=mt7621u
bridge=br-lan
wds_bridge=
snoop_iface=br-lan
bss_transition=1
wpa_disable_eapol_key_retries=0
wpa_key_mgmt=SAE
okc=1
ieee80211w=2
group_mgmt_cipher=AES-128-CMAC
dynamic_vlan=0
vlan_naming=1
vlan_no_bridge=1
vlan_file=/var/run/hostapd-phy0-ap0.vlan
qos_map_set=0,0,2,16,1,1,255,255,18,22,24,38,40,40,44,46,48,56
bssid=xxxxxx

stand close?
https://git.kernel.org/pub/scm/linux/kernel/git/wens/wireless-regdb.git/tree/db.txt#n1871

i don't think it is the regdb ... iw list shows the frequencies available ... also just to dismiss the regdb I tried other countries including hacking the regdb to open frequencies like this for GB for instance

global
country GB: DFS-ETSI
	(2400 - 2483 @ 40), (N/A, 20), (N/A)
	(5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
	(5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
	(5470 - 5730 @ 160), (N/A, 26), (0 ms), DFS
	(5945 - 6425 @ 80), (N/A, 23), (N/A)
	(5945 - 6425 @ 160), (N/A, 23), (N/A)
	(57000 - 71000 @ 2160), (N/A, 40), (N/A)

iw dev and running hostapd standalone shows the 6e frequencies available anyhow with default regdb - if they weren't available hostapd should have complained about

You have to use real regulatory domain. 12dBm would be 15cm between client and AP...

huum... increasing power levels to 26

lobal
country GB: DFS-ETSI
	(2400 - 2483 @ 40), (N/A, 20), (N/A)
	(5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
	(5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
	(5470 - 5730 @ 160), (N/A, 26), (0 ms), DFS
	(5945 - 6425 @ 80), (N/A, 26), (N/A)
	(5945 - 6425 @ 160), (N/A, 26), (N/A)
	(57000 - 71000 @ 2160), (N/A, 40), (N/A)

shows

root@OpenWrt:/sys/kernel/debug/ieee80211/phy0/netdev:phy0-ap0# cat txpower 
26

so, the device is picking the power levels correctly from regdb

my ignorance here where do you see 12dbm ? the device is operating on the 6e range (above 5945)

i don't think this device is 6e capable in spite of the marketing etc ....hence the original question ... has anyone been able to have 6e bands working

Well, set real country code after powerup, the variations you post are not very convincing.

1 Like

The first available channel in the 6g band at HE80 is channel 7 - LPI: low-power indoor.

Maybe try channel 7?

See:

Why are you reading anachronic band names? There is no change in wifi power in all 6GHz band in US.
12dBm across all 6GHz, in general sense - totally unusable.
Ref (repost)
https://git.kernel.org/pub/scm/linux/kernel/git/wens/wireless-regdb.git/tree/db.txt#n1871

6Ghz doesn't have a band 7...

I said CHANNEL 7

?????
I fail to see your argument that my comments are chronologically misplaced.
It would be helpful if you gave some explanation....

I think you are misinterpreting something?

Following on from your "Ref (repost)" link:
https://www.federalregister.gov/d/2020-11236/p-66

Doing a quick calculation using my link:
In the US, an MRP of 5dBm/MHz is allowed.
In milliwatts, this is antilog(5/10) = 3mw

So for 40 MHz, we have 10*log(40*3) = 20dBm
Probably more than is ever needed for typical indoor use.

6GHz band in US has the NO-IR flag, will not work as AP.

# 6g band
	# https://www.federalregister.gov/documents/2020/05/26/2020-11236/unlicensed-use-of-the-6ghz-band
	(5925 - 7125 @ 320), (12), NO-OUTDOOR, NO-IR
1 Like

NO-IR stands for No initiated Radiator.
What it means in terms of use is that it should not be used as an AP outdoors, but can be used as a STA outdoors (connecting to an AP indoors)