1. My system is embedded device (base on x86 - atom) 2,3. Linux kernel 5.2.11 (customizing version - Modify to access all channels ) I used monitor mode, and Regd set is JP status. But, JP channel is not accessible. (All other channels are accessible) 4. $ iw reg get global country JP: DFS-JP (2402 - 2482 @ 40), (N/A, 20), (N/A) (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM (4910 - 4990 @ 40), (N/A, 23), (N/A) (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW (5490 - 5710 @ 160), (N/A, 23), (0 ms), DFS (57000 - 66000 @ 2160), (N/A, 10), (N/A) : $ iw dev wlan1 set channel 14 command failed: Input/output error (-5) ​ and then dmesg log [321090.157935] iwlwifi 0000:08:00.0: Microcode SW error detected. Restarting 0x2000000. [321090.158195] iwlwifi 0000:08:00.0: Start IWL Error Log Dump: [321090.158212] iwlwifi 0000:08:00.0: Status: 0x00000080, count: 6 [321090.158224] iwlwifi 0000:08:00.0: Loaded firmware version: 29.1044073957.0 [321090.158239] iwlwifi 0000:08:00.0: 0x000014FC | ADVANCED_SYSASSERT [321090.158251] iwlwifi 0000:08:00.0: 0x00000230 | trm_hw_status0 [321090.158262] iwlwifi 0000:08:00.0: 0x00000000 | trm_hw_status1 [321090.158274] iwlwifi 0000:08:00.0: 0x00043D54 | branchlink2 [321090.158285] iwlwifi 0000:08:00.0: 0x0004AFDA | interruptlink1 [321090.158297] iwlwifi 0000:08:00.0: 0x00000000 | interruptlink2 [321090.158316] iwlwifi 0000:08:00.0: 0x00000E01 | data1 [321090.158339] iwlwifi 0000:08:00.0: 0x00000000 | data2 [321090.158362] iwlwifi 0000:08:00.0: 0x01010000 | data3 [321090.158384] iwlwifi 0000:08:00.0: 0x00000000 | beacon time [321090.158407] iwlwifi 0000:08:00.0: 0x00FF8295 | tsf low [321090.158423] iwlwifi 0000:08:00.0: 0x00000000 | tsf hi [321090.158434] iwlwifi 0000:08:00.0: 0x00000000 | time gp1 [321090.158446] iwlwifi 0000:08:00.0: 0x00FF8295 | time gp2 [321090.158457] iwlwifi 0000:08:00.0: 0x00000001 | uCode revision type [321090.158469] iwlwifi 0000:08:00.0: 0x0000001D | uCode version major [321090.158481] iwlwifi 0000:08:00.0: 0x3E3B4DE5 | uCode version minor [321090.158492] iwlwifi 0000:08:00.0: 0x00000210 | hw version [321090.158503] iwlwifi 0000:08:00.0: 0x00489200 | board version [321090.158514] iwlwifi 0000:08:00.0: 0x002E0108 | hcmd [321090.158526] iwlwifi 0000:08:00.0: 0x24022080 | isr0 [321090.158537] iwlwifi 0000:08:00.0: 0x01000000 | isr1 [321090.158549] iwlwifi 0000:08:00.0: 0x00000002 | isr2 [321090.158560] iwlwifi 0000:08:00.0: 0x0041F4C0 | isr3 [321090.158571] iwlwifi 0000:08:00.0: 0x00000000 | isr4 [321090.158582] iwlwifi 0000:08:00.0: 0x002D0108 | last cmd Id [321090.158593] iwlwifi 0000:08:00.0: 0x00000000 | wait_event [321090.158604] iwlwifi 0000:08:00.0: 0x00000080 | l2p_control [321090.158616] iwlwifi 0000:08:00.0: 0x00010010 | l2p_duration [321090.158627] iwlwifi 0000:08:00.0: 0x0000003F | l2p_mhvalid [321090.158638] iwlwifi 0000:08:00.0: 0x00000000 | l2p_addr_match [321090.158649] iwlwifi 0000:08:00.0: 0x00000007 | lmpm_pmg_sel [321090.158661] iwlwifi 0000:08:00.0: 0x14031202 | timestamp [321090.158672] iwlwifi 0000:08:00.0: 0x0000A8B8 | flow_handler [321090.158684] iwlwifi 0000:08:00.0: Fseq Registers: [321090.158702] iwlwifi 0000:08:00.0: 0x00000000 | FSEQ_ERROR_CODE [321090.158719] iwlwifi 0000:08:00.0: 0x00000000 | FSEQ_TOP_INIT_VERSION [321090.158735] iwlwifi 0000:08:00.0: 0x00000000 | FSEQ_CNVIO_INIT_VERSION [321090.158752] iwlwifi 0000:08:00.0: 0x00000000 | FSEQ_OTP_VERSION [321090.158769] iwlwifi 0000:08:00.0: 0x00000000 | FSEQ_TOP_CONTENT_VERSION [321090.158785] iwlwifi 0000:08:00.0: 0x00000000 | FSEQ_ALIVE_TOKEN [321090.158802] iwlwifi 0000:08:00.0: 0x00000000 | FSEQ_CNVI_ID [321090.158819] iwlwifi 0000:08:00.0: 0x00000000 | FSEQ_CNVR_ID [321090.158835] iwlwifi 0000:08:00.0: 0x00000000 | CNVI_AUX_MISC_CHIP [321090.158852] iwlwifi 0000:08:00.0: 0x00000000 | CNVR_AUX_MISC_CHIP [321090.158869] iwlwifi 0000:08:00.0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM [321090.158886] iwlwifi 0000:08:00.0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR [321090.158903] iwlwifi 0000:08:00.0: Collecting data: trigger 2 fired. [321090.158928] ieee80211 phy1: Hardware restart was requested [321090.159149] iwlwifi 0000:08:00.0: iwlwifi transaction failed, dumping registers [321090.159157] iwlwifi 0000:08:00.0: iwlwifi device config registers: [321090.159223] iwlwifi 0000:08:00.0: 00000000: 095a8086 00100406 02800059 00000010 90600004 00000000 00000000 00000000 [321090.159228] iwlwifi 0000:08:00.0: 00000020: 00000000 00000000 00000000 90108086 00000000 000000c8 00000000 00000107 [321090.159231] iwlwifi 0000:08:00.0: iwlwifi device memory mapped registers: [321090.159290] iwlwifi 0000:08:00.0: 00000000: 00489200 0000ff40 00000000 ba00008b 00000000 00000000 00000000 00000000 [321090.159295] iwlwifi 0000:08:00.0: 00000020: 00000000 080403cd 00000210 d55555d5 00000000 d55555d5 80008040 001f0044 [321090.159303] iwlwifi 0000:08:00.0: iwlwifi device AER capability structure: [321090.159343] iwlwifi 0000:08:00.0: 00000000: 14010001 00000000 00000000 00462031 00000000 00002000 00000012 0a000000 [321090.159346] iwlwifi 0000:08:00.0: 00000020: 05102020 08000f60 00000000 [321090.159350] iwlwifi 0000:08:00.0: iwlwifi parent port (0000:05:02.0) config registers: [321090.159392] iwlwifi 0000:05:02.0: 00000000: 8233104c 00100407 06040002 00010010 00000000 00000000 00080805 00004141 [321090.159397] iwlwifi 0000:05:02.0: 00000020: 90609060 0001fff1 00000000 00000000 00000000 00000050 00000000 00120107 [321090.159402] iwlwifi 0000:08:00.0: FW error in SYNC CMD PHY_CONTEXT_CMD [321090.159406] CPU: 1 PID: 1968 Comm: iw Tainted: G W 5.2.11 #1 [321090.159408] Hardware name: iEi B483/B483, BIOS B483AM14 01/17/2019 [321090.159410] Call Trace: [321090.159419] dump_stack+0x47/0x5b [321090.159426] iwl_trans_pcie_send_hcmd+0x2b9/0x35f [321090.159431] ? do_wait_intr+0x67/0x67 [321090.159435] iwl_trans_send_cmd+0x93/0xbc [321090.159439] iwl_mvm_send_cmd+0x24/0x53 [321090.159443] iwl_mvm_send_cmd_pdu+0x40/0x5a [321090.159447] iwl_mvm_phy_ctxt_apply.constprop.0+0x17b/0x1b4 [321090.159451] iwl_mvm_phy_ctxt_changed+0x77/0x82 [321090.159457] __iwl_mvm_add_chanctx+0x84/0xcd [321090.159461] iwl_mvm_add_chanctx+0x23/0x33 [321090.159466] ieee80211_add_chanctx+0x72/0x91 [321090.159470] ieee80211_new_chanctx+0x21/0x53 [321090.159474] ieee80211_vif_use_channel+0xb5/0x17b [321090.159479] ieee80211_set_monitor_channel+0x6e/0xbf [321090.159483] cfg80211_set_monitor_channel+0x65/0x7a [321090.159487] __nl80211_set_channel+0x87/0x141 [321090.159491] nl80211_set_wiphy+0x259/0x59c [321090.159495] ? mutex_lock+0x32/0x53 [321090.159500] ? rtnl_lock+0xd/0xf [321090.159504] ? nl80211_pre_doit+0x1a/0x100 [321090.159508] genl_rcv_msg+0x322/0x37d [321090.159512] ? _cond_resched+0x1e/0x22 [321090.159516] ? genl_ctrl_event+0x1f7/0x1f7 [321090.159519] netlink_rcv_skb+0x65/0xb2 [321090.159523] genl_rcv+0x1c/0x29 [321090.159526] netlink_unicast+0xf1/0x173 [321090.159530] netlink_sendmsg+0x26e/0x294 [321090.159535] sock_sendmsg_nosec+0xd/0x19 [321090.159538] ___sys_sendmsg+0x139/0x1ae [321090.159543] ? full_name_hash+0x1e/0x5c [321090.159546] ? full_name_hash+0x1e/0x5c [321090.159551] ? srcu_read_unlock.constprop.0+0x16/0x18 [321090.159556] ? virt_to_head_page+0x19/0x1b [321090.159560] ? do_raw_spin_lock+0x2b/0x4f [321090.159564] ? page_add_file_rmap+0x90/0xaf [321090.159568] ? xas_find+0x83/0xec [321090.159573] ? xas_next_entry+0x3c/0x6e [321090.159576] ? filemap_map_pages+0x1c9/0x1d7 [321090.159580] ? __fget_light+0x21/0x46 [321090.159584] __sys_sendmsg+0x3a/0x67 [321090.159588] sys_sendmsg+0x13/0x15 [321090.159592] do_fast_syscall_32+0x86/0xc3 [321090.159596] entry_SYSENTER_32+0x6b/0xbe [321090.159599] EIP: 0xb7f51739 [321090.159603] Code: 90 90 90 8b 14 24 c3 90 90 90 90 90 90 90 90 8b 1c 24 c3 90 90 90 90 90 90 90 90 8b 3c 24 c3 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d 76 00 58 b8 77 00 00 00 cd 80 90 8d 76 [321090.159606] EAX: ffffffda EBX: 00000003 ECX: bff47324 EDX: 00000000 [321090.159608] ESI: 087a91e0 EDI: fffffffd EBP: bff472e8 ESP: bff47280 [321090.159611] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b EFLAGS: 00000246 [321090.159617] iwlwifi 0000:08:00.0: PHY ctxt cmd error. ret=-5 [321090.159620] iwlwifi 0000:08:00.0: Failed to add PHY context ​ ​Our equipment is under development for use in Japan. (Development area is Korea) I want to know how to set the Japanese frequency (ch14 & 4.9GHz). ex1. Is there a chip that can be used in Japan? ex2. Does Intel's wlan support Japanese frequencies? ​ ex3. Is there firmware for Japan? (Ucode) ex4. Is it operated by locale information of system? (Which file then GPS?) ​ : There seems to be no modification in driver source related to the channel access. Error message is also seen as the result returned from H / W chip. ​ ​I want to set the Japanese frequency. I am waiting for your help please. Additional Issue Warning occurs when 'ifconfig wlan1 down'. (in dmesg log) [321028.653276] ------------[ cut here ]------------ [321028.653319] WARNING: CPU: 0 PID: 1963 at kernel/workqueue.c:3031 __flush_work+0xfa/0x14f [321028.653325] Modules linked in: [321028.653344] CPU: 0 PID: 1963 Comm: ifconfig Tainted: G W 5.2.11 #1 [321028.653351] Hardware name: iEi B483/B483, BIOS B483AM14 01/17/2019 [321028.653366] EIP: __flush_work+0xfa/0x14f [321028.653380] Code: ef ff ff 8b 45 c8 e8 91 e9 ff ff 8d 45 dc e8 f7 50 50 00 58 eb 4d 83 7b 0c 00 0f 85 48 ff ff ff 68 fc a2 6c c1 e8 be c9 01 00 <0f> 0b 5a eb 08 8b 45 c8 e8 65 e9 ff ff c6 45 c7 00 eb 26 89 da 8b [321028.653391] EAX: 00000024 EBX: ecb5a0cc ECX: f6fd4188 EDX: f6fceab0 [321028.653400] ESI: ecb58e1c EDI: ecb589ec EBP: f5829d14 ESP: f5829cd4 [321028.653411] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 EFLAGS: 00010246 [321028.653420] CR0: 80050033 CR2: 0805d4ce CR3: 2d84a000 CR4: 001006d0 [321028.653426] Call Trace: [321028.653447] ? flush_workqueue_prep_pwqs+0xae/0xba [321028.653464] ? flush_workqueue+0x252/0x26b [321028.653476] ? __cancel_work_timer+0xd2/0x118 [321028.653491] flush_work+0xa/0xc [321028.653509] iwl_mvm_mac_stop+0x17/0xc4 [321028.653523] drv_stop+0x2e/0x5a [321028.653538] ieee80211_stop_device+0x38/0x3b [321028.653551] ieee80211_do_stop+0x628/0x66b [321028.653566] ieee80211_stop+0x12/0x16 [321028.653583] __dev_close_many+0x87/0x9d [321028.653595] __dev_change_flags+0xb9/0x169 [321028.653610] dev_change_flags+0x1f/0x4b [321028.653624] devinet_ioctl+0x213/0x4be [321028.653639] inet_ioctl+0x10c/0x14a [321028.653654] ? dev_name_hash+0x20/0x36 [321028.653667] ? dev_get_by_name_rcu+0x27/0x41 [321028.653681] sock_ioctl+0x2a9/0x378 [321028.653697] ? get_map+0x2a/0x36 [321028.653710] ? dlci_ioctl_set+0x23/0x23 [321028.653722] vfs_ioctl+0x17/0x21 [321028.653735] do_vfs_ioctl+0x4f1/0x50e [321028.653751] ? alloc_file_pseudo+0x89/0xbe [321028.653766] ksys_ioctl+0x2d/0x4e [321028.653779] sys_ioctl+0x11/0x13 [321028.653792] do_fast_syscall_32+0x86/0xc3 [321028.653809] entry_SYSENTER_32+0x6b/0xbe [321028.653819] EIP: 0xb7f5b739 [321028.653831] Code: 90 90 90 8b 14 24 c3 90 90 90 90 90 90 90 90 8b 1c 24 c3 90 90 90 90 90 90 90 90 8b 3c 24 c3 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d 76 00 58 b8 77 00 00 00 cd 80 90 8d 76 [321028.653840] EAX: ffffffda EBX: 00000003 ECX: 00008914 EDX: bf8164e0 [321028.653849] ESI: 00000000 EDI: bf817e89 EBP: 00000000 ESP: bf816438 [321028.653859] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b EFLAGS: 00000286 [321028.653871] ---[ end trace 5865692f17a678d7 ]--- ​ This symptom is caused by Original kernel (5.2.11) driver. ​This only occurs during WLAN operation of the iwlwifi driver. (Not available in Qualcomm wlan) Do you have any patch for this issue? Or is there a solution?