nrc7292_sdk icon indicating copy to clipboard operation
nrc7292_sdk copied to clipboard

CN S1G 761.5 Channel can not be set

Open webrtcccccc opened this issue 1 year ago • 1 comments

Dear newracom sir,

I found some problems when testing open AP on CN channel. When I set S1G_CH:7615, the following error is displayed. [------------LOG------------] [ctrl_iface_receive_response] cmd: set country CN wim: 0 country code:CN freq:0 api: 0 CC(CN) from driver is different from CC(US) from cal. data s1g: 0 index:5 CC: 'CN', # of CH:14 wim: 0 auto txgain is activated reply_len: 2

reply: OK

[wifi_init] TX Power (18 dBm) [wifi_task] wifi_init Success !! [wifi_start_softap] Trying to start Soft AP (SSID:my_demo, S1G_CH:7615 , BW:1) [ctrl_iface_receive_response] cmd: add_network reply_len: 1

reply: 0

[0][_nrc_wifi_set_state] state=DISCONNECTED [STAGetNonS1GFreqWithBw] invalid frequency, s1g_freq:7615 [0][nrc_wifi_softap_set_conf] invalid s1g_freq:7615, bw:1 [wifi_start_softap] Fail to set sotftap config [wifi_task] ASSERT! Fail to start softap [------------END------------]

In addition, when I tested S1G 7555, I could turn on the AP normally, but it was turned on to 5210. The corresponding value should be 5180 according to the table. [------------LOG------------] [ctrl_iface_receive_response] cmd: set country CN wim: 0 country code:CN freq:0 api: 0 CC(CN) from driver is different from CC(US) from cal. data s1g: 0 index:5 CC: 'CN', # of CH:14 wim: 0 auto txgain is activated reply_len: 2

reply: OK

[wifi_init] TX Power (18 dBm) [wifi_task] wifi_init Success !! [wifi_start_softap] Trying to start Soft AP (SSID:my_demo, S1G_CH:7555 , BW:1) [ctrl_iface_receive_response] cmd: add_network reply_len: 1

reply: 0

[0][_nrc_wifi_set_state] state=DISCONNECTED [ctrl_iface_receive_response] cmd: set_network 0 mode 2 reply_len: 2

reply: OK

[ctrl_iface_receive_response] cmd: ndp_preq 1 wim: 0 set ndp probe request: 1 reply_len: 2

reply: OK

[ctrl_iface_receive_response] cmd: set_network 0 frequency 5210 reply_len: 2

reply: OK

[ctrl_iface_receive_response] cmd: set_network 0 scan_freq 5210 reply_len: 2

reply: OK

[ctrl_iface_receive_response] cmd: set_network 0 ssid "my_demo" reply_len: 2

reply: OK

[ctrl_iface_receive_response] cmd: set_network 0 pairwise CCMP reply_len: 2

reply: OK

[ctrl_iface_receive_response] cmd: set_network 0 group CCMP reply_len: 2

reply: OK

[ctrl_iface_receive_response] cmd: set_network 0 key_mgmt WPA-PSK reply_len: 2

reply: OK

[ctrl_iface_receive_response] cmd: set_network 0 proto RSN reply_len: 2

reply: OK [------------END------------]

image

webrtcccccc avatar Oct 06 '23 05:10 webrtcccccc