public inbox for ath12k@lists.infradead.org
 help / color / mirror / Atom feed
From: Mihai Moldovan <ionic@ionic.de>
To: Kang Yang <quic_kangyang@quicinc.com>, ath12k@lists.infradead.org
Subject: Re: [PATCH v6 0/4] wifi: ath12k: store and send country code to firmware after recovery
Date: Wed, 11 Dec 2024 17:22:03 +0100	[thread overview]
Message-ID: <2dddf75c-6a27-4d3f-9cac-82b53b4c968b@ionic.de> (raw)
In-Reply-To: <43036212-8411-45e5-b9fe-017ee9f0b990@quicinc.com>


[-- Attachment #1.1: Type: text/plain, Size: 4009 bytes --]

* On 12/11/24 05:32, Kang Yang wrote:
> root@NUC8:/home/yk/Desktop/sigma-script# wls1: interface state
> UNINITIALIZED->COUNTRY_UPDATE
> Frequency 5500 (primary) not allowed for AP mode, flags: 0x100959 RADAR
> Primary frequency not allowed
> wls1: IEEE 802.11 Configured channel (100) or frequency (5500)
> (secondary_channel=0) not found from the channel list of the current
> mode (2) IEEE 802.11a
> 
> Don't know how you test with channel 100, it's a DFS channel.
> Can you show me your whole hostapd.conf?

Sure. DFS must be enabled of course - both in the kernel and in hostapd.

Complete hostapd.conf I'm testing with (80 MHz operation on channels 100+):

interface=wifibe
#bridge=brvswitch # Enabling that will likely fail for you out of the box.
driver=nl80211
logger_syslog=-1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=2
ctrl_interface=/run/hostapd
ctrl_interface_group=0
ssid=WRTKA04
utf8_ssid=1
country_code=DE
country3=0x49
ieee80211d=1
ieee80211h=1
hw_mode=a
channel=100
acs_num_scans=100
acs_exclude_dfs=0
enable_background_radar=1
min_tx_power=0
beacon_int=100
dtim_period=2
max_num_sta=255
rts_threshold=65535
fragm_threshold=-1
preamble=1
macaddr_acl=1
accept_mac_file=/etc/hostapd/hostapd.accept
deny_mac_file=/etc/hostapd/hostapd.deny
auth_algs=1
ignore_broadcast_ssid=0
wmm_enabled=1
wmm_ac_bk_cwmin=4
wmm_ac_bk_cwmax=10
wmm_ac_bk_aifs=7
wmm_ac_bk_txop_limit=0
wmm_ac_bk_acm=0
wmm_ac_be_aifs=3
wmm_ac_be_cwmin=4
wmm_ac_be_cwmax=10
wmm_ac_be_txop_limit=0
wmm_ac_be_acm=0
wmm_ac_vi_aifs=2
wmm_ac_vi_cwmin=3
wmm_ac_vi_cwmax=4
wmm_ac_vi_txop_limit=94
wmm_ac_vi_acm=0
wmm_ac_vo_aifs=2
wmm_ac_vo_cwmin=2
wmm_ac_vo_cwmax=3
wmm_ac_vo_txop_limit=47
wmm_ac_vo_acm=0
ap_max_inactivity=7200
bss_max_idle=1
disassoc_low_ack=0
start_disabled=0
ieee80211n=1
disable_11n=0
ht_capab=[HT20][HT40+][HT40-][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][LDCP][DSSS_CCK-40][MAX-AMSDU-7935]
require_ht=0
obss_interval=30
ht_vht_twt_responder=1
ieee80211ac=1
disable_11ac=0
vht_capab=[MAX-MPDU-11454][RXLDPC][SHORT-GI-80][TX-STBC-2BY1][RX-STBC-1][SU-BEAMFORMER][SU-BEAMFORMEE][MAX-A-MPDU-LEN-EXP3][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN]
require_vht=0
vht_oper_chwidth=1
vht_oper_centr_freq_seg0_idx=106
vht_oper_centr_freq_seg1_idx=0
ieee80211ax=1
require_he=0
disable_11ax=0
he_su_beamformer=1
he_su_beamformee=1
he_mu_beamformer=1
he_bss_color=39
he_twt_required=0
he_twt_responder=1
he_er_su_disable=0
he_oper_chwidth=1
he_oper_centr_freq_seg0_idx=106
he_oper_centr_freq_seg1_idx=0
he_6ghz_max_mpdu=2
he_6ghz_max_ampdu_len_exp=7
he_6ghz_rx_ant_pat=1
he_6ghz_tx_ant_pat=1
he_6ghz_reg_pwr_type=4
reg_def_cli_eirp_psd=0
reg_sub_cli_eirp_psd=1
unsol_bcast_probe_resp_interval=0
channel_usage=1
peer_to_peer_twt=1
ieee80211be=1
disable_11be=0
eht_su_beamformer=1
eht_su_beamformee=1
eht_mu_beamformer=0
eht_oper_chwidth=1
eht_oper_centr_freq_seg0_idx=106
eht_default_pe_duration=0
eht_bw320_offset=0
punct_bitmap=0
punct_acs_threshold=0
mld_ap=0
eapol_key_index_workaround=0
own_ip_addr=127.0.0.1
wpa=2
extended_key_id=0
wpa_passphrase=BREAKMEnottheactualpassphraseofc
wpa_key_mgmt=WPA-PSK WPA-PSK-SHA256 SAE
wpa_pairwise=CCMP CCMP-256 GCMP GCMP-256
rsn_pairwise=CCMP CCMP-256 GCMP GCMP-256
ieee80211w=1
group_mgmt_cipher=AES-128-CMAC
beacon_prot=1
ocv=1
sae_require_mfp=1
fils_discovery_min_interval=20
fils_discovery_max_interval=8000
ssid_protection=1
ap_table_max_size=255
ap_table_expiration_time=3600
wps_cred_add_sae=1
multi_ap_profile=2
multi_ap_client_disallow=0
friendly_name=WPS 802.11be Access Point
manufacturer_url=http://www.ionic.de/
model_description=Wireless 802.11be Access Point
wps_rf_bands=a
tdls_prohibit=1
tdls_prohibit_chan_switch=1
mbo=0
mbo_cell_data_conn_pref=1
rssi_ignore_probe_request=0


> my steps:
> rmmod ath12k
> insmod ath12k
> iw reg set CN
> hostapd...

Yep, that should do the trick.



Mihai

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

      reply	other threads:[~2024-12-11 16:22 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-17  3:09 [PATCH v6 0/4] wifi: ath12k: store and send country code to firmware after recovery Kang Yang
2024-10-17  3:09 ` [PATCH v6 1/4] wifi: ath12k: add configure country code for WCN7850 Kang Yang
2024-10-17  3:09 ` [PATCH v6 2/4] wifi: ath12k: add 11d scan offload support Kang Yang
2024-10-17  3:09 ` [PATCH v6 3/4] wifi: ath12k: use correct WMI command to set country code for WCN7850 Kang Yang
2024-10-17  3:09 ` [PATCH v6 4/4] wifi: ath12k: store and send country code to firmware after recovery Kang Yang
2024-10-17 18:55 ` [PATCH v6 0/4] " Jeff Johnson
2024-11-20 16:50   ` Mihai Moldovan
2024-11-21 11:03     ` Kalle Valo
2024-11-22 20:17       ` Mihai Moldovan
2024-11-29 12:18 ` Mihai Moldovan
2024-12-02  1:53   ` Kang Yang
2024-12-02  8:47     ` Mihai Moldovan
2024-12-09 21:47       ` [RFC] [PATCH] wifi: ath12k: wait for chan update in reg_notifier Mihai Moldovan
2024-12-09 22:00         ` Ionic
2024-12-11  2:18           ` Kang Yang
2024-12-11 16:14             ` Mihai Moldovan
2024-12-10 23:19         ` [RFC] [PATCH v2] " Mihai Moldovan
2024-12-11  4:32       ` [PATCH v6 0/4] wifi: ath12k: store and send country code to firmware after recovery Kang Yang
2024-12-11 16:22         ` Mihai Moldovan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2dddf75c-6a27-4d3f-9cac-82b53b4c968b@ionic.de \
    --to=ionic@ionic.de \
    --cc=ath12k@lists.infradead.org \
    --cc=quic_kangyang@quicinc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox