syzbot


ID Workflow Result Correct Bug Created Started Finished Revision Error
027a0251-0592-41c3-b965-43aeae8c017b patching WARNING in mac80211_hwsim_sta_rc_update 2026/03/27 20:01 2026/03/27 20:01 2026/03/27 21:41 74a13a23df638267bd5cda3965212e551bcf3eb5

			
		
Agent: prod-syz-agent-1
External Bug ID: ---

Inputs:
BugTitle WARNING in mac80211_hwsim_sta_rc_update
CrashLogID 6336292813537280
CrashReportID 6687110976765952
KernelCommit 162b42445b585cd89f45475848845db353539605
KernelConfig
Show (279036 bytes)
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86_64 syzkaller Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (Debian 14.2.0-19) 14.2.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=140200
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=24400
CONFIG_LD_IS_BFD=y
CONFIG_LD_VERSION=24400
CONFIG_LLD_VERSION=0
CONFIG_RUSTC_VERSION=109101
CONFIG_RUST_IS_AVAILABLE=y
CONFIG_RUSTC_LLVM_VERSION=210102
CONFIG_CC_CAN_LINK=y
CONFIG_CC_HAS_ASM_GOTO_OUTPUT=y
CONFIG_CC_HAS_ASM_GOTO_TIED_OUTPUT=y
CONFIG_TOOLS_SUPPORT_RELR=y
CONFIG_CC_HAS_ASM_INLINE=y
CONFIG_CC_HAS_ASSUME=y
CONFIG_CC_HAS_NO_PROFILE_FN_ATTR=y
CONFIG_LD_CAN_USE_KEEP_IN_OVERLAY=y
CONFIG_RUSTC_HAS_SLICE_AS_FLATTENED=y
CONFIG_RUSTC_HAS_COERCE_POINTEE=y
CONFIG_RUSTC_HAS_SPAN_FILE=y
CONFIG_RUSTC_HAS_UNNECESSARY_TRANSMUTES=y
CONFIG_RUSTC_HAS_FILE_WITH_NUL=y
CONFIG_RUSTC_HAS_FILE_AS_C_STR=y
CONFIG_PAHOLE_VERSION=130
CONFIG_CONSTRUCTORS=y
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_TABLE_SORT=y
CONFIG_THREAD_INFO_IN_TASK=y

#
# General setup
#
CONFIG_INIT_ENV_ARG_LIMIT=32
# CONFIG_COMPILE_TEST is not set
# CONFIG_WERROR is not set
CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y
CONFIG_BUILD_SALT=""
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_BZIP2=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
CONFIG_HAVE_KERNEL_LZ4=y
CONFIG_HAVE_KERNEL_ZSTD=y
CONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
# CONFIG_KERNEL_ZSTD is not set
CONFIG_DEFAULT_INIT=""
CONFIG_DEFAULT_HOSTNAME="(none)"
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_SYSVIPC_COMPAT=y
CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
CONFIG_WATCH_QUEUE=y
CONFIG_CROSS_MEMORY_ATTACH=y
CONFIG_AUDIT=y
CONFIG_HAVE_ARCH_AUDITSYSCALL=y
CONFIG_AUDITSYSCALL=y

#
# IRQ subsystem
#
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y
CONFIG_GENERIC_PENDING_IRQ=y
CONFIG_GENERIC_IRQ_MIGRATION=y
CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_IRQ_DOMAIN=y
CONFIG_IRQ_DOMAIN_HIERARCHY=y
CONFIG_GENERIC_MSI_IRQ=y
CONFIG_GENERIC_IRQ_MATRIX_ALLOCATOR=y
CONFIG_GENERIC_IRQ_RESERVATION_MODE=y
CONFIG_IRQ_FORCED_THREADING=y
CONFIG_SPARSE_IRQ=y
# CONFIG_GENERIC_IRQ_DEBUGFS is not set
# end of IRQ subsystem

CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_ARCH_CLOCKSOURCE_INIT=y
CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST_IDLE=y
CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=y
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_HAVE_POSIX_CPU_TIMERS_TASK_WORK=y
CONFIG_POSIX_CPU_TIMERS_TASK_WORK=y
CONFIG_CONTEXT_TRACKING=y
CONFIG_CONTEXT_TRACKING_IDLE=y

#
# Timers subsystem
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
# CONFIG_NO_HZ_FULL is not set
CONFIG_CONTEXT_TRACKING_USER=y
# CONFIG_CONTEXT_TRACKING_USER_FORCE is not set
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_CLOCKSOURCE_WATCHDOG_MAX_SKEW_US=125
CONFIG_POSIX_AUX_CLOCKS=y
# end of Timers subsystem

CONFIG_BPF=y
CONFIG_HAVE_EBPF_JIT=y
CONFIG_ARCH_WANT_DEFAULT_BPF_JIT=y

#
# BPF subsystem
#
CONFIG_BPF_SYSCALL=y
CONFIG_BPF_JIT=y
# CONFIG_BPF_JIT_ALWAYS_ON is not set
CONFIG_BPF_JIT_DEFAULT_ON=y
# CONFIG_BPF_UNPRIV_DEFAULT_OFF is not set
CONFIG_BPF_PRELOAD=y
CONFIG_BPF_PRELOAD_UMD=y
CONFIG_BPF_LSM=y
# end of BPF subsystem

CONFIG_PREEMPT_BUILD=y
CONFIG_ARCH_HAS_PREEMPT_LAZY=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
# CONFIG_PREEMPT_LAZY is not set
# CONFIG_PREEMPT_RT is not set
CONFIG_PREEMPT_COUNT=y
CONFIG_PREEMPTION=y
CONFIG_PREEMPT_DYNAMIC=y
CONFIG_SCHED_CORE=y

#
# CPU/Task time and stats accounting
#
CONFIG_VIRT_CPU_ACCOUNTING=y
# CONFIG_TICK_CPU_ACCOUNTING is not set
CONFIG_VIRT_CPU_ACCOUNTING_GEN=y
CONFIG_IRQ_TIME_ACCOUNTING=y
CONFIG_HAVE_SCHED_AVG_IRQ=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_BSD_PROCESS_ACCT_V3=y
CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y
CONFIG_PSI=y
# CONFIG_PSI_DEFAULT_DISABLED is not set
# end of CPU/Task time and stats accounting

CONFIG_CPU_ISOLATION=y

#
# RCU Subsystem
#
CONFIG_TREE_RCU=y
CONFIG_PREEMPT_RCU=y
# CONFIG_RCU_EXPERT is not set
CONFIG_TREE_SRCU=y
CONFIG_TASKS_RCU_GENERIC=y
CONFIG_NEED_TASKS_RCU=y
CONFIG_TASKS_RCU=y
CONFIG_TASKS_TRACE_RCU=y
CONFIG_RCU_STALL_COMMON=y
CONFIG_RCU_NEED_SEGCBLIST=y
# end of RCU Subsystem

CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
# CONFIG_IKHEADERS is not set
CONFIG_LOG_BUF_SHIFT=18
CONFIG_LOG_CPU_MAX_BUF_SHIFT=12
# CONFIG_PRINTK_INDEX is not set
CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y

#
# Scheduler features
#
# CONFIG_UCLAMP_TASK is not set
# CONFIG_SCHED_PROXY_EXEC is not set
# end of Scheduler features

CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y
CONFIG_ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH=y
CONFIG_CC_HAS_INT128=y
CONFIG_CC_IMPLICIT_FALLTHROUGH="-Wimplicit-fallthrough=5"
CONFIG_GCC10_NO_ARRAY_BOUNDS=y
CONFIG_CC_NO_ARRAY_BOUNDS=y
CONFIG_GCC_NO_STRINGOP_OVERFLOW=y
CONFIG_CC_NO_STRINGOP_OVERFLOW=y
CONFIG_ARCH_SUPPORTS_INT128=y
CONFIG_NUMA_BALANCING=y
CONFIG_NUMA_BALANCING_DEFAULT_ENABLED=y
CONFIG_SLAB_OBJ_EXT=y
CONFIG_CGROUPS=y
CONFIG_PAGE_COUNTER=y
# CONFIG_CGROUP_FAVOR_DYNMODS is not set
CONFIG_MEMCG=y
CONFIG_MEMCG_V1=y
CONFIG_BLK_CGROUP=y
CONFIG_CGROUP_WRITEBACK=y
CONFIG_CGROUP_SCHED=y
CONFIG_GROUP_SCHED_WEIGHT=y
CONFIG_GROUP_SCHED_BANDWIDTH=y
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_CFS_BANDWIDTH=y
# CONFIG_RT_GROUP_SCHED is not set
CONFIG_SCHED_MM_CID=y
CONFIG_CGROUP_PIDS=y
CONFIG_CGROUP_RDMA=y
# CONFIG_CGROUP_DMEM is not set
CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_HUGETLB=y
CONFIG_CPUSETS=y
# CONFIG_CPUSETS_V1 is not set
CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_CGROUP_PERF=y
# CONFIG_CGROUP_BPF is not set
CONFIG_CGROUP_MISC=y
CONFIG_CGROUP_DEBUG=y
CONFIG_SOCK_CGROUP_DATA=y
CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y
CONFIG_TIME_NS=y
CONFIG_IPC_NS=y
CONFIG_USER_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
CONFIG_CHECKPOINT_RESTORE=y
# CONFIG_SCHED_AUTOGROUP is not set
CONFIG_RELAY=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_RD_GZIP=y
CONFIG_RD_BZIP2=y
CONFIG_RD_LZMA=y
CONFIG_RD_XZ=y
CONFIG_RD_LZO=y
CONFIG_RD_LZ4=y
CONFIG_RD_ZSTD=y
# CONFIG_BOOT_CONFIG is not set
CONFIG_CMDLINE_LOG_WRAP_IDEAL_LEN=1021
CONFIG_INITRAMFS_PRESERVE_MTIME=y
CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_LD_ORPHAN_WARN=y
CONFIG_LD_ORPHAN_WARN_LEVEL="warn"
CONFIG_SYSCTL=y
CONFIG_HAVE_UID16=y
CONFIG_SYSCTL_EXCEPTION_TRACE=y
CONFIG_SYSFS_SYSCALL=y
CONFIG_HAVE_PCSPKR_PLATFORM=y
CONFIG_EXPERT=y
CONFIG_UID16=y
CONFIG_MULTIUSER=y
CONFIG_SGETMASK_SYSCALL=y
CONFIG_FHANDLE=y
CONFIG_POSIX_TIMERS=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_PCSPKR_PLATFORM=y
# CONFIG_BASE_SMALL is not set
CONFIG_FUTEX=y
CONFIG_FUTEX_PI=y
CONFIG_FUTEX_PRIVATE_HASH=y
CONFIG_FUTEX_MPOL=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_AIO=y
CONFIG_IO_URING=y
CONFIG_IO_URING_MOCK_FILE=y
CONFIG_ADVISE_SYSCALLS=y
CONFIG_MEMBARRIER=y
CONFIG_KCMP=y
CONFIG_RSEQ=y
# CONFIG_RSEQ_STATS is not set
# CONFIG_RSEQ_DEBUG_DEFAULT_ENABLE is not set
CONFIG_CACHESTAT_SYSCALL=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_SELFTEST is not set
CONFIG_KALLSYMS_ALL=y
CONFIG_ARCH_HAS_MEMBARRIER_SYNC_CORE=y
CONFIG_ARCH_SUPPORTS_MSEAL_SYSTEM_MAPPINGS=y
CONFIG_HAVE_PERF_EVENTS=y
CONFIG_GUEST_PERF_EVENTS=y

#
# Kernel Performance Events And Counters
#
CONFIG_PERF_EVENTS=y
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
# end of Kernel Performance Events And Counters

CONFIG_SYSTEM_DATA_VERIFICATION=y
CONFIG_PROFILING=y
# CONFIG_RUST is not set
CONFIG_TRACEPOINTS=y

#
# Kexec and crash features
#
CONFIG_CRASH_RESERVE=y
CONFIG_VMCORE_INFO=y
CONFIG_KEXEC_CORE=y
CONFIG_KEXEC=y
# CONFIG_KEXEC_FILE is not set
# CONFIG_KEXEC_JUMP is not set
CONFIG_CRASH_DUMP=y
CONFIG_CRASH_HOTPLUG=y
CONFIG_CRASH_MAX_MEMORY_RANGES=8192
# end of Kexec and crash features

#
# Live Update and Kexec HandOver
#
# CONFIG_KEXEC_HANDOVER is not set
# end of Live Update and Kexec HandOver
# end of General setup

CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_MMU=y
CONFIG_ARCH_MMAP_RND_BITS_MIN=28
CONFIG_ARCH_MMAP_RND_BITS_MAX=32
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=8
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_CSUM=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_AUDIT_ARCH=y
CONFIG_KASAN_SHADOW_OFFSET=0xdffffc0000000000
CONFIG_HAVE_INTEL_TXT=y
CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_FIX_EARLYCON_MEM=y
CONFIG_PGTABLE_LEVELS=5

#
# Processor type and features
#
CONFIG_SMP=y
CONFIG_X86_X2APIC=y
# CONFIG_X86_POSTED_MSI is not set
CONFIG_X86_MPPARSE=y
# CONFIG_X86_CPU_RESCTRL is not set
CONFIG_X86_FRED=y
CONFIG_X86_EXTENDED_PLATFORM=y
# CONFIG_X86_NUMACHIP is not set
# CONFIG_X86_VSMP is not set
# CONFIG_X86_INTEL_MID is not set
# CONFIG_X86_GOLDFISH is not set
# CONFIG_X86_INTEL_LPSS is not set
# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
CONFIG_IOSF_MBI=y
# CONFIG_IOSF_MBI_DEBUG is not set
CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y
CONFIG_SCHED_OMIT_FRAME_POINTER=y
CONFIG_HYPERVISOR_GUEST=y
CONFIG_PARAVIRT=y
# CONFIG_PARAVIRT_DEBUG is not set
CONFIG_PARAVIRT_SPINLOCKS=y
CONFIG_X86_HV_CALLBACK_VECTOR=y
# CONFIG_XEN is not set
CONFIG_KVM_GUEST=y
CONFIG_ARCH_CPUIDLE_HALTPOLL=y
CONFIG_PVH=y
# CONFIG_PARAVIRT_TIME_ACCOUNTING is not set
CONFIG_PARAVIRT_CLOCK=y
# CONFIG_JAILHOUSE_GUEST is not set
# CONFIG_ACRN_GUEST is not set
# CONFIG_BHYVE_GUEST is not set
CONFIG_CC_HAS_MARCH_NATIVE=y
# CONFIG_X86_NATIVE_CPU is not set
CONFIG_X86_INTERNODE_CACHE_SHIFT=6
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_TSC=y
CONFIG_X86_HAVE_PAE=y
CONFIG_X86_CX8=y
CONFIG_X86_CMOV=y
CONFIG_X86_MINIMUM_CPU_FAMILY=64
CONFIG_X86_DEBUGCTLMSR=y
CONFIG_IA32_FEAT_CTL=y
CONFIG_X86_VMX_FEATURE_NAMES=y
CONFIG_PROCESSOR_SELECT=y
CONFIG_BROADCAST_TLB_FLUSH=y
CONFIG_CPU_SUP_INTEL=y
CONFIG_CPU_SUP_AMD=y
# CONFIG_CPU_SUP_HYGON is not set
# CONFIG_CPU_SUP_CENTAUR is not set
# CONFIG_CPU_SUP_ZHAOXIN is not set
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_DMI=y
# CONFIG_GART_IOMMU is not set
CONFIG_BOOT_VESA_SUPPORT=y
# CONFIG_MAXSMP is not set
CONFIG_NR_CPUS_RANGE_BEGIN=2
CONFIG_NR_CPUS_RANGE_END=512
CONFIG_NR_CPUS_DEFAULT=64
CONFIG_NR_CPUS=8
CONFIG_SCHED_MC_PRIO=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_ACPI_MADT_WAKEUP=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y
CONFIG_X86_MCE=y
# CONFIG_X86_MCELOG_LEGACY is not set
CONFIG_X86_MCE_INTEL=y
CONFIG_X86_MCE_AMD=y
CONFIG_X86_MCE_THRESHOLD=y
# CONFIG_X86_MCE_INJECT is not set

#
# Performance monitoring
#
CONFIG_PERF_EVENTS_INTEL_UNCORE=y
CONFIG_PERF_EVENTS_INTEL_RAPL=y
CONFIG_PERF_EVENTS_INTEL_CSTATE=y
# CONFIG_PERF_EVENTS_AMD_POWER is not set
CONFIG_PERF_EVENTS_AMD_UNCORE=y
# CONFIG_PERF_EVENTS_AMD_BRS is not set
# end of Performance monitoring

CONFIG_X86_16BIT=y
CONFIG_X86_ESPFIX64=y
CONFIG_X86_VSYSCALL_EMULATION=y
CONFIG_X86_IOPL_IOPERM=y
CONFIG_MICROCODE=y
# CONFIG_MICROCODE_LATE_LOADING is not set
# CONFIG_MICROCODE_DBG is not set
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
CONFIG_X86_DIRECT_GBPAGES=y
# CONFIG_X86_CPA_STATISTICS is not set
CONFIG_NUMA=y
CONFIG_AMD_NUMA=y
CONFIG_X86_64_ACPI_NUMA=y
CONFIG_NODES_SHIFT=6
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_DEFAULT=y
# CONFIG_ARCH_MEMORY_PROBE is not set
CONFIG_ARCH_PROC_KCORE_TEXT=y
CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000
# CONFIG_X86_PMEM_LEGACY is not set
# CONFIG_X86_CHECK_BIOS_CORRUPTION is not set
CONFIG_MTRR=y
# CONFIG_MTRR_SANITIZER is not set
CONFIG_X86_PAT=y
CONFIG_X86_UMIP=y
CONFIG_CC_HAS_IBT=y
CONFIG_X86_CET=y
CONFIG_X86_KERNEL_IBT=y
CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS=y
CONFIG_ARCH_PKEY_BITS=4
# CONFIG_X86_INTEL_TSX_MODE_OFF is not set
CONFIG_X86_INTEL_TSX_MODE_ON=y
# CONFIG_X86_INTEL_TSX_MODE_AUTO is not set
CONFIG_X86_SGX=y
CONFIG_X86_USER_SHADOW_STACK=y
# CONFIG_INTEL_TDX_HOST is not set
# CONFIG_EFI is not set
CONFIG_HZ_100=y
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=100
CONFIG_SCHED_HRTICK=y
CONFIG_ARCH_SUPPORTS_KEXEC=y
CONFIG_ARCH_SUPPORTS_KEXEC_FILE=y
CONFIG_ARCH_SUPPORTS_KEXEC_PURGATORY=y
CONFIG_ARCH_SUPPORTS_KEXEC_SIG=y
CONFIG_ARCH_SUPPORTS_KEXEC_SIG_FORCE=y
CONFIG_ARCH_SUPPORTS_KEXEC_BZIMAGE_VERIFY_SIG=y
CONFIG_ARCH_SUPPORTS_KEXEC_JUMP=y
CONFIG_ARCH_SUPPORTS_KEXEC_HANDOVER=y
CONFIG_ARCH_SUPPORTS_CRASH_DUMP=y
CONFIG_ARCH_DEFAULT_CRASH_DUMP=y
CONFIG_ARCH_SUPPORTS_CRASH_HOTPLUG=y
CONFIG_ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION=y
CONFIG_PHYSICAL_START=0x1000000
# CONFIG_RELOCATABLE is not set
CONFIG_PHYSICAL_ALIGN=0x200000
CONFIG_HOTPLUG_CPU=y
# CONFIG_COMPAT_VDSO is not set
CONFIG_LEGACY_VSYSCALL_XONLY=y
# CONFIG_LEGACY_VSYSCALL_NONE is not set
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="earlyprintk=serial net.ifnames=0 sysctl.kernel.hung_task_all_cpu_backtrace=1 ima_policy=tcb nf-conntrack-ftp.ports=20000 nf-conntrack-tftp.ports=20000 nf-conntrack-sip.ports=20000 nf-conntrack-irc.ports=20000 nf-conntrack-sane.ports=20000 binder.debug_mask=0 rcupdate.rcu_expedited=1 rcupdate.rcu_cpu_stall_cputime=1 no_hash_pointers page_owner=on sysctl.vm.nr_hugepages=4 sysctl.vm.nr_overcommit_hugepages=4 secretmem.enable=1 sysctl.max_rcu_stall_to_panic=1 msr.allow_writes=off coredump_filter=0xffff root=/dev/sda console=ttyS0 vsyscall=native numa=fake=2 kvm-intel.nested=1 spec_store_bypass_disable=prctl nopcid vivid.n_devs=64 vivid.multiplanar=1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2 netrom.nr_ndevs=32 rose.rose_ndevs=32 smp.csd_lock_timeout=100000 watchdog_thresh=55 workqueue.watchdog_thresh=140 sysctl.net.core.netdev_unregister_timeout_secs=140 dummy_hcd.num=32 max_loop=32 nbds_max=32 comedi.comedi_num_legacy_minors=4 panic_on_warn=1"
# CONFIG_CMDLINE_OVERRIDE is not set
CONFIG_MODIFY_LDT_SYSCALL=y
# CONFIG_STRICT_SIGALTSTACK_SIZE is not set
CONFIG_HAVE_LIVEPATCH=y
CONFIG_HAVE_KLP_BUILD=y
CONFIG_X86_BUS_LOCK_DETECT=y
# end of Processor type and features

CONFIG_CC_HAS_NAMED_AS=y
CONFIG_CC_HAS_NAMED_AS_FIXED_SANITIZERS=y
CONFIG_USE_X86_SEG_SUPPORT=y
CONFIG_CC_HAS_SLS=y
CONFIG_CC_HAS_RETURN_THUNK=y
CONFIG_CC_HAS_ENTRY_PADDING=y
CONFIG_FUNCTION_PADDING_CFI=11
CONFIG_FUNCTION_PADDING_BYTES=16
CONFIG_CALL_PADDING=y
CONFIG_HAVE_CALL_THUNKS=y
CONFIG_CALL_THUNKS=y
CONFIG_PREFIX_SYMBOLS=y
CONFIG_CPU_MITIGATIONS=y
CONFIG_MITIGATION_PAGE_TABLE_ISOLATION=y
CONFIG_MITIGATION_RETPOLINE=y
CONFIG_MITIGATION_RETHUNK=y
CONFIG_MITIGATION_UNRET_ENTRY=y
CONFIG_MITIGATION_CALL_DEPTH_TRACKING=y
# CONFIG_CALL_THUNKS_DEBUG is not set
CONFIG_MITIGATION_IBPB_ENTRY=y
CONFIG_MITIGATION_IBRS_ENTRY=y
CONFIG_MITIGATION_SRSO=y
# CONFIG_MITIGATION_SLS is not set
CONFIG_MITIGATION_GDS=y
CONFIG_MITIGATION_RFDS=y
CONFIG_MITIGATION_SPECTRE_BHI=y
CONFIG_MITIGATION_MDS=y
CONFIG_MITIGATION_TAA=y
CONFIG_MITIGATION_MMIO_STALE_DATA=y
CONFIG_MITIGATION_L1TF=y
CONFIG_MITIGATION_RETBLEED=y
CONFIG_MITIGATION_SPECTRE_V1=y
CONFIG_MITIGATION_SPECTRE_V2=y
CONFIG_MITIGATION_SRBDS=y
CONFIG_MITIGATION_SSB=y
CONFIG_MITIGATION_ITS=y
CONFIG_MITIGATION_TSA=y
# CONFIG_MITIGATION_VMSCAPE is not set
CONFIG_ARCH_HAS_ADD_PAGES=y

#
# Power management and ACPI options
#
CONFIG_ARCH_HIBERNATION_HEADER=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
# CONFIG_SUSPEND_SKIP_SYNC is not set
CONFIG_HIBERNATE_CALLBACKS=y
CONFIG_HIBERNATION=y
CONFIG_HIBERNATION_SNAPSHOT_DEV=y
CONFIG_HIBERNATION_COMP_LZO=y
# CONFIG_HIBERNATION_COMP_LZ4 is not set
CONFIG_HIBERNATION_DEF_COMP="lzo"
CONFIG_PM_STD_PARTITION=""
CONFIG_PM_SLEEP=y
CONFIG_PM_SLEEP_SMP=y
# CONFIG_PM_AUTOSLEEP is not set
# CONFIG_PM_USERSPACE_AUTOSLEEP is not set
# CONFIG_PM_WAKELOCKS is not set
# CONFIG_PM_QOS_CPU_SYSTEM_WAKEUP is not set
CONFIG_PM=y
CONFIG_PM_DEBUG=y
# CONFIG_PM_ADVANCED_DEBUG is not set
# CONFIG_PM_TEST_SUSPEND is not set
CONFIG_PM_SLEEP_DEBUG=y
# CONFIG_DPM_WATCHDOG is not set
CONFIG_PM_TRACE=y
CONFIG_PM_TRACE_RTC=y
CONFIG_PM_CLK=y
# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
# CONFIG_ENERGY_MODEL is not set
CONFIG_ARCH_SUPPORTS_ACPI=y
CONFIG_ACPI=y
CONFIG_ACPI_LEGACY_TABLES_LOOKUP=y
CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
CONFIG_ACPI_THERMAL_LIB=y
# CONFIG_ACPI_DEBUGGER is not set
CONFIG_ACPI_SPCR_TABLE=y
# CONFIG_ACPI_FPDT is not set
CONFIG_ACPI_LPIT=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y
CONFIG_ACPI_EC=y
# CONFIG_ACPI_EC_DEBUGFS is not set
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
CONFIG_ACPI_FAN=y
# CONFIG_ACPI_TAD is not set
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_CPU_FREQ_PSS=y
CONFIG_ACPI_PROCESSOR_CSTATE=y
CONFIG_ACPI_PROCESSOR_IDLE=y
CONFIG_ACPI_CPPC_LIB=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
# CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_PLATFORM_PROFILE=y
CONFIG_ARCH_HAS_ACPI_TABLE_UPGRADE=y
CONFIG_ACPI_TABLE_UPGRADE=y
CONFIG_ACPI_DEBUG=y
# CONFIG_ACPI_PCI_SLOT is not set
CONFIG_ACPI_CONTAINER=y
# CONFIG_ACPI_HOTPLUG_MEMORY is not set
CONFIG_ACPI_HOTPLUG_IOAPIC=y
# CONFIG_ACPI_SBS is not set
# CONFIG_ACPI_HED is not set
# CONFIG_ACPI_REDUCED_HARDWARE_ONLY is not set
CONFIG_ACPI_NHLT=y
CONFIG_ACPI_NFIT=y
# CONFIG_NFIT_SECURITY_DEBUG is not set
CONFIG_ACPI_NUMA=y
# CONFIG_ACPI_HMAT is not set
CONFIG_HAVE_ACPI_APEI=y
CONFIG_HAVE_ACPI_APEI_NMI=y
# CONFIG_ACPI_APEI is not set
# CONFIG_ACPI_DPTF is not set
# CONFIG_ACPI_EXTLOG is not set
# CONFIG_ACPI_CONFIGFS is not set
# CONFIG_ACPI_PFRUT is not set
CONFIG_ACPI_PCC=y
# CONFIG_ACPI_FFH is not set
CONFIG_ACPI_MRRM=y
CONFIG_PMIC_OPREGION=y
CONFIG_BXT_WC_PMIC_OPREGION=y
# CONFIG_CHT_WC_PMIC_OPREGION is not set
CONFIG_X86_PM_TIMER=y

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_GOV_ATTR_SET=y
CONFIG_CPU_FREQ_GOV_COMMON=y
# CONFIG_CPU_FREQ_STAT is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y

#
# CPU frequency scaling drivers
#
# CONFIG_CPUFREQ_DT is not set
# CONFIG_CPUFREQ_DT_PLATDEV is not set
CONFIG_X86_INTEL_PSTATE=y
# CONFIG_X86_PCC_CPUFREQ is not set
CONFIG_X86_AMD_PSTATE=y
CONFIG_X86_AMD_PSTATE_DEFAULT_MODE=3
# CONFIG_X86_AMD_PSTATE_UT is not set
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_ACPI_CPUFREQ_CPB=y
# CONFIG_X86_POWERNOW_K8 is not set
# CONFIG_X86_AMD_FREQ_SENSITIVITY is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_P4_CLOCKMOD is not set

#
# shared options
#
CONFIG_CPUFREQ_ARCH_CUR_FREQ=y
# end of CPU Frequency scaling

#
# CPU Idle
#
CONFIG_CPU_IDLE=y
# CONFIG_CPU_IDLE_GOV_LADDER is not set
CONFIG_CPU_IDLE_GOV_MENU=y
# CONFIG_CPU_IDLE_GOV_TEO is not set
CONFIG_CPU_IDLE_GOV_HALTPOLL=y
CONFIG_HALTPOLL_CPUIDLE=y
# end of CPU Idle

CONFIG_INTEL_IDLE=y
# end of Power management and ACPI options

#
# Bus options (PCI etc.)
#
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
CONFIG_MMCONF_FAM10H=y
CONFIG_ISA_BUS=y
CONFIG_ISA_DMA_API=y
CONFIG_AMD_NB=y
CONFIG_AMD_NODE=y
# end of Bus options (PCI etc.)

#
# Binary Emulations
#
CONFIG_IA32_EMULATION=y
# CONFIG_IA32_EMULATION_DEFAULT_DISABLED is not set
CONFIG_X86_X32_ABI=y
CONFIG_COMPAT_32=y
CONFIG_COMPAT=y
CONFIG_COMPAT_FOR_U64_ALIGNMENT=y
# end of Binary Emulations

CONFIG_KVM_COMMON=y
CONFIG_HAVE_KVM_PFNCACHE=y
CONFIG_HAVE_KVM_IRQCHIP=y
CONFIG_HAVE_KVM_IRQ_ROUTING=y
CONFIG_HAVE_KVM_DIRTY_RING=y
CONFIG_HAVE_KVM_DIRTY_RING_TSO=y
CONFIG_HAVE_KVM_DIRTY_RING_ACQ_REL=y
CONFIG_KVM_MMIO=y
CONFIG_KVM_ASYNC_PF=y
CONFIG_HAVE_KVM_MSI=y
CONFIG_HAVE_KVM_READONLY_MEM=y
CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y
CONFIG_KVM_VFIO=y
CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y
CONFIG_KVM_GENERIC_PRE_FAULT_MEMORY=y
CONFIG_KVM_COMPAT=y
CONFIG_HAVE_KVM_IRQ_BYPASS=y
CONFIG_HAVE_KVM_NO_POLL=y
CONFIG_VIRT_XFER_TO_GUEST_WORK=y
CONFIG_HAVE_KVM_PM_NOTIFIER=y
CONFIG_KVM_GENERIC_HARDWARE_ENABLING=y
CONFIG_KVM_GENERIC_MMU_NOTIFIER=y
CONFIG_KVM_ELIDE_TLB_FLUSH_IF_YOUNG=y
CONFIG_KVM_MMU_LOCKLESS_AGING=y
CONFIG_KVM_GENERIC_MEMORY_ATTRIBUTES=y
CONFIG_KVM_GUEST_MEMFD=y
CONFIG_VIRTUALIZATION=y
CONFIG_KVM_X86=y
CONFIG_KVM=y
CONFIG_KVM_SW_PROTECTED_VM=y
CONFIG_KVM_INTEL=y
# CONFIG_KVM_INTEL_PROVE_VE is not set
CONFIG_X86_SGX_KVM=y
CONFIG_KVM_AMD=y
CONFIG_KVM_IOAPIC=y
# CONFIG_KVM_SMM is not set
CONFIG_KVM_HYPERV=y
CONFIG_KVM_XEN=y
CONFIG_KVM_PROVE_MMU=y
CONFIG_KVM_MAX_NR_VCPUS=1024
CONFIG_X86_REQUIRED_FEATURE_ALWAYS=y
CONFIG_X86_REQUIRED_FEATURE_NOPL=y
CONFIG_X86_REQUIRED_FEATURE_CX8=y
CONFIG_X86_REQUIRED_FEATURE_CMOV=y
CONFIG_X86_REQUIRED_FEATURE_CPUID=y
CONFIG_X86_REQUIRED_FEATURE_FPU=y
CONFIG_X86_REQUIRED_FEATURE_PAE=y
CONFIG_X86_REQUIRED_FEATURE_PSE=y
CONFIG_X86_REQUIRED_FEATURE_PGE=y
CONFIG_X86_REQUIRED_FEATURE_MSR=y
CONFIG_X86_REQUIRED_FEATURE_FXSR=y
CONFIG_X86_REQUIRED_FEATURE_XMM=y
CONFIG_X86_REQUIRED_FEATURE_XMM2=y
CONFIG_X86_REQUIRED_FEATURE_LM=y
CONFIG_X86_DISABLED_FEATURE_VME=y
CONFIG_X86_DISABLED_FEATURE_K6_MTRR=y
CONFIG_X86_DISABLED_FEATURE_CYRIX_ARR=y
CONFIG_X86_DISABLED_FEATURE_CENTAUR_MCR=y
CONFIG_X86_DISABLED_FEATURE_LAM=y
CONFIG_X86_DISABLED_FEATURE_XENPV=y
CONFIG_X86_DISABLED_FEATURE_TDX_GUEST=y
CONFIG_X86_DISABLED_FEATURE_SEV_SNP=y
CONFIG_AS_WRUSS=y
CONFIG_ARCH_CONFIGURES_CPU_MITIGATIONS=y

#
# General architecture-dependent options
#
CONFIG_HOTPLUG_SMT=y
CONFIG_ARCH_SUPPORTS_SCHED_SMT=y
CONFIG_ARCH_SUPPORTS_SCHED_CLUSTER=y
CONFIG_ARCH_SUPPORTS_SCHED_MC=y
CONFIG_SCHED_SMT=y
CONFIG_SCHED_CLUSTER=y
CONFIG_SCHED_MC=y
CONFIG_HOTPLUG_CORE_SYNC=y
CONFIG_HOTPLUG_CORE_SYNC_DEAD=y
CONFIG_HOTPLUG_CORE_SYNC_FULL=y
CONFIG_HOTPLUG_SPLIT_STARTUP=y
CONFIG_HOTPLUG_PARALLEL=y
CONFIG_GENERIC_IRQ_ENTRY=y
CONFIG_GENERIC_SYSCALL=y
CONFIG_GENERIC_ENTRY=y
# CONFIG_KPROBES is not set
CONFIG_JUMP_LABEL=y
# CONFIG_STATIC_KEYS_SELFTEST is not set
# CONFIG_STATIC_CALL_SELFTEST is not set
CONFIG_UPROBES=y
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
CONFIG_ARCH_USE_BUILTIN_BSWAP=y
CONFIG_USER_RETURN_NOTIFIER=y
CONFIG_HAVE_IOREMAP_PROT=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_OPTPROBES=y
CONFIG_HAVE_KPROBES_ON_FTRACE=y
CONFIG_ARCH_CORRECT_STACKTRACE_ON_KRETPROBE=y
CONFIG_HAVE_FUNCTION_ERROR_INJECTION=y
CONFIG_HAVE_NMI=y
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_TRACE_IRQFLAGS_NMI_SUPPORT=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_DMA_CONTIGUOUS=y
CONFIG_GENERIC_SMP_IDLE_THREAD=y
CONFIG_ARCH_HAS_FORTIFY_SOURCE=y
CONFIG_ARCH_HAS_SET_MEMORY=y
CONFIG_ARCH_HAS_SET_DIRECT_MAP=y
CONFIG_ARCH_HAS_CPU_FINALIZE_INIT=y
CONFIG_ARCH_HAS_CPU_PASID=y
CONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=y
CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT=y
CONFIG_ARCH_WANTS_NO_INSTR=y
CONFIG_HAVE_ASM_MODVERSIONS=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_RSEQ=y
CONFIG_HAVE_RUST=y
CONFIG_HAVE_FUNCTION_ARG_ACCESS_API=y
CONFIG_HAVE_HW_BREAKPOINT=y
CONFIG_HAVE_MIXED_BREAKPOINTS_REGS=y
CONFIG_HAVE_USER_RETURN_NOTIFIER=y
CONFIG_HAVE_PERF_EVENTS_NMI=y
CONFIG_HAVE_HARDLOCKUP_DETECTOR_PERF=y
CONFIG_UNWIND_USER=y
CONFIG_HAVE_UNWIND_USER_FP=y
CONFIG_HAVE_PERF_REGS=y
CONFIG_HAVE_PERF_USER_STACK_DUMP=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y
CONFIG_HAVE_ARCH_JUMP_LABEL_RELATIVE=y
CONFIG_MMU_GATHER_TABLE_FREE=y
CONFIG_MMU_GATHER_RCU_TABLE_FREE=y
CONFIG_MMU_GATHER_MERGE_VMAS=y
CONFIG_ARCH_WANT_IRQS_OFF_ACTIVATE_MM=y
CONFIG_MMU_LAZY_TLB_REFCOUNT=y
CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y
CONFIG_ARCH_HAVE_EXTRA_ELF_NOTES=y
CONFIG_ARCH_HAS_NMI_SAFE_THIS_CPU_OPS=y
CONFIG_HAVE_ALIGNED_STRUCT_PAGE=y
CONFIG_HAVE_CMPXCHG_LOCAL=y
CONFIG_HAVE_CMPXCHG_DOUBLE=y
CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y
CONFIG_ARCH_WANT_OLD_COMPAT_IPC=y
CONFIG_HAVE_ARCH_SECCOMP=y
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_SECCOMP=y
CONFIG_SECCOMP_FILTER=y
# CONFIG_SECCOMP_CACHE_DEBUG is not set
CONFIG_HAVE_ARCH_KSTACK_ERASE=y
CONFIG_HAVE_STACKPROTECTOR=y
CONFIG_STACKPROTECTOR=y
CONFIG_STACKPROTECTOR_STRONG=y
CONFIG_ARCH_SUPPORTS_LTO_CLANG=y
CONFIG_ARCH_SUPPORTS_LTO_CLANG_THIN=y
CONFIG_LTO_NONE=y
CONFIG_ARCH_SUPPORTS_AUTOFDO_CLANG=y
CONFIG_ARCH_SUPPORTS_PROPELLER_CLANG=y
CONFIG_ARCH_SUPPORTS_CFI=y
CONFIG_HAVE_ARCH_WITHIN_STACK_FRAMES=y
CONFIG_HAVE_CONTEXT_TRACKING_USER=y
CONFIG_HAVE_CONTEXT_TRACKING_USER_OFFSTACK=y
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
CONFIG_HAVE_MOVE_PUD=y
CONFIG_HAVE_MOVE_PMD=y
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD=y
CONFIG_HAVE_ARCH_HUGE_VMAP=y
CONFIG_HAVE_ARCH_HUGE_VMALLOC=y
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
CONFIG_ARCH_WANT_PMD_MKWRITE=y
CONFIG_HAVE_ARCH_SOFT_DIRTY=y
CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
CONFIG_MODULES_USE_ELF_RELA=y
CONFIG_ARCH_HAS_EXECMEM_ROX=y
CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y
CONFIG_HAVE_SOFTIRQ_ON_OWN_STACK=y
CONFIG_SOFTIRQ_ON_OWN_STACK=y
CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
CONFIG_HAVE_ARCH_MMAP_RND_BITS=y
CONFIG_HAVE_EXIT_THREAD=y
CONFIG_ARCH_MMAP_RND_BITS=28
CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS=y
CONFIG_ARCH_MMAP_RND_COMPAT_BITS=8
CONFIG_HAVE_ARCH_COMPAT_MMAP_BASES=y
CONFIG_HAVE_PAGE_SIZE_4KB=y
CONFIG_PAGE_SIZE_4KB=y
CONFIG_PAGE_SIZE_LESS_THAN_64KB=y
CONFIG_PAGE_SIZE_LESS_THAN_256KB=y
CONFIG_PAGE_SHIFT=12
CONFIG_HAVE_OBJTOOL=y
CONFIG_HAVE_JUMP_LABEL_HACK=y
CONFIG_HAVE_NOINSTR_HACK=y
CONFIG_HAVE_NOINSTR_VALIDATION=y
CONFIG_HAVE_UACCESS_VALIDATION=y
CONFIG_HAVE_STACK_VALIDATION=y
CONFIG_HAVE_RELIABLE_STACKTRACE=y
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_COMPAT_OLD_SIGACTION=y
CONFIG_COMPAT_32BIT_TIME=y
CONFIG_ARCH_SUPPORTS_RT=y
CONFIG_HAVE_ARCH_VMAP_STACK=y
CONFIG_VMAP_STACK=y
CONFIG_HAVE_ARCH_RANDOMIZE_KSTACK_OFFSET=y
CONFIG_RANDOMIZE_KSTACK_OFFSET=y
# CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT is not set
CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y
CONFIG_STRICT_KERNEL_RWX=y
CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y
CONFIG_STRICT_MODULE_RWX=y
CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y
# CONFIG_LOCK_EVENT_COUNTS is not set
CONFIG_ARCH_HAS_MEM_ENCRYPT=y
CONFIG_HAVE_STATIC_CALL=y
CONFIG_HAVE_STATIC_CALL_INLINE=y
CONFIG_HAVE_PREEMPT_DYNAMIC=y
CONFIG_HAVE_PREEMPT_DYNAMIC_CALL=y
CONFIG_ARCH_WANT_LD_ORPHAN_WARN=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_ARCH_SUPPORTS_PAGE_TABLE_CHECK=y
CONFIG_ARCH_HAS_ELFCORE_COMPAT=y
CONFIG_ARCH_HAS_PARANOID_L1D_FLUSH=y
CONFIG_DYNAMIC_SIGFRAME=y
CONFIG_HAVE_ARCH_NODE_DEV_GROUP=y
CONFIG_ARCH_HAS_HW_PTE_YOUNG=y
CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG=y
CONFIG_ARCH_HAS_KERNEL_FPU_SUPPORT=y
CONFIG_HAVE_GENERIC_TIF_BITS=y

#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not set
CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
# end of GCOV-based kernel profiling

CONFIG_HAVE_GCC_PLUGINS=y
CONFIG_FUNCTION_ALIGNMENT_4B=y
CONFIG_FUNCTION_ALIGNMENT_16B=y
CONFIG_FUNCTION_ALIGNMENT=16
CONFIG_CC_HAS_MIN_FUNCTION_ALIGNMENT=y
CONFIG_CC_HAS_SANE_FUNCTION_ALIGNMENT=y
CONFIG_ARCH_HAS_CPU_ATTACK_VECTORS=y
# end of General architecture-dependent options

CONFIG_RT_MUTEXES=y
CONFIG_MODULE_SIG_FORMAT=y
CONFIG_MODULES=y
# CONFIG_MODULE_DEBUG is not set
# CONFIG_MODULE_FORCE_LOAD is not set
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
# CONFIG_MODULE_UNLOAD_TAINT_TRACKING is not set
CONFIG_MODVERSIONS=y
# CONFIG_GENKSYMS is not set
CONFIG_GENDWARFKSYMS=y
CONFIG_ASM_MODVERSIONS=y
# CONFIG_EXTENDED_MODVERSIONS is not set
# CONFIG_BASIC_MODVERSIONS is not set
CONFIG_MODULE_SRCVERSION_ALL=y
CONFIG_MODULE_SIG=y
# CONFIG_MODULE_SIG_FORCE is not set
# CONFIG_MODULE_SIG_ALL is not set
# CONFIG_MODULE_SIG_SHA1 is not set
CONFIG_MODULE_SIG_SHA256=y
# CONFIG_MODULE_SIG_SHA384 is not set
# CONFIG_MODULE_SIG_SHA512 is not set
# CONFIG_MODULE_SIG_SHA3_256 is not set
# CONFIG_MODULE_SIG_SHA3_384 is not set
# CONFIG_MODULE_SIG_SHA3_512 is not set
CONFIG_MODULE_SIG_HASH="sha256"
# CONFIG_MODULE_COMPRESS is not set
# CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS is not set
CONFIG_MODPROBE_PATH="/sbin/modprobe"
# CONFIG_TRIM_UNUSED_KSYMS is not set
CONFIG_MODULES_TREE_LOOKUP=y
CONFIG_BLOCK=y
CONFIG_BLOCK_LEGACY_AUTOLOAD=y
CONFIG_BLK_RQ_ALLOC_TIME=y
CONFIG_BLK_CGROUP_RWSTAT=y
CONFIG_BLK_CGROUP_PUNT_BIO=y
CONFIG_BLK_DEV_BSG_COMMON=y
CONFIG_BLK_ICQ=y
CONFIG_BLK_DEV_BSGLIB=y
CONFIG_BLK_DEV_INTEGRITY=y
# CONFIG_BLK_DEV_WRITE_MOUNTED is not set
CONFIG_BLK_DEV_ZONED=y
CONFIG_BLK_DEV_THROTTLING=y
CONFIG_BLK_WBT=y
CONFIG_BLK_WBT_MQ=y
CONFIG_BLK_CGROUP_IOLATENCY=y
# CONFIG_BLK_CGROUP_FC_APPID is not set
CONFIG_BLK_CGROUP_IOCOST=y
CONFIG_BLK_CGROUP_IOPRIO=y
CONFIG_BLK_DEBUG_FS=y
# CONFIG_BLK_SED_OPAL is not set
CONFIG_BLK_INLINE_ENCRYPTION=y
CONFIG_BLK_INLINE_ENCRYPTION_FALLBACK=y

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
CONFIG_ACORN_PARTITION=y
CONFIG_ACORN_PARTITION_CUMANA=y
CONFIG_ACORN_PARTITION_EESOX=y
CONFIG_ACORN_PARTITION_ICS=y
CONFIG_ACORN_PARTITION_ADFS=y
CONFIG_ACORN_PARTITION_POWERTEC=y
CONFIG_ACORN_PARTITION_RISCIX=y
CONFIG_AIX_PARTITION=y
CONFIG_OSF_PARTITION=y
CONFIG_AMIGA_PARTITION=y
CONFIG_ATARI_PARTITION=y
CONFIG_MAC_PARTITION=y
CONFIG_MSDOS_PARTITION=y
CONFIG_BSD_DISKLABEL=y
CONFIG_MINIX_SUBPARTITION=y
CONFIG_SOLARIS_X86_PARTITION=y
CONFIG_UNIXWARE_DISKLABEL=y
CONFIG_LDM_PARTITION=y
# CONFIG_LDM_DEBUG is not set
CONFIG_SGI_PARTITION=y
CONFIG_ULTRIX_PARTITION=y
CONFIG_SUN_PARTITION=y
CONFIG_KARMA_PARTITION=y
CONFIG_EFI_PARTITION=y
CONFIG_SYSV68_PARTITION=y
CONFIG_CMDLINE_PARTITION=y
# CONFIG_OF_PARTITION is not set
# end of Partition Types

CONFIG_BLK_PM=y
CONFIG_BLOCK_HOLDER_DEPRECATED=y
CONFIG_BLK_MQ_STACKING=y

#
# IO Schedulers
#
CONFIG_MQ_IOSCHED_DEADLINE=y
CONFIG_MQ_IOSCHED_KYBER=y
CONFIG_IOSCHED_BFQ=y
CONFIG_BFQ_GROUP_IOSCHED=y
CONFIG_BFQ_CGROUP_DEBUG=y
# end of IO Schedulers

CONFIG_PREEMPT_NOTIFIERS=y
CONFIG_PADATA=y
CONFIG_ASN1=y
CONFIG_UNINLINE_SPIN_UNLOCK=y
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
CONFIG_MUTEX_SPIN_ON_OWNER=y
CONFIG_RWSEM_SPIN_ON_OWNER=y
CONFIG_LOCK_SPIN_ON_OWNER=y
CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
CONFIG_QUEUED_SPINLOCKS=y
CONFIG_ARCH_USE_QUEUED_RWLOCKS=y
CONFIG_QUEUED_RWLOCKS=y
CONFIG_ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE=y
CONFIG_ARCH_HAS_SYNC_CORE_BEFORE_USERMODE=y
CONFIG_ARCH_HAS_SYSCALL_WRAPPER=y
CONFIG_FREEZER=y

#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
CONFIG_COMPAT_BINFMT_ELF=y
CONFIG_ELFCORE=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_BINFMT_SCRIPT=y
CONFIG_BINFMT_MISC=y
CONFIG_COREDUMP=y
# end of Executable file formats

#
# Memory Management options
#
CONFIG_SWAP=y
CONFIG_ZSWAP=y
CONFIG_ZSWAP_DEFAULT_ON=y
CONFIG_ZSWAP_SHRINKER_DEFAULT_ON=y
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_DEFLATE is not set
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZO is not set
CONFIG_ZSWAP_COMPRESSOR_DEFAULT_842=y
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4 is not set
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4HC is not set
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_ZSTD is not set
CONFIG_ZSWAP_COMPRESSOR_DEFAULT="842"
CONFIG_ZSMALLOC=y

#
# Zsmalloc allocator options
#

#
# Zsmalloc is a common backend allocator for zswap & zram
#
# CONFIG_ZSMALLOC_STAT is not set
CONFIG_ZSMALLOC_CHAIN_SIZE=8
# end of Zsmalloc allocator options

#
# Slab allocator options
#
CONFIG_SLUB=y
CONFIG_KVFREE_RCU_BATCHED=y
# CONFIG_SLUB_TINY is not set
CONFIG_SLAB_MERGE_DEFAULT=y
# CONFIG_SLAB_FREELIST_RANDOM is not set
# CONFIG_SLAB_FREELIST_HARDENED is not set
# CONFIG_SLAB_BUCKETS is not set
# CONFIG_SLUB_STATS is not set
CONFIG_SLUB_CPU_PARTIAL=y
# CONFIG_RANDOM_KMALLOC_CACHES is not set
# end of Slab allocator options

# CONFIG_SHUFFLE_PAGE_ALLOCATOR is not set
# CONFIG_COMPAT_BRK is not set
CONFIG_SPARSEMEM=y
CONFIG_SPARSEMEM_EXTREME=y
CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y
CONFIG_SPARSEMEM_VMEMMAP=y
CONFIG_SPARSEMEM_VMEMMAP_PREINIT=y
CONFIG_ARCH_WANT_OPTIMIZE_DAX_VMEMMAP=y
CONFIG_ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP=y
CONFIG_ARCH_WANT_HUGETLB_VMEMMAP_PREINIT=y
CONFIG_HAVE_GUP_FAST=y
CONFIG_NUMA_KEEP_MEMINFO=y
CONFIG_MEMORY_ISOLATION=y
CONFIG_EXCLUSIVE_SYSTEM_RAM=y
CONFIG_HAVE_BOOTMEM_INFO_NODE=y
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y
CONFIG_MEMORY_HOTPLUG=y
# CONFIG_MHP_DEFAULT_ONLINE_TYPE_OFFLINE is not set
CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_AUTO=y
# CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_KERNEL is not set
# CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_MOVABLE is not set
CONFIG_MEMORY_HOTREMOVE=y
CONFIG_MHP_MEMMAP_ON_MEMORY=y
CONFIG_ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE=y
CONFIG_SPLIT_PTE_PTLOCKS=y
CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=y
CONFIG_SPLIT_PMD_PTLOCKS=y
CONFIG_MEMORY_BALLOON=y
# CONFIG_BALLOON_COMPACTION is not set
CONFIG_COMPACTION=y
CONFIG_COMPACT_UNEVICTABLE_DEFAULT=1
CONFIG_PAGE_REPORTING=y
CONFIG_MIGRATION=y
CONFIG_DEVICE_MIGRATION=y
CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION=y
CONFIG_ARCH_ENABLE_THP_MIGRATION=y
CONFIG_CONTIG_ALLOC=y
CONFIG_PCP_BATCH_SCALE_MAX=5
CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_MMU_NOTIFIER=y
CONFIG_KSM=y
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
# CONFIG_MEMORY_FAILURE is not set
CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
CONFIG_ARCH_WANTS_THP_SWAP=y
# CONFIG_PERSISTENT_HUGE_ZERO_FOLIO is not set
CONFIG_MM_ID=y
CONFIG_TRANSPARENT_HUGEPAGE=y
# CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS is not set
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
# CONFIG_TRANSPARENT_HUGEPAGE_NEVER is not set
# CONFIG_TRANSPARENT_HUGEPAGE_SHMEM_HUGE_NEVER is not set
# CONFIG_TRANSPARENT_HUGEPAGE_SHMEM_HUGE_ALWAYS is not set
# CONFIG_TRANSPARENT_HUGEPAGE_SHMEM_HUGE_WITHIN_SIZE is not set
CONFIG_TRANSPARENT_HUGEPAGE_SHMEM_HUGE_ADVISE=y
# CONFIG_TRANSPARENT_HUGEPAGE_TMPFS_HUGE_NEVER is not set
# CONFIG_TRANSPARENT_HUGEPAGE_TMPFS_HUGE_ALWAYS is not set
# CONFIG_TRANSPARENT_HUGEPAGE_TMPFS_HUGE_WITHIN_SIZE is not set
CONFIG_TRANSPARENT_HUGEPAGE_TMPFS_HUGE_ADVISE=y
CONFIG_THP_SWAP=y
CONFIG_READ_ONLY_THP_FOR_FS=y
# CONFIG_NO_PAGE_MAPCOUNT is not set
CONFIG_PAGE_MAPCOUNT=y
CONFIG_PGTABLE_HAS_HUGE_LEAVES=y
CONFIG_HAVE_GIGANTIC_FOLIOS=y
CONFIG_ASYNC_KERNEL_PGTABLE_FREE=y
CONFIG_ARCH_SUPPORTS_HUGE_PFNMAP=y
CONFIG_ARCH_SUPPORTS_PMD_PFNMAP=y
CONFIG_ARCH_SUPPORTS_PUD_PFNMAP=y
CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
CONFIG_USE_PERCPU_NUMA_NODE_ID=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_CMA=y
# CONFIG_CMA_DEBUGFS is not set
# CONFIG_CMA_SYSFS is not set
CONFIG_CMA_AREAS=20
CONFIG_PAGE_BLOCK_MAX_ORDER=10
CONFIG_MEM_SOFT_DIRTY=y
CONFIG_GENERIC_EARLY_IOREMAP=y
# CONFIG_DEFERRED_STRUCT_PAGE_INIT is not set
CONFIG_PAGE_IDLE_FLAG=y
# CONFIG_IDLE_PAGE_TRACKING is not set
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
CONFIG_ARCH_HAS_CURRENT_STACK_POINTER=y
CONFIG_ARCH_HAS_ZONE_DMA_SET=y
CONFIG_ZONE_DMA=y
CONFIG_ZONE_DMA32=y
CONFIG_ZONE_DEVICE=y
CONFIG_HMM_MIRROR=y
CONFIG_GET_FREE_REGION=y
CONFIG_DEVICE_PRIVATE=y
CONFIG_VMAP_PFN=y
CONFIG_ARCH_USES_HIGH_VMA_FLAGS=y
CONFIG_ARCH_HAS_PKEYS=y
CONFIG_ARCH_USES_PG_ARCH_2=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_PERCPU_STATS=y
# CONFIG_GUP_TEST is not set
# CONFIG_DMAPOOL_TEST is not set
CONFIG_ARCH_HAS_PTE_SPECIAL=y
CONFIG_MAPPING_DIRTY_HELPERS=y
CONFIG_KMAP_LOCAL=y
CONFIG_MEMFD_CREATE=y
CONFIG_SECRETMEM=y
CONFIG_ANON_VMA_NAME=y
CONFIG_HAVE_ARCH_USERFAULTFD_WP=y
CONFIG_HAVE_ARCH_USERFAULTFD_MINOR=y
CONFIG_USERFAULTFD=y
# CONFIG_PTE_MARKER_UFFD_WP is not set
CONFIG_LRU_GEN=y
CONFIG_LRU_GEN_ENABLED=y
# CONFIG_LRU_GEN_STATS is not set
CONFIG_LRU_GEN_WALKS_MMU=y
CONFIG_ARCH_SUPPORTS_PER_VMA_LOCK=y
CONFIG_PER_VMA_LOCK=y
CONFIG_LOCK_MM_AND_FIND_VMA=y
CONFIG_IOMMU_MM_DATA=y
CONFIG_EXECMEM=y
CONFIG_NUMA_MEMBLKS=y
CONFIG_NUMA_EMU=y
CONFIG_ARCH_HAS_USER_SHADOW_STACK=y
CONFIG_ARCH_SUPPORTS_PT_RECLAIM=y
CONFIG_PT_RECLAIM=y

#
# Data Access Monitoring
#
CONFIG_DAMON=y
CONFIG_DAMON_VADDR=y
CONFIG_DAMON_PADDR=y
# CONFIG_DAMON_SYSFS is not set
CONFIG_DAMON_RECLAIM=y
# CONFIG_DAMON_LRU_SORT is not set
# CONFIG_DAMON_STAT is not set
# end of Data Access Monitoring
# end of Memory Management options

CONFIG_NET=y
CONFIG_WANT_COMPAT_NETLINK_MESSAGES=y
CONFIG_COMPAT_NETLINK_MESSAGES=y
CONFIG_NET_INGRESS=y
CONFIG_NET_EGRESS=y
CONFIG_NET_XGRESS=y
CONFIG_NET_REDIRECT=y
CONFIG_SKB_DECRYPTED=y
CONFIG_SKB_EXTENSIONS=y
CONFIG_NET_DEVMEM=y
CONFIG_NET_SHAPER=y
CONFIG_NET_CRC32C=y

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_DIAG=y
CONFIG_INET_PSP=y
CONFIG_UNIX=y
CONFIG_AF_UNIX_OOB=y
CONFIG_UNIX_DIAG=y
CONFIG_TLS=y
CONFIG_TLS_DEVICE=y
CONFIG_TLS_TOE=y
CONFIG_XFRM=y
CONFIG_XFRM_OFFLOAD=y
CONFIG_XFRM_ALGO=y
CONFIG_XFRM_USER=y
CONFIG_XFRM_USER_COMPAT=y
CONFIG_XFRM_INTERFACE=y
CONFIG_XFRM_SUB_POLICY=y
CONFIG_XFRM_MIGRATE=y
CONFIG_XFRM_STATISTICS=y
CONFIG_XFRM_AH=y
CONFIG_XFRM_ESP=y
CONFIG_XFRM_IPCOMP=y
CONFIG_NET_KEY=y
CONFIG_NET_KEY_MIGRATE=y
# CONFIG_XFRM_IPTFS is not set
CONFIG_XFRM_ESPINTCP=y
CONFIG_SMC=y
CONFIG_SMC_DIAG=y
# CONFIG_SMC_HS_CTRL_BPF is not set
CONFIG_DIBS=y
CONFIG_DIBS_LO=y
CONFIG_XDP_SOCKETS=y
CONFIG_XDP_SOCKETS_DIAG=y
CONFIG_NET_HANDSHAKE=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_FIB_TRIE_STATS=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_VERBOSE=y
CONFIG_IP_ROUTE_CLASSID=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
CONFIG_IP_PNP_BOOTP=y
CONFIG_IP_PNP_RARP=y
CONFIG_NET_IPIP=y
CONFIG_NET_IPGRE_DEMUX=y
CONFIG_NET_IP_TUNNEL=y
CONFIG_NET_IPGRE=y
CONFIG_NET_IPGRE_BROADCAST=y
CONFIG_IP_MROUTE_COMMON=y
CONFIG_IP_MROUTE=y
CONFIG_IP_MROUTE_MULTIPLE_TABLES=y
CONFIG_IP_PIMSM_V1=y
CONFIG_IP_PIMSM_V2=y
CONFIG_SYN_COOKIES=y
CONFIG_NET_IPVTI=y
CONFIG_NET_UDP_TUNNEL=y
CONFIG_NET_FOU=y
CONFIG_NET_FOU_IP_TUNNELS=y
CONFIG_INET_AH=y
CONFIG_INET_ESP=y
CONFIG_INET_ESP_OFFLOAD=y
CONFIG_INET_ESPINTCP=y
CONFIG_INET_IPCOMP=y
CONFIG_INET_TABLE_PERTURB_ORDER=16
CONFIG_INET_XFRM_TUNNEL=y
CONFIG_INET_TUNNEL=y
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
CONFIG_INET_UDP_DIAG=y
CONFIG_INET_RAW_DIAG=y
CONFIG_INET_DIAG_DESTROY=y
CONFIG_TCP_CONG_ADVANCED=y
CONFIG_TCP_CONG_BIC=y
CONFIG_TCP_CONG_CUBIC=y
CONFIG_TCP_CONG_WESTWOOD=y
CONFIG_TCP_CONG_HTCP=y
CONFIG_TCP_CONG_HSTCP=y
CONFIG_TCP_CONG_HYBLA=y
CONFIG_TCP_CONG_VEGAS=y
CONFIG_TCP_CONG_NV=y
CONFIG_TCP_CONG_SCALABLE=y
CONFIG_TCP_CONG_LP=y
CONFIG_TCP_CONG_VENO=y
CONFIG_TCP_CONG_YEAH=y
CONFIG_TCP_CONG_ILLINOIS=y
CONFIG_TCP_CONG_DCTCP=y
CONFIG_TCP_CONG_CDG=y
CONFIG_TCP_CONG_BBR=y
# CONFIG_DEFAULT_BIC is not set
CONFIG_DEFAULT_CUBIC=y
# CONFIG_DEFAULT_HTCP is not set
# CONFIG_DEFAULT_HYBLA is not set
# CONFIG_DEFAULT_VEGAS is not set
# CONFIG_DEFAULT_VENO is not set
# CONFIG_DEFAULT_WESTWOOD is not set
# CONFIG_DEFAULT_DCTCP is not set
# CONFIG_DEFAULT_CDG is not set
# CONFIG_DEFAULT_BBR is not set
# CONFIG_DEFAULT_RENO is not set
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_AO is not set
CONFIG_TCP_MD5SIG=y
CONFIG_IPV6=y
CONFIG_IPV6_ROUTER_PREF=y
CONFIG_IPV6_ROUTE_INFO=y
CONFIG_IPV6_OPTIMISTIC_DAD=y
CONFIG_INET6_AH=y
CONFIG_INET6_ESP=y
CONFIG_INET6_ESP_OFFLOAD=y
CONFIG_INET6_ESPINTCP=y
CONFIG_INET6_IPCOMP=y
CONFIG_IPV6_MIP6=y
CONFIG_IPV6_ILA=y
CONFIG_INET6_XFRM_TUNNEL=y
CONFIG_INET6_TUNNEL=y
CONFIG_IPV6_VTI=y
CONFIG_IPV6_SIT=y
CONFIG_IPV6_SIT_6RD=y
CONFIG_IPV6_NDISC_NODETYPE=y
CONFIG_IPV6_TUNNEL=y
CONFIG_IPV6_GRE=y
CONFIG_IPV6_FOU=y
CONFIG_IPV6_FOU_TUNNEL=y
CONFIG_IPV6_MULTIPLE_TABLES=y
CONFIG_IPV6_SUBTREES=y
CONFIG_IPV6_MROUTE=y
CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y
CONFIG_IPV6_PIMSM_V2=y
CONFIG_IPV6_SEG6_LWTUNNEL=y
CONFIG_IPV6_SEG6_HMAC=y
CONFIG_IPV6_SEG6_BPF=y
CONFIG_IPV6_RPL_LWTUNNEL=y
# CONFIG_IPV6_IOAM6_LWTUNNEL is not set
CONFIG_NETLABEL=y
CONFIG_MPTCP=y
CONFIG_INET_MPTCP_DIAG=y
CONFIG_MPTCP_IPV6=y
CONFIG_NETWORK_SECMARK=y
CONFIG_NET_PTP_CLASSIFY=y
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
CONFIG_NETFILTER=y
CONFIG_NETFILTER_ADVANCED=y
CONFIG_BRIDGE_NETFILTER=y

#
# Core Netfilter Configuration
#
CONFIG_NETFILTER_INGRESS=y
CONFIG_NETFILTER_EGRESS=y
CONFIG_NETFILTER_SKIP_EGRESS=y
CONFIG_NETFILTER_NETLINK=y
CONFIG_NETFILTER_FAMILY_BRIDGE=y
CONFIG_NETFILTER_FAMILY_ARP=y
CONFIG_NETFILTER_BPF_LINK=y
# CONFIG_NETFILTER_NETLINK_HOOK is not set
CONFIG_NETFILTER_NETLINK_ACCT=y
CONFIG_NETFILTER_NETLINK_QUEUE=y
CONFIG_NETFILTER_NETLINK_LOG=y
CONFIG_NETFILTER_NETLINK_OSF=y
CONFIG_NF_CONNTRACK=y
CONFIG_NF_LOG_SYSLOG=y
CONFIG_NETFILTER_CONNCOUNT=y
CONFIG_NF_CONNTRACK_MARK=y
CONFIG_NF_CONNTRACK_SECMARK=y
CONFIG_NF_CONNTRACK_ZONES=y
# CONFIG_NF_CONNTRACK_PROCFS is not set
CONFIG_NF_CONNTRACK_EVENTS=y
CONFIG_NF_CONNTRACK_TIMEOUT=y
CONFIG_NF_CONNTRACK_TIMESTAMP=y
CONFIG_NF_CONNTRACK_LABELS=y
CONFIG_NF_CONNTRACK_OVS=y
CONFIG_NF_CT_PROTO_GRE=y
CONFIG_NF_CT_PROTO_SCTP=y
CONFIG_NF_CT_PROTO_UDPLITE=y
CONFIG_NF_CONNTRACK_AMANDA=y
CONFIG_NF_CONNTRACK_FTP=y
CONFIG_NF_CONNTRACK_H323=y
CONFIG_NF_CONNTRACK_IRC=y
CONFIG_NF_CONNTRACK_BROADCAST=y
CONFIG_NF_CONNTRACK_NETBIOS_NS=y
CONFIG_NF_CONNTRACK_SNMP=y
CONFIG_NF_CONNTRACK_PPTP=y
CONFIG_NF_CONNTRACK_SANE=y
CONFIG_NF_CONNTRACK_SIP=y
CONFIG_NF_CONNTRACK_TFTP=y
CONFIG_NF_CT_NETLINK=y
CONFIG_NF_CT_NETLINK_TIMEOUT=y
CONFIG_NF_CT_NETLINK_HELPER=y
CONFIG_NETFILTER_NETLINK_GLUE_CT=y
CONFIG_NF_NAT=y
CONFIG_NF_NAT_AMANDA=y
CONFIG_NF_NAT_FTP=y
CONFIG_NF_NAT_IRC=y
CONFIG_NF_NAT_SIP=y
CONFIG_NF_NAT_TFTP=y
CONFIG_NF_NAT_REDIRECT=y
CONFIG_NF_NAT_MASQUERADE=y
CONFIG_NF_NAT_OVS=y
CONFIG_NETFILTER_SYNPROXY=y
CONFIG_NF_TABLES=y
CONFIG_NF_TABLES_INET=y
CONFIG_NF_TABLES_NETDEV=y
CONFIG_NFT_NUMGEN=y
CONFIG_NFT_CT=y
CONFIG_NFT_EXTHDR_DCCP=y
CONFIG_NFT_FLOW_OFFLOAD=y
CONFIG_NFT_CONNLIMIT=y
CONFIG_NFT_LOG=y
CONFIG_NFT_LIMIT=y
CONFIG_NFT_MASQ=y
CONFIG_NFT_REDIR=y
CONFIG_NFT_NAT=y
CONFIG_NFT_TUNNEL=y
CONFIG_NFT_QUEUE=y
CONFIG_NFT_QUOTA=y
CONFIG_NFT_REJECT=y
CONFIG_NFT_REJECT_INET=y
CONFIG_NFT_COMPAT=y
CONFIG_NFT_HASH=y
CONFIG_NFT_FIB=y
CONFIG_NFT_FIB_INET=y
CONFIG_NFT_XFRM=y
CONFIG_NFT_SOCKET=y
CONFIG_NFT_OSF=y
CONFIG_NFT_TPROXY=y
CONFIG_NFT_SYNPROXY=y
CONFIG_NF_DUP_NETDEV=y
CONFIG_NFT_DUP_NETDEV=y
CONFIG_NFT_FWD_NETDEV=y
CONFIG_NFT_FIB_NETDEV=y
CONFIG_NFT_REJECT_NETDEV=y
CONFIG_NF_FLOW_TABLE_INET=y
CONFIG_NF_FLOW_TABLE=y
# CONFIG_NF_FLOW_TABLE_PROCFS is not set
CONFIG_NETFILTER_XTABLES=y
CONFIG_NETFILTER_XTABLES_COMPAT=y
CONFIG_NETFILTER_XTABLES_LEGACY=y

#
# Xtables combined modules
#
CONFIG_NETFILTER_XT_MARK=y
CONFIG_NETFILTER_XT_CONNMARK=y
CONFIG_NETFILTER_XT_SET=y

#
# Xtables targets
#
CONFIG_NETFILTER_XT_TARGET_AUDIT=y
CONFIG_NETFILTER_XT_TARGET_CHECKSUM=y
CONFIG_NETFILTER_XT_TARGET_CLASSIFY=y
CONFIG_NETFILTER_XT_TARGET_CONNMARK=y
CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=y
CONFIG_NETFILTER_XT_TARGET_CT=y
CONFIG_NETFILTER_XT_TARGET_DSCP=y
CONFIG_NETFILTER_XT_TARGET_HL=y
CONFIG_NETFILTER_XT_TARGET_HMARK=y
CONFIG_NETFILTER_XT_TARGET_IDLETIMER=y
CONFIG_NETFILTER_XT_TARGET_LED=y
CONFIG_NETFILTER_XT_TARGET_LOG=y
CONFIG_NETFILTER_XT_TARGET_MARK=y
CONFIG_NETFILTER_XT_NAT=y
CONFIG_NETFILTER_XT_TARGET_NETMAP=y
CONFIG_NETFILTER_XT_TARGET_NFLOG=y
CONFIG_NETFILTER_XT_TARGET_NFQUEUE=y
CONFIG_NETFILTER_XT_TARGET_NOTRACK=y
CONFIG_NETFILTER_XT_TARGET_RATEEST=y
CONFIG_NETFILTER_XT_TARGET_REDIRECT=y
CONFIG_NETFILTER_XT_TARGET_MASQUERADE=y
CONFIG_NETFILTER_XT_TARGET_TEE=y
CONFIG_NETFILTER_XT_TARGET_TPROXY=y
CONFIG_NETFILTER_XT_TARGET_TRACE=y
CONFIG_NETFILTER_XT_TARGET_SECMARK=y
CONFIG_NETFILTER_XT_TARGET_TCPMSS=y
CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=y

#
# Xtables matches
#
CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y
CONFIG_NETFILTER_XT_MATCH_BPF=y
CONFIG_NETFILTER_XT_MATCH_CGROUP=y
CONFIG_NETFILTER_XT_MATCH_CLUSTER=y
CONFIG_NETFILTER_XT_MATCH_COMMENT=y
CONFIG_NETFILTER_XT_MATCH_CONNBYTES=y
CONFIG_NETFILTER_XT_MATCH_CONNLABEL=y
CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y
CONFIG_NETFILTER_XT_MATCH_CONNMARK=y
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
CONFIG_NETFILTER_XT_MATCH_CPU=y
CONFIG_NETFILTER_XT_MATCH_DCCP=y
CONFIG_NETFILTER_XT_MATCH_DEVGROUP=y
CONFIG_NETFILTER_XT_MATCH_DSCP=y
CONFIG_NETFILTER_XT_MATCH_ECN=y
CONFIG_NETFILTER_XT_MATCH_ESP=y
CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=y
CONFIG_NETFILTER_XT_MATCH_HELPER=y
CONFIG_NETFILTER_XT_MATCH_HL=y
CONFIG_NETFILTER_XT_MATCH_IPCOMP=y
CONFIG_NETFILTER_XT_MATCH_IPRANGE=y
CONFIG_NETFILTER_XT_MATCH_IPVS=y
CONFIG_NETFILTER_XT_MATCH_L2TP=y
CONFIG_NETFILTER_XT_MATCH_LENGTH=y
CONFIG_NETFILTER_XT_MATCH_LIMIT=y
CONFIG_NETFILTER_XT_MATCH_MAC=y
CONFIG_NETFILTER_XT_MATCH_MARK=y
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y
CONFIG_NETFILTER_XT_MATCH_NFACCT=y
CONFIG_NETFILTER_XT_MATCH_OSF=y
CONFIG_NETFILTER_XT_MATCH_OWNER=y
CONFIG_NETFILTER_XT_MATCH_POLICY=y
CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y
CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y
CONFIG_NETFILTER_XT_MATCH_QUOTA=y
CONFIG_NETFILTER_XT_MATCH_RATEEST=y
CONFIG_NETFILTER_XT_MATCH_REALM=y
CONFIG_NETFILTER_XT_MATCH_RECENT=y
CONFIG_NETFILTER_XT_MATCH_SCTP=y
CONFIG_NETFILTER_XT_MATCH_SOCKET=y
CONFIG_NETFILTER_XT_MATCH_STATE=y
CONFIG_NETFILTER_XT_MATCH_STATISTIC=y
CONFIG_NETFILTER_XT_MATCH_STRING=y
CONFIG_NETFILTER_XT_MATCH_TCPMSS=y
CONFIG_NETFILTER_XT_MATCH_TIME=y
CONFIG_NETFILTER_XT_MATCH_U32=y
# end of Core Netfilter Configuration

CONFIG_IP_SET=y
CONFIG_IP_SET_MAX=256
CONFIG_IP_SET_BITMAP_IP=y
CONFIG_IP_SET_BITMAP_IPMAC=y
CONFIG_IP_SET_BITMAP_PORT=y
CONFIG_IP_SET_HASH_IP=y
CONFIG_IP_SET_HASH_IPMARK=y
CONFIG_IP_SET_HASH_IPPORT=y
CONFIG_IP_SET_HASH_IPPORTIP=y
CONFIG_IP_SET_HASH_IPPORTNET=y
CONFIG_IP_SET_HASH_IPMAC=y
CONFIG_IP_SET_HASH_MAC=y
CONFIG_IP_SET_HASH_NETPORTNET=y
CONFIG_IP_SET_HASH_NET=y
CONFIG_IP_SET_HASH_NETNET=y
CONFIG_IP_SET_HASH_NETPORT=y
CONFIG_IP_SET_HASH_NETIFACE=y
CONFIG_IP_SET_LIST_SET=y
CONFIG_IP_VS=y
CONFIG_IP_VS_IPV6=y
# CONFIG_IP_VS_DEBUG is not set
CONFIG_IP_VS_TAB_BITS=12

#
# IPVS transport protocol load balancing support
#
CONFIG_IP_VS_PROTO_TCP=y
CONFIG_IP_VS_PROTO_UDP=y
CONFIG_IP_VS_PROTO_AH_ESP=y
CONFIG_IP_VS_PROTO_ESP=y
CONFIG_IP_VS_PROTO_AH=y
CONFIG_IP_VS_PROTO_SCTP=y

#
# IPVS scheduler
#
CONFIG_IP_VS_RR=y
CONFIG_IP_VS_WRR=y
CONFIG_IP_VS_LC=y
CONFIG_IP_VS_WLC=y
CONFIG_IP_VS_FO=y
CONFIG_IP_VS_OVF=y
CONFIG_IP_VS_LBLC=y
CONFIG_IP_VS_LBLCR=y
CONFIG_IP_VS_DH=y
CONFIG_IP_VS_SH=y
CONFIG_IP_VS_MH=y
CONFIG_IP_VS_SED=y
CONFIG_IP_VS_NQ=y
CONFIG_IP_VS_TWOS=y

#
# IPVS SH scheduler
#
CONFIG_IP_VS_SH_TAB_BITS=8

#
# IPVS MH scheduler
#
CONFIG_IP_VS_MH_TAB_INDEX=12

#
# IPVS application helper
#
CONFIG_IP_VS_FTP=y
CONFIG_IP_VS_NFCT=y
CONFIG_IP_VS_PE_SIP=y

#
# IP: Netfilter Configuration
#
CONFIG_NF_DEFRAG_IPV4=y
CONFIG_IP_NF_IPTABLES_LEGACY=y
CONFIG_NF_SOCKET_IPV4=y
CONFIG_NF_TPROXY_IPV4=y
CONFIG_NF_TABLES_IPV4=y
CONFIG_NFT_REJECT_IPV4=y
CONFIG_NFT_DUP_IPV4=y
CONFIG_NFT_FIB_IPV4=y
CONFIG_NF_TABLES_ARP=y
CONFIG_NF_DUP_IPV4=y
CONFIG_NF_LOG_ARP=y
CONFIG_NF_LOG_IPV4=y
CONFIG_NF_REJECT_IPV4=y
CONFIG_NF_NAT_SNMP_BASIC=y
CONFIG_NF_NAT_PPTP=y
CONFIG_NF_NAT_H323=y
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_MATCH_AH=y
CONFIG_IP_NF_MATCH_ECN=y
CONFIG_IP_NF_MATCH_RPFILTER=y
CONFIG_IP_NF_MATCH_TTL=y
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
CONFIG_IP_NF_TARGET_SYNPROXY=y
CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_TARGET_MASQUERADE=y
CONFIG_IP_NF_TARGET_NETMAP=y
CONFIG_IP_NF_TARGET_REDIRECT=y
CONFIG_IP_NF_MANGLE=y
CONFIG_IP_NF_TARGET_ECN=y
CONFIG_IP_NF_TARGET_TTL=y
CONFIG_IP_NF_RAW=y
CONFIG_IP_NF_SECURITY=y
CONFIG_IP_NF_ARPTABLES=y
CONFIG_NFT_COMPAT_ARP=y
CONFIG_IP_NF_ARPFILTER=y
CONFIG_IP_NF_ARP_MANGLE=y
# end of IP: Netfilter Configuration

#
# IPv6: Netfilter Configuration
#
CONFIG_IP6_NF_IPTABLES_LEGACY=y
CONFIG_NF_SOCKET_IPV6=y
CONFIG_NF_TPROXY_IPV6=y
CONFIG_NF_TABLES_IPV6=y
CONFIG_NFT_REJECT_IPV6=y
CONFIG_NFT_DUP_IPV6=y
CONFIG_NFT_FIB_IPV6=y
CONFIG_NF_DUP_IPV6=y
CONFIG_NF_REJECT_IPV6=y
CONFIG_NF_LOG_IPV6=y
CONFIG_IP6_NF_IPTABLES=y
CONFIG_IP6_NF_MATCH_AH=y
CONFIG_IP6_NF_MATCH_EUI64=y
CONFIG_IP6_NF_MATCH_FRAG=y
CONFIG_IP6_NF_MATCH_OPTS=y
CONFIG_IP6_NF_MATCH_HL=y
CONFIG_IP6_NF_MATCH_IPV6HEADER=y
CONFIG_IP6_NF_MATCH_MH=y
CONFIG_IP6_NF_MATCH_RPFILTER=y
CONFIG_IP6_NF_MATCH_RT=y
CONFIG_IP6_NF_MATCH_SRH=y
CONFIG_IP6_NF_TARGET_HL=y
CONFIG_IP6_NF_FILTER=y
CONFIG_IP6_NF_TARGET_REJECT=y
CONFIG_IP6_NF_TARGET_SYNPROXY=y
CONFIG_IP6_NF_MANGLE=y
CONFIG_IP6_NF_RAW=y
CONFIG_IP6_NF_SECURITY=y
CONFIG_IP6_NF_NAT=y
CONFIG_IP6_NF_TARGET_MASQUERADE=y
CONFIG_IP6_NF_TARGET_NPT=y
# end of IPv6: Netfilter Configuration

CONFIG_NF_DEFRAG_IPV6=y
CONFIG_NF_TABLES_BRIDGE=y
CONFIG_NFT_BRIDGE_META=y
CONFIG_NFT_BRIDGE_REJECT=y
CONFIG_NF_CONNTRACK_BRIDGE=y
CONFIG_BRIDGE_NF_EBTABLES_LEGACY=y
CONFIG_BRIDGE_NF_EBTABLES=y
CONFIG_BRIDGE_EBT_BROUTE=y
CONFIG_BRIDGE_EBT_T_FILTER=y
CONFIG_BRIDGE_EBT_T_NAT=y
CONFIG_BRIDGE_EBT_802_3=y
CONFIG_BRIDGE_EBT_AMONG=y
CONFIG_BRIDGE_EBT_ARP=y
CONFIG_BRIDGE_EBT_IP=y
CONFIG_BRIDGE_EBT_IP6=y
CONFIG_BRIDGE_EBT_LIMIT=y
CONFIG_BRIDGE_EBT_MARK=y
CONFIG_BRIDGE_EBT_PKTTYPE=y
CONFIG_BRIDGE_EBT_STP=y
CONFIG_BRIDGE_EBT_VLAN=y
CONFIG_BRIDGE_EBT_ARPREPLY=y
CONFIG_BRIDGE_EBT_DNAT=y
CONFIG_BRIDGE_EBT_MARK_T=y
CONFIG_BRIDGE_EBT_REDIRECT=y
CONFIG_BRIDGE_EBT_SNAT=y
CONFIG_BRIDGE_EBT_LOG=y
CONFIG_BRIDGE_EBT_NFLOG=y
CONFIG_IP_SCTP=y
# CONFIG_SCTP_DBG_OBJCNT is not set
CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA256=y
# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE is not set
CONFIG_INET_SCTP_DIAG=y
CONFIG_RDS=y
CONFIG_RDS_RDMA=y
CONFIG_RDS_TCP=y
# CONFIG_RDS_DEBUG is not set
CONFIG_TIPC=y
CONFIG_TIPC_MEDIA_IB=y
CONFIG_TIPC_MEDIA_UDP=y
CONFIG_TIPC_CRYPTO=y
CONFIG_TIPC_DIAG=y
CONFIG_ATM=y
CONFIG_ATM_CLIP=y
# CONFIG_ATM_CLIP_NO_ICMP is not set
CONFIG_ATM_LANE=y
CONFIG_ATM_MPOA=y
CONFIG_ATM_BR2684=y
# CONFIG_ATM_BR2684_IPFILTER is not set
CONFIG_L2TP=y
# CONFIG_L2TP_DEBUGFS is not set
CONFIG_L2TP_V3=y
CONFIG_L2TP_IP=y
CONFIG_L2TP_ETH=y
CONFIG_STP=y
CONFIG_GARP=y
CONFIG_MRP=y
CONFIG_BRIDGE=y
CONFIG_BRIDGE_IGMP_SNOOPING=y
CONFIG_BRIDGE_VLAN_FILTERING=y
CONFIG_BRIDGE_MRP=y
CONFIG_BRIDGE_CFM=y
CONFIG_NET_DSA=y
# CONFIG_NET_DSA_TAG_NONE is not set
# CONFIG_NET_DSA_TAG_AR9331 is not set
CONFIG_NET_DSA_TAG_BRCM_COMMON=y
CONFIG_NET_DSA_TAG_BRCM=y
# CONFIG_NET_DSA_TAG_BRCM_LEGACY is not set
# CONFIG_NET_DSA_TAG_BRCM_LEGACY_FCS is not set
CONFIG_NET_DSA_TAG_BRCM_PREPEND=y
# CONFIG_NET_DSA_TAG_HELLCREEK is not set
# CONFIG_NET_DSA_TAG_GSWIP is not set
# CONFIG_NET_DSA_TAG_DSA is not set
# CONFIG_NET_DSA_TAG_EDSA is not set
CONFIG_NET_DSA_TAG_MTK=y
# CONFIG_NET_DSA_TAG_MXL_GSW1XX is not set
# CONFIG_NET_DSA_TAG_KSZ is not set
# CONFIG_NET_DSA_TAG_OCELOT is not set
# CONFIG_NET_DSA_TAG_OCELOT_8021Q is not set
CONFIG_NET_DSA_TAG_QCA=y
CONFIG_NET_DSA_TAG_RTL4_A=y
# CONFIG_NET_DSA_TAG_RTL8_4 is not set
# CONFIG_NET_DSA_TAG_RZN1_A5PSW is not set
# CONFIG_NET_DSA_TAG_LAN9303 is not set
# CONFIG_NET_DSA_TAG_SJA1105 is not set
# CONFIG_NET_DSA_TAG_TRAILER is not set
# CONFIG_NET_DSA_TAG_VSC73XX_8021Q is not set
# CONFIG_NET_DSA_TAG_XRS700X is not set
# CONFIG_NET_DSA_TAG_YT921X is not set
CONFIG_VLAN_8021Q=y
CONFIG_VLAN_8021Q_GVRP=y
CONFIG_VLAN_8021Q_MVRP=y
CONFIG_LLC=y
CONFIG_LLC2=y
# CONFIG_ATALK is not set
CONFIG_X25=y
CONFIG_LAPB=y
CONFIG_PHONET=y
CONFIG_6LOWPAN=y
# CONFIG_6LOWPAN_DEBUGFS is not set
CONFIG_6LOWPAN_NHC=y
CONFIG_6LOWPAN_NHC_DEST=y
CONFIG_6LOWPAN_NHC_FRAGMENT=y
CONFIG_6LOWPAN_NHC_HOP=y
CONFIG_6LOWPAN_NHC_IPV6=y
CONFIG_6LOWPAN_NHC_MOBILITY=y
CONFIG_6LOWPAN_NHC_ROUTING=y
CONFIG_6LOWPAN_NHC_UDP=y
CONFIG_6LOWPAN_GHC_EXT_HDR_HOP=y
CONFIG_6LOWPAN_GHC_UDP=y
CONFIG_6LOWPAN_GHC_ICMPV6=y
CONFIG_6LOWPAN_GHC_EXT_HDR_DEST=y
CONFIG_6LOWPAN_GHC_EXT_HDR_FRAG=y
CONFIG_6LOWPAN_GHC_EXT_HDR_ROUTE=y
CONFIG_IEEE802154=y
CONFIG_IEEE802154_NL802154_EXPERIMENTAL=y
CONFIG_IEEE802154_SOCKET=y
CONFIG_IEEE802154_6LOWPAN=y
CONFIG_MAC802154=y
CONFIG_NET_SCHED=y

#
# Queueing/Scheduling
#
CONFIG_NET_SCH_HTB=y
CONFIG_NET_SCH_HFSC=y
CONFIG_NET_SCH_PRIO=y
CONFIG_NET_SCH_MULTIQ=y
CONFIG_NET_SCH_RED=y
CONFIG_NET_SCH_SFB=y
CONFIG_NET_SCH_SFQ=y
CONFIG_NET_SCH_TEQL=y
CONFIG_NET_SCH_TBF=y
CONFIG_NET_SCH_CBS=y
CONFIG_NET_SCH_ETF=y
CONFIG_NET_SCH_MQPRIO_LIB=y
CONFIG_NET_SCH_TAPRIO=y
CONFIG_NET_SCH_GRED=y
CONFIG_NET_SCH_NETEM=y
CONFIG_NET_SCH_DRR=y
CONFIG_NET_SCH_MQPRIO=y
CONFIG_NET_SCH_SKBPRIO=y
CONFIG_NET_SCH_CHOKE=y
CONFIG_NET_SCH_QFQ=y
CONFIG_NET_SCH_CODEL=y
CONFIG_NET_SCH_FQ_CODEL=y
CONFIG_NET_SCH_CAKE=y
CONFIG_NET_SCH_FQ=y
CONFIG_NET_SCH_HHF=y
CONFIG_NET_SCH_PIE=y
CONFIG_NET_SCH_FQ_PIE=y
CONFIG_NET_SCH_INGRESS=y
CONFIG_NET_SCH_PLUG=y
CONFIG_NET_SCH_ETS=y
# CONFIG_NET_SCH_DUALPI2 is not set
CONFIG_NET_SCH_DEFAULT=y
# CONFIG_DEFAULT_FQ is not set
CONFIG_DEFAULT_CODEL=y
# CONFIG_DEFAULT_FQ_CODEL is not set
# CONFIG_DEFAULT_FQ_PIE is not set
# CONFIG_DEFAULT_SFQ is not set
# CONFIG_DEFAULT_PFIFO_FAST is not set
CONFIG_DEFAULT_NET_SCH="pfifo_fast"

#
# Classification
#
CONFIG_NET_CLS=y
CONFIG_NET_CLS_BASIC=y
CONFIG_NET_CLS_ROUTE4=y
CONFIG_NET_CLS_FW=y
CONFIG_NET_CLS_U32=y
CONFIG_CLS_U32_PERF=y
CONFIG_CLS_U32_MARK=y
CONFIG_NET_CLS_FLOW=y
CONFIG_NET_CLS_CGROUP=y
CONFIG_NET_CLS_BPF=y
CONFIG_NET_CLS_FLOWER=y
CONFIG_NET_CLS_MATCHALL=y
CONFIG_NET_EMATCH=y
CONFIG_NET_EMATCH_STACK=32
CONFIG_NET_EMATCH_CMP=y
CONFIG_NET_EMATCH_NBYTE=y
CONFIG_NET_EMATCH_U32=y
CONFIG_NET_EMATCH_META=y
CONFIG_NET_EMATCH_TEXT=y
CONFIG_NET_EMATCH_CANID=y
CONFIG_NET_EMATCH_IPSET=y
CONFIG_NET_EMATCH_IPT=y
CONFIG_NET_CLS_ACT=y
CONFIG_NET_ACT_POLICE=y
CONFIG_NET_ACT_GACT=y
CONFIG_GACT_PROB=y
CONFIG_NET_ACT_MIRRED=y
CONFIG_NET_ACT_SAMPLE=y
CONFIG_NET_ACT_NAT=y
CONFIG_NET_ACT_PEDIT=y
CONFIG_NET_ACT_SIMP=y
CONFIG_NET_ACT_SKBEDIT=y
CONFIG_NET_ACT_CSUM=y
CONFIG_NET_ACT_MPLS=y
CONFIG_NET_ACT_VLAN=y
CONFIG_NET_ACT_BPF=y
CONFIG_NET_ACT_CONNMARK=y
CONFIG_NET_ACT_CTINFO=y
CONFIG_NET_ACT_SKBMOD=y
CONFIG_NET_ACT_IFE=y
CONFIG_NET_ACT_TUNNEL_KEY=y
CONFIG_NET_ACT_CT=y
CONFIG_NET_ACT_GATE=y
CONFIG_NET_IFE_SKBMARK=y
CONFIG_NET_IFE_SKBPRIO=y
CONFIG_NET_IFE_SKBTCINDEX=y
CONFIG_NET_TC_SKB_EXT=y
CONFIG_NET_SCH_FIFO=y
CONFIG_DCB=y
CONFIG_DNS_RESOLVER=y
CONFIG_BATMAN_ADV=y
CONFIG_BATMAN_ADV_BATMAN_V=y
CONFIG_BATMAN_ADV_BLA=y
CONFIG_BATMAN_ADV_DAT=y
CONFIG_BATMAN_ADV_MCAST=y
# CONFIG_BATMAN_ADV_DEBUG is not set
# CONFIG_BATMAN_ADV_TRACING is not set
CONFIG_OPENVSWITCH=y
CONFIG_OPENVSWITCH_GRE=y
CONFIG_OPENVSWITCH_VXLAN=y
CONFIG_OPENVSWITCH_GENEVE=y
CONFIG_VSOCKETS=y
CONFIG_VSOCKETS_DIAG=y
CONFIG_VSOCKETS_LOOPBACK=y
# CONFIG_VMWARE_VMCI_VSOCKETS is not set
CONFIG_VIRTIO_VSOCKETS=y
CONFIG_VIRTIO_VSOCKETS_COMMON=y
CONFIG_NETLINK_DIAG=y
CONFIG_MPLS=y
CONFIG_NET_MPLS_GSO=y
CONFIG_MPLS_ROUTING=y
CONFIG_MPLS_IPTUNNEL=y
CONFIG_NET_NSH=y
CONFIG_HSR=y
CONFIG_NET_SWITCHDEV=y
CONFIG_NET_L3_MASTER_DEV=y
CONFIG_QRTR=y
CONFIG_QRTR_TUN=y
# CONFIG_QRTR_MHI is not set
CONFIG_NET_NCSI=y
# CONFIG_NCSI_OEM_CMD_GET_MAC is not set
# CONFIG_NCSI_OEM_CMD_KEEP_PHY is not set
# CONFIG_PCPU_DEV_REFCNT is not set
CONFIG_MAX_SKB_FRAGS=17
CONFIG_RPS=y
CONFIG_RFS_ACCEL=y
CONFIG_SOCK_RX_QUEUE_MAPPING=y
CONFIG_XPS=y
CONFIG_CGROUP_NET_PRIO=y
CONFIG_CGROUP_NET_CLASSID=y
CONFIG_NET_RX_BUSY_POLL=y
CONFIG_BQL=y
CONFIG_NET_FLOW_LIMIT=y

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
CONFIG_NET_DROP_MONITOR=y
# end of Network testing
# end of Networking options

CONFIG_HAMRADIO=y

#
# Packet Radio protocols
#
CONFIG_AX25=y
CONFIG_AX25_DAMA_SLAVE=y
CONFIG_NETROM=y
CONFIG_ROSE=y

#
# AX.25 network device drivers
#
CONFIG_MKISS=y
CONFIG_6PACK=y
CONFIG_BPQETHER=y
# CONFIG_BAYCOM_SER_FDX is not set
# CONFIG_BAYCOM_SER_HDX is not set
# CONFIG_BAYCOM_PAR is not set
# CONFIG_YAM is not set
# end of AX.25 network device drivers

CONFIG_CAN=y
CONFIG_CAN_RAW=y
CONFIG_CAN_BCM=y
CONFIG_CAN_GW=y
CONFIG_CAN_J1939=y
CONFIG_CAN_ISOTP=y
CONFIG_BT=y
CONFIG_BT_BREDR=y
CONFIG_BT_RFCOMM=y
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=y
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=y
CONFIG_BT_LE=y
CONFIG_BT_LE_L2CAP_ECRED=y
CONFIG_BT_6LOWPAN=y
CONFIG_BT_LEDS=y
CONFIG_BT_MSFTEXT=y
# CONFIG_BT_AOSPEXT is not set
# CONFIG_BT_DEBUGFS is not set
# CONFIG_BT_SELFTEST is not set

#
# Bluetooth device drivers
#
CONFIG_BT_INTEL=y
CONFIG_BT_BCM=y
CONFIG_BT_RTL=y
CONFIG_BT_QCA=y
CONFIG_BT_MTK=y
CONFIG_BT_HCIBTUSB=y
CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y
CONFIG_BT_HCIBTUSB_POLL_SYNC=y
CONFIG_BT_HCIBTUSB_BCM=y
CONFIG_BT_HCIBTUSB_MTK=y
CONFIG_BT_HCIBTUSB_RTL=y
# CONFIG_BT_HCIBTSDIO is not set
CONFIG_BT_HCIUART=y
CONFIG_BT_HCIUART_SERDEV=y
CONFIG_BT_HCIUART_H4=y
# CONFIG_BT_HCIUART_NOKIA is not set
CONFIG_BT_HCIUART_BCSP=y
# CONFIG_BT_HCIUART_ATH3K is not set
CONFIG_BT_HCIUART_LL=y
CONFIG_BT_HCIUART_3WIRE=y
# CONFIG_BT_HCIUART_INTEL is not set
# CONFIG_BT_HCIUART_BCM is not set
# CONFIG_BT_HCIUART_RTL is not set
CONFIG_BT_HCIUART_QCA=y
CONFIG_BT_HCIUART_AG6XX=y
CONFIG_BT_HCIUART_MRVL=y
# CONFIG_BT_HCIUART_AML is not set
CONFIG_BT_HCIBCM203X=y
# CONFIG_BT_HCIBCM4377 is not set
CONFIG_BT_HCIBPA10X=y
CONFIG_BT_HCIBFUSB=y
# CONFIG_BT_HCIDTL1 is not set
# CONFIG_BT_HCIBT3C is not set
# CONFIG_BT_HCIBLUECARD is not set
CONFIG_BT_HCIVHCI=y
CONFIG_BT_MRVL=y
CONFIG_BT_MRVL_SDIO=y
CONFIG_BT_ATH3K=y
CONFIG_BT_MTKSDIO=y
CONFIG_BT_MTKUART=y
# CONFIG_BT_VIRTIO is not set
# CONFIG_BT_NXPUART is not set
# CONFIG_BT_INTEL_PCIE is not set
# end of Bluetooth device drivers

CONFIG_AF_RXRPC=y
CONFIG_AF_RXRPC_IPV6=y
# CONFIG_AF_RXRPC_INJECT_LOSS is not set
# CONFIG_AF_RXRPC_INJECT_RX_DELAY is not set
# CONFIG_AF_RXRPC_DEBUG is not set
CONFIG_RXKAD=y
# CONFIG_RXGK is not set
# CONFIG_RXPERF is not set
CONFIG_AF_KCM=y
CONFIG_STREAM_PARSER=y
CONFIG_MCTP=y
CONFIG_FIB_RULES=y
CONFIG_WIRELESS=y
CONFIG_WEXT_CORE=y
CONFIG_WEXT_PROC=y
CONFIG_CFG80211=y
# CONFIG_NL80211_TESTMODE is not set
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
# CONFIG_CFG80211_CERTIFICATION_ONUS is not set
CONFIG_CFG80211_REQUIRE_SIGNED_REGDB=y
CONFIG_CFG80211_USE_KERNEL_REGDB_KEYS=y
CONFIG_CFG80211_DEFAULT_PS=y
CONFIG_CFG80211_DEBUGFS=y
CONFIG_CFG80211_CRDA_SUPPORT=y
CONFIG_CFG80211_WEXT=y
CONFIG_MAC80211=y
CONFIG_MAC80211_HAS_RC=y
CONFIG_MAC80211_RC_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT="minstrel_ht"
CONFIG_MAC80211_MESH=y
CONFIG_MAC80211_LEDS=y
CONFIG_MAC80211_DEBUGFS=y
# CONFIG_MAC80211_MESSAGE_TRACING is not set
# CONFIG_MAC80211_DEBUG_MENU is not set
CONFIG_MAC80211_STA_HASH_MAX_SIZE=0
CONFIG_RFKILL=y
CONFIG_RFKILL_LEDS=y
CONFIG_RFKILL_INPUT=y
# CONFIG_RFKILL_GPIO is not set
CONFIG_NET_9P=y
CONFIG_NET_9P_FD=y
CONFIG_NET_9P_VIRTIO=y
# CONFIG_NET_9P_USBG is not set
CONFIG_NET_9P_RDMA=y
# CONFIG_NET_9P_DEBUG is not set
CONFIG_CAIF=y
CONFIG_CAIF_DEBUG=y
CONFIG_CAIF_NETDEV=y
CONFIG_CAIF_USB=y
CONFIG_CEPH_LIB=y
# CONFIG_CEPH_LIB_PRETTYDEBUG is not set
CONFIG_CEPH_LIB_USE_DNS_RESOLVER=y
CONFIG_NFC=y
CONFIG_NFC_DIGITAL=y
CONFIG_NFC_NCI=y
# CONFIG_NFC_NCI_SPI is not set
CONFIG_NFC_NCI_UART=y
CONFIG_NFC_HCI=y
CONFIG_NFC_SHDLC=y

#
# Near Field Communication (NFC) devices
#
# CONFIG_NFC_TRF7970A is not set
# CONFIG_NFC_MEI_PHY is not set
CONFIG_NFC_SIM=y
CONFIG_NFC_PORT100=y
CONFIG_NFC_VIRTUAL_NCI=y
CONFIG_NFC_FDP=y
# CONFIG_NFC_FDP_I2C is not set
# CONFIG_NFC_PN544_I2C is not set
CONFIG_NFC_PN533=y
CONFIG_NFC_PN533_USB=y
# CONFIG_NFC_PN533_I2C is not set
# CONFIG_NFC_PN532_UART is not set
# CONFIG_NFC_MICROREAD_I2C is not set
CONFIG_NFC_MRVL=y
CONFIG_NFC_MRVL_USB=y
# CONFIG_NFC_MRVL_UART is not set
# CONFIG_NFC_MRVL_I2C is not set
# CONFIG_NFC_ST21NFCA_I2C is not set
# CONFIG_NFC_ST_NCI_I2C is not set
# CONFIG_NFC_ST_NCI_SPI is not set
# CONFIG_NFC_NXP_NCI is not set
# CONFIG_NFC_S3FWRN5_I2C is not set
# CONFIG_NFC_S3FWRN82_UART is not set
# CONFIG_NFC_ST95HF is not set
# end of Near Field Communication (NFC) devices

CONFIG_PSAMPLE=y
CONFIG_NET_IFE=y
CONFIG_LWTUNNEL=y
CONFIG_LWTUNNEL_BPF=y
CONFIG_DST_CACHE=y
CONFIG_GRO_CELLS=y
CONFIG_SOCK_VALIDATE_XMIT=y
CONFIG_NET_SELFTESTS=y
CONFIG_NET_SOCK_MSG=y
CONFIG_NET_DEVLINK=y
CONFIG_PAGE_POOL=y
# CONFIG_PAGE_POOL_STATS is not set
CONFIG_FAILOVER=y
CONFIG_ETHTOOL_NETLINK=y

#
# Device Drivers
#
CONFIG_HAVE_PCI=y
CONFIG_GENERIC_PCI_IOMAP=y
CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_PCIEPORTBUS=y
CONFIG_HOTPLUG_PCI_PCIE=y
CONFIG_PCIEAER=y
# CONFIG_PCIEAER_INJECT is not set
# CONFIG_PCIE_ECRC is not set
CONFIG_PCIEASPM=y
CONFIG_PCIEASPM_DEFAULT=y
# CONFIG_PCIEASPM_POWERSAVE is not set
# CONFIG_PCIEASPM_POWER_SUPERSAVE is not set
# CONFIG_PCIEASPM_PERFORMANCE is not set
CONFIG_PCIE_PME=y
# CONFIG_PCIE_DPC is not set
# CONFIG_PCIE_PTM is not set
CONFIG_PCI_MSI=y
CONFIG_PCI_QUIRKS=y
# CONFIG_PCI_DEBUG is not set
# CONFIG_PCI_REALLOC_ENABLE_AUTO is not set
# CONFIG_PCI_STUB is not set
# CONFIG_PCI_PF_STUB is not set
CONFIG_PCI_ATS=y
# CONFIG_PCI_TSM is not set
# CONFIG_PCI_DOE is not set
CONFIG_PCI_ECAM=y
CONFIG_PCI_LOCKLESS_CONFIG=y
CONFIG_PCI_IOV=y
# CONFIG_PCI_NPEM is not set
CONFIG_PCI_PRI=y
CONFIG_PCI_PASID=y
# CONFIG_PCIE_TPH is not set
# CONFIG_PCI_P2PDMA is not set
CONFIG_PCI_LABEL=y
# CONFIG_PCI_DYNAMIC_OF_NODES is not set
# CONFIG_PCIE_BUS_TUNE_OFF is not set
CONFIG_PCIE_BUS_DEFAULT=y
# CONFIG_PCIE_BUS_SAFE is not set
# CONFIG_PCIE_BUS_PERFORMANCE is not set
# CONFIG_PCIE_BUS_PEER2PEER is not set
CONFIG_VGA_ARB=y
CONFIG_VGA_ARB_MAX_GPUS=16
CONFIG_HOTPLUG_PCI=y
# CONFIG_HOTPLUG_PCI_ACPI is not set
# CONFIG_HOTPLUG_PCI_CPCI is not set
# CONFIG_HOTPLUG_PCI_OCTEONEP is not set
# CONFIG_HOTPLUG_PCI_SHPC is not set

#
# PCI controller drivers
#
CONFIG_PCI_HOST_COMMON=y
# CONFIG_PCI_FTPCI100 is not set
CONFIG_PCI_HOST_GENERIC=y
# CONFIG_VMD is not set
# CONFIG_PCIE_XILINX is not set

#
# Cadence-based PCIe controllers
#
# CONFIG_PCIE_CADENCE_PLAT_HOST is not set
# CONFIG_PCIE_CADENCE_PLAT_EP is not set
# end of Cadence-based PCIe controllers

#
# DesignWare-based PCIe controllers
#
# CONFIG_PCI_MESON is not set
# CONFIG_PCIE_INTEL_GW is not set
# CONFIG_PCIE_DW_PLAT_HOST is not set
# CONFIG_PCIE_DW_PLAT_EP is not set
# end of DesignWare-based PCIe controllers

#
# Mobiveil-based PCIe controllers
#
# end of Mobiveil-based PCIe controllers

#
# PLDA-based PCIe controllers
#
# CONFIG_PCIE_MICROCHIP_HOST is not set
# end of PLDA-based PCIe controllers
# end of PCI controller drivers

#
# PCI Endpoint
#
CONFIG_PCI_ENDPOINT=y
# CONFIG_PCI_ENDPOINT_CONFIGFS is not set
# CONFIG_PCI_ENDPOINT_MSI_DOORBELL is not set
# CONFIG_PCI_EPF_TEST is not set
# CONFIG_PCI_EPF_NTB is not set
# end of PCI Endpoint

#
# PCI switch controller drivers
#
# CONFIG_PCI_SW_SWITCHTEC is not set
# end of PCI switch controller drivers

# CONFIG_PCI_PWRCTRL_SLOT is not set
# CONFIG_PCI_PWRCTRL_TC9563 is not set
# CONFIG_CXL_BUS is not set
CONFIG_PCCARD=y
CONFIG_PCMCIA=y
CONFIG_PCMCIA_LOAD_CIS=y
CONFIG_CARDBUS=y

#
# PC-card bridges
#
CONFIG_YENTA=y
CONFIG_YENTA_O2=y
CONFIG_YENTA_RICOH=y
CONFIG_YENTA_TI=y
CONFIG_YENTA_ENE_TUNE=y
CONFIG_YENTA_TOSHIBA=y
# CONFIG_PD6729 is not set
# CONFIG_I82092 is not set
CONFIG_PCCARD_NONSTATIC=y
# CONFIG_RAPIDIO is not set
# CONFIG_PC104 is not set

#
# Generic Driver Options
#
CONFIG_AUXILIARY_BUS=y
CONFIG_UEVENT_HELPER=y
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
# CONFIG_DEVTMPFS_SAFE is not set
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y

#
# Firmware loader
#
CONFIG_FW_LOADER=y
# CONFIG_FW_LOADER_DEBUG is not set
CONFIG_FW_LOADER_PAGED_BUF=y
CONFIG_FW_LOADER_SYSFS=y
CONFIG_EXTRA_FIRMWARE=""
CONFIG_FW_LOADER_USER_HELPER=y
CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
CONFIG_FW_LOADER_COMPRESS=y
# CONFIG_FW_LOADER_COMPRESS_XZ is not set
# CONFIG_FW_LOADER_COMPRESS_ZSTD is not set
CONFIG_FW_CACHE=y
# CONFIG_FW_UPLOAD is not set
# end of Firmware loader

CONFIG_WANT_DEV_COREDUMP=y
CONFIG_ALLOW_DEV_COREDUMP=y
CONFIG_DEV_COREDUMP=y
# CONFIG_DEBUG_DRIVER is not set
CONFIG_DEBUG_DEVRES=y
# CONFIG_DEBUG_TEST_DRIVER_REMOVE is not set
# CONFIG_TEST_ASYNC_DRIVER_PROBE is not set
CONFIG_GENERIC_CPU_DEVICES=y
CONFIG_GENERIC_CPU_AUTOPROBE=y
CONFIG_GENERIC_CPU_VULNERABILITIES=y
CONFIG_REGMAP=y
CONFIG_REGMAP_I2C=y
CONFIG_REGMAP_SPI=y
CONFIG_REGMAP_MMIO=y
CONFIG_REGMAP_IRQ=y
CONFIG_DMA_SHARED_BUFFER=y
# CONFIG_DMA_FENCE_TRACE is not set
# CONFIG_FW_DEVLINK_SYNC_STATE_TIMEOUT is not set
# end of Generic Driver Options

#
# Bus devices
#
# CONFIG_MOXTET is not set
CONFIG_MHI_BUS=y
# CONFIG_MHI_BUS_DEBUG is not set
# CONFIG_MHI_BUS_PCI_GENERIC is not set
# CONFIG_MHI_BUS_EP is not set
# end of Bus devices

CONFIG_CONNECTOR=y
CONFIG_PROC_EVENTS=y

#
# Firmware Drivers
#

#
# ARM System Control and Management Interface Protocol
#
# end of ARM System Control and Management Interface Protocol

# CONFIG_EDD is not set
CONFIG_FIRMWARE_MEMMAP=y
CONFIG_DMIID=y
# CONFIG_DMI_SYSFS is not set
CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y
# CONFIG_ISCSI_IBFT is not set
# CONFIG_FW_CFG_SYSFS is not set
CONFIG_SYSFB=y
# CONFIG_SYSFB_SIMPLEFB is not set
CONFIG_GOOGLE_FIRMWARE=y
# CONFIG_GOOGLE_SMI is not set
# CONFIG_GOOGLE_CBMEM is not set
CONFIG_GOOGLE_COREBOOT_TABLE=y
CONFIG_GOOGLE_MEMCONSOLE=y
# CONFIG_GOOGLE_MEMCONSOLE_X86_LEGACY is not set
# CONFIG_GOOGLE_FRAMEBUFFER_COREBOOT is not set
CONFIG_GOOGLE_MEMCONSOLE_COREBOOT=y
CONFIG_GOOGLE_VPD=y

#
# Qualcomm firmware drivers
#
# end of Qualcomm firmware drivers

#
# Tegra firmware driver
#
# end of Tegra firmware driver
# end of Firmware Drivers

# CONFIG_FWCTL is not set
CONFIG_GNSS=y
# CONFIG_GNSS_MTK_SERIAL is not set
# CONFIG_GNSS_SIRF_SERIAL is not set
# CONFIG_GNSS_UBX_SERIAL is not set
CONFIG_GNSS_USB=y
CONFIG_MTD=y
# CONFIG_MTD_TESTS is not set

#
# Partition parsers
#
# CONFIG_MTD_CMDLINE_PARTS is not set
# CONFIG_MTD_OF_PARTS is not set
# CONFIG_MTD_REDBOOT_PARTS is not set
# end of Partition parsers

#
# User Modules And Translation Layers
#
CONFIG_MTD_BLKDEVS=y
CONFIG_MTD_BLOCK=y

#
# Note that in some cases UBI block is preferred. See MTD_UBI_BLOCK.
#
CONFIG_FTL=y
# CONFIG_NFTL is not set
# CONFIG_INFTL is not set
# CONFIG_RFD_FTL is not set
# CONFIG_SSFDC is not set
# CONFIG_SM_FTL is not set
# CONFIG_MTD_OOPS is not set
# CONFIG_MTD_SWAP is not set
# CONFIG_MTD_PARTITIONED_MASTER is not set

#
# RAM/ROM/Flash chip drivers
#
# CONFIG_MTD_CFI is not set
# CONFIG_MTD_JEDECPROBE is not set
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set
# end of RAM/ROM/Flash chip drivers

#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
# CONFIG_MTD_PLATRAM is not set
# end of Mapping drivers for chip access

#
# Self-contained MTD device drivers
#
# CONFIG_MTD_PMC551 is not set
# CONFIG_MTD_DATAFLASH is not set
# CONFIG_MTD_MCHP23K256 is not set
# CONFIG_MTD_MCHP48L640 is not set
# CONFIG_MTD_SST25L is not set
CONFIG_MTD_SLRAM=y
CONFIG_MTD_PHRAM=y
CONFIG_MTD_MTDRAM=y
CONFIG_MTDRAM_TOTAL_SIZE=128
CONFIG_MTDRAM_ERASE_SIZE=4
CONFIG_MTD_BLOCK2MTD=y
# CONFIG_MTD_INTEL_DG is not set

#
# Disk-On-Chip Device Drivers
#
# CONFIG_MTD_DOCG3 is not set
# end of Self-contained MTD device drivers

#
# NAND
#
# CONFIG_MTD_ONENAND is not set
# CONFIG_MTD_RAW_NAND is not set
# CONFIG_MTD_SPI_NAND is not set

#
# ECC engine support
#
# CONFIG_MTD_NAND_ECC_SW_HAMMING is not set
# CONFIG_MTD_NAND_ECC_SW_BCH is not set
# CONFIG_MTD_NAND_ECC_MXIC is not set
# end of ECC engine support
# end of NAND

#
# LPDDR & LPDDR2 PCM memory drivers
#
# CONFIG_MTD_LPDDR is not set
# end of LPDDR & LPDDR2 PCM memory drivers

# CONFIG_MTD_SPI_NOR is not set
CONFIG_MTD_UBI=y
CONFIG_MTD_UBI_WL_THRESHOLD=4096
CONFIG_MTD_UBI_BEB_LIMIT=20
# CONFIG_MTD_UBI_FASTMAP is not set
# CONFIG_MTD_UBI_GLUEBI is not set
# CONFIG_MTD_UBI_BLOCK is not set
# CONFIG_MTD_UBI_FAULT_INJECTION is not set
# CONFIG_MTD_UBI_NVMEM is not set
# CONFIG_MTD_HYPERBUS is not set
CONFIG_DTC=y
CONFIG_OF=y
# CONFIG_OF_UNITTEST is not set
CONFIG_OF_FLATTREE=y
CONFIG_OF_EARLY_FLATTREE=y
CONFIG_OF_KOBJ=y
CONFIG_OF_ADDRESS=y
CONFIG_OF_IRQ=y
CONFIG_OF_RESERVED_MEM=y
# CONFIG_OF_OVERLAY is not set
CONFIG_OF_NUMA=y
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
CONFIG_PARPORT=y
# CONFIG_PARPORT_PC is not set
# CONFIG_PARPORT_1284 is not set
CONFIG_PARPORT_NOT_PC=y
CONFIG_PNP=y
CONFIG_PNP_DEBUG_MESSAGES=y

#
# Protocols
#
CONFIG_PNPACPI=y
CONFIG_BLK_DEV=y
CONFIG_BLK_DEV_NULL_BLK=y
CONFIG_BLK_DEV_NULL_BLK_FAULT_INJECTION=y
# CONFIG_BLK_DEV_FD is not set
CONFIG_CDROM=y
# CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
CONFIG_ZRAM=y
# CONFIG_ZRAM_BACKEND_LZ4 is not set
# CONFIG_ZRAM_BACKEND_LZ4HC is not set
# CONFIG_ZRAM_BACKEND_ZSTD is not set
# CONFIG_ZRAM_BACKEND_DEFLATE is not set
# CONFIG_ZRAM_BACKEND_842 is not set
CONFIG_ZRAM_BACKEND_FORCE_LZO=y
CONFIG_ZRAM_BACKEND_LZO=y
# CONFIG_ZRAM_DEF_COMP_LZORLE is not set
CONFIG_ZRAM_DEF_COMP_LZO=y
CONFIG_ZRAM_DEF_COMP="lzo"
# CONFIG_ZRAM_WRITEBACK is not set
# CONFIG_ZRAM_TRACK_ENTRY_ACTIME is not set
# CONFIG_ZRAM_MEMORY_TRACKING is not set
# CONFIG_ZRAM_MULTI_COMP is not set
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_LOOP_MIN_COUNT=16
# CONFIG_BLK_DEV_DRBD is not set
CONFIG_BLK_DEV_NBD=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_ATA_OVER_ETH=y
CONFIG_VIRTIO_BLK=y
# CONFIG_BLK_DEV_RBD is not set
# CONFIG_BLK_DEV_UBLK is not set
CONFIG_BLK_DEV_RNBD=y
CONFIG_BLK_DEV_RNBD_CLIENT=y
# CONFIG_BLK_DEV_ZONED_LOOP is not set

#
# NVME Support
#
CONFIG_NVME_CORE=y
CONFIG_BLK_DEV_NVME=y
CONFIG_NVME_MULTIPATH=y
# CONFIG_NVME_VERBOSE_ERRORS is not set
# CONFIG_NVME_HWMON is not set
CONFIG_NVME_FABRICS=y
CONFIG_NVME_RDMA=y
CONFIG_NVME_FC=y
CONFIG_NVME_TCP=y
# CONFIG_NVME_TCP_TLS is not set
# CONFIG_NVME_HOST_AUTH is not set
CONFIG_NVME_TARGET=y
# CONFIG_NVME_TARGET_DEBUGFS is not set
# CONFIG_NVME_TARGET_PASSTHRU is not set
CONFIG_NVME_TARGET_LOOP=y
CONFIG_NVME_TARGET_RDMA=y
CONFIG_NVME_TARGET_FC=y
CONFIG_NVME_TARGET_FCLOOP=y
CONFIG_NVME_TARGET_TCP=y
# CONFIG_NVME_TARGET_TCP_TLS is not set
# CONFIG_NVME_TARGET_AUTH is not set
# CONFIG_NVME_TARGET_PCI_EPF is not set
# end of NVME Support

#
# Misc devices
#
# CONFIG_AD525X_DPOT is not set
# CONFIG_DUMMY_IRQ is not set
# CONFIG_IBM_ASM is not set
# CONFIG_PHANTOM is not set
# CONFIG_RPMB is not set
# CONFIG_TI_FPC202 is not set
# CONFIG_TIFM_CORE is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_HP_ILO is not set
# CONFIG_APDS9802ALS is not set
# CONFIG_ISL29003 is not set
# CONFIG_ISL29020 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_SENSORS_BH1770 is not set
# CONFIG_SENSORS_APDS990X is not set
# CONFIG_HMC6352 is not set
# CONFIG_DS1682 is not set
# CONFIG_VMWARE_BALLOON is not set
# CONFIG_LATTICE_ECP3_CONFIG is not set
# CONFIG_SRAM is not set
# CONFIG_DW_XDATA_PCIE is not set
# CONFIG_PCI_ENDPOINT_TEST is not set
# CONFIG_XILINX_SDFEC is not set
CONFIG_MISC_RTSX=y
# CONFIG_HISI_HIKEY_USB is not set
# CONFIG_OPEN_DICE is not set
# CONFIG_NTSYNC is not set
# CONFIG_VCPU_STALL_DETECTOR is not set
# CONFIG_NSM is not set
# CONFIG_C2PORT is not set

#
# EEPROM support
#
# CONFIG_EEPROM_AT24 is not set
# CONFIG_EEPROM_AT25 is not set
# CONFIG_EEPROM_MAX6875 is not set
CONFIG_EEPROM_93CX6=y
# CONFIG_EEPROM_93XX46 is not set
# CONFIG_EEPROM_IDT_89HPESX is not set
# CONFIG_EEPROM_EE1004 is not set
# CONFIG_EEPROM_M24LR is not set
# end of EEPROM support

# CONFIG_CB710_CORE is not set
# CONFIG_SENSORS_LIS3_I2C is not set
# CONFIG_ALTERA_STAPL is not set
CONFIG_INTEL_MEI=y
CONFIG_INTEL_MEI_ME=y
# CONFIG_INTEL_MEI_TXE is not set
# CONFIG_INTEL_MEI_GSC is not set
# CONFIG_INTEL_MEI_VSC_HW is not set
# CONFIG_INTEL_MEI_HDCP is not set
# CONFIG_INTEL_MEI_PXP is not set
# CONFIG_INTEL_MEI_GSC_PROXY is not set
CONFIG_VMWARE_VMCI=y
# CONFIG_GENWQE is not set
# CONFIG_BCM_VK is not set
# CONFIG_MISC_ALCOR_PCI is not set
# CONFIG_MISC_RTSX_PCI is not set
CONFIG_MISC_RTSX_USB=y
# CONFIG_UACCE is not set
# CONFIG_PVPANIC is not set
# CONFIG_GP_PCI1XXXX is not set
# CONFIG_KEBA_CP500 is not set
# CONFIG_MISC_RP1 is not set
# end of Misc devices

#
# SCSI device support
#
CONFIG_SCSI_MOD=y
CONFIG_RAID_ATTRS=y
CONFIG_SCSI_COMMON=y
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
CONFIG_SCSI_NETLINK=y
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=y
CONFIG_BLK_DEV_SR=y
CONFIG_CHR_DEV_SG=y
CONFIG_BLK_DEV_BSG=y
# CONFIG_CHR_DEV_SCH is not set
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y
CONFIG_SCSI_SCAN_ASYNC=y

#
# SCSI Transports
#
CONFIG_SCSI_SPI_ATTRS=y
CONFIG_SCSI_FC_ATTRS=y
CONFIG_SCSI_ISCSI_ATTRS=y
CONFIG_SCSI_SAS_ATTRS=y
CONFIG_SCSI_SAS_LIBSAS=y
CONFIG_SCSI_SAS_ATA=y
# CONFIG_SCSI_SAS_HOST_SMP is not set
CONFIG_SCSI_SRP_ATTRS=y
# end of SCSI Transports

CONFIG_SCSI_LOWLEVEL=y
# CONFIG_ISCSI_TCP is not set
# CONFIG_ISCSI_BOOT_SYSFS is not set
# CONFIG_SCSI_CXGB3_ISCSI is not set
# CONFIG_SCSI_CXGB4_ISCSI is not set
# CONFIG_SCSI_BNX2_ISCSI is not set
# CONFIG_BE2ISCSI is not set
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
CONFIG_SCSI_HPSA=y
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_3W_SAS is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_AIC94XX is not set
# CONFIG_SCSI_MVSAS is not set
# CONFIG_SCSI_MVUMI is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_ARCMSR is not set
# CONFIG_SCSI_ESAS2R is not set
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_MEGARAID_SAS is not set
# CONFIG_SCSI_MPT3SAS is not set
# CONFIG_SCSI_MPT2SAS is not set
# CONFIG_SCSI_MPI3MR is not set
# CONFIG_SCSI_SMARTPQI is not set
# CONFIG_SCSI_HPTIOP is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_MYRB is not set
# CONFIG_SCSI_MYRS is not set
# CONFIG_VMWARE_PVSCSI is not set
# CONFIG_LIBFC is not set
# CONFIG_SCSI_SNIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_FDOMAIN_PCI is not set
# CONFIG_SCSI_ISCI is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_STEX is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLA_FC is not set
# CONFIG_SCSI_QLA_ISCSI is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_EFCT is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_WD719X is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_PMCRAID is not set
# CONFIG_SCSI_PM8001 is not set
# CONFIG_SCSI_BFA_FC is not set
CONFIG_SCSI_VIRTIO=y
# CONFIG_SCSI_CHELSIO_FCOE is not set
# CONFIG_SCSI_LOWLEVEL_PCMCIA is not set
# CONFIG_SCSI_DH is not set
# end of SCSI device support

CONFIG_ATA=y
CONFIG_SATA_HOST=y
CONFIG_PATA_TIMINGS=y
CONFIG_ATA_VERBOSE_ERROR=y
CONFIG_ATA_FORCE=y
CONFIG_ATA_ACPI=y
# CONFIG_SATA_ZPODD is not set
CONFIG_SATA_PMP=y

#
# Controllers with non-SFF native interface
#
CONFIG_SATA_AHCI=y
CONFIG_SATA_MOBILE_LPM_POLICY=3
# CONFIG_SATA_AHCI_PLATFORM is not set
# CONFIG_AHCI_DWC is not set
# CONFIG_AHCI_CEVA is not set
# CONFIG_SATA_INIC162X is not set
# CONFIG_SATA_ACARD_AHCI is not set
# CONFIG_SATA_SIL24 is not set
CONFIG_ATA_SFF=y

#
# SFF controllers with custom DMA interface
#
# CONFIG_PDC_ADMA is not set
# CONFIG_SATA_QSTOR is not set
# CONFIG_SATA_SX4 is not set
CONFIG_ATA_BMDMA=y

#
# SATA SFF controllers with BMDMA
#
CONFIG_ATA_PIIX=y
# CONFIG_SATA_DWC is not set
# CONFIG_SATA_MV is not set
# CONFIG_SATA_NV is not set
# CONFIG_SATA_PROMISE is not set
# CONFIG_SATA_SIL is not set
# CONFIG_SATA_SIS is not set
# CONFIG_SATA_SVW is not set
# CONFIG_SATA_ULI is not set
# CONFIG_SATA_VIA is not set
# CONFIG_SATA_VITESSE is not set

#
# PATA SFF controllers with BMDMA
#
# CONFIG_PATA_ALI is not set
CONFIG_PATA_AMD=y
# CONFIG_PATA_ARTOP is not set
# CONFIG_PATA_ATIIXP is not set
# CONFIG_PATA_ATP867X is not set
# CONFIG_PATA_CMD64X is not set
# CONFIG_PATA_CYPRESS is not set
# CONFIG_PATA_EFAR is not set
# CONFIG_PATA_HPT366 is not set
# CONFIG_PATA_HPT37X is not set
# CONFIG_PATA_HPT3X2N is not set
# CONFIG_PATA_HPT3X3 is not set
# CONFIG_PATA_IT8213 is not set
# CONFIG_PATA_IT821X is not set
# CONFIG_PATA_JMICRON is not set
# CONFIG_PATA_MARVELL is not set
# CONFIG_PATA_NETCELL is not set
# CONFIG_PATA_NINJA32 is not set
# CONFIG_PATA_NS87415 is not set
CONFIG_PATA_OLDPIIX=y
# CONFIG_PATA_OPTIDMA is not set
# CONFIG_PATA_PDC2027X is not set
# CONFIG_PATA_PDC_OLD is not set
# CONFIG_PATA_RADISYS is not set
# CONFIG_PATA_RDC is not set
CONFIG_PATA_SCH=y
# CONFIG_PATA_SERVERWORKS is not set
# CONFIG_PATA_SIL680 is not set
# CONFIG_PATA_SIS is not set
# CONFIG_PATA_TOSHIBA is not set
# CONFIG_PATA_TRIFLEX is not set
# CONFIG_PATA_VIA is not set
# CONFIG_PATA_WINBOND is not set

#
# PIO-only SFF controllers
#
# CONFIG_PATA_CMD640_PCI is not set
# CONFIG_PATA_MPIIX is not set
# CONFIG_PATA_NS87410 is not set
# CONFIG_PATA_OPTI is not set
# CONFIG_PATA_PCMCIA is not set
# CONFIG_PATA_OF_PLATFORM is not set
# CONFIG_PATA_RZ1000 is not set

#
# Generic fallback / legacy drivers
#
# CONFIG_PATA_ACPI is not set
CONFIG_ATA_GENERIC=y
# CONFIG_PATA_LEGACY is not set
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
CONFIG_MD_BITMAP=y
# CONFIG_MD_LLBITMAP is not set
CONFIG_MD_AUTODETECT=y
CONFIG_MD_BITMAP_FILE=y
# CONFIG_MD_LINEAR is not set
CONFIG_MD_RAID0=y
CONFIG_MD_RAID1=y
CONFIG_MD_RAID10=y
CONFIG_MD_RAID456=y
# CONFIG_MD_CLUSTER is not set
CONFIG_BCACHE=y
# CONFIG_BCACHE_DEBUG is not set
# CONFIG_BCACHE_ASYNC_REGISTRATION is not set
CONFIG_BLK_DEV_DM_BUILTIN=y
CONFIG_BLK_DEV_DM=y
# CONFIG_DM_DEBUG is not set
CONFIG_DM_BUFIO=y
# CONFIG_DM_DEBUG_BLOCK_MANAGER_LOCKING is not set
CONFIG_DM_BIO_PRISON=y
CONFIG_DM_PERSISTENT_DATA=y
# CONFIG_DM_UNSTRIPED is not set
CONFIG_DM_CRYPT=y
CONFIG_DM_SNAPSHOT=y
CONFIG_DM_THIN_PROVISIONING=y
CONFIG_DM_CACHE=y
CONFIG_DM_CACHE_SMQ=y
CONFIG_DM_WRITECACHE=y
# CONFIG_DM_EBS is not set
# CONFIG_DM_ERA is not set
CONFIG_DM_CLONE=y
CONFIG_DM_MIRROR=y
# CONFIG_DM_LOG_USERSPACE is not set
CONFIG_DM_RAID=y
CONFIG_DM_ZERO=y
CONFIG_DM_MULTIPATH=y
CONFIG_DM_MULTIPATH_QL=y
CONFIG_DM_MULTIPATH_ST=y
# CONFIG_DM_MULTIPATH_HST is not set
# CONFIG_DM_MULTIPATH_IOA is not set
# CONFIG_DM_DELAY is not set
# CONFIG_DM_DUST is not set
# CONFIG_DM_INIT is not set
CONFIG_DM_UEVENT=y
CONFIG_DM_FLAKEY=y
CONFIG_DM_VERITY=y
# CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG is not set
CONFIG_DM_VERITY_FEC=y
# CONFIG_DM_SWITCH is not set
# CONFIG_DM_LOG_WRITES is not set
CONFIG_DM_INTEGRITY=y
CONFIG_DM_ZONED=y
CONFIG_DM_AUDIT=y
# CONFIG_DM_VDO is not set
# CONFIG_DM_PCACHE is not set
CONFIG_TARGET_CORE=y
# CONFIG_TCM_IBLOCK is not set
# CONFIG_TCM_FILEIO is not set
# CONFIG_TCM_PSCSI is not set
# CONFIG_LOOPBACK_TARGET is not set
# CONFIG_ISCSI_TARGET is not set
# CONFIG_SBP_TARGET is not set
# CONFIG_REMOTE_TARGET is not set
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support
#
CONFIG_FIREWIRE=y
CONFIG_FIREWIRE_OHCI=y
CONFIG_FIREWIRE_SBP2=y
CONFIG_FIREWIRE_NET=y
# CONFIG_FIREWIRE_NOSY is not set
# end of IEEE 1394 (FireWire) support

# CONFIG_MACINTOSH_DRIVERS is not set
CONFIG_NETDEVICES=y
CONFIG_MII=y
CONFIG_NET_CORE=y
CONFIG_BONDING=y
CONFIG_DUMMY=y
CONFIG_WIREGUARD=y
# CONFIG_WIREGUARD_DEBUG is not set
# CONFIG_OVPN is not set
CONFIG_EQUALIZER=y
CONFIG_NET_FC=y
CONFIG_IFB=y
CONFIG_NET_TEAM=y
CONFIG_NET_TEAM_MODE_BROADCAST=y
CONFIG_NET_TEAM_MODE_ROUNDROBIN=y
CONFIG_NET_TEAM_MODE_RANDOM=y
CONFIG_NET_TEAM_MODE_ACTIVEBACKUP=y
CONFIG_NET_TEAM_MODE_LOADBALANCE=y
CONFIG_MACVLAN=y
CONFIG_MACVTAP=y
CONFIG_IPVLAN_L3S=y
CONFIG_IPVLAN=y
CONFIG_IPVTAP=y
CONFIG_VXLAN=y
CONFIG_GENEVE=y
CONFIG_BAREUDP=y
CONFIG_GTP=y
# CONFIG_PFCP is not set
# CONFIG_AMT is not set
CONFIG_MACSEC=y
CONFIG_NETCONSOLE=y
# CONFIG_NETCONSOLE_DYNAMIC is not set
# CONFIG_NETCONSOLE_EXTENDED_LOG is not set
CONFIG_NETPOLL=y
CONFIG_NET_POLL_CONTROLLER=y
CONFIG_TUN=y
CONFIG_TAP=y
CONFIG_TUN_VNET_CROSS_LE=y
CONFIG_VETH=y
CONFIG_VIRTIO_NET=y
CONFIG_NLMON=y
# CONFIG_NETKIT is not set
CONFIG_NET_VRF=y
CONFIG_VSOCKMON=y
# CONFIG_MHI_NET is not set
# CONFIG_ARCNET is not set
CONFIG_ATM_DRIVERS=y
# CONFIG_ATM_DUMMY is not set
CONFIG_ATM_TCP=y
# CONFIG_ATM_LANAI is not set
# CONFIG_ATM_ENI is not set
# CONFIG_ATM_NICSTAR is not set
# CONFIG_ATM_IDT77252 is not set
# CONFIG_ATM_IA is not set
# CONFIG_ATM_FORE200E is not set
# CONFIG_ATM_HE is not set
# CONFIG_ATM_SOLOS is not set
CONFIG_CAIF_DRIVERS=y
CONFIG_CAIF_TTY=y
CONFIG_CAIF_VIRTIO=y

#
# Distributed Switch Architecture drivers
#
# CONFIG_B53 is not set
# CONFIG_NET_DSA_BCM_SF2 is not set
# CONFIG_NET_DSA_LOOP is not set
# CONFIG_NET_DSA_HIRSCHMANN_HELLCREEK is not set
# CONFIG_NET_DSA_LANTIQ_GSWIP is not set
# CONFIG_NET_DSA_MXL_GSW1XX is not set
# CONFIG_NET_DSA_MT7530 is not set
# CONFIG_NET_DSA_MV88E6060 is not set
# CONFIG_NET_DSA_MICROCHIP_KSZ_COMMON is not set
# CONFIG_NET_DSA_MV88E6XXX is not set
# CONFIG_NET_DSA_AR9331 is not set
# CONFIG_NET_DSA_QCA8K is not set
# CONFIG_NET_DSA_SJA1105 is not set
# CONFIG_NET_DSA_XRS700X_I2C is not set
# CONFIG_NET_DSA_XRS700X_MDIO is not set
# CONFIG_NET_DSA_REALTEK is not set
# CONFIG_NET_DSA_KS8995 is not set
# CONFIG_NET_DSA_SMSC_LAN9303_I2C is not set
# CONFIG_NET_DSA_SMSC_LAN9303_MDIO is not set
# CONFIG_NET_DSA_VITESSE_VSC73XX_SPI is not set
# CONFIG_NET_DSA_VITESSE_VSC73XX_PLATFORM is not set
# CONFIG_NET_DSA_YT921X is not set
# end of Distributed Switch Architecture drivers

CONFIG_ETHERNET=y
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_NET_VENDOR_ADAPTEC is not set
# CONFIG_NET_VENDOR_AGERE is not set
# CONFIG_NET_VENDOR_ALACRITECH is not set
CONFIG_NET_VENDOR_ALTEON=y
# CONFIG_ACENIC is not set
# CONFIG_ALTERA_TSE is not set
CONFIG_NET_VENDOR_AMAZON=y
# CONFIG_ENA_ETHERNET is not set
# CONFIG_NET_VENDOR_AMD is not set
# CONFIG_NET_VENDOR_AQUANTIA is not set
# CONFIG_NET_VENDOR_ARC is not set
CONFIG_NET_VENDOR_ASIX=y
# CONFIG_SPI_AX88796C is not set
# CONFIG_NET_VENDOR_ATHEROS is not set
# CONFIG_CX_ECAT is not set
# CONFIG_NET_VENDOR_BROADCOM is not set
# CONFIG_NET_VENDOR_CADENCE is not set
# CONFIG_NET_VENDOR_CAVIUM is not set
# CONFIG_NET_VENDOR_CHELSIO is not set
CONFIG_NET_VENDOR_CISCO=y
# CONFIG_ENIC is not set
# CONFIG_NET_VENDOR_CORTINA is not set
CONFIG_NET_VENDOR_DAVICOM=y
# CONFIG_DM9051 is not set
# CONFIG_DNET is not set
# CONFIG_NET_VENDOR_DEC is not set
# CONFIG_NET_VENDOR_DLINK is not set
# CONFIG_NET_VENDOR_EMULEX is not set
CONFIG_NET_VENDOR_ENGLEDER=y
# CONFIG_TSNEP is not set
# CONFIG_NET_VENDOR_EZCHIP is not set
# CONFIG_NET_VENDOR_FUJITSU is not set
CONFIG_NET_VENDOR_FUNGIBLE=y
# CONFIG_FUN_ETH is not set
CONFIG_NET_VENDOR_GOOGLE=y
CONFIG_GVE=y
CONFIG_NET_VENDOR_HISILICON=y
# CONFIG_HIBMCGE is not set
# CONFIG_NET_VENDOR_HUAWEI is not set
CONFIG_NET_VENDOR_I825XX=y
CONFIG_NET_VENDOR_INTEL=y
CONFIG_E100=y
CONFIG_E1000=y
CONFIG_E1000E=y
CONFIG_E1000E_HWTS=y
# CONFIG_IGB is not set
# CONFIG_IGBVF is not set
# CONFIG_IXGBE is not set
# CONFIG_IXGBEVF is not set
# CONFIG_I40E is not set
# CONFIG_I40EVF is not set
# CONFIG_ICE is not set
# CONFIG_FM10K is not set
# CONFIG_IGC is not set
# CONFIG_IDPF is not set
# CONFIG_JME is not set
# CONFIG_NET_VENDOR_ADI is not set
CONFIG_NET_VENDOR_LITEX=y
# CONFIG_LITEX_LITEETH is not set
# CONFIG_NET_VENDOR_MARVELL is not set
CONFIG_NET_VENDOR_MELLANOX=y
# CONFIG_MLX4_EN is not set
CONFIG_MLX4_CORE=y
# CONFIG_MLX4_DEBUG is not set
# CONFIG_MLX4_CORE_GEN2 is not set
# CONFIG_MLX5_CORE is not set
# CONFIG_MLXSW_CORE is not set
# CONFIG_MLXFW is not set
CONFIG_NET_VENDOR_META=y
# CONFIG_FBNIC is not set
# CONFIG_NET_VENDOR_MICREL is not set
# CONFIG_NET_VENDOR_MICROCHIP is not set
# CONFIG_NET_VENDOR_MICROSEMI is not set
CONFIG_NET_VENDOR_MICROSOFT=y
CONFIG_NET_VENDOR_MUCSE=y
# CONFIG_MGBE is not set
# CONFIG_NET_VENDOR_MYRI is not set
# CONFIG_FEALNX is not set
# CONFIG_NET_VENDOR_NI is not set
# CONFIG_NET_VENDOR_NATSEMI is not set
# CONFIG_NET_VENDOR_NETERION is not set
# CONFIG_NET_VENDOR_NETRONOME is not set
# CONFIG_NET_VENDOR_NVIDIA is not set
# CONFIG_NET_VENDOR_OKI is not set
# CONFIG_ETHOC is not set
# CONFIG_NET_VENDOR_PACKET_ENGINES is not set
# CONFIG_NET_VENDOR_PENSANDO is not set
# CONFIG_NET_VENDOR_QLOGIC is not set
# CONFIG_NET_VENDOR_BROCADE is not set
# CONFIG_NET_VENDOR_QUALCOMM is not set
# CONFIG_NET_VENDOR_RDC is not set
# CONFIG_NET_VENDOR_REALTEK is not set
# CONFIG_NET_VENDOR_RENESAS is not set
# CONFIG_NET_VENDOR_ROCKER is not set
# CONFIG_NET_VENDOR_SAMSUNG is not set
# CONFIG_NET_VENDOR_SEEQ is not set
# CONFIG_NET_VENDOR_SILAN is not set
# CONFIG_NET_VENDOR_SIS is not set
# CONFIG_NET_VENDOR_SOLARFLARE is not set
# CONFIG_NET_VENDOR_SMSC is not set
# CONFIG_NET_VENDOR_SOCIONEXT is not set
# CONFIG_NET_VENDOR_STMICRO is not set
# CONFIG_NET_VENDOR_SUN is not set
# CONFIG_NET_VENDOR_SYNOPSYS is not set
# CONFIG_NET_VENDOR_TEHUTI is not set
# CONFIG_NET_VENDOR_TI is not set
CONFIG_NET_VENDOR_VERTEXCOM=y
# CONFIG_MSE102X is not set
# CONFIG_NET_VENDOR_VIA is not set
CONFIG_NET_VENDOR_WANGXUN=y
# CONFIG_NGBE is not set
# CONFIG_TXGBE is not set
# CONFIG_TXGBEVF is not set
# CONFIG_NGBEVF is not set
# CONFIG_NET_VENDOR_WIZNET is not set
# CONFIG_NET_VENDOR_XILINX is not set
# CONFIG_NET_VENDOR_XIRCOM is not set
CONFIG_FDDI=y
# CONFIG_DEFXX is not set
# CONFIG_SKFP is not set
# CONFIG_HIPPI is not set
CONFIG_MDIO_BUS=y
CONFIG_PHYLINK=y
CONFIG_PHYLIB=y
CONFIG_SWPHY=y
# CONFIG_LED_TRIGGER_PHY is not set
CONFIG_PHYLIB_LEDS=y
CONFIG_FIXED_PHY=y
# CONFIG_SFP is not set

#
# MII PHY device drivers
#
# CONFIG_AS21XXX_PHY is not set
# CONFIG_AIR_EN8811H_PHY is not set
# CONFIG_AMD_PHY is not set
# CONFIG_ADIN_PHY is not set
# CONFIG_ADIN1100_PHY is not set
# CONFIG_AQUANTIA_PHY is not set
CONFIG_AX88796B_PHY=y
# CONFIG_BROADCOM_PHY is not set
# CONFIG_BCM54140_PHY is not set
# CONFIG_BCM7XXX_PHY is not set
# CONFIG_BCM84881_PHY is not set
# CONFIG_BCM87XX_PHY is not set
# CONFIG_CICADA_PHY is not set
# CONFIG_CORTINA_PHY is not set
# CONFIG_DAVICOM_PHY is not set
# CONFIG_ICPLUS_PHY is not set
# CONFIG_LXT_PHY is not set
# CONFIG_INTEL_XWAY_PHY is not set
# CONFIG_LSI_ET1011C_PHY is not set
# CONFIG_MARVELL_PHY is not set
# CONFIG_MARVELL_10G_PHY is not set
# CONFIG_MARVELL_88Q2XXX_PHY is not set
# CONFIG_MARVELL_88X2222_PHY is not set
# CONFIG_MAXLINEAR_GPHY is not set
# CONFIG_MAXLINEAR_86110_PHY is not set
# CONFIG_MEDIATEK_GE_PHY is not set
# CONFIG_MICREL_PHY is not set
# CONFIG_MICROCHIP_T1S_PHY is not set
CONFIG_MICROCHIP_PHY=y
# CONFIG_MICROCHIP_T1_PHY is not set
# CONFIG_MICROSEMI_PHY is not set
# CONFIG_MOTORCOMM_PHY is not set
# CONFIG_NATIONAL_PHY is not set
# CONFIG_NXP_CBTX_PHY is not set
# CONFIG_NXP_C45_TJA11XX_PHY is not set
# CONFIG_NXP_TJA11XX_PHY is not set
# CONFIG_NCN26000_PHY is not set
# CONFIG_AT803X_PHY is not set
# CONFIG_QCA83XX_PHY is not set
# CONFIG_QCA808X_PHY is not set
# CONFIG_QCA807X_PHY is not set
# CONFIG_QSEMI_PHY is not set
CONFIG_REALTEK_PHY=y
# CONFIG_REALTEK_PHY_HWMON is not set
# CONFIG_RENESAS_PHY is not set
# CONFIG_ROCKCHIP_PHY is not set
CONFIG_SMSC_PHY=y
# CONFIG_STE10XP is not set
# CONFIG_TERANETICS_PHY is not set
# CONFIG_DP83822_PHY is not set
# CONFIG_DP83TC811_PHY is not set
# CONFIG_DP83848_PHY is not set
# CONFIG_DP83867_PHY is not set
# CONFIG_DP83869_PHY is not set
# CONFIG_DP83TD510_PHY is not set
# CONFIG_DP83TG720_PHY is not set
# CONFIG_VITESSE_PHY is not set
# CONFIG_XILINX_GMII2RGMII is not set
# CONFIG_PSE_CONTROLLER is not set
CONFIG_CAN_DEV=y
CONFIG_CAN_VCAN=y
CONFIG_CAN_VXCAN=y
CONFIG_CAN_NETLINK=y
CONFIG_CAN_CALC_BITTIMING=y
CONFIG_CAN_RX_OFFLOAD=y
# CONFIG_CAN_CAN327 is not set
# CONFIG_CAN_DUMMY is not set
# CONFIG_CAN_FLEXCAN is not set
# CONFIG_CAN_GRCAN is not set
# CONFIG_CAN_KVASER_PCIEFD is not set
CONFIG_CAN_SLCAN=y
# CONFIG_CAN_C_CAN is not set
# CONFIG_CAN_CC770 is not set
# CONFIG_CAN_CTUCANFD_PCI is not set
# CONFIG_CAN_CTUCANFD_PLATFORM is not set
# CONFIG_CAN_ESD_402_PCI is not set
CONFIG_CAN_IFI_CANFD=y
# CONFIG_CAN_M_CAN is not set
# CONFIG_CAN_PEAK_PCIEFD is not set
# CONFIG_CAN_SJA1000 is not set
# CONFIG_CAN_SOFTING is not set

#
# CAN SPI interfaces
#
# CONFIG_CAN_HI311X is not set
# CONFIG_CAN_MCP251X is not set
# CONFIG_CAN_MCP251XFD is not set
# end of CAN SPI interfaces

#
# CAN USB interfaces
#
CONFIG_CAN_8DEV_USB=y
CONFIG_CAN_EMS_USB=y
CONFIG_CAN_ESD_USB=y
CONFIG_CAN_ETAS_ES58X=y
CONFIG_CAN_F81604=y
CONFIG_CAN_GS_USB=y
CONFIG_CAN_KVASER_USB=y
CONFIG_CAN_MCBA_USB=y
CONFIG_CAN_PEAK_USB=y
CONFIG_CAN_UCAN=y
# end of CAN USB interfaces

# CONFIG_CAN_DEBUG_DEVICES is not set

#
# MCTP Device Drivers
#
# CONFIG_MCTP_SERIAL is not set
# CONFIG_MCTP_TRANSPORT_I2C is not set
# CONFIG_MCTP_TRANSPORT_USB is not set
# end of MCTP Device Drivers

CONFIG_FWNODE_MDIO=y
CONFIG_OF_MDIO=y
CONFIG_ACPI_MDIO=y
# CONFIG_MDIO_BITBANG is not set
# CONFIG_MDIO_BCM_UNIMAC is not set
# CONFIG_MDIO_HISI_FEMAC is not set
CONFIG_MDIO_MVUSB=y
# CONFIG_MDIO_MSCC_MIIM is not set
# CONFIG_MDIO_OCTEON is not set
# CONFIG_MDIO_IPQ4019 is not set
# CONFIG_MDIO_IPQ8064 is not set
# CONFIG_MDIO_THUNDER is not set

#
# MDIO Multiplexers
#
# CONFIG_MDIO_BUS_MUX_GPIO is not set
# CONFIG_MDIO_BUS_MUX_MULTIPLEXER is not set
# CONFIG_MDIO_BUS_MUX_MMIOREG is not set

#
# PCS device drivers
#
# CONFIG_PCS_XPCS is not set
# end of PCS device drivers

# CONFIG_PLIP is not set
CONFIG_PPP=y
CONFIG_PPP_BSDCOMP=y
CONFIG_PPP_DEFLATE=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_MPPE=y
CONFIG_PPP_MULTILINK=y
CONFIG_PPPOATM=y
CONFIG_PPPOE=y
CONFIG_PPPOE_HASH_BITS_1=y
# CONFIG_PPPOE_HASH_BITS_2 is not set
# CONFIG_PPPOE_HASH_BITS_4 is not set
# CONFIG_PPPOE_HASH_BITS_8 is not set
CONFIG_PPPOE_HASH_BITS=1
CONFIG_PPTP=y
CONFIG_PPPOL2TP=y
CONFIG_PPP_ASYNC=y
CONFIG_PPP_SYNC_TTY=y
CONFIG_SLIP=y
CONFIG_SLHC=y
CONFIG_SLIP_COMPRESSED=y
CONFIG_SLIP_SMART=y
CONFIG_SLIP_MODE_SLIP6=y
CONFIG_USB_NET_DRIVERS=y
CONFIG_USB_CATC=y
CONFIG_USB_KAWETH=y
CONFIG_USB_PEGASUS=y
CONFIG_USB_RTL8150=y
CONFIG_USB_RTL8152=y
CONFIG_USB_LAN78XX=y
CONFIG_USB_USBNET=y
CONFIG_USB_NET_AX8817X=y
CONFIG_USB_NET_AX88179_178A=y
CONFIG_USB_NET_CDCETHER=y
CONFIG_USB_NET_CDC_EEM=y
CONFIG_USB_NET_CDC_NCM=y
CONFIG_USB_NET_HUAWEI_CDC_NCM=y
CONFIG_USB_NET_CDC_MBIM=y
CONFIG_USB_NET_DM9601=y
CONFIG_USB_NET_SR9700=y
CONFIG_USB_NET_SR9800=y
CONFIG_USB_NET_SMSC75XX=y
CONFIG_USB_NET_SMSC95XX=y
CONFIG_USB_NET_GL620A=y
CONFIG_USB_NET_NET1080=y
CONFIG_USB_NET_PLUSB=y
CONFIG_USB_NET_MCS7830=y
CONFIG_USB_NET_RNDIS_HOST=y
CONFIG_USB_NET_CDC_SUBSET_ENABLE=y
CONFIG_USB_NET_CDC_SUBSET=y
CONFIG_USB_ALI_M5632=y
CONFIG_USB_AN2720=y
CONFIG_USB_BELKIN=y
CONFIG_USB_ARMLINUX=y
CONFIG_USB_EPSON2888=y
CONFIG_USB_KC2190=y
CONFIG_USB_NET_ZAURUS=y
CONFIG_USB_NET_CX82310_ETH=y
CONFIG_USB_NET_KALMIA=y
CONFIG_USB_NET_QMI_WWAN=y
CONFIG_USB_HSO=y
CONFIG_USB_NET_INT51X1=y
CONFIG_USB_CDC_PHONET=y
CONFIG_USB_IPHETH=y
CONFIG_USB_SIERRA_NET=y
CONFIG_USB_VL600=y
CONFIG_USB_NET_CH9200=y
CONFIG_USB_NET_AQC111=y
CONFIG_USB_RTL8153_ECM=y
CONFIG_WLAN=y
CONFIG_WLAN_VENDOR_ADMTEK=y
# CONFIG_ADM8211 is not set
CONFIG_ATH_COMMON=y
CONFIG_WLAN_VENDOR_ATH=y
# CONFIG_ATH_DEBUG is not set
# CONFIG_ATH5K is not set
# CONFIG_ATH5K_PCI is not set
CONFIG_ATH9K_HW=y
CONFIG_ATH9K_COMMON=y
CONFIG_ATH9K_COMMON_DEBUG=y
CONFIG_ATH9K_BTCOEX_SUPPORT=y
CONFIG_ATH9K=y
CONFIG_ATH9K_PCI=y
CONFIG_ATH9K_AHB=y
CONFIG_ATH9K_DEBUGFS=y
# CONFIG_ATH9K_STATION_STATISTICS is not set
CONFIG_ATH9K_DYNACK=y
# CONFIG_ATH9K_WOW is not set
CONFIG_ATH9K_RFKILL=y
CONFIG_ATH9K_CHANNEL_CONTEXT=y
CONFIG_ATH9K_PCOEM=y
# CONFIG_ATH9K_PCI_NO_EEPROM is not set
CONFIG_ATH9K_HTC=y
CONFIG_ATH9K_HTC_DEBUGFS=y
# CONFIG_ATH9K_HWRNG is not set
CONFIG_ATH9K_COMMON_SPECTRAL=y
CONFIG_CARL9170=y
CONFIG_CARL9170_LEDS=y
# CONFIG_CARL9170_DEBUGFS is not set
CONFIG_CARL9170_WPC=y
CONFIG_CARL9170_HWRNG=y
CONFIG_ATH6KL=y
# CONFIG_ATH6KL_SDIO is not set
CONFIG_ATH6KL_USB=y
# CONFIG_ATH6KL_DEBUG is not set
# CONFIG_ATH6KL_TRACING is not set
CONFIG_AR5523=y
# CONFIG_WIL6210 is not set
CONFIG_ATH10K=y
CONFIG_ATH10K_CE=y
CONFIG_ATH10K_PCI=y
# CONFIG_ATH10K_AHB is not set
# CONFIG_ATH10K_SDIO is not set
CONFIG_ATH10K_USB=y
# CONFIG_ATH10K_DEBUG is not set
# CONFIG_ATH10K_DEBUGFS is not set
CONFIG_ATH10K_LEDS=y
# CONFIG_ATH10K_TRACING is not set
# CONFIG_WCN36XX is not set
CONFIG_ATH11K=y
# CONFIG_ATH11K_PCI is not set
# CONFIG_ATH11K_DEBUG is not set
# CONFIG_ATH11K_DEBUGFS is not set
# CONFIG_ATH11K_TRACING is not set
# CONFIG_ATH12K is not set
# CONFIG_WLAN_VENDOR_ATMEL is not set
# CONFIG_WLAN_VENDOR_BROADCOM is not set
# CONFIG_WLAN_VENDOR_INTEL is not set
# CONFIG_WLAN_VENDOR_INTERSIL is not set
# CONFIG_WLAN_VENDOR_MARVELL is not set
# CONFIG_WLAN_VENDOR_MEDIATEK is not set
# CONFIG_WLAN_VENDOR_MICROCHIP is not set
CONFIG_WLAN_VENDOR_PURELIFI=y
CONFIG_PLFXLC=y
# CONFIG_WLAN_VENDOR_RALINK is not set
# CONFIG_WLAN_VENDOR_REALTEK is not set
# CONFIG_WLAN_VENDOR_RSI is not set
CONFIG_WLAN_VENDOR_SILABS=y
# CONFIG_WFX is not set
# CONFIG_WLAN_VENDOR_ST is not set
# CONFIG_WLAN_VENDOR_TI is not set
# CONFIG_WLAN_VENDOR_ZYDAS is not set
# CONFIG_WLAN_VENDOR_QUANTENNA is not set
CONFIG_MAC80211_HWSIM=y
CONFIG_VIRT_WIFI=y
CONFIG_WAN=y
CONFIG_HDLC=y
CONFIG_HDLC_RAW=y
CONFIG_HDLC_RAW_ETH=y
CONFIG_HDLC_CISCO=y
CONFIG_HDLC_FR=y
CONFIG_HDLC_PPP=y
CONFIG_HDLC_X25=y
# CONFIG_FRAMER is not set
# CONFIG_PCI200SYN is not set
# CONFIG_WANXL is not set
# CONFIG_PC300TOO is not set
# CONFIG_FARSYNC is not set
CONFIG_LAPBETHER=y
CONFIG_IEEE802154_DRIVERS=y
# CONFIG_IEEE802154_FAKELB is not set
# CONFIG_IEEE802154_AT86RF230 is not set
# CONFIG_IEEE802154_MRF24J40 is not set
# CONFIG_IEEE802154_CC2520 is not set
CONFIG_IEEE802154_ATUSB=y
# CONFIG_IEEE802154_ADF7242 is not set
# CONFIG_IEEE802154_CA8210 is not set
# CONFIG_IEEE802154_MCR20A is not set
CONFIG_IEEE802154_HWSIM=y

#
# Wireless WAN
#
CONFIG_WWAN=y
# CONFIG_WWAN_DEBUGFS is not set
# CONFIG_WWAN_HWSIM is not set
CONFIG_MHI_WWAN_CTRL=y
# CONFIG_MHI_WWAN_MBIM is not set
# CONFIG_IOSM is not set
# CONFIG_MTK_T7XX is not set
# end of Wireless WAN

CONFIG_VMXNET3=y
# CONFIG_FUJITSU_ES is not set
CONFIG_USB4_NET=y
CONFIG_NETDEVSIM=y
CONFIG_NET_FAILOVER=y
CONFIG_ISDN=y
CONFIG_ISDN_CAPI=y
CONFIG_MISDN=y
CONFIG_MISDN_DSP=y
CONFIG_MISDN_L1OIP=y

#
# mISDN hardware drivers
#
# CONFIG_MISDN_HFCPCI is not set
# CONFIG_MISDN_HFCMULTI is not set
CONFIG_MISDN_HFCUSB=y
# CONFIG_MISDN_AVMFRITZ is not set
# CONFIG_MISDN_SPEEDFAX is not set
# CONFIG_MISDN_INFINEON is not set
# CONFIG_MISDN_W6692 is not set
# CONFIG_MISDN_NETJET is not set

#
# Input device support
#
CONFIG_INPUT=y
CONFIG_INPUT_LEDS=y
CONFIG_INPUT_FF_MEMLESS=y
CONFIG_INPUT_SPARSEKMAP=y
# CONFIG_INPUT_MATRIXKMAP is not set
CONFIG_INPUT_VIVALDIFMAP=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=y
CONFIG_INPUT_EVDEV=y

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ADC is not set
# CONFIG_KEYBOARD_ADP5588 is not set
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_QT1050 is not set
# CONFIG_KEYBOARD_QT1070 is not set
# CONFIG_KEYBOARD_QT2160 is not set
# CONFIG_KEYBOARD_DLINK_DIR685 is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_GPIO is not set
# CONFIG_KEYBOARD_GPIO_POLLED is not set
# CONFIG_KEYBOARD_TCA8418 is not set
# CONFIG_KEYBOARD_MATRIX is not set
# CONFIG_KEYBOARD_LM8323 is not set
# CONFIG_KEYBOARD_LM8333 is not set
# CONFIG_KEYBOARD_MAX7359 is not set
# CONFIG_KEYBOARD_MPR121 is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_PINEPHONE is not set
# CONFIG_KEYBOARD_SAMSUNG is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_OMAP4 is not set
# CONFIG_KEYBOARD_TM2_TOUCHKEY is not set
# CONFIG_KEYBOARD_TWL4030 is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_CAP11XX is not set
# CONFIG_KEYBOARD_BCM is not set
# CONFIG_KEYBOARD_CYPRESS_SF is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_MOUSE_PS2_BYD=y
CONFIG_MOUSE_PS2_LOGIPS2PP=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_SYNAPTICS_SMBUS=y
CONFIG_MOUSE_PS2_CYPRESS=y
CONFIG_MOUSE_PS2_LIFEBOOK=y
CONFIG_MOUSE_PS2_TRACKPOINT=y
# CONFIG_MOUSE_PS2_ELANTECH is not set
# CONFIG_MOUSE_PS2_SENTELIC is not set
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
CONFIG_MOUSE_PS2_FOCALTECH=y
# CONFIG_MOUSE_PS2_VMMOUSE is not set
CONFIG_MOUSE_PS2_SMBUS=y
# CONFIG_MOUSE_SERIAL is not set
CONFIG_MOUSE_APPLETOUCH=y
CONFIG_MOUSE_BCM5974=y
# CONFIG_MOUSE_CYAPA is not set
# CONFIG_MOUSE_ELAN_I2C is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_MOUSE_GPIO is not set
# CONFIG_MOUSE_SYNAPTICS_I2C is not set
CONFIG_MOUSE_SYNAPTICS_USB=y
CONFIG_INPUT_JOYSTICK=y
# CONFIG_JOYSTICK_ANALOG is not set
# CONFIG_JOYSTICK_A3D is not set
# CONFIG_JOYSTICK_ADC is not set
# CONFIG_JOYSTICK_ADI is not set
# CONFIG_JOYSTICK_COBRA is not set
# CONFIG_JOYSTICK_GF2K is not set
# CONFIG_JOYSTICK_GRIP is not set
# CONFIG_JOYSTICK_GRIP_MP is not set
# CONFIG_JOYSTICK_GUILLEMOT is not set
# CONFIG_JOYSTICK_INTERACT is not set
# CONFIG_JOYSTICK_SIDEWINDER is not set
# CONFIG_JOYSTICK_TMDC is not set
CONFIG_JOYSTICK_IFORCE=y
CONFIG_JOYSTICK_IFORCE_USB=y
# CONFIG_JOYSTICK_IFORCE_232 is not set
# CONFIG_JOYSTICK_WARRIOR is not set
# CONFIG_JOYSTICK_MAGELLAN is not set
# CONFIG_JOYSTICK_SPACEORB is not set
# CONFIG_JOYSTICK_SPACEBALL is not set
# CONFIG_JOYSTICK_STINGER is not set
# CONFIG_JOYSTICK_TWIDJOY is not set
# CONFIG_JOYSTICK_ZHENHUA is not set
# CONFIG_JOYSTICK_DB9 is not set
# CONFIG_JOYSTICK_GAMECON is not set
# CONFIG_JOYSTICK_TURBOGRAFX is not set
# CONFIG_JOYSTICK_AS5011 is not set
# CONFIG_JOYSTICK_JOYDUMP is not set
CONFIG_JOYSTICK_XPAD=y
CONFIG_JOYSTICK_XPAD_FF=y
CONFIG_JOYSTICK_XPAD_LEDS=y
# CONFIG_JOYSTICK_WALKERA0701 is not set
# CONFIG_JOYSTICK_PSXPAD_SPI is not set
CONFIG_JOYSTICK_PXRC=y
# CONFIG_JOYSTICK_QWIIC is not set
# CONFIG_JOYSTICK_FSIA6B is not set
# CONFIG_JOYSTICK_SENSEHAT is not set
# CONFIG_JOYSTICK_SEESAW is not set
CONFIG_INPUT_TABLET=y
CONFIG_TABLET_USB_ACECAD=y
CONFIG_TABLET_USB_AIPTEK=y
CONFIG_TABLET_USB_HANWANG=y
CONFIG_TABLET_USB_KBTAB=y
CONFIG_TABLET_USB_PEGASUS=y
# CONFIG_TABLET_SERIAL_WACOM4 is not set
CONFIG_INPUT_TOUCHSCREEN=y
# CONFIG_TOUCHSCREEN_ADS7846 is not set
# CONFIG_TOUCHSCREEN_AD7877 is not set
# CONFIG_TOUCHSCREEN_AD7879 is not set
# CONFIG_TOUCHSCREEN_ADC is not set
# CONFIG_TOUCHSCREEN_AR1021_I2C is not set
# CONFIG_TOUCHSCREEN_ATMEL_MXT is not set
# CONFIG_TOUCHSCREEN_AUO_PIXCIR is not set
# CONFIG_TOUCHSCREEN_BU21013 is not set
# CONFIG_TOUCHSCREEN_BU21029 is not set
# CONFIG_TOUCHSCREEN_CHIPONE_ICN8318 is not set
# CONFIG_TOUCHSCREEN_CHIPONE_ICN8505 is not set
# CONFIG_TOUCHSCREEN_CY8CTMA140 is not set
# CONFIG_TOUCHSCREEN_CY8CTMG110 is not set
# CONFIG_TOUCHSCREEN_CYTTSP_CORE is not set
# CONFIG_TOUCHSCREEN_CYTTSP5 is not set
# CONFIG_TOUCHSCREEN_DYNAPRO is not set
# CONFIG_TOUCHSCREEN_HAMPSHIRE is not set
# CONFIG_TOUCHSCREEN_EETI is not set
# CONFIG_TOUCHSCREEN_EGALAX is not set
# CONFIG_TOUCHSCREEN_EGALAX_SERIAL is not set
# CONFIG_TOUCHSCREEN_EXC3000 is not set
# CONFIG_TOUCHSCREEN_FUJITSU is not set
# CONFIG_TOUCHSCREEN_GOODIX is not set
# CONFIG_TOUCHSCREEN_GOODIX_BERLIN_I2C is not set
# CONFIG_TOUCHSCREEN_GOODIX_BERLIN_SPI is not set
# CONFIG_TOUCHSCREEN_HIDEEP is not set
# CONFIG_TOUCHSCREEN_HIMAX_HX852X is not set
# CONFIG_TOUCHSCREEN_HYCON_HY46XX is not set
# CONFIG_TOUCHSCREEN_HYNITRON_CSTXXX is not set
# CONFIG_TOUCHSCREEN_HYNITRON_CST816X is not set
# CONFIG_TOUCHSCREEN_ILI210X is not set
# CONFIG_TOUCHSCREEN_ILITEK is not set
# CONFIG_TOUCHSCREEN_S6SY761 is not set
# CONFIG_TOUCHSCREEN_GUNZE is not set
# CONFIG_TOUCHSCREEN_EKTF2127 is not set
# CONFIG_TOUCHSCREEN_ELAN is not set
# CONFIG_TOUCHSCREEN_ELO is not set
# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
# CONFIG_TOUCHSCREEN_WACOM_I2C is not set
# CONFIG_TOUCHSCREEN_MAX11801 is not set
# CONFIG_TOUCHSCREEN_MMS114 is not set
# CONFIG_TOUCHSCREEN_MELFAS_MIP4 is not set
# CONFIG_TOUCHSCREEN_MSG2638 is not set
# CONFIG_TOUCHSCREEN_MTOUCH is not set
# CONFIG_TOUCHSCREEN_NOVATEK_NVT_TS is not set
# CONFIG_TOUCHSCREEN_IMAGIS is not set
# CONFIG_TOUCHSCREEN_IMX6UL_TSC is not set
# CONFIG_TOUCHSCREEN_INEXIO is not set
# CONFIG_TOUCHSCREEN_PENMOUNT is not set
# CONFIG_TOUCHSCREEN_EDT_FT5X06 is not set
# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
# CONFIG_TOUCHSCREEN_PIXCIR is not set
# CONFIG_TOUCHSCREEN_WDT87XX_I2C is not set
CONFIG_TOUCHSCREEN_USB_COMPOSITE=y
CONFIG_TOUCHSCREEN_USB_EGALAX=y
CONFIG_TOUCHSCREEN_USB_PANJIT=y
CONFIG_TOUCHSCREEN_USB_3M=y
CONFIG_TOUCHSCREEN_USB_ITM=y
CONFIG_TOUCHSCREEN_USB_ETURBO=y
CONFIG_TOUCHSCREEN_USB_GUNZE=y
CONFIG_TOUCHSCREEN_USB_DMC_TSC10=y
CONFIG_TOUCHSCREEN_USB_IRTOUCH=y
CONFIG_TOUCHSCREEN_USB_IDEALTEK=y
CONFIG_TOUCHSCREEN_USB_GENERAL_TOUCH=y
CONFIG_TOUCHSCREEN_USB_GOTOP=y
CONFIG_TOUCHSCREEN_USB_JASTEC=y
CONFIG_TOUCHSCREEN_USB_ELO=y
CONFIG_TOUCHSCREEN_USB_E2I=y
CONFIG_TOUCHSCREEN_USB_ZYTRONIC=y
CONFIG_TOUCHSCREEN_USB_ETT_TC45USB=y
CONFIG_TOUCHSCREEN_USB_NEXIO=y
CONFIG_TOUCHSCREEN_USB_EASYTOUCH=y
# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
# CONFIG_TOUCHSCREEN_TSC_SERIO is not set
# CONFIG_TOUCHSCREEN_TSC2004 is not set
# CONFIG_TOUCHSCREEN_TSC2005 is not set
# CONFIG_TOUCHSCREEN_TSC2007 is not set
# CONFIG_TOUCHSCREEN_RM_TS is not set
# CONFIG_TOUCHSCREEN_SILEAD is not set
# CONFIG_TOUCHSCREEN_SIS_I2C is not set
# CONFIG_TOUCHSCREEN_ST1232 is not set
# CONFIG_TOUCHSCREEN_STMFTS is not set
CONFIG_TOUCHSCREEN_SUR40=y
# CONFIG_TOUCHSCREEN_SURFACE3_SPI is not set
# CONFIG_TOUCHSCREEN_SX8654 is not set
# CONFIG_TOUCHSCREEN_TPS6507X is not set
# CONFIG_TOUCHSCREEN_ZET6223 is not set
# CONFIG_TOUCHSCREEN_ZFORCE is not set
# CONFIG_TOUCHSCREEN_COLIBRI_VF50 is not set
# CONFIG_TOUCHSCREEN_ROHM_BU21023 is not set
# CONFIG_TOUCHSCREEN_IQS5XX is not set
# CONFIG_TOUCHSCREEN_IQS7211 is not set
# CONFIG_TOUCHSCREEN_ZINITIX is not set
# CONFIG_TOUCHSCREEN_HIMAX_HX83112B is not set
CONFIG_INPUT_MISC=y
# CONFIG_INPUT_AD714X is not set
# CONFIG_INPUT_ATMEL_CAPTOUCH is not set
# CONFIG_INPUT_AW86927 is not set
# CONFIG_INPUT_BMA150 is not set
# CONFIG_INPUT_E3X0_BUTTON is not set
# CONFIG_INPUT_PCSPKR is not set
# CONFIG_INPUT_MMA8450 is not set
# CONFIG_INPUT_APANEL is not set
# CONFIG_INPUT_GPIO_BEEPER is not set
# CONFIG_INPUT_GPIO_DECODER is not set
# CONFIG_INPUT_GPIO_VIBRA is not set
# CONFIG_INPUT_ATLAS_BTNS is not set
CONFIG_INPUT_ATI_REMOTE2=y
CONFIG_INPUT_KEYSPAN_REMOTE=y
# CONFIG_INPUT_KXTJ9 is not set
CONFIG_INPUT_POWERMATE=y
CONFIG_INPUT_YEALINK=y
CONFIG_INPUT_CM109=y
# CONFIG_INPUT_REGULATOR_HAPTIC is not set
# CONFIG_INPUT_RETU_PWRBUTTON is not set
# CONFIG_INPUT_TWL4030_PWRBUTTON is not set
# CONFIG_INPUT_TWL4030_VIBRA is not set
CONFIG_INPUT_UINPUT=y
# CONFIG_INPUT_PCF8574 is not set
# CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set
# CONFIG_INPUT_DA7280_HAPTICS is not set
# CONFIG_INPUT_ADXL34X is not set
# CONFIG_INPUT_IBM_PANEL is not set
CONFIG_INPUT_IMS_PCU=y
# CONFIG_INPUT_IQS269A is not set
# CONFIG_INPUT_IQS626A is not set
# CONFIG_INPUT_IQS7222 is not set
# CONFIG_INPUT_CMA3000 is not set
# CONFIG_INPUT_IDEAPAD_SLIDEBAR is not set
# CONFIG_INPUT_DRV260X_HAPTICS is not set
# CONFIG_INPUT_DRV2665_HAPTICS is not set
# CONFIG_INPUT_DRV2667_HAPTICS is not set
CONFIG_RMI4_CORE=y
# CONFIG_RMI4_I2C is not set
# CONFIG_RMI4_SPI is not set
# CONFIG_RMI4_SMB is not set
CONFIG_RMI4_F03=y
CONFIG_RMI4_F03_SERIO=y
CONFIG_RMI4_2D_SENSOR=y
CONFIG_RMI4_F11=y
CONFIG_RMI4_F12=y
# CONFIG_RMI4_F1A is not set
# CONFIG_RMI4_F21 is not set
CONFIG_RMI4_F30=y
# CONFIG_RMI4_F34 is not set
CONFIG_RMI4_F3A=y
# CONFIG_RMI4_F54 is not set
# CONFIG_RMI4_F55 is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not set
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_SERIO_ALTERA_PS2 is not set
# CONFIG_SERIO_PS2MULT is not set
# CONFIG_SERIO_ARC_PS2 is not set
# CONFIG_SERIO_APBPS2 is not set
# CONFIG_SERIO_GPIO_PS2 is not set
CONFIG_USERIO=y
# CONFIG_GAMEPORT is not set
# end of Hardware I/O ports
# end of Input device support

#
# Character devices
#
CONFIG_TTY=y
CONFIG_VT=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_VT_CONSOLE=y
CONFIG_VT_CONSOLE_SLEEP=y
CONFIG_VT_HW_CONSOLE_BINDING=y
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
CONFIG_LEGACY_TIOCSTI=y
CONFIG_LDISC_AUTOLOAD=y

#
# Serial drivers
#
CONFIG_SERIAL_EARLYCON=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_PNP=y
# CONFIG_SERIAL_8250_16550A_VARIANTS is not set
# CONFIG_SERIAL_8250_FINTEK is not set
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_DMA=y
CONFIG_SERIAL_8250_PCILIB=y
CONFIG_SERIAL_8250_PCI=y
# CONFIG_SERIAL_8250_EXAR is not set
# CONFIG_SERIAL_8250_CS is not set
CONFIG_SERIAL_8250_NR_UARTS=32
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
# CONFIG_SERIAL_8250_PCI1XXXX is not set
CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_8250_DETECT_IRQ=y
CONFIG_SERIAL_8250_RSA=y
CONFIG_SERIAL_8250_DWLIB=y
# CONFIG_SERIAL_8250_DW is not set
# CONFIG_SERIAL_8250_RT288X is not set
CONFIG_SERIAL_8250_LPSS=y
CONFIG_SERIAL_8250_MID=y
CONFIG_SERIAL_8250_PERICOM=y
# CONFIG_SERIAL_8250_NI is not set
# CONFIG_SERIAL_OF_PLATFORM is not set

#
# Non-8250 serial port support
#
# CONFIG_SERIAL_MAX3100 is not set
# CONFIG_SERIAL_MAX310X is not set
# CONFIG_SERIAL_UARTLITE is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set
# CONFIG_SERIAL_SIFIVE is not set
# CONFIG_SERIAL_LANTIQ is not set
# CONFIG_SERIAL_SCCNXP is not set
# CONFIG_SERIAL_SC16IS7XX is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not set
# CONFIG_SERIAL_XILINX_PS_UART is not set
# CONFIG_SERIAL_ARC is not set
# CONFIG_SERIAL_RP2 is not set
# CONFIG_SERIAL_FSL_LPUART is not set
# CONFIG_SERIAL_FSL_LINFLEXUART is not set
# CONFIG_SERIAL_CONEXANT_DIGICOLOR is not set
# CONFIG_SERIAL_SPRD is not set
# end of Serial drivers

CONFIG_SERIAL_MCTRL_GPIO=y
CONFIG_SERIAL_NONSTANDARD=y
# CONFIG_MOXA_INTELLIO is not set
# CONFIG_MOXA_SMARTIO is not set
CONFIG_N_HDLC=y
# CONFIG_IPWIRELESS is not set
CONFIG_N_GSM=y
CONFIG_NOZOMI=y
CONFIG_NULL_TTY=y
CONFIG_HVC_DRIVER=y
CONFIG_SERIAL_DEV_BUS=y
CONFIG_SERIAL_DEV_CTRL_TTYPORT=y
CONFIG_TTY_PRINTK=y
CONFIG_TTY_PRINTK_LEVEL=6
# CONFIG_PRINTER is not set
# CONFIG_PPDEV is not set
CONFIG_VIRTIO_CONSOLE=y
# CONFIG_IPMI_HANDLER is not set
# CONFIG_SSIF_IPMI_BMC is not set
# CONFIG_IPMB_DEVICE_INTERFACE is not set
CONFIG_HW_RANDOM=y
# CONFIG_HW_RANDOM_TIMERIOMEM is not set
# CONFIG_HW_RANDOM_INTEL is not set
# CONFIG_HW_RANDOM_AMD is not set
# CONFIG_HW_RANDOM_BA431 is not set
# CONFIG_HW_RANDOM_VIA is not set
CONFIG_HW_RANDOM_VIRTIO=y
# CONFIG_HW_RANDOM_CCTRNG is not set
# CONFIG_HW_RANDOM_XIPHERA is not set
# CONFIG_APPLICOM is not set
# CONFIG_MWAVE is not set
# CONFIG_DEVMEM is not set
CONFIG_NVRAM=y
# CONFIG_DEVPORT is not set
CONFIG_HPET=y
CONFIG_HPET_MMAP=y
CONFIG_HPET_MMAP_DEFAULT=y
# CONFIG_HANGCHECK_TIMER is not set
CONFIG_TCG_TPM=y
# CONFIG_TCG_TPM2_HMAC is not set
# CONFIG_HW_RANDOM_TPM is not set
CONFIG_TCG_TIS_CORE=y
CONFIG_TCG_TIS=y
# CONFIG_TCG_TIS_SPI is not set
# CONFIG_TCG_TIS_I2C is not set
# CONFIG_TCG_TIS_I2C_CR50 is not set
# CONFIG_TCG_TIS_I2C_ATMEL is not set
# CONFIG_TCG_TIS_I2C_INFINEON is not set
# CONFIG_TCG_TIS_I2C_NUVOTON is not set
# CONFIG_TCG_NSC is not set
# CONFIG_TCG_ATMEL is not set
# CONFIG_TCG_INFINEON is not set
CONFIG_TCG_CRB=y
# CONFIG_TCG_VTPM_PROXY is not set
# CONFIG_TCG_TIS_ST33ZP24_I2C is not set
# CONFIG_TCG_TIS_ST33ZP24_SPI is not set
# CONFIG_TELCLOCK is not set
CONFIG_XILLYBUS_CLASS=y
# CONFIG_XILLYBUS is not set
CONFIG_XILLYUSB=y
# end of Character devices

#
# I2C support
#
CONFIG_I2C=y
CONFIG_ACPI_I2C_OPREGION=y
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_MUX=y

#
# Multiplexer I2C Chip support
#
# CONFIG_I2C_ARB_GPIO_CHALLENGE is not set
# CONFIG_I2C_MUX_GPIO is not set
# CONFIG_I2C_MUX_GPMUX is not set
# CONFIG_I2C_MUX_LTC4306 is not set
# CONFIG_I2C_MUX_PCA9541 is not set
# CONFIG_I2C_MUX_PCA954x is not set
CONFIG_I2C_MUX_REG=y
# CONFIG_I2C_MUX_MLXCPLD is not set
# end of Multiplexer I2C Chip support

CONFIG_I2C_HELPER_AUTO=y
CONFIG_I2C_SMBUS=y
CONFIG_I2C_ALGOBIT=y

#
# I2C Hardware Bus support
#

#
# PC SMBus host controller drivers
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_AMD_MP2 is not set
CONFIG_I2C_I801=y
# CONFIG_I2C_ISCH is not set
# CONFIG_I2C_ISMT is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_CHT_WC is not set
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_NVIDIA_GPU is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set
# CONFIG_I2C_ZHAOXIN is not set

#
# ACPI drivers
#
# CONFIG_I2C_SCMI is not set

#
# I2C system bus drivers (mostly embedded / system-on-chip)
#
# CONFIG_I2C_CBUS_GPIO is not set
CONFIG_I2C_DESIGNWARE_CORE=y
# CONFIG_I2C_DESIGNWARE_SLAVE is not set
CONFIG_I2C_DESIGNWARE_PLATFORM=y
# CONFIG_I2C_DESIGNWARE_BAYTRAIL is not set
# CONFIG_I2C_DESIGNWARE_PCI is not set
# CONFIG_I2C_EMEV2 is not set
# CONFIG_I2C_GPIO is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PCA_PLATFORM is not set
# CONFIG_I2C_RK3X is not set
# CONFIG_I2C_SIMTEC is not set
# CONFIG_I2C_XILINX is not set

#
# External I2C/SMBus adapter drivers
#
CONFIG_I2C_DIOLAN_U2C=y
CONFIG_I2C_DLN2=y
CONFIG_I2C_LJCA=y
CONFIG_I2C_CP2615=y
# CONFIG_I2C_PARPORT is not set
# CONFIG_I2C_PCI1XXXX is not set
CONFIG_I2C_ROBOTFUZZ_OSIF=y
# CONFIG_I2C_TAOS_EVM is not set
CONFIG_I2C_TINY_USB=y
CONFIG_I2C_VIPERBOARD=y

#
# Other I2C/SMBus bus drivers
#
# CONFIG_I2C_MLXCPLD is not set
# CONFIG_I2C_VIRTIO is not set
# end of I2C Hardware Bus support

# CONFIG_I2C_STUB is not set
CONFIG_I2C_SLAVE=y
CONFIG_I2C_SLAVE_EEPROM=y
# CONFIG_I2C_SLAVE_TESTUNIT is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# end of I2C support

# CONFIG_I3C is not set
CONFIG_SPI=y
# CONFIG_SPI_DEBUG is not set
CONFIG_SPI_MASTER=y
# CONFIG_SPI_MEM is not set

#
# SPI Master Controller Drivers
#
# CONFIG_SPI_ALTERA is not set
# CONFIG_SPI_AXI_SPI_ENGINE is not set
# CONFIG_SPI_BITBANG is not set
# CONFIG_SPI_BUTTERFLY is not set
# CONFIG_SPI_CADENCE is not set
# CONFIG_SPI_CADENCE_QUADSPI is not set
# CONFIG_SPI_CH341 is not set
# CONFIG_SPI_DESIGNWARE is not set
CONFIG_SPI_DLN2=y
# CONFIG_SPI_GPIO is not set
# CONFIG_SPI_LM70_LLP is not set
# CONFIG_SPI_FSL_SPI is not set
CONFIG_SPI_LJCA=y
# CONFIG_SPI_MICROCHIP_CORE_QSPI is not set
# CONFIG_SPI_MICROCHIP_CORE_SPI is not set
# CONFIG_SPI_LANTIQ_SSC is not set
# CONFIG_SPI_OC_TINY is not set
# CONFIG_SPI_PCI1XXXX is not set
# CONFIG_SPI_PXA2XX is not set
# CONFIG_SPI_SC18IS602 is not set
# CONFIG_SPI_SIFIVE is not set
# CONFIG_SPI_MXIC is not set
# CONFIG_SPI_VIRTIO is not set
# CONFIG_SPI_XCOMM is not set
# CONFIG_SPI_XILINX is not set

#
# SPI Multiplexer support
#
# CONFIG_SPI_MUX is not set

#
# SPI Protocol Masters
#
# CONFIG_SPI_SPIDEV is not set
# CONFIG_SPI_LOOPBACK_TEST is not set
# CONFIG_SPI_TLE62X0 is not set
# CONFIG_SPI_SLAVE is not set
CONFIG_SPI_DYNAMIC=y
# CONFIG_SPMI is not set
# CONFIG_HSI is not set
CONFIG_PPS=y
# CONFIG_PPS_DEBUG is not set

#
# PPS clients support
#
# CONFIG_PPS_CLIENT_KTIMER is not set
# CONFIG_PPS_CLIENT_LDISC is not set
# CONFIG_PPS_CLIENT_PARPORT is not set
# CONFIG_PPS_CLIENT_GPIO is not set
# CONFIG_PPS_GENERATOR is not set

#
# PTP clock support
#
CONFIG_PTP_1588_CLOCK=y
CONFIG_PTP_1588_CLOCK_OPTIONAL=y

#
# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks.
#
CONFIG_PTP_1588_CLOCK_KVM=y
CONFIG_PTP_1588_CLOCK_VMCLOCK=y
# CONFIG_PTP_1588_CLOCK_IDT82P33 is not set
# CONFIG_PTP_1588_CLOCK_IDTCM is not set
# CONFIG_PTP_1588_CLOCK_FC3W is not set
# CONFIG_PTP_1588_CLOCK_MOCK is not set
# CONFIG_PTP_1588_CLOCK_VMW is not set
# CONFIG_PTP_1588_CLOCK_OCP is not set
# CONFIG_PTP_NETC_V4_TIMER is not set
# end of PTP clock support

#
# DPLL device support
#
# CONFIG_ZL3073X_I2C is not set
# CONFIG_ZL3073X_SPI is not set
# end of DPLL device support

# CONFIG_PINCTRL is not set
CONFIG_GPIOLIB_LEGACY=y
CONFIG_GPIOLIB=y
CONFIG_GPIOLIB_FASTPATH_LIMIT=512
CONFIG_OF_GPIO=y
CONFIG_GPIO_ACPI=y
CONFIG_GPIOLIB_IRQCHIP=y
# CONFIG_DEBUG_GPIO is not set
# CONFIG_GPIO_SYSFS is not set
# CONFIG_GPIO_CDEV is not set

#
# Memory mapped GPIO drivers
#
# CONFIG_GPIO_74XX_MMIO is not set
# CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_AMDPT is not set
# CONFIG_GPIO_CADENCE is not set
# CONFIG_GPIO_DWAPB is not set
# CONFIG_GPIO_FTGPIO010 is not set
# CONFIG_GPIO_GENERIC_PLATFORM is not set
# CONFIG_GPIO_GRANITERAPIDS is not set
# CONFIG_GPIO_GRGPIO is not set
# CONFIG_GPIO_HLWD is not set
# CONFIG_GPIO_ICH is not set
# CONFIG_GPIO_LOGICVC is not set
# CONFIG_GPIO_MB86S7X is not set
# CONFIG_GPIO_POLARFIRE_SOC is not set
# CONFIG_GPIO_SIFIVE is not set
# CONFIG_GPIO_SYSCON is not set
# CONFIG_GPIO_XILINX is not set
# CONFIG_GPIO_AMD_FCH is not set
# end of Memory mapped GPIO drivers

#
# Port-mapped I/O GPIO drivers
#
# CONFIG_GPIO_VX855 is not set
# CONFIG_GPIO_F7188X is not set
# CONFIG_GPIO_IT87 is not set
# CONFIG_GPIO_SCH311X is not set
# CONFIG_GPIO_WINBOND is not set
# CONFIG_GPIO_WS16C48 is not set
# end of Port-mapped I/O GPIO drivers

#
# I2C GPIO expanders
#
# CONFIG_GPIO_ADNP is not set
# CONFIG_GPIO_FXL6408 is not set
# CONFIG_GPIO_DS4520 is not set
# CONFIG_GPIO_GW_PLD is not set
# CONFIG_GPIO_MAX7300 is not set
# CONFIG_GPIO_MAX732X is not set
# CONFIG_GPIO_PCA953X is not set
# CONFIG_GPIO_PCA9570 is not set
# CONFIG_GPIO_PCF857X is not set
# CONFIG_GPIO_TPIC2810 is not set
# end of I2C GPIO expanders

#
# MFD GPIO expanders
#
CONFIG_GPIO_DLN2=y
CONFIG_GPIO_LJCA=y
# CONFIG_GPIO_TWL4030 is not set
# CONFIG_GPIO_WHISKEY_COVE is not set
# end of MFD GPIO expanders

#
# PCI GPIO expanders
#
# CONFIG_GPIO_AMD8111 is not set
# CONFIG_GPIO_BT8XX is not set
# CONFIG_GPIO_ML_IOH is not set
# CONFIG_GPIO_PCI_IDIO_16 is not set
# CONFIG_GPIO_PCIE_IDIO_24 is not set
# CONFIG_GPIO_RDC321X is not set
# CONFIG_GPIO_SODAVILLE is not set
# end of PCI GPIO expanders

#
# SPI GPIO expanders
#
# CONFIG_GPIO_74X164 is not set
# CONFIG_GPIO_MAX3191X is not set
# CONFIG_GPIO_MAX7301 is not set
# CONFIG_GPIO_MC33880 is not set
# CONFIG_GPIO_PISOSR is not set
# CONFIG_GPIO_XRA1403 is not set
# end of SPI GPIO expanders

#
# USB GPIO expanders
#
CONFIG_GPIO_VIPERBOARD=y
# CONFIG_GPIO_MPSSE is not set
# end of USB GPIO expanders

#
# Virtual GPIO drivers
#
# CONFIG_GPIO_AGGREGATOR is not set
# CONFIG_GPIO_LATCH is not set
# CONFIG_GPIO_MOCKUP is not set
# CONFIG_GPIO_VIRTIO is not set
# CONFIG_GPIO_SIM is not set
# end of Virtual GPIO drivers

#
# GPIO Debugging utilities
#
# CONFIG_GPIO_SLOPPY_LOGIC_ANALYZER is not set
# CONFIG_GPIO_VIRTUSER is not set
# end of GPIO Debugging utilities

# CONFIG_W1 is not set
# CONFIG_POWER_RESET is not set
# CONFIG_POWER_SEQUENCING is not set
CONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
CONFIG_POWER_SUPPLY_HWMON=y
# CONFIG_GENERIC_ADC_BATTERY is not set
# CONFIG_IP5XXX_POWER is not set
# CONFIG_TEST_POWER is not set
# CONFIG_CHARGER_ADP5061 is not set
# CONFIG_BATTERY_CHAGALL is not set
# CONFIG_BATTERY_CW2015 is not set
# CONFIG_BATTERY_DS2780 is not set
# CONFIG_BATTERY_DS2781 is not set
# CONFIG_BATTERY_DS2782 is not set
# CONFIG_BATTERY_SAMSUNG_SDI is not set
# CONFIG_BATTERY_SBS is not set
# CONFIG_CHARGER_SBS is not set
# CONFIG_MANAGER_SBS is not set
# CONFIG_BATTERY_BQ27XXX is not set
# CONFIG_BATTERY_MAX17040 is not set
# CONFIG_BATTERY_MAX17042 is not set
# CONFIG_BATTERY_MAX1720X is not set
CONFIG_CHARGER_ISP1704=y
# CONFIG_CHARGER_MAX8903 is not set
# CONFIG_CHARGER_TWL4030 is not set
# CONFIG_CHARGER_TWL6030 is not set
# CONFIG_CHARGER_LP8727 is not set
# CONFIG_CHARGER_GPIO is not set
# CONFIG_CHARGER_MANAGER is not set
# CONFIG_CHARGER_LT3651 is not set
# CONFIG_CHARGER_LTC4162L is not set
# CONFIG_CHARGER_DETECTOR_MAX14656 is not set
# CONFIG_CHARGER_MAX77976 is not set
# CONFIG_CHARGER_MAX8971 is not set
# CONFIG_CHARGER_MT6360 is not set
# CONFIG_CHARGER_MT6370 is not set
# CONFIG_CHARGER_BQ2415X is not set
CONFIG_CHARGER_BQ24190=y
# CONFIG_CHARGER_BQ24257 is not set
# CONFIG_CHARGER_BQ24735 is not set
# CONFIG_CHARGER_BQ2515X is not set
# CONFIG_CHARGER_BQ25890 is not set
# CONFIG_CHARGER_BQ25980 is not set
# CONFIG_CHARGER_BQ256XX is not set
# CONFIG_CHARGER_SMB347 is not set
# CONFIG_BATTERY_GAUGE_LTC2941 is not set
# CONFIG_BATTERY_GOLDFISH is not set
# CONFIG_BATTERY_RT5033 is not set
# CONFIG_CHARGER_RT9455 is not set
# CONFIG_CHARGER_RT9467 is not set
# CONFIG_CHARGER_RT9471 is not set
# CONFIG_CHARGER_RT9756 is not set
# CONFIG_FUEL_GAUGE_STC3117 is not set
# CONFIG_CHARGER_UCS1002 is not set
# CONFIG_CHARGER_BD99954 is not set
# CONFIG_BATTERY_SURFACE is not set
# CONFIG_CHARGER_SURFACE is not set
# CONFIG_BATTERY_UG3105 is not set
# CONFIG_FUEL_GAUGE_MM8013 is not set
CONFIG_HWMON=y
# CONFIG_HWMON_DEBUG_CHIP is not set

#
# Native drivers
#
# CONFIG_SENSORS_ABITUGURU is not set
# CONFIG_SENSORS_ABITUGURU3 is not set
# CONFIG_SENSORS_AD7314 is not set
# CONFIG_SENSORS_AD7414 is not set
# CONFIG_SENSORS_AD7418 is not set
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
# CONFIG_SENSORS_ADM1029 is not set
# CONFIG_SENSORS_ADM1031 is not set
# CONFIG_SENSORS_ADM1177 is not set
# CONFIG_SENSORS_ADM9240 is not set
# CONFIG_SENSORS_ADT7310 is not set
# CONFIG_SENSORS_ADT7410 is not set
# CONFIG_SENSORS_ADT7411 is not set
# CONFIG_SENSORS_ADT7462 is not set
# CONFIG_SENSORS_ADT7470 is not set
# CONFIG_SENSORS_ADT7475 is not set
# CONFIG_SENSORS_AHT10 is not set
CONFIG_SENSORS_AQUACOMPUTER_D5NEXT=y
# CONFIG_SENSORS_AS370 is not set
# CONFIG_SENSORS_ASC7621 is not set
# CONFIG_SENSORS_ASUS_ROG_RYUJIN is not set
# CONFIG_SENSORS_AXI_FAN_CONTROL is not set
# CONFIG_SENSORS_K8TEMP is not set
# CONFIG_SENSORS_K10TEMP is not set
# CONFIG_SENSORS_FAM15H_POWER is not set
# CONFIG_SENSORS_APPLESMC is not set
# CONFIG_SENSORS_ASB100 is not set
# CONFIG_SENSORS_ATXP1 is not set
# CONFIG_SENSORS_CHIPCAP2 is not set
CONFIG_SENSORS_CORSAIR_CPRO=y
CONFIG_SENSORS_CORSAIR_PSU=y
# CONFIG_SENSORS_DRIVETEMP is not set
# CONFIG_SENSORS_DS620 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_DELL_SMM is not set
# CONFIG_SENSORS_I5K_AMB is not set
# CONFIG_SENSORS_F71805F is not set
# CONFIG_SENSORS_F71882FG is not set
# CONFIG_SENSORS_F75375S is not set
# CONFIG_SENSORS_FSCHMD is not set
# CONFIG_SENSORS_FTSTEUTATES is not set
CONFIG_SENSORS_GIGABYTE_WATERFORCE=y
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM is not set
# CONFIG_SENSORS_GPD is not set
# CONFIG_SENSORS_G760A is not set
# CONFIG_SENSORS_G762 is not set
# CONFIG_SENSORS_GPIO_FAN is not set
# CONFIG_SENSORS_HIH6130 is not set
# CONFIG_SENSORS_HS3001 is not set
# CONFIG_SENSORS_HTU31 is not set
# CONFIG_SENSORS_IIO_HWMON is not set
# CONFIG_SENSORS_I5500 is not set
# CONFIG_SENSORS_CORETEMP is not set
# CONFIG_SENSORS_ISL28022 is not set
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_JC42 is not set
CONFIG_SENSORS_POWERZ=y
# CONFIG_SENSORS_POWR1220 is not set
# CONFIG_SENSORS_LENOVO_EC is not set
# CONFIG_SENSORS_LINEAGE is not set
# CONFIG_SENSORS_LTC2945 is not set
# CONFIG_SENSORS_LTC2947_I2C is not set
# CONFIG_SENSORS_LTC2947_SPI is not set
# CONFIG_SENSORS_LTC2990 is not set
# CONFIG_SENSORS_LTC2991 is not set
# CONFIG_SENSORS_LTC2992 is not set
# CONFIG_SENSORS_LTC4151 is not set
# CONFIG_SENSORS_LTC4215 is not set
# CONFIG_SENSORS_LTC4222 is not set
# CONFIG_SENSORS_LTC4245 is not set
# CONFIG_SENSORS_LTC4260 is not set
# CONFIG_SENSORS_LTC4261 is not set
# CONFIG_SENSORS_LTC4282 is not set
# CONFIG_SENSORS_MAX1111 is not set
# CONFIG_SENSORS_MAX127 is not set
# CONFIG_SENSORS_MAX16065 is not set
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_MAX1668 is not set
# CONFIG_SENSORS_MAX197 is not set
# CONFIG_SENSORS_MAX31722 is not set
# CONFIG_SENSORS_MAX31730 is not set
# CONFIG_SENSORS_MAX31760 is not set
# CONFIG_MAX31827 is not set
# CONFIG_SENSORS_MAX6620 is not set
# CONFIG_SENSORS_MAX6621 is not set
# CONFIG_SENSORS_MAX6639 is not set
# CONFIG_SENSORS_MAX6650 is not set
# CONFIG_SENSORS_MAX6697 is not set
# CONFIG_SENSORS_MAX31790 is not set
# CONFIG_SENSORS_MC34VR500 is not set
# CONFIG_SENSORS_MCP3021 is not set
# CONFIG_SENSORS_TC654 is not set
# CONFIG_SENSORS_TPS23861 is not set
# CONFIG_SENSORS_MR75203 is not set
# CONFIG_SENSORS_ADCXX is not set
# CONFIG_SENSORS_LM63 is not set
# CONFIG_SENSORS_LM70 is not set
# CONFIG_SENSORS_LM73 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM77 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM80 is not set
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_LM92 is not set
# CONFIG_SENSORS_LM93 is not set
# CONFIG_SENSORS_LM95234 is not set
# CONFIG_SENSORS_LM95241 is not set
# CONFIG_SENSORS_LM95245 is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_NTC_THERMISTOR is not set
# CONFIG_SENSORS_NCT6683 is not set
# CONFIG_SENSORS_NCT6775 is not set
# CONFIG_SENSORS_NCT6775_I2C is not set
# CONFIG_SENSORS_NCT7363 is not set
# CONFIG_SENSORS_NCT7802 is not set
# CONFIG_SENSORS_NCT7904 is not set
# CONFIG_SENSORS_NPCM7XX is not set
CONFIG_SENSORS_NZXT_KRAKEN2=y
# CONFIG_SENSORS_NZXT_KRAKEN3 is not set
CONFIG_SENSORS_NZXT_SMART2=y
# CONFIG_SENSORS_OCC_P8_I2C is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_PMBUS is not set
# CONFIG_SENSORS_PT5161L is not set
# CONFIG_SENSORS_SBTSI is not set
# CONFIG_SENSORS_SHT15 is not set
# CONFIG_SENSORS_SHT21 is not set
# CONFIG_SENSORS_SHT3x is not set
# CONFIG_SENSORS_SHT4x is not set
# CONFIG_SENSORS_SHTC1 is not set
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_DME1737 is not set
# CONFIG_SENSORS_EMC1403 is not set
# CONFIG_SENSORS_EMC2103 is not set
# CONFIG_SENSORS_EMC2305 is not set
# CONFIG_SENSORS_EMC6W201 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
# CONFIG_SENSORS_SMSC47M192 is not set
# CONFIG_SENSORS_SMSC47B397 is not set
# CONFIG_SENSORS_SCH5627 is not set
# CONFIG_SENSORS_SCH5636 is not set
# CONFIG_SENSORS_STTS751 is not set
# CONFIG_SENSORS_SURFACE_FAN is not set
# CONFIG_SENSORS_SURFACE_TEMP is not set
# CONFIG_SENSORS_ADC128D818 is not set
# CONFIG_SENSORS_ADS7828 is not set
# CONFIG_SENSORS_ADS7871 is not set
# CONFIG_SENSORS_AMC6821 is not set
# CONFIG_SENSORS_INA209 is not set
# CONFIG_SENSORS_INA2XX is not set
# CONFIG_SENSORS_INA238 is not set
# CONFIG_SENSORS_INA3221 is not set
# CONFIG_SENSORS_SPD5118 is not set
# CONFIG_SENSORS_TC74 is not set
# CONFIG_SENSORS_THMC50 is not set
# CONFIG_SENSORS_TMP102 is not set
# CONFIG_SENSORS_TMP103 is not set
# CONFIG_SENSORS_TMP108 is not set
# CONFIG_SENSORS_TMP401 is not set
# CONFIG_SENSORS_TMP421 is not set
# CONFIG_SENSORS_TMP464 is not set
# CONFIG_SENSORS_TMP513 is not set
# CONFIG_SENSORS_TSC1641 is not set
# CONFIG_SENSORS_VIA_CPUTEMP is not set
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_VT1211 is not set
# CONFIG_SENSORS_VT8231 is not set
# CONFIG_SENSORS_W83773G is not set
# CONFIG_SENSORS_W83781D is not set
# CONFIG_SENSORS_W83791D is not set
# CONFIG_SENSORS_W83792D is not set
# CONFIG_SENSORS_W83793 is not set
# CONFIG_SENSORS_W83795 is not set
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83L786NG is not set
# CONFIG_SENSORS_W83627HF is not set
# CONFIG_SENSORS_W83627EHF is not set
# CONFIG_SENSORS_XGENE is not set

#
# ACPI drivers
#
# CONFIG_SENSORS_ACPI_POWER is not set
# CONFIG_SENSORS_ATK0110 is not set
# CONFIG_SENSORS_ASUS_WMI is not set
# CONFIG_SENSORS_ASUS_EC is not set
# CONFIG_SENSORS_HP_WMI is not set
CONFIG_THERMAL=y
CONFIG_THERMAL_NETLINK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_THERMAL_DEBUGFS is not set
# CONFIG_THERMAL_CORE_TESTING is not set
CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0
CONFIG_THERMAL_HWMON=y
# CONFIG_THERMAL_OF is not set
CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
# CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set
# CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set
# CONFIG_THERMAL_GOV_FAIR_SHARE is not set
CONFIG_THERMAL_GOV_STEP_WISE=y
# CONFIG_THERMAL_GOV_BANG_BANG is not set
# CONFIG_THERMAL_GOV_USER_SPACE is not set
# CONFIG_PCIE_THERMAL is not set
# CONFIG_THERMAL_EMULATION is not set
# CONFIG_THERMAL_MMIO is not set

#
# Intel thermal drivers
#
# CONFIG_INTEL_POWERCLAMP is not set
CONFIG_X86_THERMAL_VECTOR=y
# CONFIG_X86_PKG_TEMP_THERMAL is not set
# CONFIG_INTEL_SOC_DTS_THERMAL is not set

#
# ACPI INT340X thermal drivers
#
# CONFIG_INT340X_THERMAL is not set
# end of ACPI INT340X thermal drivers

# CONFIG_INTEL_BXT_PMIC_THERMAL is not set
# CONFIG_INTEL_PCH_THERMAL is not set
# CONFIG_INTEL_TCC_COOLING is not set
# CONFIG_INTEL_HFI_THERMAL is not set
# end of Intel thermal drivers

# CONFIG_GENERIC_ADC_THERMAL is not set
CONFIG_WATCHDOG=y
# CONFIG_WATCHDOG_CORE is not set
# CONFIG_WATCHDOG_NOWAYOUT is not set
CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED=y
CONFIG_WATCHDOG_OPEN_TIMEOUT=0
# CONFIG_WATCHDOG_SYSFS is not set
# CONFIG_WATCHDOG_HRTIMER_PRETIMEOUT is not set

#
# Watchdog Pretimeout Governors
#

#
# Watchdog Device Drivers
#
# CONFIG_SOFT_WATCHDOG is not set
# CONFIG_GPIO_WATCHDOG is not set
# CONFIG_LENOVO_SE10_WDT is not set
# CONFIG_LENOVO_SE30_WDT is not set
# CONFIG_WDAT_WDT is not set
# CONFIG_XILINX_WATCHDOG is not set
# CONFIG_ZIIRAVE_WATCHDOG is not set
# CONFIG_CADENCE_WATCHDOG is not set
# CONFIG_DW_WATCHDOG is not set
# CONFIG_TWL4030_WATCHDOG is not set
# CONFIG_MAX63XX_WATCHDOG is not set
# CONFIG_RETU_WATCHDOG is not set
# CONFIG_ACQUIRE_WDT is not set
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ADVANTECH_EC_WDT is not set
# CONFIG_ALIM1535_WDT is not set
# CONFIG_ALIM7101_WDT is not set
# CONFIG_EBC_C384_WDT is not set
# CONFIG_EXAR_WDT is not set
# CONFIG_F71808E_WDT is not set
# CONFIG_SP5100_TCO is not set
# CONFIG_SBC_FITPC2_WATCHDOG is not set
# CONFIG_EUROTECH_WDT is not set
# CONFIG_IB700_WDT is not set
# CONFIG_IBMASR is not set
# CONFIG_WAFER_WDT is not set
# CONFIG_I6300ESB_WDT is not set
# CONFIG_IE6XX_WDT is not set
# CONFIG_INTEL_OC_WATCHDOG is not set
# CONFIG_ITCO_WDT is not set
# CONFIG_IT8712F_WDT is not set
# CONFIG_IT87_WDT is not set
# CONFIG_HP_WATCHDOG is not set
# CONFIG_SC1200_WDT is not set
# CONFIG_PC87413_WDT is not set
# CONFIG_NV_TCO is not set
# CONFIG_60XX_WDT is not set
# CONFIG_SMSC_SCH311X_WDT is not set
# CONFIG_SMSC37B787_WDT is not set
# CONFIG_TQMX86_WDT is not set
# CONFIG_VIA_WDT is not set
# CONFIG_W83627HF_WDT is not set
# CONFIG_W83877F_WDT is not set
# CONFIG_W83977F_WDT is not set
# CONFIG_MACHZ_WDT is not set
# CONFIG_SBC_EPX_C3_WATCHDOG is not set
# CONFIG_INTEL_MEI_WDT is not set
# CONFIG_NI903X_WDT is not set
# CONFIG_NIC7018_WDT is not set
# CONFIG_MEN_A21_WDT is not set

#
# PCI-based Watchdog Cards
#
# CONFIG_PCIPCWATCHDOG is not set
# CONFIG_WDTPCI is not set

#
# USB-based Watchdog Cards
#
CONFIG_USBPCWATCHDOG=y
CONFIG_SSB_POSSIBLE=y
CONFIG_SSB=y
CONFIG_SSB_PCIHOST_POSSIBLE=y
# CONFIG_SSB_PCIHOST is not set
CONFIG_SSB_PCMCIAHOST_POSSIBLE=y
# CONFIG_SSB_PCMCIAHOST is not set
CONFIG_SSB_SDIOHOST_POSSIBLE=y
# CONFIG_SSB_SDIOHOST is not set
# CONFIG_SSB_DRIVER_GPIO is not set
CONFIG_BCMA_POSSIBLE=y
CONFIG_BCMA=y
CONFIG_BCMA_HOST_PCI_POSSIBLE=y
# CONFIG_BCMA_HOST_PCI is not set
# CONFIG_BCMA_HOST_SOC is not set
# CONFIG_BCMA_DRIVER_PCI is not set
# CONFIG_BCMA_DRIVER_GMAC_CMN is not set
# CONFIG_BCMA_DRIVER_GPIO is not set
# CONFIG_BCMA_DEBUG is not set

#
# Multifunction device drivers
#
CONFIG_MFD_CORE=y
# CONFIG_MFD_ADP5585 is not set
# CONFIG_MFD_ACT8945A is not set
# CONFIG_MFD_AS3711 is not set
# CONFIG_MFD_SMPRO is not set
# CONFIG_MFD_AS3722 is not set
# CONFIG_PMIC_ADP5520 is not set
# CONFIG_MFD_AAT2870_CORE is not set
# CONFIG_MFD_ATMEL_FLEXCOM is not set
# CONFIG_MFD_ATMEL_HLCDC is not set
# CONFIG_MFD_BCM590XX is not set
# CONFIG_MFD_BD9571MWV is not set
# CONFIG_MFD_AXP20X_I2C is not set
# CONFIG_MFD_CGBC is not set
# CONFIG_MFD_CS40L50_I2C is not set
# CONFIG_MFD_CS40L50_SPI is not set
# CONFIG_MFD_CS42L43_I2C is not set
# CONFIG_MFD_CS42L43_SDW is not set
# CONFIG_MFD_LOCHNAGAR is not set
# CONFIG_MFD_MADERA is not set
# CONFIG_PMIC_DA903X is not set
# CONFIG_MFD_DA9052_SPI is not set
# CONFIG_MFD_DA9052_I2C is not set
# CONFIG_MFD_DA9055 is not set
# CONFIG_MFD_DA9062 is not set
# CONFIG_MFD_DA9063 is not set
# CONFIG_MFD_DA9150 is not set
CONFIG_MFD_DLN2=y
# CONFIG_MFD_GATEWORKS_GSC is not set
# CONFIG_MFD_MC13XXX_SPI is not set
# CONFIG_MFD_MC13XXX_I2C is not set
# CONFIG_MFD_MP2629 is not set
# CONFIG_MFD_PF1550 is not set
# CONFIG_MFD_HI6421_PMIC is not set
# CONFIG_MFD_INTEL_QUARK_I2C_GPIO is not set
CONFIG_LPC_ICH=y
# CONFIG_LPC_SCH is not set
# CONFIG_INTEL_SOC_PMIC is not set
CONFIG_INTEL_SOC_PMIC_BXTWC=y
CONFIG_INTEL_SOC_PMIC_CHTWC=y
# CONFIG_INTEL_SOC_PMIC_CHTDC_TI is not set
# CONFIG_MFD_INTEL_LPSS_ACPI is not set
# CONFIG_MFD_INTEL_LPSS_PCI is not set
CONFIG_MFD_INTEL_PMC_BXT=y
# CONFIG_MFD_IQS62X is not set
# CONFIG_MFD_JANZ_CMODIO is not set
# CONFIG_MFD_KEMPLD is not set
# CONFIG_MFD_88PM800 is not set
# CONFIG_MFD_88PM805 is not set
# CONFIG_MFD_88PM860X is not set
# CONFIG_MFD_88PM886_PMIC is not set
# CONFIG_MFD_MAX5970 is not set
# CONFIG_MFD_MAX14577 is not set
# CONFIG_MFD_MAX77541 is not set
# CONFIG_MFD_MAX77620 is not set
# CONFIG_MFD_MAX77650 is not set
# CONFIG_MFD_MAX77686 is not set
# CONFIG_MFD_MAX77693 is not set
# CONFIG_MFD_MAX77705 is not set
# CONFIG_MFD_MAX77714 is not set
# CONFIG_MFD_MAX77759 is not set
# CONFIG_MFD_MAX77843 is not set
# CONFIG_MFD_MAX8907 is not set
# CONFIG_MFD_MAX8925 is not set
# CONFIG_MFD_MAX8997 is not set
# CONFIG_MFD_MAX8998 is not set
CONFIG_MFD_MT6360=y
CONFIG_MFD_MT6370=y
# CONFIG_MFD_MT6397 is not set
# CONFIG_MFD_MENF21BMC is not set
# CONFIG_MFD_NCT6694 is not set
# CONFIG_MFD_OCELOT is not set
# CONFIG_EZX_PCAP is not set
# CONFIG_MFD_CPCAP is not set
CONFIG_MFD_VIPERBOARD=y
# CONFIG_MFD_NTXEC is not set
CONFIG_MFD_RETU=y
# CONFIG_MFD_SY7636A is not set
# CONFIG_MFD_RDC321X is not set
# CONFIG_MFD_RT4831 is not set
# CONFIG_MFD_RT5033 is not set
# CONFIG_MFD_RT5120 is not set
# CONFIG_MFD_RC5T583 is not set
# CONFIG_MFD_RK8XX_I2C is not set
# CONFIG_MFD_RK8XX_SPI is not set
# CONFIG_MFD_RN5T618 is not set
# CONFIG_MFD_SEC_I2C is not set
# CONFIG_MFD_SI476X_CORE is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_MFD_SKY81452 is not set
# CONFIG_MFD_STMPE is not set
CONFIG_MFD_SYSCON=y
# CONFIG_MFD_LP3943 is not set
# CONFIG_MFD_LP8788 is not set
# CONFIG_MFD_TI_LMU is not set
# CONFIG_MFD_BQ257XX is not set
# CONFIG_MFD_PALMAS is not set
# CONFIG_TPS6105X is not set
# CONFIG_TPS65010 is not set
# CONFIG_TPS6507X is not set
# CONFIG_MFD_TPS65086 is not set
# CONFIG_MFD_TPS65090 is not set
# CONFIG_MFD_TPS65217 is not set
# CONFIG_MFD_TI_LP873X is not set
# CONFIG_MFD_TI_LP87565 is not set
# CONFIG_MFD_TPS65218 is not set
# CONFIG_MFD_TPS65219 is not set
# CONFIG_MFD_TPS6586X is not set
# CONFIG_MFD_TPS65910 is not set
# CONFIG_MFD_TPS65912_I2C is not set
# CONFIG_MFD_TPS65912_SPI is not set
# CONFIG_MFD_TPS6594_I2C is not set
# CONFIG_MFD_TPS6594_SPI is not set
CONFIG_TWL4030_CORE=y
# CONFIG_MFD_TWL4030_AUDIO is not set
# CONFIG_TWL6040_CORE is not set
# CONFIG_MFD_LM3533 is not set
# CONFIG_MFD_TC3589X is not set
# CONFIG_MFD_TQMX86 is not set
# CONFIG_MFD_VX855 is not set
# CONFIG_MFD_ARIZONA_I2C is not set
# CONFIG_MFD_ARIZONA_SPI is not set
# CONFIG_MFD_WM8400 is not set
# CONFIG_MFD_WM831X_I2C is not set
# CONFIG_MFD_WM831X_SPI is not set
# CONFIG_MFD_WM8350_I2C is not set
# CONFIG_MFD_WM8994 is not set
# CONFIG_MFD_ROHM_BD718XX is not set
# CONFIG_MFD_ROHM_BD71828 is not set
# CONFIG_MFD_ROHM_BD957XMUF is not set
# CONFIG_MFD_ROHM_BD96801 is not set
# CONFIG_MFD_STPMIC1 is not set
# CONFIG_MFD_STMFX is not set
# CONFIG_MFD_ATC260X_I2C is not set
# CONFIG_MFD_QCOM_PM8008 is not set
# CONFIG_RAVE_SP_CORE is not set
# CONFIG_MFD_INTEL_M10_BMC_SPI is not set
# CONFIG_MFD_QNAP_MCU is not set
# CONFIG_MFD_RSMU_I2C is not set
# CONFIG_MFD_RSMU_SPI is not set
# CONFIG_MFD_UPBOARD_FPGA is not set
# CONFIG_MFD_MAX7360 is not set
# end of Multifunction device drivers

CONFIG_REGULATOR=y
# CONFIG_REGULATOR_DEBUG is not set
CONFIG_REGULATOR_FIXED_VOLTAGE=y
# CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set
# CONFIG_REGULATOR_USERSPACE_CONSUMER is not set
# CONFIG_REGULATOR_NETLINK_EVENTS is not set
# CONFIG_REGULATOR_88PG86X is not set
# CONFIG_REGULATOR_ACT8865 is not set
# CONFIG_REGULATOR_AD5398 is not set
# CONFIG_REGULATOR_ADP5055 is not set
# CONFIG_REGULATOR_AW37503 is not set
# CONFIG_REGULATOR_DA9121 is not set
# CONFIG_REGULATOR_DA9210 is not set
# CONFIG_REGULATOR_DA9211 is not set
# CONFIG_REGULATOR_FAN53555 is not set
# CONFIG_REGULATOR_FAN53880 is not set
# CONFIG_REGULATOR_GPIO is not set
# CONFIG_REGULATOR_ISL9305 is not set
# CONFIG_REGULATOR_ISL6271A is not set
# CONFIG_REGULATOR_FP9931 is not set
# CONFIG_REGULATOR_LP3971 is not set
# CONFIG_REGULATOR_LP3972 is not set
# CONFIG_REGULATOR_LP872X is not set
# CONFIG_REGULATOR_LP8755 is not set
# CONFIG_REGULATOR_LTC3589 is not set
# CONFIG_REGULATOR_LTC3676 is not set
# CONFIG_REGULATOR_MAX1586 is not set
# CONFIG_REGULATOR_MAX77503 is not set
# CONFIG_REGULATOR_MAX77857 is not set
# CONFIG_REGULATOR_MAX8649 is not set
# CONFIG_REGULATOR_MAX8660 is not set
# CONFIG_REGULATOR_MAX8893 is not set
# CONFIG_REGULATOR_MAX8952 is not set
# CONFIG_REGULATOR_MAX20086 is not set
# CONFIG_REGULATOR_MAX20411 is not set
# CONFIG_REGULATOR_MAX77826 is not set
# CONFIG_REGULATOR_MAX77838 is not set
# CONFIG_REGULATOR_MCP16502 is not set
# CONFIG_REGULATOR_MP5416 is not set
# CONFIG_REGULATOR_MP8859 is not set
# CONFIG_REGULATOR_MP886X is not set
# CONFIG_REGULATOR_MPQ7920 is not set
# CONFIG_REGULATOR_MT6311 is not set
# CONFIG_REGULATOR_MT6360 is not set
# CONFIG_REGULATOR_MT6370 is not set
# CONFIG_REGULATOR_PCA9450 is not set
# CONFIG_REGULATOR_PF9453 is not set
# CONFIG_REGULATOR_PF0900 is not set
# CONFIG_REGULATOR_PF530X is not set
# CONFIG_REGULATOR_PF8X00 is not set
# CONFIG_REGULATOR_PFUZE100 is not set
# CONFIG_REGULATOR_PV88060 is not set
# CONFIG_REGULATOR_PV88080 is not set
# CONFIG_REGULATOR_PV88090 is not set
# CONFIG_REGULATOR_RAA215300 is not set
# CONFIG_REGULATOR_RT4801 is not set
# CONFIG_REGULATOR_RT4803 is not set
# CONFIG_REGULATOR_RT5133 is not set
# CONFIG_REGULATOR_RT5190A is not set
# CONFIG_REGULATOR_RT5739 is not set
# CONFIG_REGULATOR_RT5759 is not set
# CONFIG_REGULATOR_RT6160 is not set
# CONFIG_REGULATOR_RT6190 is not set
# CONFIG_REGULATOR_RT6245 is not set
# CONFIG_REGULATOR_RTQ2134 is not set
# CONFIG_REGULATOR_RTMV20 is not set
# CONFIG_REGULATOR_RTQ6752 is not set
# CONFIG_REGULATOR_RTQ2208 is not set
# CONFIG_REGULATOR_SLG51000 is not set
# CONFIG_REGULATOR_SY8106A is not set
# CONFIG_REGULATOR_SY8824X is not set
# CONFIG_REGULATOR_SY8827N is not set
# CONFIG_REGULATOR_TPS51632 is not set
# CONFIG_REGULATOR_TPS62360 is not set
# CONFIG_REGULATOR_TPS6286X is not set
# CONFIG_REGULATOR_TPS6287X is not set
# CONFIG_REGULATOR_TPS65023 is not set
# CONFIG_REGULATOR_TPS6507X is not set
# CONFIG_REGULATOR_TPS65132 is not set
# CONFIG_REGULATOR_TPS6524X is not set
CONFIG_REGULATOR_TWL4030=y
# CONFIG_REGULATOR_VCTRL is not set
CONFIG_RC_CORE=y
# CONFIG_LIRC is not set
# CONFIG_RC_MAP is not set
# CONFIG_RC_DECODERS is not set
CONFIG_RC_DEVICES=y
# CONFIG_IR_ENE is not set
# CONFIG_IR_FINTEK is not set
# CONFIG_IR_GPIO_CIR is not set
# CONFIG_IR_HIX5HD2 is not set
CONFIG_IR_IGORPLUGUSB=y
CONFIG_IR_IGUANA=y
CONFIG_IR_IMON=y
CONFIG_IR_IMON_RAW=y
# CONFIG_IR_ITE_CIR is not set
CONFIG_IR_MCEUSB=y
# CONFIG_IR_NUVOTON is not set
CONFIG_IR_REDRAT3=y
# CONFIG_IR_SERIAL is not set
CONFIG_IR_STREAMZAP=y
CONFIG_IR_TOY=y
CONFIG_IR_TTUSBIR=y
# CONFIG_IR_WINBOND_CIR is not set
CONFIG_RC_ATI_REMOTE=y
# CONFIG_RC_LOOPBACK is not set
CONFIG_RC_XBOX_DVD=y
CONFIG_CEC_CORE=y

#
# CEC support
#
# CONFIG_MEDIA_CEC_RC is not set
CONFIG_MEDIA_CEC_SUPPORT=y
# CONFIG_CEC_CH7322 is not set
# CONFIG_CEC_NXP_TDA9950 is not set
# CONFIG_CEC_GPIO is not set
# CONFIG_CEC_SECO is not set
# CONFIG_USB_EXTRON_DA_HD_4K_PLUS_CEC is not set
CONFIG_USB_PULSE8_CEC=y
CONFIG_USB_RAINSHADOW_CEC=y
# end of CEC support

CONFIG_MEDIA_SUPPORT=y
CONFIG_MEDIA_SUPPORT_FILTER=y
# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set

#
# Media device types
#
CONFIG_MEDIA_CAMERA_SUPPORT=y
CONFIG_MEDIA_ANALOG_TV_SUPPORT=y
CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y
CONFIG_MEDIA_RADIO_SUPPORT=y
CONFIG_MEDIA_SDR_SUPPORT=y
CONFIG_MEDIA_PLATFORM_SUPPORT=y
CONFIG_MEDIA_TEST_SUPPORT=y
# end of Media device types

CONFIG_VIDEO_DEV=y
CONFIG_MEDIA_CONTROLLER=y
CONFIG_DVB_CORE=y

#
# Video4Linux options
#
CONFIG_VIDEO_V4L2_I2C=y
CONFIG_VIDEO_V4L2_SUBDEV_API=y
# CONFIG_VIDEO_ADV_DEBUG is not set
# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
CONFIG_VIDEO_TUNER=y
CONFIG_V4L2_MEM2MEM_DEV=y
# end of Video4Linux options

#
# Media controller options
#
CONFIG_MEDIA_CONTROLLER_DVB=y
# end of Media controller options

#
# Digital TV options
#
# CONFIG_DVB_MMAP is not set
# CONFIG_DVB_NET is not set
CONFIG_DVB_MAX_ADAPTERS=16
# CONFIG_DVB_DYNAMIC_MINORS is not set
# CONFIG_DVB_DEMUX_SECTION_LOSS_LOG is not set
# CONFIG_DVB_ULE_DEBUG is not set
# end of Digital TV options

#
# Media drivers
#

#
# Drivers filtered as selected at 'Filter media drivers'
#

#
# Media drivers
#
CONFIG_MEDIA_USB_SUPPORT=y

#
# Webcam devices
#
CONFIG_USB_GSPCA=y
CONFIG_USB_GSPCA_BENQ=y
CONFIG_USB_GSPCA_CONEX=y
CONFIG_USB_GSPCA_CPIA1=y
CONFIG_USB_GSPCA_DTCS033=y
CONFIG_USB_GSPCA_ETOMS=y
CONFIG_USB_GSPCA_FINEPIX=y
CONFIG_USB_GSPCA_JEILINJ=y
CONFIG_USB_GSPCA_JL2005BCD=y
CONFIG_USB_GSPCA_KINECT=y
CONFIG_USB_GSPCA_KONICA=y
CONFIG_USB_GSPCA_MARS=y
CONFIG_USB_GSPCA_MR97310A=y
CONFIG_USB_GSPCA_NW80X=y
CONFIG_USB_GSPCA_OV519=y
CONFIG_USB_GSPCA_OV534=y
CONFIG_USB_GSPCA_OV534_9=y
CONFIG_USB_GSPCA_PAC207=y
CONFIG_USB_GSPCA_PAC7302=y
CONFIG_USB_GSPCA_PAC7311=y
CONFIG_USB_GSPCA_SE401=y
CONFIG_USB_GSPCA_SN9C2028=y
CONFIG_USB_GSPCA_SN9C20X=y
CONFIG_USB_GSPCA_SONIXB=y
CONFIG_USB_GSPCA_SONIXJ=y
CONFIG_USB_GSPCA_SPCA1528=y
CONFIG_USB_GSPCA_SPCA500=y
CONFIG_USB_GSPCA_SPCA501=y
CONFIG_USB_GSPCA_SPCA505=y
CONFIG_USB_GSPCA_SPCA506=y
CONFIG_USB_GSPCA_SPCA508=y
CONFIG_USB_GSPCA_SPCA561=y
CONFIG_USB_GSPCA_SQ905=y
CONFIG_USB_GSPCA_SQ905C=y
CONFIG_USB_GSPCA_SQ930X=y
CONFIG_USB_GSPCA_STK014=y
CONFIG_USB_GSPCA_STK1135=y
CONFIG_USB_GSPCA_STV0680=y
CONFIG_USB_GSPCA_SUNPLUS=y
CONFIG_USB_GSPCA_T613=y
CONFIG_USB_GSPCA_TOPRO=y
CONFIG_USB_GSPCA_TOUPTEK=y
CONFIG_USB_GSPCA_TV8532=y
CONFIG_USB_GSPCA_VC032X=y
CONFIG_USB_GSPCA_VICAM=y
CONFIG_USB_GSPCA_XIRLINK_CIT=y
CONFIG_USB_GSPCA_ZC3XX=y
CONFIG_USB_GL860=y
CONFIG_USB_M5602=y
CONFIG_USB_STV06XX=y
CONFIG_USB_PWC=y
# CONFIG_USB_PWC_DEBUG is not set
CONFIG_USB_PWC_INPUT_EVDEV=y
CONFIG_USB_S2255=y
CONFIG_VIDEO_USBTV=y
CONFIG_USB_VIDEO_CLASS=y
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y

#
# Analog TV USB devices
#
CONFIG_VIDEO_GO7007=y
CONFIG_VIDEO_GO7007_USB=y
CONFIG_VIDEO_GO7007_LOADER=y
CONFIG_VIDEO_GO7007_USB_S2250_BOARD=y
CONFIG_VIDEO_HDPVR=y
CONFIG_VIDEO_PVRUSB2=y
CONFIG_VIDEO_PVRUSB2_SYSFS=y
CONFIG_VIDEO_PVRUSB2_DVB=y
# CONFIG_VIDEO_PVRUSB2_DEBUGIFC is not set
CONFIG_VIDEO_STK1160=y

#
# Analog/digital TV USB devices
#
CONFIG_VIDEO_AU0828=y
CONFIG_VIDEO_AU0828_V4L2=y
CONFIG_VIDEO_AU0828_RC=y
CONFIG_VIDEO_CX231XX=y
CONFIG_VIDEO_CX231XX_RC=y
CONFIG_VIDEO_CX231XX_ALSA=y
CONFIG_VIDEO_CX231XX_DVB=y

#
# Digital TV USB devices
#
CONFIG_DVB_AS102=y
CONFIG_DVB_B2C2_FLEXCOP_USB=y
# CONFIG_DVB_B2C2_FLEXCOP_USB_DEBUG is not set
CONFIG_DVB_USB_V2=y
CONFIG_DVB_USB_AF9015=y
CONFIG_DVB_USB_AF9035=y
CONFIG_DVB_USB_ANYSEE=y
CONFIG_DVB_USB_AU6610=y
CONFIG_DVB_USB_AZ6007=y
CONFIG_DVB_USB_CE6230=y
CONFIG_DVB_USB_DVBSKY=y
CONFIG_DVB_USB_EC168=y
CONFIG_DVB_USB_GL861=y
CONFIG_DVB_USB_LME2510=y
CONFIG_DVB_USB_MXL111SF=y
CONFIG_DVB_USB_RTL28XXU=y
CONFIG_DVB_USB_ZD1301=y
CONFIG_DVB_USB=y
# CONFIG_DVB_USB_DEBUG is not set
CONFIG_DVB_USB_A800=y
CONFIG_DVB_USB_AF9005=y
CONFIG_DVB_USB_AF9005_REMOTE=y
CONFIG_DVB_USB_AZ6027=y
CONFIG_DVB_USB_CINERGY_T2=y
CONFIG_DVB_USB_CXUSB=y
CONFIG_DVB_USB_CXUSB_ANALOG=y
CONFIG_DVB_USB_DIB0700=y
CONFIG_DVB_USB_DIB3000MC=y
CONFIG_DVB_USB_DIBUSB_MB=y
# CONFIG_DVB_USB_DIBUSB_MB_FAULTY is not set
CONFIG_DVB_USB_DIBUSB_MC=y
CONFIG_DVB_USB_DIGITV=y
CONFIG_DVB_USB_DTT200U=y
CONFIG_DVB_USB_DTV5100=y
CONFIG_DVB_USB_DW2102=y
CONFIG_DVB_USB_GP8PSK=y
CONFIG_DVB_USB_M920X=y
CONFIG_DVB_USB_NOVA_T_USB2=y
CONFIG_DVB_USB_OPERA1=y
CONFIG_DVB_USB_PCTV452E=y
CONFIG_DVB_USB_TECHNISAT_USB2=y
CONFIG_DVB_USB_TTUSB2=y
CONFIG_DVB_USB_UMT_010=y
CONFIG_DVB_USB_VP702X=y
CONFIG_DVB_USB_VP7045=y
CONFIG_SMS_USB_DRV=y
CONFIG_DVB_TTUSB_BUDGET=y
CONFIG_DVB_TTUSB_DEC=y

#
# Webcam, TV (analog/digital) USB devices
#
CONFIG_VIDEO_EM28XX=y
CONFIG_VIDEO_EM28XX_V4L2=y
CONFIG_VIDEO_EM28XX_ALSA=y
CONFIG_VIDEO_EM28XX_DVB=y
CONFIG_VIDEO_EM28XX_RC=y

#
# Software defined radio USB devices
#
CONFIG_USB_AIRSPY=y
CONFIG_USB_HACKRF=y
CONFIG_USB_MSI2500=y
# CONFIG_MEDIA_PCI_SUPPORT is not set
CONFIG_RADIO_ADAPTERS=y
# CONFIG_RADIO_MAXIRADIO is not set
# CONFIG_RADIO_SAA7706H is not set
CONFIG_RADIO_SHARK=y
CONFIG_RADIO_SHARK2=y
CONFIG_RADIO_SI4713=y
CONFIG_RADIO_TEA575X=y
# CONFIG_RADIO_TEA5764 is not set
# CONFIG_RADIO_TEF6862 is not set
CONFIG_USB_DSBR=y
CONFIG_USB_KEENE=y
CONFIG_USB_MA901=y
CONFIG_USB_MR800=y
CONFIG_USB_RAREMONO=y
CONFIG_RADIO_SI470X=y
CONFIG_USB_SI470X=y
# CONFIG_I2C_SI470X is not set
CONFIG_USB_SI4713=y
# CONFIG_PLATFORM_SI4713 is not set
CONFIG_I2C_SI4713=y
# CONFIG_MEDIA_PLATFORM_DRIVERS is not set

#
# MMC/SDIO DVB adapters
#
CONFIG_SMS_SDIO_DRV=y
CONFIG_V4L_TEST_DRIVERS=y
CONFIG_VIDEO_VIM2M=y
CONFIG_VIDEO_VICODEC=y
CONFIG_VIDEO_VIMC=y
CONFIG_VIDEO_VIVID=y
CONFIG_VIDEO_VIVID_CEC=y
# CONFIG_VIDEO_VIVID_OSD is not set
CONFIG_VIDEO_VIVID_MAX_DEVS=64
# CONFIG_VIDEO_VISL is not set
CONFIG_DVB_TEST_DRIVERS=y
CONFIG_DVB_VIDTV=y

#
# FireWire (IEEE 1394) Adapters
#
# CONFIG_DVB_FIREDTV is not set
CONFIG_MEDIA_COMMON_OPTIONS=y

#
# common driver options
#
CONFIG_CYPRESS_FIRMWARE=y
CONFIG_TTPCI_EEPROM=y
CONFIG_UVC_COMMON=y
CONFIG_VIDEO_CX2341X=y
CONFIG_VIDEO_TVEEPROM=y
CONFIG_DVB_B2C2_FLEXCOP=y
CONFIG_SMS_SIANO_MDTV=y
CONFIG_SMS_SIANO_RC=y
CONFIG_SMS_SIANO_DEBUGFS=y
CONFIG_VIDEO_V4L2_TPG=y
CONFIG_VIDEOBUF2_CORE=y
CONFIG_VIDEOBUF2_V4L2=y
CONFIG_VIDEOBUF2_MEMOPS=y
CONFIG_VIDEOBUF2_DMA_CONTIG=y
CONFIG_VIDEOBUF2_VMALLOC=y
CONFIG_VIDEOBUF2_DMA_SG=y
# end of Media drivers

#
# Media ancillary drivers
#
CONFIG_MEDIA_ATTACH=y
# CONFIG_VIDEO_IR_I2C is not set
# CONFIG_VIDEO_CAMERA_SENSOR is not set

#
# Camera ISPs
#
# CONFIG_VIDEO_THP7312 is not set
# end of Camera ISPs

# CONFIG_VIDEO_CAMERA_LENS is not set

#
# Flash devices
#
# CONFIG_VIDEO_ADP1653 is not set
# CONFIG_VIDEO_LM3560 is not set
# CONFIG_VIDEO_LM3646 is not set
# end of Flash devices

#
# Audio decoders, processors and mixers
#
# CONFIG_VIDEO_CS3308 is not set
# CONFIG_VIDEO_CS5345 is not set
CONFIG_VIDEO_CS53L32A=y
CONFIG_VIDEO_MSP3400=y
# CONFIG_VIDEO_SONY_BTF_MPX is not set
# CONFIG_VIDEO_TDA1997X is not set
# CONFIG_VIDEO_TDA7432 is not set
# CONFIG_VIDEO_TDA9840 is not set
# CONFIG_VIDEO_TEA6415C is not set
# CONFIG_VIDEO_TEA6420 is not set
# CONFIG_VIDEO_TLV320AIC23B is not set
# CONFIG_VIDEO_TVAUDIO is not set
# CONFIG_VIDEO_UDA1342 is not set
# CONFIG_VIDEO_VP27SMPX is not set
# CONFIG_VIDEO_WM8739 is not set
CONFIG_VIDEO_WM8775=y
# end of Audio decoders, processors and mixers

#
# RDS decoders
#
# CONFIG_VIDEO_SAA6588 is not set
# end of RDS decoders

#
# Video decoders
#
# CONFIG_VIDEO_ADV7180 is not set
# CONFIG_VIDEO_ADV7183 is not set
# CONFIG_VIDEO_ADV748X is not set
# CONFIG_VIDEO_ADV7604 is not set
# CONFIG_VIDEO_ADV7842 is not set
# CONFIG_VIDEO_BT819 is not set
# CONFIG_VIDEO_BT856 is not set
# CONFIG_VIDEO_BT866 is not set
# CONFIG_VIDEO_ISL7998X is not set
# CONFIG_VIDEO_LT6911UXE is not set
# CONFIG_VIDEO_KS0127 is not set
# CONFIG_VIDEO_MAX9286 is not set
# CONFIG_VIDEO_ML86V7667 is not set
# CONFIG_VIDEO_SAA7110 is not set
CONFIG_VIDEO_SAA711X=y
# CONFIG_VIDEO_TC358743 is not set
# CONFIG_VIDEO_TC358746 is not set
# CONFIG_VIDEO_TVP514X is not set
# CONFIG_VIDEO_TVP5150 is not set
# CONFIG_VIDEO_TVP7002 is not set
# CONFIG_VIDEO_TW2804 is not set
# CONFIG_VIDEO_TW9900 is not set
# CONFIG_VIDEO_TW9903 is not set
# CONFIG_VIDEO_TW9906 is not set
# CONFIG_VIDEO_TW9910 is not set
# CONFIG_VIDEO_VPX3220 is not set

#
# Video and audio decoders
#
# CONFIG_VIDEO_SAA717X is not set
CONFIG_VIDEO_CX25840=y
# end of Video decoders

#
# Video encoders
#
# CONFIG_VIDEO_ADV7170 is not set
# CONFIG_VIDEO_ADV7175 is not set
# CONFIG_VIDEO_ADV7343 is not set
# CONFIG_VIDEO_ADV7393 is not set
# CONFIG_VIDEO_ADV7511 is not set
# CONFIG_VIDEO_AK881X is not set
# CONFIG_VIDEO_SAA7127 is not set
# CONFIG_VIDEO_SAA7185 is not set
# CONFIG_VIDEO_THS8200 is not set
# end of Video encoders

#
# Video improvement chips
#
# CONFIG_VIDEO_UPD64031A is not set
# CONFIG_VIDEO_UPD64083 is not set
# end of Video improvement chips

#
# Audio/Video compression chips
#
# CONFIG_VIDEO_SAA6752HS is not set
# end of Audio/Video compression chips

#
# SDR tuner chips
#
# CONFIG_SDR_MAX2175 is not set
# end of SDR tuner chips

#
# Miscellaneous helper chips
#
# CONFIG_VIDEO_I2C is not set
# CONFIG_VIDEO_M52790 is not set
# CONFIG_VIDEO_ST_MIPID02 is not set
# CONFIG_VIDEO_THS7303 is not set
# end of Miscellaneous helper chips

#
# Video serializers and deserializers
#
# CONFIG_VIDEO_DS90UB913 is not set
# CONFIG_VIDEO_DS90UB953 is not set
# CONFIG_VIDEO_DS90UB960 is not set
# CONFIG_VIDEO_MAX96714 is not set
# CONFIG_VIDEO_MAX96717 is not set
# end of Video serializers and deserializers

#
# Media SPI Adapters
#
# CONFIG_CXD2880_SPI_DRV is not set
# CONFIG_VIDEO_GS1662 is not set
# end of Media SPI Adapters

CONFIG_MEDIA_TUNER=y

#
# Customize TV tuners
#
# CONFIG_MEDIA_TUNER_E4000 is not set
# CONFIG_MEDIA_TUNER_FC0011 is not set
# CONFIG_MEDIA_TUNER_FC0012 is not set
# CONFIG_MEDIA_TUNER_FC0013 is not set
# CONFIG_MEDIA_TUNER_FC2580 is not set
# CONFIG_MEDIA_TUNER_IT913X is not set
# CONFIG_MEDIA_TUNER_M88RS6000T is not set
# CONFIG_MEDIA_TUNER_MAX2165 is not set
# CONFIG_MEDIA_TUNER_MC44S803 is not set
CONFIG_MEDIA_TUNER_MSI001=y
# CONFIG_MEDIA_TUNER_MT2060 is not set
# CONFIG_MEDIA_TUNER_MT2063 is not set
# CONFIG_MEDIA_TUNER_MT20XX is not set
# CONFIG_MEDIA_TUNER_MT2131 is not set
# CONFIG_MEDIA_TUNER_MT2266 is not set
# CONFIG_MEDIA_TUNER_MXL301RF is not set
# CONFIG_MEDIA_TUNER_MXL5005S is not set
# CONFIG_MEDIA_TUNER_MXL5007T is not set
# CONFIG_MEDIA_TUNER_QM1D1B0004 is not set
# CONFIG_MEDIA_TUNER_QM1D1C0042 is not set
# CONFIG_MEDIA_TUNER_QT1010 is not set
# CONFIG_MEDIA_TUNER_R820T is not set
# CONFIG_MEDIA_TUNER_SI2157 is not set
# CONFIG_MEDIA_TUNER_SIMPLE is not set
# CONFIG_MEDIA_TUNER_TDA18212 is not set
# CONFIG_MEDIA_TUNER_TDA18218 is not set
# CONFIG_MEDIA_TUNER_TDA18250 is not set
# CONFIG_MEDIA_TUNER_TDA18271 is not set
# CONFIG_MEDIA_TUNER_TDA827X is not set
# CONFIG_MEDIA_TUNER_TDA8290 is not set
# CONFIG_MEDIA_TUNER_TDA9887 is not set
# CONFIG_MEDIA_TUNER_TEA5761 is not set
# CONFIG_MEDIA_TUNER_TEA5767 is not set
# CONFIG_MEDIA_TUNER_TUA9001 is not set
# CONFIG_MEDIA_TUNER_XC2028 is not set
# CONFIG_MEDIA_TUNER_XC4000 is not set
# CONFIG_MEDIA_TUNER_XC5000 is not set
# end of Customize TV tuners

#
# Customise DVB Frontends
#

#
# Multistandard (satellite) frontends
#
# CONFIG_DVB_M88DS3103 is not set
# CONFIG_DVB_MXL5XX is not set
# CONFIG_DVB_STB0899 is not set
# CONFIG_DVB_STB6100 is not set
# CONFIG_DVB_STV090x is not set
# CONFIG_DVB_STV0910 is not set
# CONFIG_DVB_STV6110x is not set
# CONFIG_DVB_STV6111 is not set

#
# Multistandard (cable + terrestrial) frontends
#
# CONFIG_DVB_DRXK is not set
# CONFIG_DVB_MN88472 is not set
# CONFIG_DVB_MN88473 is not set
# CONFIG_DVB_SI2165 is not set
# CONFIG_DVB_TDA18271C2DD is not set

#
# DVB-S (satellite) frontends
#
# CONFIG_DVB_CX24110 is not set
# CONFIG_DVB_CX24116 is not set
# CONFIG_DVB_CX24117 is not set
# CONFIG_DVB_CX24120 is not set
# CONFIG_DVB_CX24123 is not set
# CONFIG_DVB_DS3000 is not set
# CONFIG_DVB_MB86A16 is not set
# CONFIG_DVB_MT312 is not set
# CONFIG_DVB_S5H1420 is not set
# CONFIG_DVB_SI21XX is not set
# CONFIG_DVB_STB6000 is not set
# CONFIG_DVB_STV0288 is not set
# CONFIG_DVB_STV0299 is not set
# CONFIG_DVB_STV0900 is not set
# CONFIG_DVB_STV6110 is not set
# CONFIG_DVB_TDA10071 is not set
# CONFIG_DVB_TDA10086 is not set
# CONFIG_DVB_TDA8083 is not set
# CONFIG_DVB_TDA8261 is not set
# CONFIG_DVB_TDA826X is not set
# CONFIG_DVB_TS2020 is not set
# CONFIG_DVB_TUA6100 is not set
# CONFIG_DVB_TUNER_CX24113 is not set
# CONFIG_DVB_TUNER_ITD1000 is not set
# CONFIG_DVB_VES1X93 is not set
# CONFIG_DVB_ZL10036 is not set
# CONFIG_DVB_ZL10039 is not set

#
# DVB-T (terrestrial) frontends
#
CONFIG_DVB_AF9013=y
CONFIG_DVB_AS102_FE=y
# CONFIG_DVB_CX22700 is not set
# CONFIG_DVB_CX22702 is not set
# CONFIG_DVB_CXD2820R is not set
# CONFIG_DVB_CXD2841ER is not set
CONFIG_DVB_DIB3000MB=y
CONFIG_DVB_DIB3000MC=y
# CONFIG_DVB_DIB7000M is not set
# CONFIG_DVB_DIB7000P is not set
# CONFIG_DVB_DIB9000 is not set
# CONFIG_DVB_DRXD is not set
CONFIG_DVB_EC100=y
CONFIG_DVB_GP8PSK_FE=y
# CONFIG_DVB_L64781 is not set
# CONFIG_DVB_MT352 is not set
# CONFIG_DVB_NXT6000 is not set
CONFIG_DVB_RTL2830=y
CONFIG_DVB_RTL2832=y
CONFIG_DVB_RTL2832_SDR=y
# CONFIG_DVB_S5H1432 is not set
# CONFIG_DVB_SI2168 is not set
# CONFIG_DVB_SP887X is not set
# CONFIG_DVB_STV0367 is not set
# CONFIG_DVB_TDA10048 is not set
# CONFIG_DVB_TDA1004X is not set
# CONFIG_DVB_ZD1301_DEMOD is not set
CONFIG_DVB_ZL10353=y
# CONFIG_DVB_CXD2880 is not set

#
# DVB-C (cable) frontends
#
# CONFIG_DVB_STV0297 is not set
# CONFIG_DVB_TDA10021 is not set
# CONFIG_DVB_TDA10023 is not set
# CONFIG_DVB_VES1820 is not set

#
# ATSC (North American/Korean Terrestrial/Cable DTV) frontends
#
# CONFIG_DVB_AU8522_DTV is not set
# CONFIG_DVB_AU8522_V4L is not set
# CONFIG_DVB_BCM3510 is not set
# CONFIG_DVB_LG2160 is not set
# CONFIG_DVB_LGDT3305 is not set
# CONFIG_DVB_LGDT3306A is not set
# CONFIG_DVB_LGDT330X is not set
# CONFIG_DVB_MXL692 is not set
# CONFIG_DVB_NXT200X is not set
# CONFIG_DVB_OR51132 is not set
# CONFIG_DVB_OR51211 is not set
# CONFIG_DVB_S5H1409 is not set
# CONFIG_DVB_S5H1411 is not set

#
# ISDB-T (terrestrial) frontends
#
# CONFIG_DVB_DIB8000 is not set
# CONFIG_DVB_MB86A20S is not set
# CONFIG_DVB_S921 is not set

#
# ISDB-S (satellite) & ISDB-T (terrestrial) frontends
#
# CONFIG_DVB_MN88443X is not set
# CONFIG_DVB_TC90522 is not set

#
# Digital terrestrial only tuners/PLL
#
# CONFIG_DVB_PLL is not set
# CONFIG_DVB_TUNER_DIB0070 is not set
# CONFIG_DVB_TUNER_DIB0090 is not set

#
# SEC control devices for DVB-S
#
# CONFIG_DVB_A8293 is not set
CONFIG_DVB_AF9033=y
# CONFIG_DVB_ASCOT2E is not set
# CONFIG_DVB_ATBM8830 is not set
# CONFIG_DVB_HELENE is not set
# CONFIG_DVB_HORUS3A is not set
# CONFIG_DVB_ISL6405 is not set
# CONFIG_DVB_ISL6421 is not set
# CONFIG_DVB_ISL6423 is not set
# CONFIG_DVB_IX2505V is not set
# CONFIG_DVB_LGS8GL5 is not set
# CONFIG_DVB_LGS8GXX is not set
# CONFIG_DVB_LNBH25 is not set
# CONFIG_DVB_LNBH29 is not set
# CONFIG_DVB_LNBP21 is not set
# CONFIG_DVB_LNBP22 is not set
# CONFIG_DVB_M88RS2000 is not set
# CONFIG_DVB_TDA665x is not set
# CONFIG_DVB_DRX39XYJ is not set

#
# Common Interface (EN50221) controller drivers
#
# CONFIG_DVB_CXD2099 is not set
# CONFIG_DVB_SP2 is not set
# end of Customise DVB Frontends

#
# Tools to develop new frontends
#
# CONFIG_DVB_DUMMY_FE is not set
# end of Media ancillary drivers

#
# Graphics support
#
CONFIG_APERTURE_HELPERS=y
CONFIG_SCREEN_INFO=y
CONFIG_VIDEO=y
# CONFIG_AUXDISPLAY is not set
# CONFIG_PANEL is not set
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_AGP_INTEL=y
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_VIA is not set
CONFIG_INTEL_GTT=y
# CONFIG_VGA_SWITCHEROO is not set
CONFIG_DRM=y

#
# DRM debugging options
#
# CONFIG_DRM_WERROR is not set
CONFIG_DRM_DEBUG_MM=y
# end of DRM debugging options

CONFIG_DRM_MIPI_DSI=y
CONFIG_DRM_KMS_HELPER=y
# CONFIG_DRM_PANIC is not set
# CONFIG_DRM_DEBUG_DP_MST_TOPOLOGY_REFS is not set
# CONFIG_DRM_DEBUG_MODESET_LOCK is not set
CONFIG_DRM_CLIENT=y
CONFIG_DRM_CLIENT_LIB=y
CONFIG_DRM_CLIENT_SELECTION=y
CONFIG_DRM_CLIENT_SETUP=y

#
# Supported DRM clients
#
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_FBDEV_OVERALLOC=100
# CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM is not set
# CONFIG_DRM_CLIENT_LOG is not set
CONFIG_DRM_CLIENT_DEFAULT_FBDEV=y
CONFIG_DRM_CLIENT_DEFAULT="fbdev"
# end of Supported DRM clients

# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
CONFIG_DRM_DISPLAY_DP_AUX_BUS=y
CONFIG_DRM_DISPLAY_HELPER=y
# CONFIG_DRM_DISPLAY_DP_AUX_CEC is not set
# CONFIG_DRM_DISPLAY_DP_AUX_CHARDEV is not set
CONFIG_DRM_DISPLAY_DP_HELPER=y
CONFIG_DRM_DISPLAY_DSC_HELPER=y
CONFIG_DRM_DISPLAY_HDCP_HELPER=y
CONFIG_DRM_DISPLAY_HDMI_HELPER=y
CONFIG_DRM_TTM=y
CONFIG_DRM_BUDDY=y
CONFIG_DRM_TTM_HELPER=y
CONFIG_DRM_GEM_SHMEM_HELPER=y

#
# Drivers for system framebuffers
#
CONFIG_DRM_SYSFB_HELPER=y
CONFIG_DRM_SIMPLEDRM=y
# CONFIG_DRM_VESADRM is not set
# end of Drivers for system framebuffers

#
# ARM devices
#
# CONFIG_DRM_KOMEDA is not set
# end of ARM devices

# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_AMDGPU is not set
# CONFIG_DRM_NOUVEAU is not set
CONFIG_DRM_I915=y
CONFIG_DRM_I915_FORCE_PROBE=""
CONFIG_DRM_I915_CAPTURE_ERROR=y
CONFIG_DRM_I915_COMPRESS_ERROR=y
CONFIG_DRM_I915_USERPTR=y
# CONFIG_DRM_I915_GVT_KVMGT is not set
# CONFIG_DRM_I915_DP_TUNNEL is not set

#
# drm/i915 Debugging
#
# CONFIG_DRM_I915_WERROR is not set
# CONFIG_DRM_I915_REPLAY_GPU_HANGS_API is not set
# CONFIG_DRM_I915_DEBUG is not set
# CONFIG_DRM_I915_DEBUG_MMIO is not set
# CONFIG_DRM_I915_SW_FENCE_DEBUG_OBJECTS is not set
# CONFIG_DRM_I915_SW_FENCE_CHECK_DAG is not set
# CONFIG_DRM_I915_DEBUG_GUC is not set
# CONFIG_DRM_I915_SELFTEST is not set
# CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS is not set
# CONFIG_DRM_I915_DEBUG_VBLANK_EVADE is not set
# CONFIG_DRM_I915_DEBUG_RUNTIME_PM is not set
# CONFIG_DRM_I915_DEBUG_WAKEREF is not set
# end of drm/i915 Debugging

#
# drm/i915 Profile Guided Optimisation
#
CONFIG_DRM_I915_REQUEST_TIMEOUT=20000
CONFIG_DRM_I915_FENCE_TIMEOUT=10000
CONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=250
CONFIG_DRM_I915_HEARTBEAT_INTERVAL=2500
CONFIG_DRM_I915_PREEMPT_TIMEOUT=640
CONFIG_DRM_I915_PREEMPT_TIMEOUT_COMPUTE=7500
CONFIG_DRM_I915_MAX_REQUEST_BUSYWAIT=8000
CONFIG_DRM_I915_STOP_TIMEOUT=100
CONFIG_DRM_I915_TIMESLICE_DURATION=1
# end of drm/i915 Profile Guided Optimisation

# CONFIG_DRM_XE is not set
CONFIG_DRM_VGEM=y
CONFIG_DRM_VKMS=y
CONFIG_DRM_VMWGFX=y
# CONFIG_DRM_VMWGFX_MKSSTATS is not set
# CONFIG_DRM_GMA500 is not set
CONFIG_DRM_UDL=y
# CONFIG_DRM_AST is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_QXL is not set
CONFIG_DRM_VIRTIO_GPU=y
CONFIG_DRM_VIRTIO_GPU_KMS=y
CONFIG_DRM_PANEL=y

#
# Display Panels
#
# CONFIG_DRM_PANEL_ABT_Y030XX067A is not set
# CONFIG_DRM_PANEL_ARM_VERSATILE is not set
# CONFIG_DRM_PANEL_ASUS_Z00T_TM5P5_NT35596 is not set
# CONFIG_DRM_PANEL_AUO_A030JTN01 is not set
# CONFIG_DRM_PANEL_BOE_BF060Y8M_AJ0 is not set
# CONFIG_DRM_PANEL_BOE_HIMAX8279D is not set
# CONFIG_DRM_PANEL_BOE_TD4320 is not set
# CONFIG_DRM_PANEL_BOE_TH101MB31UIG002_28A is not set
# CONFIG_DRM_PANEL_BOE_TV101WUM_NL6 is not set
# CONFIG_DRM_PANEL_BOE_TV101WUM_LL2 is not set
# CONFIG_DRM_PANEL_EBBG_FT8719 is not set
# CONFIG_DRM_PANEL_ELIDA_KD35T133 is not set
# CONFIG_DRM_PANEL_FEIXIN_K101_IM2BA02 is not set
# CONFIG_DRM_PANEL_FEIYANG_FY07024DI26A30D is not set
# CONFIG_DRM_PANEL_DSI_CM is not set
# CONFIG_DRM_PANEL_LVDS is not set
# CONFIG_DRM_PANEL_HIMAX_HX8279 is not set
# CONFIG_DRM_PANEL_HIMAX_HX83102 is not set
# CONFIG_DRM_PANEL_HIMAX_HX83112A is not set
# CONFIG_DRM_PANEL_HIMAX_HX83112B is not set
# CONFIG_DRM_PANEL_HIMAX_HX8394 is not set
# CONFIG_DRM_PANEL_HYDIS_HV101HD1 is not set
# CONFIG_DRM_PANEL_ILITEK_IL9322 is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9341 is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9805 is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9806E is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9881C is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9882T is not set
# CONFIG_DRM_PANEL_INNOLUX_EJ030NA is not set
# CONFIG_DRM_PANEL_INNOLUX_P079ZCA is not set
# CONFIG_DRM_PANEL_JADARD_JD9365DA_H3 is not set
# CONFIG_DRM_PANEL_JDI_LPM102A188A is not set
# CONFIG_DRM_PANEL_JDI_LT070ME05000 is not set
# CONFIG_DRM_PANEL_JDI_R63452 is not set
# CONFIG_DRM_PANEL_KHADAS_TS050 is not set
# CONFIG_DRM_PANEL_KINGDISPLAY_KD097D04 is not set
# CONFIG_DRM_PANEL_LEADTEK_LTK050H3146W is not set
# CONFIG_DRM_PANEL_LEADTEK_LTK500HD1829 is not set
# CONFIG_DRM_PANEL_LINCOLNTECH_LCD197 is not set
# CONFIG_DRM_PANEL_LG_LB035Q02 is not set
# CONFIG_DRM_PANEL_LG_LD070WX3 is not set
# CONFIG_DRM_PANEL_LG_LG4573 is not set
# CONFIG_DRM_PANEL_LG_SW43408 is not set
# CONFIG_DRM_PANEL_MAGNACHIP_D53E6EA8966 is not set
# CONFIG_DRM_PANEL_MANTIX_MLAF057WE51 is not set
# CONFIG_DRM_PANEL_NEC_NL8048HL11 is not set
# CONFIG_DRM_PANEL_NEWVISION_NV3051D is not set
# CONFIG_DRM_PANEL_NEWVISION_NV3052C is not set
# CONFIG_DRM_PANEL_NOVATEK_NT35510 is not set
# CONFIG_DRM_PANEL_NOVATEK_NT35560 is not set
# CONFIG_DRM_PANEL_NOVATEK_NT35950 is not set
# CONFIG_DRM_PANEL_NOVATEK_NT36523 is not set
# CONFIG_DRM_PANEL_NOVATEK_NT36672A is not set
# CONFIG_DRM_PANEL_NOVATEK_NT36672E is not set
# CONFIG_DRM_PANEL_NOVATEK_NT37801 is not set
# CONFIG_DRM_PANEL_NOVATEK_NT39016 is not set
# CONFIG_DRM_PANEL_OLIMEX_LCD_OLINUXINO is not set
# CONFIG_DRM_PANEL_ORISETECH_OTA5601A is not set
# CONFIG_DRM_PANEL_ORISETECH_OTM8009A is not set
# CONFIG_DRM_PANEL_OSD_OSD101T2587_53TS is not set
# CONFIG_DRM_PANEL_PANASONIC_VVX10F034N00 is not set
# CONFIG_DRM_PANEL_RASPBERRYPI_TOUCHSCREEN is not set
# CONFIG_DRM_PANEL_RAYDIUM_RM67191 is not set
# CONFIG_DRM_PANEL_RAYDIUM_RM67200 is not set
# CONFIG_DRM_PANEL_RAYDIUM_RM68200 is not set
# CONFIG_DRM_PANEL_RAYDIUM_RM692E5 is not set
# CONFIG_DRM_PANEL_RAYDIUM_RM69380 is not set
# CONFIG_DRM_PANEL_RENESAS_R61307 is not set
# CONFIG_DRM_PANEL_RENESAS_R69328 is not set
# CONFIG_DRM_PANEL_RONBO_RB070D30 is not set
# CONFIG_DRM_PANEL_SAMSUNG_AMS581VF01 is not set
# CONFIG_DRM_PANEL_SAMSUNG_AMS639RQ08 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E88A0_AMS427AP24 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E88A0_AMS452EF01 is not set
# CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20 is not set
# CONFIG_DRM_PANEL_SAMSUNG_DB7430 is not set
# CONFIG_DRM_PANEL_SAMSUNG_LD9040 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E3FA7 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6D16D0 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6D27A1 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6D7AA0 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E3FC2X01 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E3HA2 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E3HA8 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E63J0X03 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E63M0 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E8AA5X01_AMS561RA01 is not set
# CONFIG_DRM_PANEL_SAMSUNG_SOFEF00 is not set
# CONFIG_DRM_PANEL_SEIKO_43WVF1G is not set
# CONFIG_DRM_PANEL_SHARP_LQ079L1SX01 is not set
# CONFIG_DRM_PANEL_SHARP_LQ101R1SX01 is not set
# CONFIG_DRM_PANEL_SHARP_LS037V7DW01 is not set
# CONFIG_DRM_PANEL_SHARP_LS043T1LE01 is not set
# CONFIG_DRM_PANEL_SHARP_LS060T1SX01 is not set
# CONFIG_DRM_PANEL_SITRONIX_ST7701 is not set
# CONFIG_DRM_PANEL_SITRONIX_ST7703 is not set
# CONFIG_DRM_PANEL_SITRONIX_ST7789V is not set
# CONFIG_DRM_PANEL_SONY_ACX565AKM is not set
# CONFIG_DRM_PANEL_SONY_TD4353_JDI is not set
# CONFIG_DRM_PANEL_SONY_TULIP_TRULY_NT35521 is not set
# CONFIG_DRM_PANEL_STARTEK_KD070FHFID015 is not set
CONFIG_DRM_PANEL_EDP=y
# CONFIG_DRM_PANEL_SIMPLE is not set
# CONFIG_DRM_PANEL_SUMMIT is not set
# CONFIG_DRM_PANEL_SYNAPTICS_R63353 is not set
# CONFIG_DRM_PANEL_SYNAPTICS_TDDI is not set
# CONFIG_DRM_PANEL_TDO_TL070WSH30 is not set
# CONFIG_DRM_PANEL_TPO_TD028TTEC1 is not set
# CONFIG_DRM_PANEL_TPO_TD043MTEA1 is not set
# CONFIG_DRM_PANEL_TPO_TPG110 is not set
# CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA is not set
# CONFIG_DRM_PANEL_VISIONOX_G2647FB105 is not set
# CONFIG_DRM_PANEL_VISIONOX_R66451 is not set
# CONFIG_DRM_PANEL_VISIONOX_RM69299 is not set
# CONFIG_DRM_PANEL_VISIONOX_RM692E5 is not set
# CONFIG_DRM_PANEL_VISIONOX_VTDR6130 is not set
# CONFIG_DRM_PANEL_WIDECHIPS_WS2401 is not set
# CONFIG_DRM_PANEL_XINPENG_XPP055C272 is not set
# end of Display Panels

CONFIG_DRM_BRIDGE=y
CONFIG_DRM_PANEL_BRIDGE=y
CONFIG_DRM_AUX_BRIDGE=y

#
# Display Interface Bridges
#
# CONFIG_DRM_CHIPONE_ICN6211 is not set
# CONFIG_DRM_CHRONTEL_CH7033 is not set
# CONFIG_DRM_DISPLAY_CONNECTOR is not set
# CONFIG_DRM_I2C_NXP_TDA998X is not set
# CONFIG_DRM_ITE_IT6263 is not set
# CONFIG_DRM_ITE_IT6505 is not set
# CONFIG_DRM_LONTIUM_LT8912B is not set
# CONFIG_DRM_LONTIUM_LT9211 is not set
# CONFIG_DRM_LONTIUM_LT9611 is not set
# CONFIG_DRM_LONTIUM_LT9611UXC is not set
# CONFIG_DRM_ITE_IT66121 is not set
# CONFIG_DRM_LVDS_CODEC is not set
# CONFIG_DRM_MEGACHIPS_STDPXXXX_GE_B850V3_FW is not set
# CONFIG_DRM_NWL_MIPI_DSI is not set
# CONFIG_DRM_NXP_PTN3460 is not set
# CONFIG_DRM_PARADE_PS8622 is not set
# CONFIG_DRM_PARADE_PS8640 is not set
# CONFIG_DRM_SAMSUNG_DSIM is not set
# CONFIG_DRM_SIL_SII8620 is not set
# CONFIG_DRM_SII902X is not set
# CONFIG_DRM_SII9234 is not set
# CONFIG_DRM_SIMPLE_BRIDGE is not set
# CONFIG_DRM_SOLOMON_SSD2825 is not set
# CONFIG_DRM_THINE_THC63LVD1024 is not set
# CONFIG_DRM_TOSHIBA_TC358762 is not set
# CONFIG_DRM_TOSHIBA_TC358764 is not set
# CONFIG_DRM_TOSHIBA_TC358767 is not set
# CONFIG_DRM_TOSHIBA_TC358768 is not set
# CONFIG_DRM_TOSHIBA_TC358775 is not set
# CONFIG_DRM_TI_DLPC3433 is not set
# CONFIG_DRM_TI_TDP158 is not set
# CONFIG_DRM_TI_TFP410 is not set
# CONFIG_DRM_TI_SN65DSI83 is not set
# CONFIG_DRM_TI_SN65DSI86 is not set
# CONFIG_DRM_TI_TPD12S015 is not set
# CONFIG_DRM_WAVESHARE_BRIDGE is not set
# CONFIG_DRM_ANALOGIX_ANX6345 is not set
# CONFIG_DRM_ANALOGIX_ANX78XX is not set
# CONFIG_DRM_ANALOGIX_ANX7625 is not set
# CONFIG_DRM_I2C_ADV7511 is not set
# CONFIG_DRM_CDNS_DSI is not set
# CONFIG_DRM_CDNS_MHDP8546 is not set
# end of Display Interface Bridges

# CONFIG_DRM_ETNAVIV is not set
# CONFIG_DRM_HISI_HIBMC is not set
# CONFIG_DRM_LOGICVC is not set
# CONFIG_DRM_APPLETBDRM is not set
# CONFIG_DRM_ARCPGU is not set
CONFIG_DRM_BOCHS=y
CONFIG_DRM_CIRRUS_QEMU=y
CONFIG_DRM_GM12U320=y
# CONFIG_DRM_PANEL_MIPI_DBI is not set
# CONFIG_DRM_PIXPAPER is not set
# CONFIG_TINYDRM_HX8357D is not set
# CONFIG_TINYDRM_ILI9163 is not set
# CONFIG_TINYDRM_ILI9225 is not set
# CONFIG_TINYDRM_ILI9341 is not set
# CONFIG_TINYDRM_ILI9486 is not set
# CONFIG_TINYDRM_MI0283QT is not set
# CONFIG_TINYDRM_REPAPER is not set
# CONFIG_TINYDRM_SHARP_MEMORY is not set
# CONFIG_DRM_VBOXVIDEO is not set
CONFIG_DRM_GUD=y
# CONFIG_DRM_ST7571_I2C is not set
# CONFIG_DRM_ST7586 is not set
# CONFIG_DRM_ST7735R is not set
# CONFIG_DRM_SSD130X is not set
CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y

#
# Frame buffer Devices
#
CONFIG_FB=y
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
CONFIG_FB_VGA16=y
# CONFIG_FB_UVESA is not set
CONFIG_FB_VESA=y
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_OPENCORES is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I740 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_VIA is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_SMSCUFX is not set
# CONFIG_FB_UDL is not set
# CONFIG_FB_IBM_GXT4500 is not set
CONFIG_FB_VIRTUAL=y
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_SSD1307 is not set
# CONFIG_FB_SM712 is not set
CONFIG_FB_CORE=y
CONFIG_FB_NOTIFY=y
CONFIG_FB_DEVICE=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_SYS_FILLRECT=y
CONFIG_FB_SYS_COPYAREA=y
CONFIG_FB_SYS_IMAGEBLIT=y
# CONFIG_FB_FOREIGN_ENDIAN is not set
CONFIG_FB_SYSMEM_FOPS=y
CONFIG_FB_DEFERRED_IO=y
CONFIG_FB_IOMEM_FOPS=y
CONFIG_FB_IOMEM_HELPERS=y
CONFIG_FB_SYSMEM_HELPERS=y
CONFIG_FB_SYSMEM_HELPERS_DEFERRED=y
CONFIG_FB_TILEBLITTING=y
# end of Frame buffer Devices

#
# Backlight & LCD device support
#
CONFIG_LCD_CLASS_DEVICE=y
# CONFIG_LCD_L4F00242T03 is not set
# CONFIG_LCD_LMS283GF05 is not set
# CONFIG_LCD_LTV350QV is not set
# CONFIG_LCD_ILI922X is not set
# CONFIG_LCD_ILI9320 is not set
# CONFIG_LCD_TDO24M is not set
# CONFIG_LCD_VGG2432A4 is not set
# CONFIG_LCD_PLATFORM is not set
# CONFIG_LCD_AMS369FG06 is not set
# CONFIG_LCD_LMS501KF03 is not set
# CONFIG_LCD_HX8357 is not set
# CONFIG_LCD_OTM3225A is not set
CONFIG_BACKLIGHT_CLASS_DEVICE=y
# CONFIG_BACKLIGHT_AW99706 is not set
# CONFIG_BACKLIGHT_KTD253 is not set
# CONFIG_BACKLIGHT_KTD2801 is not set
# CONFIG_BACKLIGHT_KTZ8866 is not set
# CONFIG_BACKLIGHT_MT6370 is not set
# CONFIG_BACKLIGHT_APPLE is not set
# CONFIG_BACKLIGHT_QCOM_WLED is not set
# CONFIG_BACKLIGHT_SAHARA is not set
# CONFIG_BACKLIGHT_ADP8860 is not set
# CONFIG_BACKLIGHT_ADP8870 is not set
# CONFIG_BACKLIGHT_LM3509 is not set
# CONFIG_BACKLIGHT_LM3639 is not set
# CONFIG_BACKLIGHT_PANDORA is not set
# CONFIG_BACKLIGHT_GPIO is not set
# CONFIG_BACKLIGHT_LV5207LP is not set
# CONFIG_BACKLIGHT_BD6107 is not set
# CONFIG_BACKLIGHT_ARCXCNN is not set
# CONFIG_BACKLIGHT_LED is not set
# end of Backlight & LCD device support

CONFIG_VGASTATE=y
CONFIG_VIDEOMODE_HELPERS=y
CONFIG_HDMI=y
# CONFIG_FIRMWARE_EDID is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_DUMMY_CONSOLE_COLUMNS=80
CONFIG_DUMMY_CONSOLE_ROWS=25
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION is not set
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
# CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER is not set
# end of Console display driver support

CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
# CONFIG_LOGO_LINUX_CLUT224 is not set
# CONFIG_TRACE_GPU_MEM is not set
# end of Graphics support

# CONFIG_DRM_ACCEL is not set
CONFIG_SOUND=y
CONFIG_SOUND_OSS_CORE=y
CONFIG_SOUND_OSS_CORE_PRECLAIM=y
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=y
CONFIG_SND_SEQ_DEVICE=y
CONFIG_SND_RAWMIDI=y
CONFIG_SND_UMP=y
CONFIG_SND_UMP_LEGACY_RAWMIDI=y
CONFIG_SND_JACK=y
CONFIG_SND_JACK_INPUT_DEV=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_PCM_TIMER=y
CONFIG_SND_HRTIMER=y
# CONFIG_SND_DYNAMIC_MINORS is not set
# CONFIG_SND_SUPPORT_OLD_API is not set
CONFIG_SND_PROC_FS=y
CONFIG_SND_VERBOSE_PROCFS=y
CONFIG_SND_CTL_FAST_LOOKUP=y
CONFIG_SND_DEBUG=y
# CONFIG_SND_DEBUG_VERBOSE is not set
CONFIG_SND_PCM_XRUN_DEBUG=y
# CONFIG_SND_CTL_INPUT_VALIDATION is not set
# CONFIG_SND_CTL_DEBUG is not set
# CONFIG_SND_JACK_INJECTION_DEBUG is not set
# CONFIG_SND_UTIMER is not set
CONFIG_SND_VMASTER=y
CONFIG_SND_DMA_SGBUF=y
CONFIG_SND_CTL_LED=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_SEQ_DUMMY=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
CONFIG_SND_SEQ_MIDI_EVENT=y
CONFIG_SND_SEQ_MIDI=y
CONFIG_SND_SEQ_VIRMIDI=y
# CONFIG_SND_SEQ_UMP is not set
CONFIG_SND_DRIVERS=y
# CONFIG_SND_PCSP is not set
CONFIG_SND_DUMMY=y
CONFIG_SND_ALOOP=y
# CONFIG_SND_PCMTEST is not set
CONFIG_SND_VIRMIDI=y
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_MTS64 is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_SERIAL_GENERIC is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_PORTMAN2X4 is not set
CONFIG_SND_PCI=y
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ASIHPI is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AW2 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_OXYGEN is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CTXFI is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_INDIGOIOX is not set
# CONFIG_SND_INDIGODJX is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_LOLA is not set
# CONFIG_SND_LX6464ES is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SE6X is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VIRTUOSO is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set

#
# HD-Audio
#
CONFIG_SND_HDA=y
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_RECONFIG=y
CONFIG_SND_HDA_INPUT_BEEP=y
CONFIG_SND_HDA_INPUT_BEEP_MODE=1
CONFIG_SND_HDA_PATCH_LOADER=y
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
# CONFIG_SND_HDA_CTL_DEV_ID is not set
CONFIG_SND_HDA_PREALLOC_SIZE=0
CONFIG_SND_HDA_INTEL=y
# CONFIG_SND_HDA_ACPI is not set
CONFIG_SND_HDA_GENERIC_LEDS=y
CONFIG_SND_HDA_CODEC_ANALOG=y
CONFIG_SND_HDA_CODEC_SIGMATEL=y
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_CONEXANT=y
# CONFIG_SND_HDA_CODEC_SENARYTECH is not set
CONFIG_SND_HDA_CODEC_CA0110=y
CONFIG_SND_HDA_CODEC_CA0132=y
# CONFIG_SND_HDA_CODEC_CA0132_DSP is not set
CONFIG_SND_HDA_CODEC_CMEDIA=y
# CONFIG_SND_HDA_CODEC_CM9825 is not set
CONFIG_SND_HDA_CODEC_SI3054=y
CONFIG_SND_HDA_GENERIC=y
CONFIG_SND_HDA_CODEC_REALTEK=y
# CONFIG_SND_HDA_CODEC_ALC260 is not set
# CONFIG_SND_HDA_CODEC_ALC262 is not set
# CONFIG_SND_HDA_CODEC_ALC268 is not set
# CONFIG_SND_HDA_CODEC_ALC269 is not set
# CONFIG_SND_HDA_CODEC_ALC662 is not set
# CONFIG_SND_HDA_CODEC_ALC680 is not set
# CONFIG_SND_HDA_CODEC_ALC861 is not set
# CONFIG_SND_HDA_CODEC_ALC861VD is not set
# CONFIG_SND_HDA_CODEC_ALC880 is not set
# CONFIG_SND_HDA_CODEC_ALC882 is not set
CONFIG_SND_HDA_CODEC_CIRRUS=y
# CONFIG_SND_HDA_CODEC_CS420X is not set
# CONFIG_SND_HDA_CODEC_CS421X is not set
# CONFIG_SND_HDA_CODEC_CS8409 is not set
CONFIG_SND_HDA_CODEC_HDMI=y
# CONFIG_SND_HDA_CODEC_HDMI_GENERIC is not set
# CONFIG_SND_HDA_CODEC_HDMI_SIMPLE is not set
# CONFIG_SND_HDA_CODEC_HDMI_INTEL is not set
# CONFIG_SND_HDA_CODEC_HDMI_ATI is not set
# CONFIG_SND_HDA_CODEC_HDMI_NVIDIA is not set
# CONFIG_SND_HDA_CODEC_HDMI_NVIDIA_MCP is not set
# CONFIG_SND_HDA_CODEC_HDMI_TEGRA is not set
# CONFIG_SND_HDA_SCODEC_CS35L56_I2C is not set
# CONFIG_SND_HDA_SCODEC_CS35L56_SPI is not set
CONFIG_SND_HDA_CORE=y
CONFIG_SND_HDA_COMPONENT=y
CONFIG_SND_HDA_I915=y
CONFIG_SND_INTEL_NHLT=y
CONFIG_SND_INTEL_DSP_CONFIG=y
CONFIG_SND_INTEL_SOUNDWIRE_ACPI=y
# end of HD-Audio

# CONFIG_SND_SPI is not set
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=y
CONFIG_SND_USB_AUDIO_MIDI_V2=y
CONFIG_SND_USB_AUDIO_USE_MEDIA_CONTROLLER=y
CONFIG_SND_USB_UA101=y
CONFIG_SND_USB_USX2Y=y
CONFIG_SND_USB_CAIAQ=y
CONFIG_SND_USB_CAIAQ_INPUT=y
CONFIG_SND_USB_US122L=y
# CONFIG_SND_USB_US144MKII is not set
CONFIG_SND_USB_6FIRE=y
CONFIG_SND_USB_HIFACE=y
CONFIG_SND_BCD2000=y
CONFIG_SND_USB_LINE6=y
CONFIG_SND_USB_POD=y
CONFIG_SND_USB_PODHD=y
CONFIG_SND_USB_TONEPORT=y
CONFIG_SND_USB_VARIAX=y
# CONFIG_SND_FIREWIRE is not set
CONFIG_SND_PCMCIA=y
# CONFIG_SND_VXPOCKET is not set
# CONFIG_SND_PDAUDIOCF is not set
CONFIG_SND_SOC=y
# CONFIG_SND_SOC_USB is not set

#
# Analog Devices
#
# CONFIG_SND_SOC_ADI_AXI_I2S is not set
# CONFIG_SND_SOC_ADI_AXI_SPDIF is not set
# end of Analog Devices

#
# AMD
#
# CONFIG_SND_SOC_AMD_ACP is not set
# CONFIG_SND_SOC_AMD_ACP3x is not set
# CONFIG_SND_SOC_AMD_RENOIR is not set
# CONFIG_SND_SOC_AMD_ACP5x is not set
# CONFIG_SND_SOC_AMD_ACP6x is not set
# CONFIG_SND_AMD_ACP_CONFIG is not set
# CONFIG_SND_SOC_AMD_ACP_COMMON is not set
# CONFIG_SND_SOC_AMD_RPL_ACP6x is not set
# end of AMD

#
# Apple
#
# end of Apple

#
# Atmel
#
# CONFIG_SND_SOC_MIKROE_PROTO is not set
# end of Atmel

#
# Au1x
#
# end of Au1x

#
# Broadcom
#
# CONFIG_SND_BCM63XX_I2S_WHISTLER is not set
# end of Broadcom

#
# Cirrus Logic
#
# end of Cirrus Logic

#
# DesignWare
#
# CONFIG_SND_DESIGNWARE_I2S is not set
# end of DesignWare

#
# Freescale
#

#
# Common SoC Audio options for Freescale CPUs:
#
# CONFIG_SND_SOC_FSL_ASRC is not set
# CONFIG_SND_SOC_FSL_SAI is not set
# CONFIG_SND_SOC_FSL_AUDMIX is not set
# CONFIG_SND_SOC_FSL_SSI is not set
# CONFIG_SND_SOC_FSL_SPDIF is not set
# CONFIG_SND_SOC_FSL_ESAI is not set
# CONFIG_SND_SOC_FSL_MICFIL is not set
# CONFIG_SND_SOC_FSL_XCVR is not set
# CONFIG_SND_SOC_IMX_AUDMUX is not set
# end of Freescale

#
# Google
#
# CONFIG_SND_SOC_CHV3_I2S is not set
# end of Google

#
# Hisilicon
#
# CONFIG_SND_I2S_HI6210_I2S is not set
# end of Hisilicon

#
# JZ4740
#
# end of JZ4740

#
# Kirkwood
#
# end of Kirkwood

#
# Loongson
#
# end of Loongson

#
# Intel
#
# CONFIG_SND_SOC_INTEL_SST_TOPLEVEL is not set
# CONFIG_SND_SOC_INTEL_AVS is not set
# end of Intel

#
# Mediatek
#
# CONFIG_SND_SOC_MTK_BTCVSD is not set
# end of Mediatek

#
# PXA
#
# end of PXA

#
# SoundWire (SDCA)
#
CONFIG_SND_SOC_SDCA_OPTIONAL=y
# end of SoundWire (SDCA)

#
# ST SPEAr
#
# end of ST SPEAr

#
# Spreadtrum
#
# end of Spreadtrum

#
# STMicroelectronics STM32
#
# end of STMicroelectronics STM32

#
# Tegra
#
# end of Tegra

#
# Xilinx
#
# CONFIG_SND_SOC_XILINX_I2S is not set
# CONFIG_SND_SOC_XILINX_AUDIO_FORMATTER is not set
# CONFIG_SND_SOC_XILINX_SPDIF is not set
# end of Xilinx

#
# Xtensa
#
# CONFIG_SND_SOC_XTFPGA_I2S is not set
# end of Xtensa

# CONFIG_SND_SOC_SOF_TOPLEVEL is not set
CONFIG_SND_SOC_I2C_AND_SPI=y

#
# CODEC drivers
#
# CONFIG_SND_SOC_AC97_CODEC is not set
# CONFIG_SND_SOC_ADAU1372_I2C is not set
# CONFIG_SND_SOC_ADAU1372_SPI is not set
# CONFIG_SND_SOC_ADAU1373 is not set
# CONFIG_SND_SOC_ADAU1701 is not set
# CONFIG_SND_SOC_ADAU1761_I2C is not set
# CONFIG_SND_SOC_ADAU1761_SPI is not set
# CONFIG_SND_SOC_ADAU7002 is not set
# CONFIG_SND_SOC_ADAU7118_HW is not set
# CONFIG_SND_SOC_ADAU7118_I2C is not set
# CONFIG_SND_SOC_AK4104 is not set
# CONFIG_SND_SOC_AK4118 is not set
# CONFIG_SND_SOC_AK4375 is not set
# CONFIG_SND_SOC_AK4458 is not set
# CONFIG_SND_SOC_AK4554 is not set
# CONFIG_SND_SOC_AK4613 is not set
# CONFIG_SND_SOC_AK4619 is not set
# CONFIG_SND_SOC_AK4642 is not set
# CONFIG_SND_SOC_AK5386 is not set
# CONFIG_SND_SOC_AK5558 is not set
# CONFIG_SND_SOC_ALC5623 is not set
# CONFIG_SND_SOC_AUDIO_IIO_AUX is not set
# CONFIG_SND_SOC_AW8738 is not set
# CONFIG_SND_SOC_AW88395 is not set
# CONFIG_SND_SOC_AW88166 is not set
# CONFIG_SND_SOC_AW88261 is not set
# CONFIG_SND_SOC_AW88081 is not set
# CONFIG_SND_SOC_AW87390 is not set
# CONFIG_SND_SOC_AW88399 is not set
# CONFIG_SND_SOC_BD28623 is not set
# CONFIG_SND_SOC_BT_SCO is not set
# CONFIG_SND_SOC_CHV3_CODEC is not set
# CONFIG_SND_SOC_CS35L32 is not set
# CONFIG_SND_SOC_CS35L33 is not set
# CONFIG_SND_SOC_CS35L34 is not set
# CONFIG_SND_SOC_CS35L35 is not set
# CONFIG_SND_SOC_CS35L36 is not set
# CONFIG_SND_SOC_CS35L41_SPI is not set
# CONFIG_SND_SOC_CS35L41_I2C is not set
# CONFIG_SND_SOC_CS35L45_SPI is not set
# CONFIG_SND_SOC_CS35L45_I2C is not set
# CONFIG_SND_SOC_CS35L56_I2C is not set
# CONFIG_SND_SOC_CS35L56_SPI is not set
# CONFIG_SND_SOC_CS35L56_SDW is not set
# CONFIG_SND_SOC_CS42L42 is not set
# CONFIG_SND_SOC_CS42L42_SDW is not set
# CONFIG_SND_SOC_CS42L51_I2C is not set
# CONFIG_SND_SOC_CS42L52 is not set
# CONFIG_SND_SOC_CS42L56 is not set
# CONFIG_SND_SOC_CS42L73 is not set
# CONFIG_SND_SOC_CS42L83 is not set
# CONFIG_SND_SOC_CS42L84 is not set
# CONFIG_SND_SOC_CS4234 is not set
# CONFIG_SND_SOC_CS4265 is not set
# CONFIG_SND_SOC_CS4270 is not set
# CONFIG_SND_SOC_CS4271_I2C is not set
# CONFIG_SND_SOC_CS4271_SPI is not set
# CONFIG_SND_SOC_CS42XX8_I2C is not set
# CONFIG_SND_SOC_CS43130 is not set
# CONFIG_SND_SOC_CS4341 is not set
# CONFIG_SND_SOC_CS4349 is not set
# CONFIG_SND_SOC_CS48L32 is not set
# CONFIG_SND_SOC_CS53L30 is not set
# CONFIG_SND_SOC_CS530X_I2C is not set
# CONFIG_SND_SOC_CS530X_SPI is not set
# CONFIG_SND_SOC_CX2072X is not set
# CONFIG_SND_SOC_DA7213 is not set
# CONFIG_SND_SOC_DMIC is not set
# CONFIG_SND_SOC_ES7134 is not set
# CONFIG_SND_SOC_ES7241 is not set
# CONFIG_SND_SOC_ES8311 is not set
# CONFIG_SND_SOC_ES8316 is not set
# CONFIG_SND_SOC_ES8323 is not set
# CONFIG_SND_SOC_ES8326 is not set
# CONFIG_SND_SOC_ES8328_I2C is not set
# CONFIG_SND_SOC_ES8328_SPI is not set
# CONFIG_SND_SOC_ES8375 is not set
# CONFIG_SND_SOC_ES8389 is not set
# CONFIG_SND_SOC_FS210X is not set
# CONFIG_SND_SOC_GTM601 is not set
# CONFIG_SND_SOC_HDA is not set
# CONFIG_SND_SOC_ICS43432 is not set
# CONFIG_SND_SOC_IDT821034 is not set
# CONFIG_SND_SOC_MAX98088 is not set
# CONFIG_SND_SOC_MAX98090 is not set
# CONFIG_SND_SOC_MAX98357A is not set
# CONFIG_SND_SOC_MAX98504 is not set
# CONFIG_SND_SOC_MAX9867 is not set
# CONFIG_SND_SOC_MAX98927 is not set
# CONFIG_SND_SOC_MAX98520 is not set
# CONFIG_SND_SOC_MAX98363 is not set
# CONFIG_SND_SOC_MAX98373_I2C is not set
# CONFIG_SND_SOC_MAX98373_SDW is not set
# CONFIG_SND_SOC_MAX98388 is not set
# CONFIG_SND_SOC_MAX98390 is not set
# CONFIG_SND_SOC_MAX98396 is not set
# CONFIG_SND_SOC_MAX9860 is not set
# CONFIG_SND_SOC_MSM8916_WCD_DIGITAL is not set
# CONFIG_SND_SOC_PCM1681 is not set
# CONFIG_SND_SOC_PCM1754 is not set
# CONFIG_SND_SOC_PCM1789_I2C is not set
# CONFIG_SND_SOC_PCM179X_I2C is not set
# CONFIG_SND_SOC_PCM179X_SPI is not set
# CONFIG_SND_SOC_PCM186X_I2C is not set
# CONFIG_SND_SOC_PCM186X_SPI is not set
# CONFIG_SND_SOC_PCM3060_I2C is not set
# CONFIG_SND_SOC_PCM3060_SPI is not set
# CONFIG_SND_SOC_PCM3168A_I2C is not set
# CONFIG_SND_SOC_PCM3168A_SPI is not set
# CONFIG_SND_SOC_PCM5102A is not set
# CONFIG_SND_SOC_PCM512x_I2C is not set
# CONFIG_SND_SOC_PCM512x_SPI is not set
# CONFIG_SND_SOC_PCM6240 is not set
# CONFIG_SND_SOC_PEB2466 is not set
# CONFIG_SND_SOC_PM4125_SDW is not set
# CONFIG_SND_SOC_RT1017_SDCA_SDW is not set
# CONFIG_SND_SOC_RT1308_SDW is not set
# CONFIG_SND_SOC_RT1316_SDW is not set
# CONFIG_SND_SOC_RT1318_SDW is not set
# CONFIG_SND_SOC_RT1320_SDW is not set
# CONFIG_SND_SOC_RT5616 is not set
# CONFIG_SND_SOC_RT5631 is not set
# CONFIG_SND_SOC_RT5640 is not set
# CONFIG_SND_SOC_RT5659 is not set
# CONFIG_SND_SOC_RT5682_SDW is not set
# CONFIG_SND_SOC_RT700_SDW is not set
# CONFIG_SND_SOC_RT711_SDW is not set
# CONFIG_SND_SOC_RT711_SDCA_SDW is not set
# CONFIG_SND_SOC_RT712_SDCA_SDW is not set
# CONFIG_SND_SOC_RT712_SDCA_DMIC_SDW is not set
# CONFIG_SND_SOC_RT721_SDCA_SDW is not set
# CONFIG_SND_SOC_RT722_SDCA_SDW is not set
# CONFIG_SND_SOC_RT715_SDW is not set
# CONFIG_SND_SOC_RT715_SDCA_SDW is not set
# CONFIG_SND_SOC_RT9120 is not set
# CONFIG_SND_SOC_RT9123 is not set
# CONFIG_SND_SOC_RT9123P is not set
# CONFIG_SND_SOC_RTQ9124 is not set
# CONFIG_SND_SOC_RTQ9128 is not set
# CONFIG_SND_SOC_SDW_MOCKUP is not set
# CONFIG_SND_SOC_SGTL5000 is not set
# CONFIG_SND_SOC_SIMPLE_AMPLIFIER is not set
# CONFIG_SND_SOC_SIMPLE_MUX is not set
# CONFIG_SND_SOC_SMA1303 is not set
# CONFIG_SND_SOC_SMA1307 is not set
# CONFIG_SND_SOC_SPDIF is not set
# CONFIG_SND_SOC_SRC4XXX_I2C is not set
# CONFIG_SND_SOC_SSM2305 is not set
# CONFIG_SND_SOC_SSM2518 is not set
# CONFIG_SND_SOC_SSM2602_SPI is not set
# CONFIG_SND_SOC_SSM2602_I2C is not set
# CONFIG_SND_SOC_SSM3515 is not set
# CONFIG_SND_SOC_SSM4567 is not set
# CONFIG_SND_SOC_STA32X is not set
# CONFIG_SND_SOC_STA350 is not set
# CONFIG_SND_SOC_STI_SAS is not set
# CONFIG_SND_SOC_TAS2552 is not set
# CONFIG_SND_SOC_TAS2562 is not set
# CONFIG_SND_SOC_TAS2764 is not set
# CONFIG_SND_SOC_TAS2770 is not set
# CONFIG_SND_SOC_TAS2780 is not set
# CONFIG_SND_SOC_TAS2781_I2C is not set
# CONFIG_SND_SOC_TAS5086 is not set
# CONFIG_SND_SOC_TAS571X is not set
# CONFIG_SND_SOC_TAS5720 is not set
# CONFIG_SND_SOC_TAS5805M is not set
# CONFIG_SND_SOC_TAS6424 is not set
# CONFIG_SND_SOC_TDA7419 is not set
# CONFIG_SND_SOC_TFA9879 is not set
# CONFIG_SND_SOC_TFA989X is not set
# CONFIG_SND_SOC_TLV320ADC3XXX is not set
# CONFIG_SND_SOC_TLV320AIC23_I2C is not set
# CONFIG_SND_SOC_TLV320AIC23_SPI is not set
# CONFIG_SND_SOC_TLV320AIC31XX is not set
# CONFIG_SND_SOC_TLV320AIC32X4_I2C is not set
# CONFIG_SND_SOC_TLV320AIC32X4_SPI is not set
# CONFIG_SND_SOC_TLV320AIC3X_I2C is not set
# CONFIG_SND_SOC_TLV320AIC3X_SPI is not set
# CONFIG_SND_SOC_TLV320ADCX140 is not set
# CONFIG_SND_SOC_TS3A227E is not set
# CONFIG_SND_SOC_TSCS42XX is not set
# CONFIG_SND_SOC_TSCS454 is not set
# CONFIG_SND_SOC_UDA1334 is not set
# CONFIG_SND_SOC_UDA1342 is not set
# CONFIG_SND_SOC_WCD937X_SDW is not set
# CONFIG_SND_SOC_WCD938X_SDW is not set
# CONFIG_SND_SOC_WCD939X_SDW is not set
# CONFIG_SND_SOC_WM8510 is not set
# CONFIG_SND_SOC_WM8523 is not set
# CONFIG_SND_SOC_WM8524 is not set
# CONFIG_SND_SOC_WM8580 is not set
# CONFIG_SND_SOC_WM8711 is not set
# CONFIG_SND_SOC_WM8728 is not set
# CONFIG_SND_SOC_WM8731_I2C is not set
# CONFIG_SND_SOC_WM8731_SPI is not set
# CONFIG_SND_SOC_WM8737 is not set
# CONFIG_SND_SOC_WM8741 is not set
# CONFIG_SND_SOC_WM8750 is not set
# CONFIG_SND_SOC_WM8753 is not set
# CONFIG_SND_SOC_WM8770 is not set
# CONFIG_SND_SOC_WM8776 is not set
# CONFIG_SND_SOC_WM8782 is not set
# CONFIG_SND_SOC_WM8804_I2C is not set
# CONFIG_SND_SOC_WM8804_SPI is not set
# CONFIG_SND_SOC_WM8903 is not set
# CONFIG_SND_SOC_WM8904 is not set
# CONFIG_SND_SOC_WM8940 is not set
# CONFIG_SND_SOC_WM8960 is not set
# CONFIG_SND_SOC_WM8961 is not set
# CONFIG_SND_SOC_WM8962 is not set
# CONFIG_SND_SOC_WM8974 is not set
# CONFIG_SND_SOC_WM8978 is not set
# CONFIG_SND_SOC_WM8985 is not set
# CONFIG_SND_SOC_WSA881X is not set
# CONFIG_SND_SOC_WSA883X is not set
# CONFIG_SND_SOC_WSA884X is not set
# CONFIG_SND_SOC_ZL38060 is not set
# CONFIG_SND_SOC_MAX9759 is not set
# CONFIG_SND_SOC_MT6351 is not set
# CONFIG_SND_SOC_MT6357 is not set
# CONFIG_SND_SOC_MT6358 is not set
# CONFIG_SND_SOC_MT6660 is not set
# CONFIG_SND_SOC_NAU8315 is not set
# CONFIG_SND_SOC_NAU8325 is not set
# CONFIG_SND_SOC_NAU8540 is not set
# CONFIG_SND_SOC_NAU8810 is not set
# CONFIG_SND_SOC_NAU8821 is not set
# CONFIG_SND_SOC_NAU8822 is not set
# CONFIG_SND_SOC_NAU8824 is not set
# CONFIG_SND_SOC_NTP8918 is not set
# CONFIG_SND_SOC_NTP8835 is not set
# CONFIG_SND_SOC_TPA6130A2 is not set
# CONFIG_SND_SOC_LPASS_WSA_MACRO is not set
# CONFIG_SND_SOC_LPASS_VA_MACRO is not set
# CONFIG_SND_SOC_LPASS_RX_MACRO is not set
# CONFIG_SND_SOC_LPASS_TX_MACRO is not set
# end of CODEC drivers

#
# Generic drivers
#
# CONFIG_SND_SIMPLE_CARD is not set
# CONFIG_SND_AUDIO_GRAPH_CARD is not set
# CONFIG_SND_AUDIO_GRAPH_CARD2 is not set
# CONFIG_SND_TEST_COMPONENT is not set
# end of Generic drivers

CONFIG_SND_X86=y
# CONFIG_HDMI_LPE_AUDIO is not set
CONFIG_SND_VIRTIO=y
CONFIG_HID_SUPPORT=y
CONFIG_HID=y
CONFIG_HID_BATTERY_STRENGTH=y
CONFIG_HIDRAW=y
CONFIG_UHID=y
CONFIG_HID_GENERIC=y
CONFIG_HID_HAPTIC=y

#
# Special HID drivers
#
CONFIG_HID_A4TECH=y
CONFIG_HID_ACCUTOUCH=y
CONFIG_HID_ACRUX=y
CONFIG_HID_ACRUX_FF=y
CONFIG_HID_APPLE=y
CONFIG_HID_APPLEIR=y
# CONFIG_HID_APPLETB_BL is not set
# CONFIG_HID_APPLETB_KBD is not set
CONFIG_HID_ASUS=y
CONFIG_HID_AUREAL=y
CONFIG_HID_BELKIN=y
CONFIG_HID_BETOP_FF=y
CONFIG_HID_BIGBEN_FF=y
CONFIG_HID_CHERRY=y
CONFIG_HID_CHICONY=y
CONFIG_HID_CORSAIR=y
CONFIG_HID_COUGAR=y
CONFIG_HID_MACALLY=y
CONFIG_HID_PRODIKEYS=y
CONFIG_HID_CMEDIA=y
CONFIG_HID_CP2112=y
CONFIG_HID_CREATIVE_SB0540=y
CONFIG_HID_CYPRESS=y
CONFIG_HID_DRAGONRISE=y
CONFIG_DRAGONRISE_FF=y
CONFIG_HID_EMS_FF=y
CONFIG_HID_ELAN=y
CONFIG_HID_ELECOM=y
CONFIG_HID_ELO=y
CONFIG_HID_EVISION=y
CONFIG_HID_EZKEY=y
CONFIG_HID_FT260=y
CONFIG_HID_GEMBIRD=y
CONFIG_HID_GFRM=y
CONFIG_HID_GLORIOUS=y
CONFIG_HID_HOLTEK=y
CONFIG_HOLTEK_FF=y
CONFIG_HID_VIVALDI_COMMON=y
# CONFIG_HID_GOODIX_SPI is not set
CONFIG_HID_GOOGLE_STADIA_FF=y
CONFIG_HID_VIVALDI=y
CONFIG_HID_GT683R=y
CONFIG_HID_KEYTOUCH=y
CONFIG_HID_KYE=y
# CONFIG_HID_KYSONA is not set
CONFIG_HID_UCLOGIC=y
CONFIG_HID_WALTOP=y
CONFIG_HID_VIEWSONIC=y
CONFIG_HID_VRC2=y
CONFIG_HID_XIAOMI=y
CONFIG_HID_GYRATION=y
CONFIG_HID_ICADE=y
CONFIG_HID_ITE=y
CONFIG_HID_JABRA=y
CONFIG_HID_TWINHAN=y
CONFIG_HID_KENSINGTON=y
CONFIG_HID_LCPOWER=y
CONFIG_HID_LED=y
CONFIG_HID_LENOVO=y
CONFIG_HID_LETSKETCH=y
CONFIG_HID_LOGITECH=y
CONFIG_HID_LOGITECH_DJ=y
CONFIG_HID_LOGITECH_HIDPP=y
CONFIG_LOGITECH_FF=y
CONFIG_LOGIRUMBLEPAD2_FF=y
CONFIG_LOGIG940_FF=y
CONFIG_LOGIWHEELS_FF=y
CONFIG_HID_MAGICMOUSE=y
CONFIG_HID_MALTRON=y
CONFIG_HID_MAYFLASH=y
CONFIG_HID_MEGAWORLD_FF=y
CONFIG_HID_REDRAGON=y
CONFIG_HID_MICROSOFT=y
CONFIG_HID_MONTEREY=y
CONFIG_HID_MULTITOUCH=y
CONFIG_HID_NINTENDO=y
CONFIG_NINTENDO_FF=y
CONFIG_HID_NTI=y
CONFIG_HID_NTRIG=y
CONFIG_HID_NVIDIA_SHIELD=y
CONFIG_NVIDIA_SHIELD_FF=y
CONFIG_HID_ORTEK=y
CONFIG_HID_PANTHERLORD=y
CONFIG_PANTHERLORD_FF=y
CONFIG_HID_PENMOUNT=y
CONFIG_HID_PETALYNX=y
CONFIG_HID_PICOLCD=y
CONFIG_HID_PICOLCD_FB=y
CONFIG_HID_PICOLCD_BACKLIGHT=y
CONFIG_HID_PICOLCD_LCD=y
CONFIG_HID_PICOLCD_LEDS=y
CONFIG_HID_PICOLCD_CIR=y
CONFIG_HID_PLANTRONICS=y
CONFIG_HID_PLAYSTATION=y
CONFIG_PLAYSTATION_FF=y
CONFIG_HID_PXRC=y
CONFIG_HID_RAZER=y
CONFIG_HID_PRIMAX=y
CONFIG_HID_RETRODE=y
CONFIG_HID_ROCCAT=y
CONFIG_HID_SAITEK=y
CONFIG_HID_SAMSUNG=y
CONFIG_HID_SEMITEK=y
CONFIG_HID_SIGMAMICRO=y
CONFIG_HID_SONY=y
CONFIG_SONY_FF=y
CONFIG_HID_SPEEDLINK=y
CONFIG_HID_STEAM=y
CONFIG_STEAM_FF=y
CONFIG_HID_STEELSERIES=y
CONFIG_HID_SUNPLUS=y
CONFIG_HID_RMI=y
CONFIG_HID_GREENASIA=y
CONFIG_GREENASIA_FF=y
CONFIG_HID_SMARTJOYPLUS=y
CONFIG_SMARTJOYPLUS_FF=y
CONFIG_HID_TIVO=y
CONFIG_HID_TOPSEED=y
CONFIG_HID_TOPRE=y
CONFIG_HID_THINGM=y
CONFIG_HID_THRUSTMASTER=y
CONFIG_THRUSTMASTER_FF=y
CONFIG_HID_UDRAW_PS3=y
CONFIG_HID_U2FZERO=y
# CONFIG_HID_UNIVERSAL_PIDFF is not set
CONFIG_HID_WACOM=y
CONFIG_HID_WIIMOTE=y
# CONFIG_HID_WINWING is not set
CONFIG_HID_XINMO=y
CONFIG_HID_ZEROPLUS=y
CONFIG_ZEROPLUS_FF=y
CONFIG_HID_ZYDACRON=y
CONFIG_HID_SENSOR_HUB=y
CONFIG_HID_SENSOR_CUSTOM_SENSOR=y
CONFIG_HID_ALPS=y
CONFIG_HID_MCP2200=y
CONFIG_HID_MCP2221=y
# end of Special HID drivers

#
# HID-BPF support
#
# end of HID-BPF support

CONFIG_I2C_HID=y
CONFIG_I2C_HID_ACPI=y
CONFIG_I2C_HID_OF=y
# CONFIG_I2C_HID_OF_ELAN is not set
# CONFIG_I2C_HID_OF_GOODIX is not set
CONFIG_I2C_HID_CORE=y

#
# Intel ISH HID support
#
CONFIG_INTEL_ISH_HID=y
CONFIG_INTEL_ISH_FIRMWARE_DOWNLOADER=y
# end of Intel ISH HID support

#
# AMD SFH HID Support
#
CONFIG_AMD_SFH_HID=y
# end of AMD SFH HID Support

#
# Surface System Aggregator Module HID support
#
CONFIG_SURFACE_HID=y
CONFIG_SURFACE_KBD=y
# end of Surface System Aggregator Module HID support

CONFIG_SURFACE_HID_CORE=y

#
# Intel THC HID Support
#
# CONFIG_INTEL_THC_HID is not set
# end of Intel THC HID Support

#
# USB HID support
#
CONFIG_USB_HID=y
CONFIG_HID_PID=y
CONFIG_USB_HIDDEV=y
# end of USB HID support

CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_COMMON=y
CONFIG_USB_LED_TRIG=y
CONFIG_USB_ULPI_BUS=y
CONFIG_USB_CONN_GPIO=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB=y
CONFIG_USB_PCI=y
CONFIG_USB_PCI_AMD=y
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y

#
# Miscellaneous USB options
#
CONFIG_USB_DEFAULT_PERSIST=y
CONFIG_USB_FEW_INIT_RETRIES=y
CONFIG_USB_DYNAMIC_MINORS=y
CONFIG_USB_OTG=y
# CONFIG_USB_OTG_PRODUCTLIST is not set
# CONFIG_USB_OTG_DISABLE_EXTERNAL_HUB is not set
CONFIG_USB_OTG_FSM=y
CONFIG_USB_LEDS_TRIGGER_USBPORT=y
CONFIG_USB_AUTOSUSPEND_DELAY=2
CONFIG_USB_DEFAULT_AUTHORIZATION_MODE=1
CONFIG_USB_MON=y

#
# USB Host Controller Drivers
#
CONFIG_USB_C67X00_HCD=y
CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_DBGCAP=y
CONFIG_USB_XHCI_PCI=y
CONFIG_USB_XHCI_PCI_RENESAS=y
CONFIG_USB_XHCI_PLATFORM=y
# CONFIG_USB_XHCI_SIDEBAND is not set
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_EHCI_TT_NEWSCHED=y
CONFIG_USB_EHCI_PCI=y
CONFIG_USB_EHCI_FSL=y
CONFIG_USB_EHCI_HCD_PLATFORM=y
CONFIG_USB_OXU210HP_HCD=y
CONFIG_USB_ISP116X_HCD=y
CONFIG_USB_MAX3421_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_HCD_PCI=y
# CONFIG_USB_OHCI_HCD_SSB is not set
CONFIG_USB_OHCI_HCD_PLATFORM=y
CONFIG_USB_UHCI_HCD=y
CONFIG_USB_SL811_HCD=y
CONFIG_USB_SL811_HCD_ISO=y
CONFIG_USB_SL811_CS=y
CONFIG_USB_R8A66597_HCD=y
CONFIG_USB_HCD_BCMA=y
CONFIG_USB_HCD_SSB=y
# CONFIG_USB_HCD_TEST_MODE is not set

#
# USB Device Class drivers
#
CONFIG_USB_ACM=y
CONFIG_USB_PRINTER=y
CONFIG_USB_WDM=y
CONFIG_USB_TMC=y

#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; see USB_STORAGE Help for more info
#
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_REALTEK=y
CONFIG_REALTEK_AUTOPM=y
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_USBAT=y
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
CONFIG_USB_STORAGE_JUMPSHOT=y
CONFIG_USB_STORAGE_ALAUDA=y
CONFIG_USB_STORAGE_ONETOUCH=y
CONFIG_USB_STORAGE_KARMA=y
CONFIG_USB_STORAGE_CYPRESS_ATACB=y
CONFIG_USB_STORAGE_ENE_UB6250=y
CONFIG_USB_UAS=y

#
# USB Imaging devices
#
CONFIG_USB_MDC800=y
CONFIG_USB_MICROTEK=y
CONFIG_USBIP_CORE=y
CONFIG_USBIP_VHCI_HCD=y
CONFIG_USBIP_VHCI_HC_PORTS=8
CONFIG_USBIP_VHCI_NR_HCS=16
CONFIG_USBIP_HOST=y
CONFIG_USBIP_VUDC=y
# CONFIG_USBIP_DEBUG is not set

#
# USB dual-mode controller drivers
#
CONFIG_USB_CDNS_SUPPORT=y
CONFIG_USB_CDNS_HOST=y
CONFIG_USB_CDNS3=y
CONFIG_USB_CDNS3_GADGET=y
CONFIG_USB_CDNS3_HOST=y
CONFIG_USB_CDNS3_PCI_WRAP=y
CONFIG_USB_CDNSP_PCI=y
CONFIG_USB_CDNSP_GADGET=y
CONFIG_USB_CDNSP_HOST=y
CONFIG_USB_MUSB_HDRC=y
# CONFIG_USB_MUSB_HOST is not set
# CONFIG_USB_MUSB_GADGET is not set
CONFIG_USB_MUSB_DUAL_ROLE=y

#
# Platform Glue Layer
#

#
# MUSB DMA mode
#
CONFIG_MUSB_PIO_ONLY=y
CONFIG_USB_DWC3=y
CONFIG_USB_DWC3_ULPI=y
# CONFIG_USB_DWC3_HOST is not set
CONFIG_USB_DWC3_GADGET=y
# CONFIG_USB_DWC3_DUAL_ROLE is not set

#
# Platform Glue Driver Support
#
CONFIG_USB_DWC3_PCI=y
CONFIG_USB_DWC3_HAPS=y
CONFIG_USB_DWC3_OF_SIMPLE=y
CONFIG_USB_DWC3_GENERIC_PLAT=y
CONFIG_USB_DWC2=y
CONFIG_USB_DWC2_HOST=y

#
# Gadget/Dual-role mode requires USB Gadget support to be enabled
#
# CONFIG_USB_DWC2_PERIPHERAL is not set
# CONFIG_USB_DWC2_DUAL_ROLE is not set
CONFIG_USB_DWC2_PCI=y
# CONFIG_USB_DWC2_DEBUG is not set
# CONFIG_USB_DWC2_TRACK_MISSED_SOFS is not set
CONFIG_USB_CHIPIDEA=y
CONFIG_USB_CHIPIDEA_UDC=y
CONFIG_USB_CHIPIDEA_HOST=y
CONFIG_USB_CHIPIDEA_PCI=y
CONFIG_USB_CHIPIDEA_MSM=y
CONFIG_USB_CHIPIDEA_NPCM=y
# CONFIG_USB_CHIPIDEA_IMX is not set
CONFIG_USB_CHIPIDEA_GENERIC=y
# CONFIG_USB_CHIPIDEA_TEGRA is not set
CONFIG_USB_ISP1760=y
CONFIG_USB_ISP1760_HCD=y
CONFIG_USB_ISP1761_UDC=y
# CONFIG_USB_ISP1760_HOST_ROLE is not set
# CONFIG_USB_ISP1760_GADGET_ROLE is not set
CONFIG_USB_ISP1760_DUAL_ROLE=y

#
# USB port drivers
#
CONFIG_USB_SERIAL=y
CONFIG_USB_SERIAL_CONSOLE=y
CONFIG_USB_SERIAL_GENERIC=y
CONFIG_USB_SERIAL_SIMPLE=y
CONFIG_USB_SERIAL_AIRCABLE=y
CONFIG_USB_SERIAL_ARK3116=y
CONFIG_USB_SERIAL_BELKIN=y
CONFIG_USB_SERIAL_CH341=y
CONFIG_USB_SERIAL_WHITEHEAT=y
CONFIG_USB_SERIAL_DIGI_ACCELEPORT=y
CONFIG_USB_SERIAL_CP210X=y
CONFIG_USB_SERIAL_CYPRESS_M8=y
CONFIG_USB_SERIAL_EMPEG=y
CONFIG_USB_SERIAL_FTDI_SIO=y
CONFIG_USB_SERIAL_VISOR=y
CONFIG_USB_SERIAL_IPAQ=y
CONFIG_USB_SERIAL_IR=y
CONFIG_USB_SERIAL_EDGEPORT=y
CONFIG_USB_SERIAL_EDGEPORT_TI=y
CONFIG_USB_SERIAL_F81232=y
CONFIG_USB_SERIAL_F8153X=y
CONFIG_USB_SERIAL_GARMIN=y
CONFIG_USB_SERIAL_IPW=y
CONFIG_USB_SERIAL_IUU=y
CONFIG_USB_SERIAL_KEYSPAN_PDA=y
CONFIG_USB_SERIAL_KEYSPAN=y
CONFIG_USB_SERIAL_KLSI=y
CONFIG_USB_SERIAL_KOBIL_SCT=y
CONFIG_USB_SERIAL_MCT_U232=y
CONFIG_USB_SERIAL_METRO=y
CONFIG_USB_SERIAL_MOS7720=y
CONFIG_USB_SERIAL_MOS7715_PARPORT=y
CONFIG_USB_SERIAL_MOS7840=y
CONFIG_USB_SERIAL_MXUPORT=y
CONFIG_USB_SERIAL_NAVMAN=y
CONFIG_USB_SERIAL_PL2303=y
CONFIG_USB_SERIAL_OTI6858=y
CONFIG_USB_SERIAL_QCAUX=y
CONFIG_USB_SERIAL_QUALCOMM=y
CONFIG_USB_SERIAL_SPCP8X5=y
CONFIG_USB_SERIAL_SAFE=y
# CONFIG_USB_SERIAL_SAFE_PADDED is not set
CONFIG_USB_SERIAL_SIERRAWIRELESS=y
CONFIG_USB_SERIAL_SYMBOL=y
CONFIG_USB_SERIAL_TI=y
CONFIG_USB_SERIAL_CYBERJACK=y
CONFIG_USB_SERIAL_WWAN=y
CONFIG_USB_SERIAL_OPTION=y
CONFIG_USB_SERIAL_OMNINET=y
CONFIG_USB_SERIAL_OPTICON=y
CONFIG_USB_SERIAL_XSENS_MT=y
CONFIG_USB_SERIAL_WISHBONE=y
CONFIG_USB_SERIAL_SSU100=y
CONFIG_USB_SERIAL_QT2=y
CONFIG_USB_SERIAL_UPD78F0730=y
CONFIG_USB_SERIAL_XR=y
CONFIG_USB_SERIAL_DEBUG=y

#
# USB Miscellaneous drivers
#
CONFIG_USB_USS720=y
CONFIG_USB_EMI62=y
CONFIG_USB_EMI26=y
CONFIG_USB_ADUTUX=y
CONFIG_USB_SEVSEG=y
CONFIG_USB_LEGOTOWER=y
CONFIG_USB_LCD=y
CONFIG_USB_CYPRESS_CY7C63=y
CONFIG_USB_CYTHERM=y
CONFIG_USB_IDMOUSE=y
CONFIG_USB_APPLEDISPLAY=y
CONFIG_APPLE_MFI_FASTCHARGE=y
CONFIG_USB_LJCA=y
# CONFIG_USB_USBIO is not set
CONFIG_USB_SISUSBVGA=y
CONFIG_USB_LD=y
CONFIG_USB_TRANCEVIBRATOR=y
CONFIG_USB_IOWARRIOR=y
CONFIG_USB_TEST=y
CONFIG_USB_EHSET_TEST_FIXTURE=y
CONFIG_USB_ISIGHTFW=y
CONFIG_USB_YUREX=y
CONFIG_USB_EZUSB_FX2=y
CONFIG_USB_HUB_USB251XB=y
CONFIG_USB_HSIC_USB3503=y
CONFIG_USB_HSIC_USB4604=y
CONFIG_USB_LINK_LAYER_TEST=y
CONFIG_USB_CHAOSKEY=y
# CONFIG_USB_ONBOARD_DEV is not set
CONFIG_USB_ATM=y
CONFIG_USB_SPEEDTOUCH=y
CONFIG_USB_CXACRU=y
CONFIG_USB_UEAGLEATM=y
CONFIG_USB_XUSBATM=y

#
# USB Physical Layer drivers
#
CONFIG_USB_PHY=y
CONFIG_NOP_USB_XCEIV=y
CONFIG_TAHVO_USB=y
CONFIG_TAHVO_USB_HOST_BY_DEFAULT=y
CONFIG_USB_ISP1301=y
# end of USB Physical Layer drivers

CONFIG_USB_GADGET=y
# CONFIG_USB_GADGET_DEBUG is not set
CONFIG_USB_GADGET_DEBUG_FILES=y
CONFIG_USB_GADGET_DEBUG_FS=y
CONFIG_USB_GADGET_VBUS_DRAW=2
CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2
CONFIG_U_SERIAL_CONSOLE=y

#
# USB Peripheral Controller
#
CONFIG_USB_GR_UDC=y
CONFIG_USB_R8A66597=y
CONFIG_USB_PXA27X=y
CONFIG_USB_SNP_CORE=y
# CONFIG_USB_SNP_UDC_PLAT is not set
# CONFIG_USB_M66592 is not set
CONFIG_USB_BDC_UDC=y
CONFIG_USB_AMD5536UDC=y
CONFIG_USB_NET2280=y
CONFIG_USB_GOKU=y
CONFIG_USB_EG20T=y
# CONFIG_USB_GADGET_XILINX is not set
CONFIG_USB_MAX3420_UDC=y
CONFIG_USB_CDNS2_UDC=y
CONFIG_USB_DUMMY_HCD=y
# end of USB Peripheral Controller

CONFIG_USB_LIBCOMPOSITE=y
CONFIG_USB_F_ACM=y
CONFIG_USB_F_SS_LB=y
CONFIG_USB_U_SERIAL=y
CONFIG_USB_U_ETHER=y
CONFIG_USB_U_AUDIO=y
CONFIG_USB_F_SERIAL=y
CONFIG_USB_F_OBEX=y
CONFIG_USB_F_NCM=y
CONFIG_USB_F_ECM=y
CONFIG_USB_F_PHONET=y
CONFIG_USB_F_EEM=y
CONFIG_USB_F_SUBSET=y
CONFIG_USB_F_RNDIS=y
CONFIG_USB_F_MASS_STORAGE=y
CONFIG_USB_F_FS=y
CONFIG_USB_F_UAC1=y
CONFIG_USB_F_UAC1_LEGACY=y
CONFIG_USB_F_UAC2=y
CONFIG_USB_F_UVC=y
CONFIG_USB_F_MIDI=y
CONFIG_USB_F_MIDI2=y
CONFIG_USB_F_HID=y
CONFIG_USB_F_PRINTER=y
CONFIG_USB_F_TCM=y
CONFIG_USB_CONFIGFS=y
CONFIG_USB_CONFIGFS_SERIAL=y
CONFIG_USB_CONFIGFS_ACM=y
CONFIG_USB_CONFIGFS_OBEX=y
CONFIG_USB_CONFIGFS_NCM=y
CONFIG_USB_CONFIGFS_ECM=y
CONFIG_USB_CONFIGFS_ECM_SUBSET=y
CONFIG_USB_CONFIGFS_RNDIS=y
CONFIG_USB_CONFIGFS_EEM=y
CONFIG_USB_CONFIGFS_PHONET=y
CONFIG_USB_CONFIGFS_MASS_STORAGE=y
CONFIG_USB_CONFIGFS_F_LB_SS=y
CONFIG_USB_CONFIGFS_F_FS=y
CONFIG_USB_CONFIGFS_F_UAC1=y
CONFIG_USB_CONFIGFS_F_UAC1_LEGACY=y
CONFIG_USB_CONFIGFS_F_UAC2=y
CONFIG_USB_CONFIGFS_F_MIDI=y
CONFIG_USB_CONFIGFS_F_MIDI2=y
CONFIG_USB_CONFIGFS_F_HID=y
CONFIG_USB_CONFIGFS_F_UVC=y
CONFIG_USB_CONFIGFS_F_PRINTER=y
CONFIG_USB_CONFIGFS_F_TCM=y

#
# USB Gadget precomposed configurations
#
# CONFIG_USB_ZERO is not set
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_ETH is not set
# CONFIG_USB_G_NCM is not set
CONFIG_USB_GADGETFS=y
# CONFIG_USB_FUNCTIONFS is not set
# CONFIG_USB_MASS_STORAGE is not set
# CONFIG_USB_GADGET_TARGET is not set
# CONFIG_USB_G_SERIAL is not set
# CONFIG_USB_MIDI_GADGET is not set
# CONFIG_USB_G_PRINTER is not set
# CONFIG_USB_CDC_COMPOSITE is not set
# CONFIG_USB_G_NOKIA is not set
# CONFIG_USB_G_ACM_MS is not set
# CONFIG_USB_G_MULTI is not set
# CONFIG_USB_G_HID is not set
# CONFIG_USB_G_DBGP is not set
# CONFIG_USB_G_WEBCAM is not set
CONFIG_USB_RAW_GADGET=y
# end of USB Gadget precomposed configurations

CONFIG_TYPEC=y
CONFIG_TYPEC_TCPM=y
CONFIG_TYPEC_TCPCI=y
CONFIG_TYPEC_RT1711H=y
CONFIG_TYPEC_MT6360=y
CONFIG_TYPEC_TCPCI_MT6370=y
CONFIG_TYPEC_TCPCI_MAXIM=y
CONFIG_TYPEC_FUSB302=y
CONFIG_TYPEC_WCOVE=y
CONFIG_TYPEC_UCSI=y
CONFIG_UCSI_CCG=y
CONFIG_UCSI_ACPI=y
CONFIG_UCSI_STM32G0=y
CONFIG_TYPEC_TPS6598X=y
CONFIG_TYPEC_ANX7411=y
CONFIG_TYPEC_RT1719=y
CONFIG_TYPEC_HD3SS3220=y
CONFIG_TYPEC_STUSB160X=y
CONFIG_TYPEC_WUSB3801=y

#
# USB Type-C Multiplexer/DeMultiplexer Switch support
#
CONFIG_TYPEC_MUX_FSA4480=y
CONFIG_TYPEC_MUX_GPIO_SBU=y
CONFIG_TYPEC_MUX_PI3USB30532=y
CONFIG_TYPEC_MUX_INTEL_PMC=y
# CONFIG_TYPEC_MUX_IT5205 is not set
CONFIG_TYPEC_MUX_NB7VPQ904M=y
# CONFIG_TYPEC_MUX_PS883X is not set
CONFIG_TYPEC_MUX_PTN36502=y
# CONFIG_TYPEC_MUX_TUSB1046 is not set
CONFIG_TYPEC_MUX_WCD939X_USBSS=y
# end of USB Type-C Multiplexer/DeMultiplexer Switch support

#
# USB Type-C Alternate Mode drivers
#
CONFIG_TYPEC_DP_ALTMODE=y
CONFIG_TYPEC_NVIDIA_ALTMODE=y
# CONFIG_TYPEC_TBT_ALTMODE is not set
# end of USB Type-C Alternate Mode drivers

CONFIG_USB_ROLE_SWITCH=y
CONFIG_USB_ROLES_INTEL_XHCI=y
CONFIG_MMC=y
# CONFIG_PWRSEQ_EMMC is not set
# CONFIG_PWRSEQ_SD8787 is not set
# CONFIG_PWRSEQ_SIMPLE is not set
# CONFIG_MMC_BLOCK is not set
# CONFIG_SDIO_UART is not set
# CONFIG_MMC_TEST is not set
# CONFIG_MMC_CRYPTO is not set

#
# MMC/SD/SDIO Host Controller Drivers
#
# CONFIG_MMC_DEBUG is not set
# CONFIG_MMC_SDHCI is not set
# CONFIG_MMC_WBSD is not set
# CONFIG_MMC_TIFM_SD is not set
# CONFIG_MMC_SPI is not set
# CONFIG_MMC_SDRICOH_CS is not set
# CONFIG_MMC_CB710 is not set
# CONFIG_MMC_VIA_SDMMC is not set
CONFIG_MMC_VUB300=y
CONFIG_MMC_USHC=y
# CONFIG_MMC_USDHI6ROL0 is not set
CONFIG_MMC_REALTEK_USB=y
# CONFIG_MMC_CQHCI is not set
# CONFIG_MMC_HSQ is not set
# CONFIG_MMC_TOSHIBA_PCI is not set
# CONFIG_MMC_MTK is not set
# CONFIG_SCSI_UFSHCD is not set
CONFIG_MEMSTICK=y
# CONFIG_MEMSTICK_DEBUG is not set

#
# MemoryStick drivers
#
# CONFIG_MEMSTICK_UNSAFE_RESUME is not set
# CONFIG_MSPRO_BLOCK is not set
# CONFIG_MS_BLOCK is not set

#
# MemoryStick Host Controller Drivers
#
# CONFIG_MEMSTICK_TIFM_MS is not set
# CONFIG_MEMSTICK_JMICRON_38X is not set
# CONFIG_MEMSTICK_R592 is not set
CONFIG_MEMSTICK_REALTEK_USB=y
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y
# CONFIG_LEDS_CLASS_FLASH is not set
CONFIG_LEDS_CLASS_MULTICOLOR=y
# CONFIG_LEDS_BRIGHTNESS_HW_CHANGED is not set

#
# LED drivers
#
# CONFIG_LEDS_AN30259A is not set
# CONFIG_LEDS_APU is not set
# CONFIG_LEDS_AW200XX is not set
# CONFIG_LEDS_AW2013 is not set
# CONFIG_LEDS_BCM6328 is not set
# CONFIG_LEDS_BCM6358 is not set
# CONFIG_LEDS_CHT_WCOVE is not set
# CONFIG_LEDS_CR0014114 is not set
# CONFIG_LEDS_EL15203000 is not set
# CONFIG_LEDS_LM3530 is not set
# CONFIG_LEDS_LM3532 is not set
# CONFIG_LEDS_LM3642 is not set
# CONFIG_LEDS_LM3692X is not set
# CONFIG_LEDS_PCA9532 is not set
# CONFIG_LEDS_GPIO is not set
# CONFIG_LEDS_LP3944 is not set
# CONFIG_LEDS_LP3952 is not set
# CONFIG_LEDS_LP50XX is not set
# CONFIG_LEDS_LP55XX_COMMON is not set
# CONFIG_LEDS_LP8860 is not set
# CONFIG_LEDS_LP8864 is not set
# CONFIG_LEDS_PCA955X is not set
# CONFIG_LEDS_PCA963X is not set
# CONFIG_LEDS_PCA995X is not set
# CONFIG_LEDS_DAC124S085 is not set
# CONFIG_LEDS_REGULATOR is not set
# CONFIG_LEDS_BD2606MVV is not set
# CONFIG_LEDS_BD2802 is not set
# CONFIG_LEDS_INTEL_SS4200 is not set
# CONFIG_LEDS_LT3593 is not set
# CONFIG_LEDS_TCA6507 is not set
# CONFIG_LEDS_TLC591XX is not set
# CONFIG_LEDS_LM355x is not set
# CONFIG_LEDS_IS31FL319X is not set
# CONFIG_LEDS_IS31FL32XX is not set

#
# LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)
#
# CONFIG_LEDS_BLINKM is not set
# CONFIG_LEDS_SYSCON is not set
# CONFIG_LEDS_MLXCPLD is not set
# CONFIG_LEDS_MLXREG is not set
# CONFIG_LEDS_USER is not set
# CONFIG_LEDS_NIC78BX is not set
# CONFIG_LEDS_SPI_BYTE is not set
# CONFIG_LEDS_LM3697 is not set
# CONFIG_LEDS_ST1202 is not set
# CONFIG_LEDS_LGM is not set

#
# Flash and Torch LED drivers
#

#
# RGB LED drivers
#
# CONFIG_LEDS_GROUP_MULTICOLOR is not set
# CONFIG_LEDS_KTD202X is not set
# CONFIG_LEDS_NCP5623 is not set
# CONFIG_LEDS_MT6370_RGB is not set

#
# LED Triggers
#
CONFIG_LEDS_TRIGGERS=y
# CONFIG_LEDS_TRIGGER_TIMER is not set
# CONFIG_LEDS_TRIGGER_ONESHOT is not set
# CONFIG_LEDS_TRIGGER_DISK is not set
# CONFIG_LEDS_TRIGGER_MTD is not set
# CONFIG_LEDS_TRIGGER_HEARTBEAT is not set
# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
# CONFIG_LEDS_TRIGGER_CPU is not set
# CONFIG_LEDS_TRIGGER_ACTIVITY is not set
# CONFIG_LEDS_TRIGGER_GPIO is not set
# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set

#
# iptables trigger is under Netfilter config (LED target)
#
# CONFIG_LEDS_TRIGGER_TRANSIENT is not set
# CONFIG_LEDS_TRIGGER_CAMERA is not set
# CONFIG_LEDS_TRIGGER_PANIC is not set
# CONFIG_LEDS_TRIGGER_NETDEV is not set
# CONFIG_LEDS_TRIGGER_PATTERN is not set
# CONFIG_LEDS_TRIGGER_TTY is not set
# CONFIG_LEDS_TRIGGER_INPUT_EVENTS is not set

#
# Simatic LED drivers
#
# CONFIG_ACCESSIBILITY is not set
CONFIG_INFINIBAND=y
CONFIG_INFINIBAND_USER_MAD=y
CONFIG_INFINIBAND_USER_ACCESS=y
CONFIG_INFINIBAND_USER_MEM=y
CONFIG_INFINIBAND_ON_DEMAND_PAGING=y
CONFIG_INFINIBAND_ADDR_TRANS=y
CONFIG_INFINIBAND_ADDR_TRANS_CONFIGFS=y
CONFIG_INFINIBAND_VIRT_DMA=y
# CONFIG_INFINIBAND_EFA is not set
# CONFIG_INFINIBAND_ERDMA is not set
CONFIG_MLX4_INFINIBAND=y
# CONFIG_INFINIBAND_MTHCA is not set
# CONFIG_INFINIBAND_OCRDMA is not set
# CONFIG_INFINIBAND_USNIC is not set
# CONFIG_INFINIBAND_VMWARE_PVRDMA is not set
# CONFIG_INFINIBAND_RDMAVT is not set
CONFIG_RDMA_RXE=y
CONFIG_RDMA_SIW=y
CONFIG_INFINIBAND_IPOIB=y
CONFIG_INFINIBAND_IPOIB_CM=y
CONFIG_INFINIBAND_IPOIB_DEBUG=y
# CONFIG_INFINIBAND_IPOIB_DEBUG_DATA is not set
CONFIG_INFINIBAND_SRP=y
# CONFIG_INFINIBAND_SRPT is not set
CONFIG_INFINIBAND_ISER=y
CONFIG_INFINIBAND_RTRS=y
CONFIG_INFINIBAND_RTRS_CLIENT=y
# CONFIG_INFINIBAND_RTRS_SERVER is not set
# CONFIG_INFINIBAND_OPA_VNIC is not set
CONFIG_EDAC_ATOMIC_SCRUB=y
CONFIG_EDAC_SUPPORT=y
CONFIG_EDAC=y
# CONFIG_EDAC_DEBUG is not set
# CONFIG_EDAC_DECODE_MCE is not set
# CONFIG_EDAC_SCRUB is not set
# CONFIG_EDAC_ECS is not set
# CONFIG_EDAC_MEM_REPAIR is not set
# CONFIG_EDAC_E752X is not set
# CONFIG_EDAC_I82975X is not set
# CONFIG_EDAC_I3000 is not set
# CONFIG_EDAC_I3200 is not set
# CONFIG_EDAC_IE31200 is not set
# CONFIG_EDAC_X38 is not set
# CONFIG_EDAC_I5400 is not set
# CONFIG_EDAC_I7CORE is not set
# CONFIG_EDAC_I5100 is not set
# CONFIG_EDAC_I7300 is not set
# CONFIG_EDAC_SBRIDGE is not set
# CONFIG_EDAC_SKX is not set
# CONFIG_EDAC_I10NM is not set
# CONFIG_EDAC_IMH is not set
# CONFIG_EDAC_PND2 is not set
# CONFIG_EDAC_IGEN6 is not set
CONFIG_RTC_LIB=y
CONFIG_RTC_MC146818_LIB=y
CONFIG_RTC_CLASS=y
# CONFIG_RTC_HCTOSYS is not set
CONFIG_RTC_SYSTOHC=y
CONFIG_RTC_SYSTOHC_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set
# CONFIG_RTC_NVMEM is not set

#
# RTC interfaces
#
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
# CONFIG_RTC_DRV_TEST is not set

#
# I2C RTC drivers
#
# CONFIG_RTC_DRV_ABB5ZES3 is not set
# CONFIG_RTC_DRV_ABEOZ9 is not set
# CONFIG_RTC_DRV_ABX80X is not set
# CONFIG_RTC_DRV_DS1307 is not set
# CONFIG_RTC_DRV_DS1374 is not set
# CONFIG_RTC_DRV_DS1672 is not set
# CONFIG_RTC_DRV_HYM8563 is not set
# CONFIG_RTC_DRV_MAX6900 is not set
# CONFIG_RTC_DRV_MAX31335 is not set
# CONFIG_RTC_DRV_NVIDIA_VRS10 is not set
# CONFIG_RTC_DRV_NCT3018Y is not set
# CONFIG_RTC_DRV_RS5C372 is not set
# CONFIG_RTC_DRV_ISL1208 is not set
# CONFIG_RTC_DRV_ISL12022 is not set
# CONFIG_RTC_DRV_ISL12026 is not set
# CONFIG_RTC_DRV_X1205 is not set
# CONFIG_RTC_DRV_PCF8523 is not set
# CONFIG_RTC_DRV_PCF85363 is not set
# CONFIG_RTC_DRV_PCF8563 is not set
# CONFIG_RTC_DRV_PCF8583 is not set
# CONFIG_RTC_DRV_M41T80 is not set
# CONFIG_RTC_DRV_BQ32K is not set
# CONFIG_RTC_DRV_TWL4030 is not set
# CONFIG_RTC_DRV_S35390A is not set
# CONFIG_RTC_DRV_FM3130 is not set
# CONFIG_RTC_DRV_RX8010 is not set
# CONFIG_RTC_DRV_RX8111 is not set
# CONFIG_RTC_DRV_RX8581 is not set
# CONFIG_RTC_DRV_RX8025 is not set
# CONFIG_RTC_DRV_EM3027 is not set
# CONFIG_RTC_DRV_RV3028 is not set
# CONFIG_RTC_DRV_RV3032 is not set
# CONFIG_RTC_DRV_RV8803 is not set
# CONFIG_RTC_DRV_SD2405AL is not set
# CONFIG_RTC_DRV_SD3078 is not set

#
# SPI RTC drivers
#
# CONFIG_RTC_DRV_M41T93 is not set
# CONFIG_RTC_DRV_M41T94 is not set
# CONFIG_RTC_DRV_DS1302 is not set
# CONFIG_RTC_DRV_DS1305 is not set
# CONFIG_RTC_DRV_DS1343 is not set
# CONFIG_RTC_DRV_DS1347 is not set
# CONFIG_RTC_DRV_DS1390 is not set
# CONFIG_RTC_DRV_MAX6916 is not set
# CONFIG_RTC_DRV_R9701 is not set
# CONFIG_RTC_DRV_RX4581 is not set
# CONFIG_RTC_DRV_RS5C348 is not set
# CONFIG_RTC_DRV_MAX6902 is not set
# CONFIG_RTC_DRV_PCF2123 is not set
# CONFIG_RTC_DRV_MCP795 is not set
CONFIG_RTC_I2C_AND_SPI=y

#
# SPI and I2C RTC drivers
#
# CONFIG_RTC_DRV_DS3232 is not set
# CONFIG_RTC_DRV_PCF2127 is not set
# CONFIG_RTC_DRV_PCF85063 is not set
# CONFIG_RTC_DRV_RV3029C2 is not set
# CONFIG_RTC_DRV_RX6110 is not set

#
# Platform RTC drivers
#
CONFIG_RTC_DRV_CMOS=y
# CONFIG_RTC_DRV_DS1286 is not set
# CONFIG_RTC_DRV_DS1511 is not set
# CONFIG_RTC_DRV_DS1553 is not set
# CONFIG_RTC_DRV_DS1685_FAMILY is not set
# CONFIG_RTC_DRV_DS1742 is not set
# CONFIG_RTC_DRV_DS2404 is not set
# CONFIG_RTC_DRV_STK17TA8 is not set
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_M48T35 is not set
# CONFIG_RTC_DRV_M48T59 is not set
# CONFIG_RTC_DRV_MSM6242 is not set
# CONFIG_RTC_DRV_RP5C01 is not set
# CONFIG_RTC_DRV_ZYNQMP is not set

#
# on-CPU RTC drivers
#
# CONFIG_RTC_DRV_CADENCE is not set
# CONFIG_RTC_DRV_FTRTC010 is not set
# CONFIG_RTC_DRV_R7301 is not set
# CONFIG_RTC_DRV_GOLDFISH is not set

#
# HID Sensor RTC drivers
#
CONFIG_RTC_DRV_HID_SENSOR_TIME=y
CONFIG_DMADEVICES=y
# CONFIG_DMADEVICES_DEBUG is not set

#
# DMA Devices
#
CONFIG_DMA_ENGINE=y
CONFIG_DMA_VIRTUAL_CHANNELS=y
CONFIG_DMA_ACPI=y
CONFIG_DMA_OF=y
# CONFIG_ALTERA_MSGDMA is not set
# CONFIG_DW_AXI_DMAC is not set
# CONFIG_FSL_EDMA is not set
CONFIG_INTEL_IDMA64=y
# CONFIG_INTEL_IDXD is not set
# CONFIG_INTEL_IDXD_COMPAT is not set
CONFIG_INTEL_IOATDMA=y
# CONFIG_PLX_DMA is not set
# CONFIG_XILINX_DMA is not set
# CONFIG_XILINX_XDMA is not set
# CONFIG_XILINX_ZYNQMP_DPDMA is not set
# CONFIG_AMD_PTDMA is not set
# CONFIG_AMD_QDMA is not set
# CONFIG_QCOM_HIDMA_MGMT is not set
# CONFIG_QCOM_HIDMA is not set
CONFIG_DW_DMAC_CORE=y
# CONFIG_DW_DMAC is not set
# CONFIG_DW_DMAC_PCI is not set
# CONFIG_DW_EDMA is not set
CONFIG_HSU_DMA=y
# CONFIG_SF_PDMA is not set
# CONFIG_INTEL_LDMA is not set

#
# DMA Clients
#
CONFIG_ASYNC_TX_DMA=y
# CONFIG_DMATEST is not set
CONFIG_DMA_ENGINE_RAID=y

#
# DMABUF options
#
CONFIG_SYNC_FILE=y
CONFIG_SW_SYNC=y
CONFIG_UDMABUF=y
CONFIG_DMABUF_MOVE_NOTIFY=y
# CONFIG_DMABUF_DEBUG is not set
# CONFIG_DMABUF_SELFTESTS is not set
CONFIG_DMABUF_HEAPS=y
# CONFIG_DMABUF_SYSFS_STATS is not set
CONFIG_DMABUF_HEAPS_SYSTEM=y
CONFIG_DMABUF_HEAPS_CMA=y
# end of DMABUF options

CONFIG_DCA=y
# CONFIG_UIO is not set
CONFIG_VFIO=y
CONFIG_VFIO_DEVICE_CDEV=y
# CONFIG_VFIO_GROUP is not set
CONFIG_VFIO_VIRQFD=y
# CONFIG_VFIO_DEBUGFS is not set

#
# VFIO support for PCI devices
#
CONFIG_VFIO_PCI_CORE=y
CONFIG_VFIO_PCI_INTX=y
CONFIG_VFIO_PCI=y
# CONFIG_VFIO_PCI_VGA is not set
# CONFIG_VFIO_PCI_IGD is not set
# CONFIG_VIRTIO_VFIO_PCI is not set
# end of VFIO support for PCI devices

CONFIG_IRQ_BYPASS_MANAGER=y
# CONFIG_VIRT_DRIVERS is not set
CONFIG_VIRTIO_ANCHOR=y
CONFIG_VIRTIO=y
CONFIG_VIRTIO_PCI_LIB=y
CONFIG_VIRTIO_PCI_LIB_LEGACY=y
CONFIG_VIRTIO_MENU=y
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_PCI_ADMIN_LEGACY=y
CONFIG_VIRTIO_PCI_LEGACY=y
CONFIG_VIRTIO_VDPA=y
CONFIG_VIRTIO_PMEM=y
CONFIG_VIRTIO_BALLOON=y
CONFIG_VIRTIO_MEM=y
CONFIG_VIRTIO_INPUT=y
CONFIG_VIRTIO_MMIO=y
CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y
CONFIG_VIRTIO_DMA_SHARED_BUFFER=y
# CONFIG_VIRTIO_DEBUG is not set
# CONFIG_VIRTIO_RTC is not set
CONFIG_VDPA=y
CONFIG_VDPA_SIM=y
CONFIG_VDPA_SIM_NET=y
CONFIG_VDPA_SIM_BLOCK=y
# CONFIG_VDPA_USER is not set
# CONFIG_IFCVF is not set
# CONFIG_MLX5_VDPA_STEERING_DEBUG is not set
CONFIG_VP_VDPA=y
# CONFIG_ALIBABA_ENI_VDPA is not set
# CONFIG_SNET_VDPA is not set
# CONFIG_OCTEONEP_VDPA is not set
CONFIG_VHOST_IOTLB=y
CONFIG_VHOST_RING=y
CONFIG_VHOST_TASK=y
CONFIG_VHOST=y
CONFIG_VHOST_MENU=y
CONFIG_VHOST_NET=y
# CONFIG_VHOST_SCSI is not set
CONFIG_VHOST_VSOCK=y
CONFIG_VHOST_VDPA=y
CONFIG_VHOST_CROSS_ENDIAN_LEGACY=y
CONFIG_VHOST_ENABLE_FORK_OWNER_CONTROL=y

#
# Microsoft Hyper-V guest support
#
# CONFIG_HYPERV is not set
# end of Microsoft Hyper-V guest support

CONFIG_GREYBUS=y
# CONFIG_GREYBUS_BEAGLEPLAY is not set
CONFIG_GREYBUS_ES2=y
CONFIG_COMEDI=y
# CONFIG_COMEDI_DEBUG is not set
CONFIG_COMEDI_DEFAULT_BUF_SIZE_KB=2048
CONFIG_COMEDI_DEFAULT_BUF_MAXSIZE_KB=20480
CONFIG_COMEDI_MISC_DRIVERS=y
CONFIG_COMEDI_BOND=y
CONFIG_COMEDI_TEST=y
CONFIG_COMEDI_PARPORT=y
CONFIG_COMEDI_ISA_DRIVERS=y
CONFIG_COMEDI_PCL711=y
CONFIG_COMEDI_PCL724=y
CONFIG_COMEDI_PCL726=y
CONFIG_COMEDI_PCL730=y
CONFIG_COMEDI_PCL812=y
CONFIG_COMEDI_PCL816=y
CONFIG_COMEDI_PCL818=y
CONFIG_COMEDI_PCM3724=y
CONFIG_COMEDI_AMPLC_DIO200_ISA=y
CONFIG_COMEDI_AMPLC_PC236_ISA=y
CONFIG_COMEDI_AMPLC_PC263_ISA=y
CONFIG_COMEDI_RTI800=y
CONFIG_COMEDI_RTI802=y
CONFIG_COMEDI_DAC02=y
CONFIG_COMEDI_DAS16M1=y
CONFIG_COMEDI_DAS08_ISA=y
# CONFIG_COMEDI_DAS16 is not set
CONFIG_COMEDI_DAS800=y
CONFIG_COMEDI_DAS1800=y
CONFIG_COMEDI_DAS6402=y
CONFIG_COMEDI_DT2801=y
CONFIG_COMEDI_DT2811=y
CONFIG_COMEDI_DT2814=y
CONFIG_COMEDI_DT2815=y
CONFIG_COMEDI_DT2817=y
CONFIG_COMEDI_DT282X=y
CONFIG_COMEDI_DMM32AT=y
CONFIG_COMEDI_FL512=y
CONFIG_COMEDI_AIO_AIO12_8=y
CONFIG_COMEDI_AIO_IIRO_16=y
# CONFIG_COMEDI_II_PCI20KC is not set
CONFIG_COMEDI_C6XDIGIO=y
CONFIG_COMEDI_MPC624=y
CONFIG_COMEDI_ADQ12B=y
CONFIG_COMEDI_NI_AT_A2150=y
CONFIG_COMEDI_NI_AT_AO=y
# CONFIG_COMEDI_NI_ATMIO is not set
CONFIG_COMEDI_NI_ATMIO16D=y
CONFIG_COMEDI_NI_LABPC_ISA=y
CONFIG_COMEDI_PCMAD=y
CONFIG_COMEDI_PCMDA12=y
CONFIG_COMEDI_PCMMIO=y
CONFIG_COMEDI_PCMUIO=y
CONFIG_COMEDI_MULTIQ3=y
CONFIG_COMEDI_S526=y
CONFIG_COMEDI_PCI_DRIVERS=y
CONFIG_COMEDI_8255_PCI=y
# CONFIG_COMEDI_ADDI_APCI_1032 is not set
# CONFIG_COMEDI_ADDI_APCI_1500 is not set
# CONFIG_COMEDI_ADDI_APCI_1516 is not set
# CONFIG_COMEDI_ADDI_APCI_1564 is not set
# CONFIG_COMEDI_ADDI_APCI_16XX is not set
# CONFIG_COMEDI_ADDI_APCI_2032 is not set
# CONFIG_COMEDI_ADDI_APCI_2200 is not set
# CONFIG_COMEDI_ADDI_APCI_3120 is not set
# CONFIG_COMEDI_ADDI_APCI_3501 is not set
# CONFIG_COMEDI_ADDI_APCI_3XXX is not set
# CONFIG_COMEDI_ADL_PCI6208 is not set
# CONFIG_COMEDI_ADL_PCI7250 is not set
# CONFIG_COMEDI_ADL_PCI7X3X is not set
# CONFIG_COMEDI_ADL_PCI8164 is not set
# CONFIG_COMEDI_ADL_PCI9111 is not set
CONFIG_COMEDI_ADL_PCI9118=y
# CONFIG_COMEDI_ADV_PCI1710 is not set
# CONFIG_COMEDI_ADV_PCI1720 is not set
# CONFIG_COMEDI_ADV_PCI1723 is not set
# CONFIG_COMEDI_ADV_PCI1724 is not set
# CONFIG_COMEDI_ADV_PCI1760 is not set
# CONFIG_COMEDI_ADV_PCI_DIO is not set
# CONFIG_COMEDI_AMPLC_DIO200_PCI is not set
# CONFIG_COMEDI_AMPLC_PC236_PCI is not set
# CONFIG_COMEDI_AMPLC_PC263_PCI is not set
# CONFIG_COMEDI_AMPLC_PCI224 is not set
# CONFIG_COMEDI_AMPLC_PCI230 is not set
# CONFIG_COMEDI_CONTEC_PCI_DIO is not set
# CONFIG_COMEDI_DAS08_PCI is not set
# CONFIG_COMEDI_DT3000 is not set
# CONFIG_COMEDI_DYNA_PCI10XX is not set
# CONFIG_COMEDI_GSC_HPDI is not set
# CONFIG_COMEDI_MF6X4 is not set
# CONFIG_COMEDI_ICP_MULTI is not set
# CONFIG_COMEDI_DAQBOARD2000 is not set
# CONFIG_COMEDI_JR3_PCI is not set
# CONFIG_COMEDI_KE_COUNTER is not set
# CONFIG_COMEDI_CB_PCIDAS64 is not set
# CONFIG_COMEDI_CB_PCIDAS is not set
# CONFIG_COMEDI_CB_PCIDDA is not set
# CONFIG_COMEDI_CB_PCIMDAS is not set
# CONFIG_COMEDI_CB_PCIMDDA is not set
# CONFIG_COMEDI_ME4000 is not set
# CONFIG_COMEDI_ME_DAQ is not set
# CONFIG_COMEDI_NI_6527 is not set
# CONFIG_COMEDI_NI_65XX is not set
# CONFIG_COMEDI_NI_660X is not set
# CONFIG_COMEDI_NI_670X is not set
CONFIG_COMEDI_NI_LABPC_PCI=y
# CONFIG_COMEDI_NI_PCIDIO is not set
# CONFIG_COMEDI_NI_PCIMIO is not set
# CONFIG_COMEDI_RTD520 is not set
# CONFIG_COMEDI_S626 is not set
CONFIG_COMEDI_PCMCIA_DRIVERS=y
# CONFIG_COMEDI_CB_DAS16_CS is not set
# CONFIG_COMEDI_DAS08_CS is not set
CONFIG_COMEDI_NI_DAQ_700_CS=y
# CONFIG_COMEDI_NI_DAQ_DIO24_CS is not set
CONFIG_COMEDI_NI_LABPC_CS=y
# CONFIG_COMEDI_NI_MIO_CS is not set
# CONFIG_COMEDI_QUATECH_DAQP_CS is not set
CONFIG_COMEDI_USB_DRIVERS=y
CONFIG_COMEDI_DT9812=y
CONFIG_COMEDI_NI_USB6501=y
CONFIG_COMEDI_USBDUX=y
CONFIG_COMEDI_USBDUXFAST=y
CONFIG_COMEDI_USBDUXSIGMA=y
CONFIG_COMEDI_VMK80XX=y
CONFIG_COMEDI_8254=y
CONFIG_COMEDI_8255=y
CONFIG_COMEDI_8255_SA=y
CONFIG_COMEDI_KCOMEDILIB=y
CONFIG_COMEDI_AMPLC_DIO200=y
CONFIG_COMEDI_AMPLC_PC236=y
CONFIG_COMEDI_DAS08=y
CONFIG_COMEDI_ISADMA=y
CONFIG_COMEDI_NI_LABPC=y
CONFIG_COMEDI_NI_LABPC_ISADMA=y
# CONFIG_COMEDI_TESTS is not set
# CONFIG_GPIB is not set
CONFIG_STAGING=y
# CONFIG_RTL8723BS is not set

#
# IIO staging drivers
#

#
# Accelerometers
#
# CONFIG_ADIS16203 is not set
# end of Accelerometers

#
# Analog to digital converters
#
# CONFIG_AD7816 is not set
# end of Analog to digital converters

#
# Analog digital bi-direction converters
#
# CONFIG_ADT7316 is not set
# end of Analog digital bi-direction converters

#
# Direct Digital Synthesis
#
# CONFIG_AD9832 is not set
# CONFIG_AD9834 is not set
# end of Direct Digital Synthesis

#
# Network Analyzer, Impedance Converters
#
# CONFIG_AD5933 is not set
# end of Network Analyzer, Impedance Converters
# end of IIO staging drivers

# CONFIG_FB_SM750 is not set
# CONFIG_STAGING_MEDIA is not set
# CONFIG_FB_TFT is not set
# CONFIG_MOST_COMPONENTS is not set
# CONFIG_GREYBUS_AUDIO is not set
# CONFIG_GREYBUS_BOOTROM is not set
# CONFIG_GREYBUS_FIRMWARE is not set
CONFIG_GREYBUS_HID=y
# CONFIG_GREYBUS_LOG is not set
# CONFIG_GREYBUS_LOOPBACK is not set
# CONFIG_GREYBUS_POWER is not set
# CONFIG_GREYBUS_RAW is not set
# CONFIG_GREYBUS_VIBRATOR is not set
CONFIG_GREYBUS_BRIDGED_PHY=y
# CONFIG_GREYBUS_GPIO is not set
# CONFIG_GREYBUS_I2C is not set
# CONFIG_GREYBUS_SDIO is not set
# CONFIG_GREYBUS_SPI is not set
# CONFIG_GREYBUS_UART is not set
CONFIG_GREYBUS_USB=y
# CONFIG_XIL_AXIS_FIFO is not set
# CONFIG_VME_BUS is not set
# CONFIG_GOLDFISH is not set
# CONFIG_CHROME_PLATFORMS is not set
# CONFIG_MELLANOX_PLATFORM is not set
CONFIG_SURFACE_PLATFORMS=y
# CONFIG_SURFACE3_WMI is not set
# CONFIG_SURFACE_3_POWER_OPREGION is not set
# CONFIG_SURFACE_ACPI_NOTIFY is not set
# CONFIG_SURFACE_AGGREGATOR_CDEV is not set
# CONFIG_SURFACE_AGGREGATOR_HUB is not set
CONFIG_SURFACE_AGGREGATOR_REGISTRY=y
# CONFIG_SURFACE_AGGREGATOR_TABLET_SWITCH is not set
# CONFIG_SURFACE_DTX is not set
# CONFIG_SURFACE_GPE is not set
# CONFIG_SURFACE_HOTPLUG is not set
# CONFIG_SURFACE_PLATFORM_PROFILE is not set
# CONFIG_SURFACE_PRO3_BUTTON is not set
CONFIG_SURFACE_AGGREGATOR=y
CONFIG_SURFACE_AGGREGATOR_BUS=y
CONFIG_X86_PLATFORM_DEVICES=y
CONFIG_WMI_BMOF=y
# CONFIG_HUAWEI_WMI is not set
# CONFIG_X86_PLATFORM_DRIVERS_UNIWILL is not set
# CONFIG_MXM_WMI is not set
# CONFIG_NVIDIA_WMI_EC_BACKLIGHT is not set
# CONFIG_XIAOMI_WMI is not set
# CONFIG_REDMI_WMI is not set
# CONFIG_GIGABYTE_WMI is not set
# CONFIG_ACERHDF is not set
# CONFIG_ACER_WIRELESS is not set
# CONFIG_ACER_WMI is not set

#
# AMD HSMP Driver
#
# CONFIG_AMD_HSMP_ACPI is not set
# CONFIG_AMD_HSMP_PLAT is not set
# end of AMD HSMP Driver

# CONFIG_AMD_PMC is not set
# CONFIG_AMD_HFI is not set
# CONFIG_AMD_3D_VCACHE is not set
# CONFIG_AMD_WBRF is not set
# CONFIG_AMD_ISP_PLATFORM is not set
# CONFIG_ADV_SWBUTTON is not set
# CONFIG_APPLE_GMUX is not set
# CONFIG_ASUS_LAPTOP is not set
# CONFIG_ASUS_WIRELESS is not set
# CONFIG_ASUS_ARMOURY is not set
CONFIG_ASUS_WMI=y
# CONFIG_ASUS_WMI_DEPRECATED_ATTRS is not set
# CONFIG_ASUS_NB_WMI is not set
CONFIG_ASUS_TF103C_DOCK=y
# CONFIG_AYANEO_EC is not set
CONFIG_EEEPC_LAPTOP=y
# CONFIG_EEEPC_WMI is not set
# CONFIG_X86_PLATFORM_DRIVERS_DELL is not set
# CONFIG_AMILO_RFKILL is not set
# CONFIG_FUJITSU_LAPTOP is not set
# CONFIG_FUJITSU_TABLET is not set
# CONFIG_GPD_POCKET_FAN is not set
# CONFIG_X86_PLATFORM_DRIVERS_HP is not set
# CONFIG_WIRELESS_HOTKEY is not set
# CONFIG_IBM_RTL is not set
# CONFIG_SENSORS_HDAPS is not set
# CONFIG_INTEL_ATOMISP2_PM is not set
# CONFIG_INTEL_IFS is not set
# CONFIG_INTEL_SAR_INT1092 is not set
# CONFIG_INTEL_SKL_INT3472 is not set

#
# Intel Speed Select Technology interface support
#
# CONFIG_INTEL_SPEED_SELECT_INTERFACE is not set
# end of Intel Speed Select Technology interface support

# CONFIG_INTEL_WMI_SBL_FW_UPDATE is not set
# CONFIG_INTEL_WMI_THUNDERBOLT is not set

#
# Intel Uncore Frequency Control
#
# CONFIG_INTEL_UNCORE_FREQ_CONTROL is not set
# end of Intel Uncore Frequency Control

# CONFIG_INTEL_HID_EVENT is not set
# CONFIG_INTEL_VBTN is not set
# CONFIG_INTEL_EHL_PSE_IO is not set
# CONFIG_INTEL_INT0002_VGPIO is not set
# CONFIG_INTEL_OAKTRAIL is not set
# CONFIG_INTEL_BXTWC_PMIC_TMU is not set
CONFIG_INTEL_CHTWC_INT33FE=y
CONFIG_INTEL_ISHTP_ECLITE=y
# CONFIG_INTEL_PUNIT_IPC is not set
# CONFIG_INTEL_RST is not set
# CONFIG_INTEL_SMARTCONNECT is not set
# CONFIG_INTEL_TURBO_MAX_3 is not set
# CONFIG_INTEL_VSEC is not set
# CONFIG_IDEAPAD_LAPTOP is not set
# CONFIG_LENOVO_WMI_HOTKEY_UTILITIES is not set
# CONFIG_LENOVO_WMI_CAMERA is not set
# CONFIG_THINKPAD_ACPI is not set
# CONFIG_THINKPAD_LMI is not set
# CONFIG_YOGABOOK is not set
# CONFIG_YT2_1380 is not set
# CONFIG_LENOVO_WMI_GAMEZONE is not set
# CONFIG_LENOVO_WMI_TUNING is not set
# CONFIG_ACPI_QUICKSTART is not set
# CONFIG_MEEGOPAD_ANX7428 is not set
# CONFIG_MSI_EC is not set
# CONFIG_MSI_LAPTOP is not set
# CONFIG_MSI_WMI is not set
# CONFIG_MSI_WMI_PLATFORM is not set
# CONFIG_PCENGINES_APU2 is not set
# CONFIG_PORTWELL_EC is not set
# CONFIG_BARCO_P50_GPIO is not set
# CONFIG_SAMSUNG_GALAXYBOOK is not set
# CONFIG_SAMSUNG_LAPTOP is not set
# CONFIG_SAMSUNG_Q10 is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_TOSHIBA_BT_RFKILL is not set
# CONFIG_TOSHIBA_HAPS is not set
# CONFIG_TOSHIBA_WMI is not set
# CONFIG_ACPI_CMPC is not set
# CONFIG_COMPAL_LAPTOP is not set
# CONFIG_LG_LAPTOP is not set
# CONFIG_PANASONIC_LAPTOP is not set
# CONFIG_SONY_LAPTOP is not set
# CONFIG_SYSTEM76_ACPI is not set
# CONFIG_TOPSTAR_LAPTOP is not set
# CONFIG_SERIAL_MULTI_INSTANTIATE is not set
# CONFIG_INSPUR_PLATFORM_PROFILE is not set
# CONFIG_DASHARO_ACPI is not set
# CONFIG_INTEL_IPS is not set
CONFIG_INTEL_SCU_IPC=y
# CONFIG_INTEL_SCU_PCI is not set
# CONFIG_INTEL_SCU_PLATFORM is not set
# CONFIG_SIEMENS_SIMATIC_IPC is not set
# CONFIG_SILICOM_PLATFORM is not set
# CONFIG_WINMATE_FM07_KEYS is not set
# CONFIG_OXP_EC is not set
# CONFIG_TUXEDO_NB04_WMI_AB is not set
CONFIG_P2SB=y
CONFIG_ACPI_WMI=y
# CONFIG_ACPI_WMI_LEGACY_DEVICE_NAMES is not set
CONFIG_HAVE_CLK=y
CONFIG_HAVE_CLK_PREPARE=y
CONFIG_COMMON_CLK=y
# CONFIG_LMK04832 is not set
# CONFIG_COMMON_CLK_MAX9485 is not set
# CONFIG_COMMON_CLK_SI5341 is not set
# CONFIG_COMMON_CLK_SI5351 is not set
# CONFIG_COMMON_CLK_SI514 is not set
# CONFIG_COMMON_CLK_SI544 is not set
# CONFIG_COMMON_CLK_SI570 is not set
# CONFIG_COMMON_CLK_CDCE706 is not set
# CONFIG_COMMON_CLK_CDCE925 is not set
# CONFIG_COMMON_CLK_CS2000_CP is not set
# CONFIG_CLK_TWL is not set
# CONFIG_COMMON_CLK_AXI_CLKGEN is not set
# CONFIG_COMMON_CLK_RS9_PCIE is not set
# CONFIG_COMMON_CLK_SI521XX is not set
# CONFIG_COMMON_CLK_VC3 is not set
# CONFIG_COMMON_CLK_VC5 is not set
# CONFIG_COMMON_CLK_VC7 is not set
# CONFIG_COMMON_CLK_FIXED_MMIO is not set
# CONFIG_CLK_LGM_CGU is not set
# CONFIG_XILINX_VCU is not set
# CONFIG_COMMON_CLK_XLNX_CLKWZRD is not set
# CONFIG_HWSPINLOCK is not set

#
# Clock Source drivers
#
CONFIG_CLKEVT_I8253=y
CONFIG_I8253_LOCK=y
CONFIG_CLKBLD_I8253=y
# end of Clock Source drivers

CONFIG_MAILBOX=y
# CONFIG_PLATFORM_MHU is not set
CONFIG_PCC=y
# CONFIG_ALTERA_MBOX is not set
# CONFIG_MAILBOX_TEST is not set
CONFIG_IOMMU_IOVA=y
CONFIG_IOMMU_API=y
CONFIG_IOMMUFD_DRIVER=y
CONFIG_IOMMU_SUPPORT=y

#
# Generic IOMMU Pagetable Support
#
# end of Generic IOMMU Pagetable Support

# CONFIG_IOMMU_DEBUGFS is not set
# CONFIG_IOMMU_DEFAULT_DMA_STRICT is not set
CONFIG_IOMMU_DEFAULT_DMA_LAZY=y
# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set
CONFIG_OF_IOMMU=y
CONFIG_IOMMU_DMA=y
CONFIG_IOMMU_SVA=y
CONFIG_IOMMU_IOPF=y
CONFIG_AMD_IOMMU=y
CONFIG_DMAR_TABLE=y
CONFIG_INTEL_IOMMU=y
CONFIG_INTEL_IOMMU_SVM=y
CONFIG_INTEL_IOMMU_DEFAULT_ON=y
CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON=y
CONFIG_INTEL_IOMMU_PERF_EVENTS=y
CONFIG_IOMMUFD_DRIVER_CORE=y
CONFIG_IOMMUFD=y
CONFIG_IOMMUFD_TEST=y
CONFIG_IRQ_REMAP=y
# CONFIG_VIRTIO_IOMMU is not set
CONFIG_GENERIC_PT=y
CONFIG_DEBUG_GENERIC_PT=y
CONFIG_IOMMU_PT=y
CONFIG_IOMMU_PT_AMDV1=y
CONFIG_IOMMU_PT_VTDSS=y
CONFIG_IOMMU_PT_X86_64=y

#
# Remoteproc drivers
#
# CONFIG_REMOTEPROC is not set
# end of Remoteproc drivers

#
# Rpmsg drivers
#
# CONFIG_RPMSG_QCOM_GLINK_RPM is not set
# CONFIG_RPMSG_VIRTIO is not set
# end of Rpmsg drivers

CONFIG_SOUNDWIRE=y

#
# SoundWire Devices
#
# CONFIG_SOUNDWIRE_AMD is not set
# CONFIG_SOUNDWIRE_INTEL is not set
# CONFIG_SOUNDWIRE_QCOM is not set

#
# SOC (System On Chip) specific Drivers
#

#
# Amlogic SoC drivers
#
# end of Amlogic SoC drivers

#
# Broadcom SoC drivers
#
# end of Broadcom SoC drivers

#
# NXP/Freescale QorIQ SoC drivers
#
# end of NXP/Freescale QorIQ SoC drivers

#
# fujitsu SoC drivers
#
# end of fujitsu SoC drivers

#
# i.MX SoC drivers
#
# end of i.MX SoC drivers

#
# Enable LiteX SoC Builder specific drivers
#
# CONFIG_LITEX_SOC_CONTROLLER is not set
# end of Enable LiteX SoC Builder specific drivers

# CONFIG_WPCM450_SOC is not set

#
# Qualcomm SoC drivers
#
CONFIG_QCOM_QMI_HELPERS=y
# end of Qualcomm SoC drivers

# CONFIG_SOC_TI is not set

#
# Xilinx SoC drivers
#
# end of Xilinx SoC drivers
# end of SOC (System On Chip) specific Drivers

#
# PM Domains
#

#
# Amlogic PM Domains
#
# end of Amlogic PM Domains

#
# Broadcom PM Domains
#
# end of Broadcom PM Domains

#
# i.MX PM Domains
#
# end of i.MX PM Domains

#
# Qualcomm PM Domains
#
# end of Qualcomm PM Domains
# end of PM Domains

# CONFIG_PM_DEVFREQ is not set
CONFIG_EXTCON=y

#
# Extcon Device Drivers
#
# CONFIG_EXTCON_ADC_JACK is not set
# CONFIG_EXTCON_FSA9480 is not set
# CONFIG_EXTCON_GPIO is not set
# CONFIG_EXTCON_INTEL_INT3496 is not set
CONFIG_EXTCON_INTEL_CHT_WC=y
# CONFIG_EXTCON_LC824206XA is not set
# CONFIG_EXTCON_MAX3355 is not set
# CONFIG_EXTCON_MAX14526 is not set
CONFIG_EXTCON_PTN5150=y
# CONFIG_EXTCON_RT8973A is not set
# CONFIG_EXTCON_SM5502 is not set
# CONFIG_EXTCON_USB_GPIO is not set
CONFIG_EXTCON_USBC_TUSB320=y
# CONFIG_MEMORY is not set
CONFIG_IIO=y
CONFIG_IIO_BUFFER=y
# CONFIG_IIO_BUFFER_CB is not set
# CONFIG_IIO_BUFFER_DMA is not set
# CONFIG_IIO_BUFFER_DMAENGINE is not set
# CONFIG_IIO_BUFFER_HW_CONSUMER is not set
CONFIG_IIO_KFIFO_BUF=y
CONFIG_IIO_TRIGGERED_BUFFER=y
# CONFIG_IIO_CONFIGFS is not set
CONFIG_IIO_TRIGGER=y
CONFIG_IIO_CONSUMERS_PER_TRIGGER=2
# CONFIG_IIO_SW_DEVICE is not set
# CONFIG_IIO_SW_TRIGGER is not set
# CONFIG_IIO_TRIGGERED_EVENT is not set

#
# Accelerometers
#
# CONFIG_ADIS16201 is not set
# CONFIG_ADIS16209 is not set
# CONFIG_ADXL313_I2C is not set
# CONFIG_ADXL313_SPI is not set
# CONFIG_ADXL345_I2C is not set
# CONFIG_ADXL345_SPI is not set
# CONFIG_ADXL355_I2C is not set
# CONFIG_ADXL355_SPI is not set
# CONFIG_ADXL367_SPI is not set
# CONFIG_ADXL367_I2C is not set
# CONFIG_ADXL372_SPI is not set
# CONFIG_ADXL372_I2C is not set
# CONFIG_ADXL380_SPI is not set
# CONFIG_ADXL380_I2C is not set
# CONFIG_BMA180 is not set
# CONFIG_BMA220 is not set
# CONFIG_BMA400 is not set
# CONFIG_BMC150_ACCEL is not set
# CONFIG_BMI088_ACCEL is not set
# CONFIG_DA280 is not set
# CONFIG_DA311 is not set
# CONFIG_DMARD06 is not set
# CONFIG_DMARD09 is not set
# CONFIG_DMARD10 is not set
# CONFIG_FXLS8962AF_I2C is not set
# CONFIG_FXLS8962AF_SPI is not set
CONFIG_HID_SENSOR_ACCEL_3D=y
# CONFIG_IIO_ST_ACCEL_3AXIS is not set
# CONFIG_IIO_KX022A_SPI is not set
# CONFIG_IIO_KX022A_I2C is not set
# CONFIG_KXSD9 is not set
# CONFIG_KXCJK1013 is not set
# CONFIG_MC3230 is not set
# CONFIG_MMA7455_I2C is not set
# CONFIG_MMA7455_SPI is not set
# CONFIG_MMA7660 is not set
# CONFIG_MMA8452 is not set
# CONFIG_MMA9551 is not set
# CONFIG_MMA9553 is not set
# CONFIG_MSA311 is not set
# CONFIG_MXC4005 is not set
# CONFIG_MXC6255 is not set
# CONFIG_SCA3000 is not set
# CONFIG_SCA3300 is not set
# CONFIG_STK8312 is not set
# CONFIG_STK8BA50 is not set
# end of Accelerometers

#
# Analog to digital converters
#
# CONFIG_AD4000 is not set
# CONFIG_AD4030 is not set
# CONFIG_AD4080 is not set
# CONFIG_AD4130 is not set
# CONFIG_AD4170_4 is not set
# CONFIG_AD4695 is not set
# CONFIG_AD7091R5 is not set
# CONFIG_AD7091R8 is not set
# CONFIG_AD7124 is not set
# CONFIG_AD7173 is not set
# CONFIG_AD7191 is not set
# CONFIG_AD7192 is not set
# CONFIG_AD7266 is not set
# CONFIG_AD7280 is not set
# CONFIG_AD7291 is not set
# CONFIG_AD7292 is not set
# CONFIG_AD7298 is not set
# CONFIG_AD7380 is not set
# CONFIG_AD7476 is not set
# CONFIG_AD7606_IFACE_PARALLEL is not set
# CONFIG_AD7606_IFACE_SPI is not set
# CONFIG_AD7766 is not set
# CONFIG_AD7768_1 is not set
# CONFIG_AD7779 is not set
# CONFIG_AD7780 is not set
# CONFIG_AD7791 is not set
# CONFIG_AD7793 is not set
# CONFIG_AD7887 is not set
# CONFIG_AD7923 is not set
# CONFIG_AD7944 is not set
# CONFIG_AD7949 is not set
# CONFIG_AD799X is not set
# CONFIG_AD9467 is not set
# CONFIG_ADE9000 is not set
# CONFIG_CC10001_ADC is not set
CONFIG_DLN2_ADC=y
# CONFIG_ENVELOPE_DETECTOR is not set
# CONFIG_GEHC_PMC_ADC is not set
# CONFIG_HI8435 is not set
# CONFIG_HX711 is not set
# CONFIG_INA2XX_ADC is not set
# CONFIG_LTC2309 is not set
# CONFIG_LTC2471 is not set
# CONFIG_LTC2485 is not set
# CONFIG_LTC2496 is not set
# CONFIG_LTC2497 is not set
# CONFIG_MAX1027 is not set
# CONFIG_MAX11100 is not set
# CONFIG_MAX1118 is not set
# CONFIG_MAX11205 is not set
# CONFIG_MAX11410 is not set
# CONFIG_MAX1241 is not set
# CONFIG_MAX1363 is not set
# CONFIG_MAX14001 is not set
# CONFIG_MAX34408 is not set
# CONFIG_MAX9611 is not set
# CONFIG_MCP320X is not set
# CONFIG_MCP3422 is not set
# CONFIG_MCP3564 is not set
# CONFIG_MCP3911 is not set
# CONFIG_MEDIATEK_MT6360_ADC is not set
# CONFIG_MEDIATEK_MT6370_ADC is not set
# CONFIG_NAU7802 is not set
# CONFIG_NCT7201 is not set
# CONFIG_PAC1921 is not set
# CONFIG_PAC1934 is not set
# CONFIG_ROHM_BD79112 is not set
# CONFIG_ROHM_BD79124 is not set
# CONFIG_RICHTEK_RTQ6056 is not set
# CONFIG_SD_ADC_MODULATOR is not set
# CONFIG_TI_ADC081C is not set
# CONFIG_TI_ADC0832 is not set
# CONFIG_TI_ADC084S021 is not set
# CONFIG_TI_ADC108S102 is not set
# CONFIG_TI_ADC12138 is not set
# CONFIG_TI_ADC128S052 is not set
# CONFIG_TI_ADC161S626 is not set
# CONFIG_TI_ADS1015 is not set
# CONFIG_TI_ADS1100 is not set
# CONFIG_TI_ADS1119 is not set
# CONFIG_TI_ADS124S08 is not set
# CONFIG_TI_ADS1298 is not set
# CONFIG_TI_ADS131E08 is not set
# CONFIG_TI_ADS7138 is not set
# CONFIG_TI_ADS7924 is not set
# CONFIG_TI_ADS7950 is not set
# CONFIG_TI_ADS8344 is not set
# CONFIG_TI_ADS8688 is not set
# CONFIG_TI_LMP92064 is not set
# CONFIG_TI_TLC4541 is not set
# CONFIG_TI_TSC2046 is not set
# CONFIG_TWL4030_MADC is not set
# CONFIG_TWL6030_GPADC is not set
# CONFIG_VF610_ADC is not set
CONFIG_VIPERBOARD_ADC=y
# CONFIG_XILINX_XADC is not set
# end of Analog to digital converters

#
# Analog to digital and digital to analog converters
#
# CONFIG_AD74115 is not set
# CONFIG_AD74413R is not set
# end of Analog to digital and digital to analog converters

#
# Analog Front Ends
#
# CONFIG_IIO_RESCALE is not set
# end of Analog Front Ends

#
# Amplifiers
#
# CONFIG_AD8366 is not set
# CONFIG_ADA4250 is not set
# CONFIG_HMC425 is not set
# end of Amplifiers

#
# Capacitance to digital converters
#
# CONFIG_AD7150 is not set
# CONFIG_AD7746 is not set
# end of Capacitance to digital converters

#
# Chemical Sensors
#
# CONFIG_AOSONG_AGS02MA is not set
# CONFIG_ATLAS_PH_SENSOR is not set
# CONFIG_ATLAS_EZO_SENSOR is not set
# CONFIG_BME680 is not set
# CONFIG_CCS811 is not set
# CONFIG_ENS160 is not set
# CONFIG_IAQCORE is not set
# CONFIG_MHZ19B is not set
# CONFIG_PMS7003 is not set
# CONFIG_SCD30_CORE is not set
# CONFIG_SCD4X is not set
# CONFIG_SEN0322 is not set
# CONFIG_SENSIRION_SGP30 is not set
# CONFIG_SENSIRION_SGP40 is not set
# CONFIG_SPS30_I2C is not set
# CONFIG_SPS30_SERIAL is not set
# CONFIG_SENSEAIR_SUNRISE_CO2 is not set
# CONFIG_VZ89X is not set
# end of Chemical Sensors

#
# Hid Sensor IIO Common
#
CONFIG_HID_SENSOR_IIO_COMMON=y
CONFIG_HID_SENSOR_IIO_TRIGGER=y
# end of Hid Sensor IIO Common

#
# IIO SCMI Sensors
#
# end of IIO SCMI Sensors

#
# SSP Sensor Common
#
# CONFIG_IIO_SSP_SENSORHUB is not set
# end of SSP Sensor Common

#
# Digital to analog converters
#
# CONFIG_AD3530R is not set
# CONFIG_AD3552R_HS is not set
# CONFIG_AD3552R is not set
# CONFIG_AD5064 is not set
# CONFIG_AD5360 is not set
# CONFIG_AD5380 is not set
# CONFIG_AD5421 is not set
# CONFIG_AD5446_SPI is not set
# CONFIG_AD5446_I2C is not set
# CONFIG_AD5449 is not set
# CONFIG_AD5592R is not set
# CONFIG_AD5593R is not set
# CONFIG_AD5504 is not set
# CONFIG_AD5624R_SPI is not set
# CONFIG_AD9739A is not set
# CONFIG_LTC2688 is not set
# CONFIG_AD5686_SPI is not set
# CONFIG_AD5696_I2C is not set
# CONFIG_AD5755 is not set
# CONFIG_AD5758 is not set
# CONFIG_AD5761 is not set
# CONFIG_AD5764 is not set
# CONFIG_AD5766 is not set
# CONFIG_AD5770R is not set
# CONFIG_AD5791 is not set
# CONFIG_AD7293 is not set
# CONFIG_AD7303 is not set
# CONFIG_AD8460 is not set
# CONFIG_AD8801 is not set
# CONFIG_BD79703 is not set
# CONFIG_CIO_DAC is not set
# CONFIG_DPOT_DAC is not set
# CONFIG_DS4424 is not set
# CONFIG_LTC1660 is not set
# CONFIG_LTC2632 is not set
# CONFIG_LTC2664 is not set
# CONFIG_M62332 is not set
# CONFIG_MAX517 is not set
# CONFIG_MAX5522 is not set
# CONFIG_MAX5821 is not set
# CONFIG_MCP4725 is not set
# CONFIG_MCP4728 is not set
# CONFIG_MCP4821 is not set
# CONFIG_MCP4922 is not set
# CONFIG_TI_DAC082S085 is not set
# CONFIG_TI_DAC5571 is not set
# CONFIG_TI_DAC7311 is not set
# CONFIG_TI_DAC7612 is not set
# CONFIG_VF610_DAC is not set
# end of Digital to analog converters

#
# IIO dummy driver
#
# end of IIO dummy driver

#
# Filters
#
# CONFIG_ADMV8818 is not set
# end of Filters

#
# Frequency Synthesizers DDS/PLL
#

#
# Clock Generator/Distribution
#
# CONFIG_AD9523 is not set
# end of Clock Generator/Distribution

#
# Phase-Locked Loop (PLL) frequency synthesizers
#
# CONFIG_ADF4350 is not set
# CONFIG_ADF4371 is not set
# CONFIG_ADF4377 is not set
# CONFIG_ADMFM2000 is not set
# CONFIG_ADMV1013 is not set
# CONFIG_ADMV1014 is not set
# CONFIG_ADMV4420 is not set
# CONFIG_ADRF6780 is not set
# end of Phase-Locked Loop (PLL) frequency synthesizers
# end of Frequency Synthesizers DDS/PLL

#
# Digital gyroscope sensors
#
# CONFIG_ADIS16080 is not set
# CONFIG_ADIS16130 is not set
# CONFIG_ADIS16136 is not set
# CONFIG_ADIS16260 is not set
# CONFIG_ADXRS290 is not set
# CONFIG_ADXRS450 is not set
# CONFIG_BMG160 is not set
# CONFIG_FXAS21002C is not set
CONFIG_HID_SENSOR_GYRO_3D=y
# CONFIG_MPU3050_I2C is not set
# CONFIG_IIO_ST_GYRO_3AXIS is not set
# CONFIG_ITG3200 is not set
# end of Digital gyroscope sensors

#
# Health Sensors
#

#
# Heart Rate Monitors
#
# CONFIG_AFE4403 is not set
# CONFIG_AFE4404 is not set
# CONFIG_MAX30100 is not set
# CONFIG_MAX30102 is not set
# end of Heart Rate Monitors
# end of Health Sensors

#
# Humidity sensors
#
# CONFIG_AM2315 is not set
# CONFIG_DHT11 is not set
# CONFIG_ENS210 is not set
# CONFIG_HDC100X is not set
# CONFIG_HDC2010 is not set
# CONFIG_HDC3020 is not set
CONFIG_HID_SENSOR_HUMIDITY=y
# CONFIG_HTS221 is not set
# CONFIG_HTU21 is not set
# CONFIG_SI7005 is not set
# CONFIG_SI7020 is not set
# end of Humidity sensors

#
# Inertial measurement units
#
# CONFIG_ADIS16400 is not set
# CONFIG_ADIS16460 is not set
# CONFIG_ADIS16475 is not set
# CONFIG_ADIS16480 is not set
# CONFIG_ADIS16550 is not set
# CONFIG_BMI160_I2C is not set
# CONFIG_BMI160_SPI is not set
# CONFIG_BMI270_I2C is not set
# CONFIG_BMI270_SPI is not set
# CONFIG_BMI323_I2C is not set
# CONFIG_BMI323_SPI is not set
# CONFIG_BOSCH_BNO055_SERIAL is not set
# CONFIG_BOSCH_BNO055_I2C is not set
# CONFIG_FXOS8700_I2C is not set
# CONFIG_FXOS8700_SPI is not set
# CONFIG_KMX61 is not set
# CONFIG_INV_ICM42600_I2C is not set
# CONFIG_INV_ICM42600_SPI is not set
# CONFIG_INV_ICM45600_I2C is not set
# CONFIG_INV_ICM45600_SPI is not set
# CONFIG_INV_MPU6050_I2C is not set
# CONFIG_INV_MPU6050_SPI is not set
# CONFIG_SMI240 is not set
# CONFIG_SMI330_I2C is not set
# CONFIG_SMI330_SPI is not set
# CONFIG_IIO_ST_LSM6DSX is not set
# CONFIG_IIO_ST_LSM9DS0 is not set
# end of Inertial measurement units

#
# Light sensors
#
# CONFIG_ACPI_ALS is not set
# CONFIG_ADJD_S311 is not set
# CONFIG_ADUX1020 is not set
# CONFIG_AL3000A is not set
# CONFIG_AL3010 is not set
# CONFIG_AL3320A is not set
# CONFIG_APDS9160 is not set
# CONFIG_APDS9300 is not set
# CONFIG_APDS9306 is not set
# CONFIG_APDS9960 is not set
# CONFIG_AS73211 is not set
# CONFIG_BH1745 is not set
# CONFIG_BH1750 is not set
# CONFIG_BH1780 is not set
# CONFIG_CM32181 is not set
# CONFIG_CM3232 is not set
# CONFIG_CM3323 is not set
# CONFIG_CM3605 is not set
# CONFIG_CM36651 is not set
# CONFIG_GP2AP002 is not set
# CONFIG_GP2AP020A00F is not set
# CONFIG_SENSORS_ISL29018 is not set
# CONFIG_SENSORS_ISL29028 is not set
# CONFIG_ISL29125 is not set
# CONFIG_ISL76682 is not set
CONFIG_HID_SENSOR_ALS=y
CONFIG_HID_SENSOR_PROX=y
# CONFIG_JSA1212 is not set
# CONFIG_ROHM_BU27034 is not set
# CONFIG_RPR0521 is not set
# CONFIG_LTR390 is not set
# CONFIG_LTR501 is not set
# CONFIG_LTRF216A is not set
# CONFIG_LV0104CS is not set
# CONFIG_MAX44000 is not set
# CONFIG_MAX44009 is not set
# CONFIG_NOA1305 is not set
# CONFIG_OPT3001 is not set
# CONFIG_OPT4001 is not set
# CONFIG_OPT4060 is not set
# CONFIG_PA12203001 is not set
# CONFIG_SI1133 is not set
# CONFIG_SI1145 is not set
# CONFIG_STK3310 is not set
# CONFIG_ST_UVIS25 is not set
# CONFIG_TCS3414 is not set
# CONFIG_TCS3472 is not set
# CONFIG_SENSORS_TSL2563 is not set
# CONFIG_TSL2583 is not set
# CONFIG_TSL2591 is not set
# CONFIG_TSL2772 is not set
# CONFIG_TSL4531 is not set
# CONFIG_US5182D is not set
# CONFIG_VCNL4000 is not set
# CONFIG_VCNL4035 is not set
# CONFIG_VEML3235 is not set
# CONFIG_VEML6030 is not set
# CONFIG_VEML6040 is not set
# CONFIG_VEML6046X00 is not set
# CONFIG_VEML6070 is not set
# CONFIG_VEML6075 is not set
# CONFIG_VL6180 is not set
# CONFIG_ZOPT2201 is not set
# end of Light sensors

#
# Magnetometer sensors
#
# CONFIG_AF8133J is not set
# CONFIG_AK8974 is not set
# CONFIG_AK8975 is not set
# CONFIG_AK09911 is not set
# CONFIG_ALS31300 is not set
# CONFIG_BMC150_MAGN_I2C is not set
# CONFIG_BMC150_MAGN_SPI is not set
# CONFIG_MAG3110 is not set
CONFIG_HID_SENSOR_MAGNETOMETER_3D=y
# CONFIG_MMC35240 is not set
# CONFIG_IIO_ST_MAGN_3AXIS is not set
# CONFIG_INFINEON_TLV493D is not set
# CONFIG_SENSORS_HMC5843_I2C is not set
# CONFIG_SENSORS_HMC5843_SPI is not set
# CONFIG_SENSORS_RM3100_I2C is not set
# CONFIG_SENSORS_RM3100_SPI is not set
# CONFIG_SI7210 is not set
# CONFIG_TI_TMAG5273 is not set
# CONFIG_YAMAHA_YAS530 is not set
# end of Magnetometer sensors

#
# Multiplexers
#
# CONFIG_IIO_MUX is not set
# end of Multiplexers

#
# Inclinometer sensors
#
CONFIG_HID_SENSOR_INCLINOMETER_3D=y
CONFIG_HID_SENSOR_DEVICE_ROTATION=y
# end of Inclinometer sensors

#
# Triggers - standalone
#
# CONFIG_IIO_INTERRUPT_TRIGGER is not set
# CONFIG_IIO_SYSFS_TRIGGER is not set
# end of Triggers - standalone

#
# Linear and angular position sensors
#
CONFIG_HID_SENSOR_CUSTOM_INTEL_HINGE=y
# end of Linear and angular position sensors

#
# Digital potentiometers
#
# CONFIG_AD5110 is not set
# CONFIG_AD5272 is not set
# CONFIG_DS1803 is not set
# CONFIG_MAX5432 is not set
# CONFIG_MAX5481 is not set
# CONFIG_MAX5487 is not set
# CONFIG_MCP4018 is not set
# CONFIG_MCP4131 is not set
# CONFIG_MCP4531 is not set
# CONFIG_MCP41010 is not set
# CONFIG_TPL0102 is not set
# CONFIG_X9250 is not set
# end of Digital potentiometers

#
# Digital potentiostats
#
# CONFIG_LMP91000 is not set
# end of Digital potentiostats

#
# Pressure sensors
#
# CONFIG_ABP060MG is not set
# CONFIG_ROHM_BM1390 is not set
# CONFIG_BMP280 is not set
# CONFIG_DLHL60D is not set
# CONFIG_DPS310 is not set
CONFIG_HID_SENSOR_PRESS=y
# CONFIG_HP03 is not set
# CONFIG_HSC030PA is not set
# CONFIG_ICP10100 is not set
# CONFIG_MPL115_I2C is not set
# CONFIG_MPL115_SPI is not set
# CONFIG_MPL3115 is not set
# CONFIG_MPRLS0025PA is not set
# CONFIG_MS5611 is not set
# CONFIG_MS5637 is not set
# CONFIG_SDP500 is not set
# CONFIG_IIO_ST_PRESS is not set
# CONFIG_T5403 is not set
# CONFIG_HP206C is not set
# CONFIG_ZPA2326 is not set
# CONFIG_ADP810 is not set
# end of Pressure sensors

#
# Lightning sensors
#
# CONFIG_AS3935 is not set
# end of Lightning sensors

#
# Proximity and distance sensors
#
# CONFIG_D3323AA is not set
# CONFIG_HX9023S is not set
# CONFIG_IRSD200 is not set
# CONFIG_ISL29501 is not set
# CONFIG_LIDAR_LITE_V2 is not set
# CONFIG_MB1232 is not set
# CONFIG_PING is not set
# CONFIG_RFD77402 is not set
# CONFIG_SRF04 is not set
# CONFIG_SX9310 is not set
# CONFIG_SX9324 is not set
# CONFIG_SX9360 is not set
# CONFIG_SX9500 is not set
# CONFIG_SRF08 is not set
# CONFIG_VCNL3020 is not set
# CONFIG_VL53L0X_I2C is not set
# CONFIG_AW96103 is not set
# end of Proximity and distance sensors

#
# Resolver to digital converters
#
# CONFIG_AD2S90 is not set
# CONFIG_AD2S1200 is not set
# CONFIG_AD2S1210 is not set
# end of Resolver to digital converters

#
# Temperature sensors
#
# CONFIG_LTC2983 is not set
# CONFIG_MAXIM_THERMOCOUPLE is not set
CONFIG_HID_SENSOR_TEMP=y
# CONFIG_MLX90614 is not set
# CONFIG_MLX90632 is not set
# CONFIG_MLX90635 is not set
# CONFIG_TMP006 is not set
# CONFIG_TMP007 is not set
# CONFIG_TMP117 is not set
# CONFIG_TSYS01 is not set
# CONFIG_TSYS02D is not set
# CONFIG_MAX30208 is not set
# CONFIG_MAX31856 is not set
# CONFIG_MAX31865 is not set
# CONFIG_MCP9600 is not set
# end of Temperature sensors

# CONFIG_NTB is not set
# CONFIG_PWM is not set

#
# IRQ chip support
#
CONFIG_IRQCHIP=y
CONFIG_IRQ_MSI_LIB=y
# CONFIG_AL_FIC is not set
# CONFIG_XILINX_INTC is not set
# end of IRQ chip support

# CONFIG_IPACK_BUS is not set
CONFIG_RESET_CONTROLLER=y
# CONFIG_RESET_GPIO is not set
# CONFIG_RESET_INTEL_GW is not set
# CONFIG_RESET_SIMPLE is not set
# CONFIG_RESET_TI_SYSCON is not set
# CONFIG_RESET_TI_TPS380X is not set

#
# PHY Subsystem
#
CONFIG_GENERIC_PHY=y
CONFIG_USB_LGM_PHY=y
# CONFIG_PHY_CAN_TRANSCEIVER is not set
# CONFIG_PHY_NXP_PTN3222 is not set

#
# PHY drivers for Broadcom platforms
#
# CONFIG_BCM_KONA_USB2_PHY is not set
# end of PHY drivers for Broadcom platforms

# CONFIG_PHY_CADENCE_TORRENT is not set
# CONFIG_PHY_CADENCE_DPHY is not set
# CONFIG_PHY_CADENCE_DPHY_RX is not set
# CONFIG_PHY_CADENCE_SIERRA is not set
# CONFIG_PHY_CADENCE_SALVO is not set
# CONFIG_PHY_PXA_28NM_HSIC is not set
# CONFIG_PHY_PXA_28NM_USB2 is not set
CONFIG_PHY_CPCAP_USB=y
# CONFIG_PHY_MAPPHONE_MDM6600 is not set
# CONFIG_PHY_OCELOT_SERDES is not set
CONFIG_PHY_QCOM_USB_HS=y
CONFIG_PHY_QCOM_USB_HSIC=y
CONFIG_PHY_SAMSUNG_USB2=y
CONFIG_PHY_TUSB1210=y
# CONFIG_PHY_INTEL_LGM_COMBO is not set
# CONFIG_PHY_INTEL_LGM_EMMC is not set
# end of PHY Subsystem

# CONFIG_POWERCAP is not set
# CONFIG_MCB is not set

#
# Performance monitor support
#
# CONFIG_DWC_PCIE_PMU is not set
# end of Performance monitor support

CONFIG_RAS=y
CONFIG_USB4=y
# CONFIG_USB4_DEBUGFS_WRITE is not set
# CONFIG_USB4_DMA_TEST is not set

#
# Android
#
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_BINDERFS=y
CONFIG_ANDROID_BINDER_DEVICES="binder0,binder1"
# end of Android

CONFIG_LIBNVDIMM=y
CONFIG_BLK_DEV_PMEM=y
CONFIG_ND_CLAIM=y
CONFIG_ND_BTT=y
CONFIG_BTT=y
CONFIG_ND_PFN=y
CONFIG_NVDIMM_PFN=y
CONFIG_NVDIMM_DAX=y
CONFIG_OF_PMEM=y
# CONFIG_RAMDAX is not set
CONFIG_NVDIMM_KEYS=y
# CONFIG_NVDIMM_SECURITY_TEST is not set
CONFIG_DAX=y
CONFIG_DEV_DAX=y
# CONFIG_DEV_DAX_PMEM is not set
# CONFIG_DEV_DAX_KMEM is not set
CONFIG_NVMEM=y
CONFIG_NVMEM_SYSFS=y
CONFIG_NVMEM_LAYOUTS=y

#
# Layout Types
#
# CONFIG_NVMEM_LAYOUT_SL28_VPD is not set
# CONFIG_NVMEM_LAYOUT_ONIE_TLV is not set
# CONFIG_NVMEM_LAYOUT_U_BOOT_ENV is not set
# end of Layout Types

# CONFIG_NVMEM_RMEM is not set
# CONFIG_NVMEM_U_BOOT_ENV is not set

#
# HW tracing support
#
# CONFIG_STM is not set
# CONFIG_INTEL_TH is not set
# end of HW tracing support

# CONFIG_FPGA is not set
# CONFIG_FSI is not set
CONFIG_TEE=y
CONFIG_TEE_DMABUF_HEAPS=y
CONFIG_OPTEE_STATIC_PROTMEM_POOL=y
# CONFIG_SIOX is not set
# CONFIG_SLIMBUS is not set
# CONFIG_INTERCONNECT is not set
CONFIG_COUNTER=y
# CONFIG_INTEL_QEP is not set
# CONFIG_INTERRUPT_CNT is not set
CONFIG_MOST=y
CONFIG_MOST_USB_HDM=y
# CONFIG_MOST_CDEV is not set
# CONFIG_MOST_SND is not set
# CONFIG_PECI is not set
# CONFIG_HTE is not set
# end of Device Drivers

#
# File systems
#
CONFIG_DCACHE_WORD_ACCESS=y
CONFIG_VALIDATE_FS_PARSER=y
CONFIG_FS_IOMAP=y
CONFIG_FS_STACK=y
CONFIG_BUFFER_HEAD=y
CONFIG_LEGACY_DIRECT_IO=y
# CONFIG_EXT2_FS is not set
CONFIG_EXT4_FS=y
CONFIG_EXT4_USE_FOR_EXT2=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
# CONFIG_EXT4_DEBUG is not set
CONFIG_JBD2=y
# CONFIG_JBD2_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_JFS_FS=y
CONFIG_JFS_POSIX_ACL=y
CONFIG_JFS_SECURITY=y
CONFIG_JFS_DEBUG=y
# CONFIG_JFS_STATISTICS is not set
CONFIG_XFS_FS=y
# CONFIG_XFS_SUPPORT_V4 is not set
# CONFIG_XFS_SUPPORT_ASCII_CI is not set
CONFIG_XFS_QUOTA=y
CONFIG_XFS_POSIX_ACL=y
CONFIG_XFS_RT=y
# CONFIG_XFS_ONLINE_SCRUB is not set
# CONFIG_XFS_WARN is not set
# CONFIG_XFS_DEBUG is not set
CONFIG_GFS2_FS=y
CONFIG_GFS2_FS_LOCKING_DLM=y
CONFIG_OCFS2_FS=y
CONFIG_OCFS2_FS_O2CB=y
CONFIG_OCFS2_FS_USERSPACE_CLUSTER=y
CONFIG_OCFS2_FS_STATS=y
# CONFIG_OCFS2_DEBUG_MASKLOG is not set
CONFIG_OCFS2_DEBUG_FS=y
CONFIG_BTRFS_FS=y
CONFIG_BTRFS_FS_POSIX_ACL=y
# CONFIG_BTRFS_FS_RUN_SANITY_TESTS is not set
# CONFIG_BTRFS_DEBUG is not set
CONFIG_BTRFS_ASSERT=y
# CONFIG_BTRFS_EXPERIMENTAL is not set
CONFIG_NILFS2_FS=y
CONFIG_F2FS_FS=y
CONFIG_F2FS_STAT_FS=y
CONFIG_F2FS_FS_XATTR=y
CONFIG_F2FS_FS_POSIX_ACL=y
CONFIG_F2FS_FS_SECURITY=y
CONFIG_F2FS_CHECK_FS=y
CONFIG_F2FS_FAULT_INJECTION=y
CONFIG_F2FS_FS_COMPRESSION=y
CONFIG_F2FS_FS_LZO=y
CONFIG_F2FS_FS_LZORLE=y
CONFIG_F2FS_FS_LZ4=y
CONFIG_F2FS_FS_LZ4HC=y
CONFIG_F2FS_FS_ZSTD=y
# CONFIG_F2FS_IOSTAT is not set
# CONFIG_F2FS_UNFAIR_RWSEM is not set
CONFIG_ZONEFS_FS=y
CONFIG_FS_DAX=y
CONFIG_FS_DAX_PMD=y
CONFIG_FS_POSIX_ACL=y
CONFIG_EXPORTFS=y
CONFIG_EXPORTFS_BLOCK_OPS=y
CONFIG_FILE_LOCKING=y
CONFIG_FS_ENCRYPTION=y
CONFIG_FS_ENCRYPTION_ALGS=y
# CONFIG_FS_ENCRYPTION_INLINE_CRYPT is not set
CONFIG_FS_VERITY=y
CONFIG_FS_VERITY_BUILTIN_SIGNATURES=y
CONFIG_FSNOTIFY=y
CONFIG_DNOTIFY=y
CONFIG_INOTIFY_USER=y
CONFIG_FANOTIFY=y
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
CONFIG_QUOTA=y
CONFIG_QUOTA_NETLINK_INTERFACE=y
# CONFIG_QUOTA_DEBUG is not set
CONFIG_QUOTA_TREE=y
# CONFIG_QFMT_V1 is not set
CONFIG_QFMT_V2=y
CONFIG_QUOTACTL=y
CONFIG_AUTOFS_FS=y
CONFIG_FUSE_FS=y
CONFIG_CUSE=y
CONFIG_VIRTIO_FS=y
CONFIG_FUSE_DAX=y
# CONFIG_FUSE_PASSTHROUGH is not set
# CONFIG_FUSE_IO_URING is not set
CONFIG_OVERLAY_FS=y
CONFIG_OVERLAY_FS_REDIRECT_DIR=y
CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW=y
CONFIG_OVERLAY_FS_INDEX=y
# CONFIG_OVERLAY_FS_NFS_EXPORT is not set
# CONFIG_OVERLAY_FS_XINO_AUTO is not set
# CONFIG_OVERLAY_FS_METACOPY is not set
CONFIG_OVERLAY_FS_DEBUG=y

#
# Caches
#
CONFIG_NETFS_SUPPORT=y
# CONFIG_NETFS_STATS is not set
# CONFIG_NETFS_DEBUG is not set
CONFIG_FSCACHE=y
# CONFIG_FSCACHE_STATS is not set
CONFIG_CACHEFILES=y
# CONFIG_CACHEFILES_DEBUG is not set
# CONFIG_CACHEFILES_ERROR_INJECTION is not set
# CONFIG_CACHEFILES_ONDEMAND is not set
# end of Caches

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_UDF_FS=y
# end of CD-ROM/DVD Filesystems

#
# DOS/FAT/EXFAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_FAT_DEFAULT_UTF8 is not set
CONFIG_EXFAT_FS=y
CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8"
CONFIG_NTFS3_FS=y
# CONFIG_NTFS3_64BIT_CLUSTER is not set
CONFIG_NTFS3_LZX_XPRESS=y
CONFIG_NTFS3_FS_POSIX_ACL=y
# CONFIG_NTFS_FS is not set
# end of DOS/FAT/EXFAT/NT Filesystems

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_PROC_VMCORE=y
# CONFIG_PROC_VMCORE_DEVICE_DUMP is not set
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_PROC_CHILDREN=y
CONFIG_PROC_PID_ARCH_STATUS=y
CONFIG_KERNFS=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y
# CONFIG_TMPFS_INODE64 is not set
CONFIG_TMPFS_QUOTA=y
CONFIG_ARCH_SUPPORTS_HUGETLBFS=y
CONFIG_HUGETLBFS=y
# CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP_DEFAULT_ON is not set
CONFIG_HUGETLB_PAGE=y
CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP=y
CONFIG_HUGETLB_PMD_PAGE_TABLE_SHARING=y
CONFIG_ARCH_HAS_GIGANTIC_PAGE=y
CONFIG_CONFIGFS_FS=y
# end of Pseudo filesystems

CONFIG_MISC_FILESYSTEMS=y
CONFIG_ORANGEFS_FS=y
CONFIG_ADFS_FS=y
# CONFIG_ADFS_FS_RW is not set
CONFIG_AFFS_FS=y
CONFIG_ECRYPT_FS=y
CONFIG_ECRYPT_FS_MESSAGING=y
CONFIG_HFS_FS=y
CONFIG_HFSPLUS_FS=y
CONFIG_BEFS_FS=y
# CONFIG_BEFS_DEBUG is not set
CONFIG_BFS_FS=y
CONFIG_EFS_FS=y
CONFIG_JFFS2_FS=y
CONFIG_JFFS2_FS_DEBUG=0
CONFIG_JFFS2_FS_WRITEBUFFER=y
# CONFIG_JFFS2_FS_WBUF_VERIFY is not set
CONFIG_JFFS2_SUMMARY=y
CONFIG_JFFS2_FS_XATTR=y
CONFIG_JFFS2_FS_POSIX_ACL=y
CONFIG_JFFS2_FS_SECURITY=y
CONFIG_JFFS2_COMPRESSION_OPTIONS=y
CONFIG_JFFS2_ZLIB=y
CONFIG_JFFS2_LZO=y
CONFIG_JFFS2_RTIME=y
CONFIG_JFFS2_RUBIN=y
# CONFIG_JFFS2_CMODE_NONE is not set
CONFIG_JFFS2_CMODE_PRIORITY=y
# CONFIG_JFFS2_CMODE_SIZE is not set
# CONFIG_JFFS2_CMODE_FAVOURLZO is not set
CONFIG_UBIFS_FS=y
CONFIG_UBIFS_FS_ADVANCED_COMPR=y
CONFIG_UBIFS_FS_LZO=y
CONFIG_UBIFS_FS_ZLIB=y
CONFIG_UBIFS_FS_ZSTD=y
CONFIG_UBIFS_ATIME_SUPPORT=y
CONFIG_UBIFS_FS_XATTR=y
CONFIG_UBIFS_FS_SECURITY=y
# CONFIG_UBIFS_FS_AUTHENTICATION is not set
CONFIG_CRAMFS=y
CONFIG_CRAMFS_BLOCKDEV=y
CONFIG_CRAMFS_MTD=y
CONFIG_SQUASHFS=y
# CONFIG_SQUASHFS_FILE_CACHE is not set
CONFIG_SQUASHFS_FILE_DIRECT=y
CONFIG_SQUASHFS_DECOMP_MULTI=y
# CONFIG_SQUASHFS_CHOICE_DECOMP_BY_MOUNT is not set
# CONFIG_SQUASHFS_COMPILE_DECOMP_SINGLE is not set
CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI=y
# CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI_PERCPU is not set
# CONFIG_SQUASHFS_MOUNT_DECOMP_THREADS is not set
CONFIG_SQUASHFS_XATTR=y
# CONFIG_SQUASHFS_COMP_CACHE_FULL is not set
CONFIG_SQUASHFS_ZLIB=y
CONFIG_SQUASHFS_LZ4=y
CONFIG_SQUASHFS_LZO=y
CONFIG_SQUASHFS_XZ=y
CONFIG_SQUASHFS_ZSTD=y
CONFIG_SQUASHFS_4K_DEVBLK_SIZE=y
# CONFIG_SQUASHFS_EMBEDDED is not set
CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
CONFIG_VXFS_FS=y
CONFIG_MINIX_FS=y
CONFIG_OMFS_FS=y
CONFIG_HPFS_FS=y
CONFIG_QNX4FS_FS=y
CONFIG_QNX6FS_FS=y
# CONFIG_QNX6FS_DEBUG is not set
CONFIG_ROMFS_FS=y
# CONFIG_ROMFS_BACKED_BY_BLOCK is not set
# CONFIG_ROMFS_BACKED_BY_MTD is not set
CONFIG_ROMFS_BACKED_BY_BOTH=y
CONFIG_ROMFS_ON_BLOCK=y
CONFIG_ROMFS_ON_MTD=y
CONFIG_PSTORE=y
CONFIG_PSTORE_DEFAULT_KMSG_BYTES=10240
CONFIG_PSTORE_COMPRESS=y
# CONFIG_PSTORE_CONSOLE is not set
# CONFIG_PSTORE_PMSG is not set
# CONFIG_PSTORE_RAM is not set
# CONFIG_PSTORE_BLK is not set
CONFIG_UFS_FS=y
CONFIG_UFS_FS_WRITE=y
# CONFIG_UFS_DEBUG is not set
CONFIG_EROFS_FS=y
# CONFIG_EROFS_FS_DEBUG is not set
CONFIG_EROFS_FS_XATTR=y
CONFIG_EROFS_FS_POSIX_ACL=y
CONFIG_EROFS_FS_SECURITY=y
# CONFIG_EROFS_FS_BACKED_BY_FILE is not set
CONFIG_EROFS_FS_ZIP=y
# CONFIG_EROFS_FS_ZIP_LZMA is not set
# CONFIG_EROFS_FS_ZIP_DEFLATE is not set
# CONFIG_EROFS_FS_ZIP_ZSTD is not set
# CONFIG_EROFS_FS_ZIP_ACCEL is not set
# CONFIG_EROFS_FS_ONDEMAND is not set
# CONFIG_EROFS_FS_PCPU_KTHREAD is not set
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=y
# CONFIG_NFS_V2 is not set
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
# CONFIG_NFS_SWAP is not set
CONFIG_NFS_V4_1=y
CONFIG_NFS_V4_2=y
CONFIG_PNFS_FILE_LAYOUT=y
CONFIG_PNFS_BLOCK=y
CONFIG_PNFS_FLEXFILE_LAYOUT=y
CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org"
# CONFIG_NFS_V4_1_MIGRATION is not set
CONFIG_NFS_V4_SECURITY_LABEL=y
CONFIG_ROOT_NFS=y
CONFIG_NFS_FSCACHE=y
# CONFIG_NFS_USE_LEGACY_DNS is not set
CONFIG_NFS_USE_KERNEL_DNS=y
# CONFIG_NFS_DISABLE_UDP_SUPPORT is not set
CONFIG_NFS_V4_2_READ_PLUS=y
CONFIG_NFSD=y
# CONFIG_NFSD_V2 is not set
CONFIG_NFSD_V3_ACL=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_PNFS=y
CONFIG_NFSD_BLOCKLAYOUT=y
CONFIG_NFSD_SCSILAYOUT=y
CONFIG_NFSD_FLEXFILELAYOUT=y
CONFIG_NFSD_V4_2_INTER_SSC=y
CONFIG_NFSD_V4_SECURITY_LABEL=y
# CONFIG_NFSD_LEGACY_CLIENT_TRACKING is not set
# CONFIG_NFSD_V4_DELEG_TIMESTAMPS is not set
CONFIG_GRACE_PERIOD=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y
# CONFIG_NFS_LOCALIO is not set
CONFIG_NFS_V4_2_SSC_HELPER=y
CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y
CONFIG_SUNRPC_BACKCHANNEL=y
CONFIG_RPCSEC_GSS_KRB5=y
# CONFIG_RPCSEC_GSS_KRB5_ENCTYPES_AES_SHA1 is not set
# CONFIG_RPCSEC_GSS_KRB5_ENCTYPES_CAMELLIA is not set
# CONFIG_RPCSEC_GSS_KRB5_ENCTYPES_AES_SHA2 is not set
# CONFIG_SUNRPC_DEBUG is not set
# CONFIG_SUNRPC_XPRT_RDMA is not set
CONFIG_CEPH_FS=y
CONFIG_CEPH_FSCACHE=y
CONFIG_CEPH_FS_POSIX_ACL=y
# CONFIG_CEPH_FS_SECURITY_LABEL is not set
CONFIG_CIFS=y
# CONFIG_CIFS_STATS2 is not set
CONFIG_CIFS_ALLOW_INSECURE_LEGACY=y
CONFIG_CIFS_UPCALL=y
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
CONFIG_CIFS_DEBUG=y
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_CIFS_DEBUG_DUMP_KEYS is not set
CONFIG_CIFS_DFS_UPCALL=y
CONFIG_CIFS_SWN_UPCALL=y
CONFIG_CIFS_SMB_DIRECT=y
CONFIG_CIFS_FSCACHE=y
# CONFIG_CIFS_ROOT is not set
# CONFIG_CIFS_COMPRESSION is not set
CONFIG_SMB_SERVER=y
# CONFIG_SMB_SERVER_SMBDIRECT is not set
# CONFIG_SMB_SERVER_CHECK_CAP_NET_ADMIN is not set
# CONFIG_SMB_SERVER_KERBEROS5 is not set
CONFIG_SMBFS=y
# CONFIG_CODA_FS is not set
CONFIG_AFS_FS=y
# CONFIG_AFS_DEBUG is not set
CONFIG_AFS_FSCACHE=y
# CONFIG_AFS_DEBUG_CURSOR is not set
CONFIG_9P_FS=y
CONFIG_9P_FSCACHE=y
CONFIG_9P_FS_POSIX_ACL=y
CONFIG_9P_FS_SECURITY=y
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="utf8"
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_CODEPAGE_737=y
CONFIG_NLS_CODEPAGE_775=y
CONFIG_NLS_CODEPAGE_850=y
CONFIG_NLS_CODEPAGE_852=y
CONFIG_NLS_CODEPAGE_855=y
CONFIG_NLS_CODEPAGE_857=y
CONFIG_NLS_CODEPAGE_860=y
CONFIG_NLS_CODEPAGE_861=y
CONFIG_NLS_CODEPAGE_862=y
CONFIG_NLS_CODEPAGE_863=y
CONFIG_NLS_CODEPAGE_864=y
CONFIG_NLS_CODEPAGE_865=y
CONFIG_NLS_CODEPAGE_866=y
CONFIG_NLS_CODEPAGE_869=y
CONFIG_NLS_CODEPAGE_936=y
CONFIG_NLS_CODEPAGE_950=y
CONFIG_NLS_CODEPAGE_932=y
CONFIG_NLS_CODEPAGE_949=y
CONFIG_NLS_CODEPAGE_874=y
CONFIG_NLS_ISO8859_8=y
CONFIG_NLS_CODEPAGE_1250=y
CONFIG_NLS_CODEPAGE_1251=y
CONFIG_NLS_ASCII=y
CONFIG_NLS_ISO8859_1=y
CONFIG_NLS_ISO8859_2=y
CONFIG_NLS_ISO8859_3=y
CONFIG_NLS_ISO8859_4=y
CONFIG_NLS_ISO8859_5=y
CONFIG_NLS_ISO8859_6=y
CONFIG_NLS_ISO8859_7=y
CONFIG_NLS_ISO8859_9=y
CONFIG_NLS_ISO8859_13=y
CONFIG_NLS_ISO8859_14=y
CONFIG_NLS_ISO8859_15=y
CONFIG_NLS_KOI8_R=y
CONFIG_NLS_KOI8_U=y
CONFIG_NLS_MAC_ROMAN=y
CONFIG_NLS_MAC_CELTIC=y
CONFIG_NLS_MAC_CENTEURO=y
CONFIG_NLS_MAC_CROATIAN=y
CONFIG_NLS_MAC_CYRILLIC=y
CONFIG_NLS_MAC_GAELIC=y
CONFIG_NLS_MAC_GREEK=y
CONFIG_NLS_MAC_ICELAND=y
CONFIG_NLS_MAC_INUIT=y
CONFIG_NLS_MAC_ROMANIAN=y
CONFIG_NLS_MAC_TURKISH=y
CONFIG_NLS_UTF8=y
CONFIG_NLS_UCS2_UTILS=y
CONFIG_DLM=y
# CONFIG_DLM_DEBUG is not set
CONFIG_UNICODE=y
CONFIG_IO_WQ=y
# end of File systems

#
# Security options
#
CONFIG_KEYS=y
CONFIG_KEYS_REQUEST_CACHE=y
CONFIG_PERSISTENT_KEYRINGS=y
CONFIG_BIG_KEYS=y
CONFIG_TRUSTED_KEYS=y
# CONFIG_TRUSTED_KEYS_TPM is not set
# CONFIG_TRUSTED_KEYS_TEE is not set

#
# No trust source selected!
#
CONFIG_ENCRYPTED_KEYS=y
# CONFIG_USER_DECRYPTED_DATA is not set
CONFIG_KEY_DH_OPERATIONS=y
CONFIG_KEY_NOTIFICATIONS=y
# CONFIG_SECURITY_DMESG_RESTRICT is not set
CONFIG_PROC_MEM_ALWAYS_FORCE=y
# CONFIG_PROC_MEM_FORCE_PTRACE is not set
# CONFIG_PROC_MEM_NO_FORCE is not set
CONFIG_SECURITY=y
CONFIG_HAS_SECURITY_AUDIT=y
CONFIG_SECURITYFS=y
CONFIG_SECURITY_NETWORK=y
CONFIG_SECURITY_INFINIBAND=y
CONFIG_SECURITY_NETWORK_XFRM=y
CONFIG_SECURITY_PATH=y
# CONFIG_INTEL_TXT is not set
CONFIG_LSM_MMAP_MIN_ADDR=65536
# CONFIG_STATIC_USERMODEHELPER is not set
CONFIG_SECURITY_SELINUX=y
CONFIG_SECURITY_SELINUX_BOOTPARAM=y
CONFIG_SECURITY_SELINUX_DEVELOP=y
CONFIG_SECURITY_SELINUX_AVC_STATS=y
CONFIG_SECURITY_SELINUX_SIDTAB_HASH_BITS=9
CONFIG_SECURITY_SELINUX_SID2STR_CACHE_SIZE=256
CONFIG_SECURITY_SELINUX_AVC_HASH_BITS=9
# CONFIG_SECURITY_SELINUX_DEBUG is not set
# CONFIG_SECURITY_SMACK is not set
CONFIG_SECURITY_TOMOYO=y
CONFIG_SECURITY_TOMOYO_MAX_ACCEPT_ENTRY=64
CONFIG_SECURITY_TOMOYO_MAX_AUDIT_LOG=32
CONFIG_SECURITY_TOMOYO_OMIT_USERSPACE_LOADER=y
CONFIG_SECURITY_TOMOYO_INSECURE_BUILTIN_SETTING=y
# CONFIG_SECURITY_APPARMOR is not set
# CONFIG_SECURITY_LOADPIN is not set
CONFIG_SECURITY_YAMA=y
CONFIG_SECURITY_SAFESETID=y
CONFIG_SECURITY_LOCKDOWN_LSM=y
CONFIG_SECURITY_LOCKDOWN_LSM_EARLY=y
CONFIG_LOCK_DOWN_KERNEL_FORCE_NONE=y
# CONFIG_LOCK_DOWN_KERNEL_FORCE_INTEGRITY is not set
# CONFIG_LOCK_DOWN_KERNEL_FORCE_CONFIDENTIALITY is not set
CONFIG_SECURITY_LANDLOCK=y
# CONFIG_SECURITY_IPE is not set
CONFIG_INTEGRITY=y
CONFIG_INTEGRITY_SIGNATURE=y
CONFIG_INTEGRITY_ASYMMETRIC_KEYS=y
CONFIG_INTEGRITY_TRUSTED_KEYRING=y
CONFIG_INTEGRITY_AUDIT=y
CONFIG_IMA=y
CONFIG_IMA_MEASURE_PCR_IDX=10
CONFIG_IMA_LSM_RULES=y
CONFIG_IMA_NG_TEMPLATE=y
# CONFIG_IMA_SIG_TEMPLATE is not set
CONFIG_IMA_DEFAULT_TEMPLATE="ima-ng"
# CONFIG_IMA_DEFAULT_HASH_SHA1 is not set
CONFIG_IMA_DEFAULT_HASH_SHA256=y
# CONFIG_IMA_DEFAULT_HASH_SHA512 is not set
# CONFIG_IMA_DEFAULT_HASH_WP512 is not set
CONFIG_IMA_DEFAULT_HASH="sha256"
CONFIG_IMA_WRITE_POLICY=y
CONFIG_IMA_READ_POLICY=y
CONFIG_IMA_APPRAISE=y
# CONFIG_IMA_ARCH_POLICY is not set
# CONFIG_IMA_APPRAISE_BUILD_POLICY is not set
# CONFIG_IMA_APPRAISE_BOOTPARAM is not set
CONFIG_IMA_APPRAISE_MODSIG=y
# CONFIG_IMA_KEYRINGS_PERMIT_SIGNED_BY_BUILTIN_OR_SECONDARY is not set
# CONFIG_IMA_BLACKLIST_KEYRING is not set
# CONFIG_IMA_LOAD_X509 is not set
CONFIG_IMA_MEASURE_ASYMMETRIC_KEYS=y
CONFIG_IMA_QUEUE_EARLY_BOOT_KEYS=y
# CONFIG_IMA_DISABLE_HTABLE is not set
CONFIG_EVM=y
CONFIG_EVM_ATTR_FSUUID=y
CONFIG_EVM_ADD_XATTRS=y
# CONFIG_EVM_LOAD_X509 is not set
CONFIG_DEFAULT_SECURITY_SELINUX=y
# CONFIG_DEFAULT_SECURITY_TOMOYO is not set
# CONFIG_DEFAULT_SECURITY_DAC is not set
CONFIG_LSM="landlock,lockdown,yama,safesetid,integrity,tomoyo,selinux,bpf"

#
# Kernel hardening options
#

#
# Memory initialization
#
CONFIG_CC_HAS_AUTO_VAR_INIT_PATTERN=y
CONFIG_CC_HAS_AUTO_VAR_INIT_ZERO_BARE=y
CONFIG_CC_HAS_AUTO_VAR_INIT_ZERO=y
# CONFIG_INIT_STACK_NONE is not set
# CONFIG_INIT_STACK_ALL_PATTERN is not set
CONFIG_INIT_STACK_ALL_ZERO=y
CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y
# CONFIG_INIT_ON_FREE_DEFAULT_ON is not set
CONFIG_CC_HAS_ZERO_CALL_USED_REGS=y
# CONFIG_ZERO_CALL_USED_REGS is not set
# end of Memory initialization

#
# Bounds checking
#
CONFIG_FORTIFY_SOURCE=y
CONFIG_HARDENED_USERCOPY=y
# CONFIG_HARDENED_USERCOPY_DEFAULT_ON is not set
# end of Bounds checking

#
# Hardening of kernel data structures
#
CONFIG_LIST_HARDENED=y
CONFIG_BUG_ON_DATA_CORRUPTION=y
# end of Hardening of kernel data structures

CONFIG_RANDSTRUCT_NONE=y
# end of Kernel hardening options
# end of Security options

CONFIG_XOR_BLOCKS=y
CONFIG_ASYNC_CORE=y
CONFIG_ASYNC_MEMCPY=y
CONFIG_ASYNC_XOR=y
CONFIG_ASYNC_PQ=y
CONFIG_ASYNC_RAID6_RECOV=y
CONFIG_CRYPTO=y

#
# Crypto core or helper
#
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_AEAD=y
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_SIG=y
CONFIG_CRYPTO_SIG2=y
CONFIG_CRYPTO_SKCIPHER=y
CONFIG_CRYPTO_SKCIPHER2=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_HASH2=y
CONFIG_CRYPTO_RNG=y
CONFIG_CRYPTO_RNG2=y
CONFIG_CRYPTO_RNG_DEFAULT=y
CONFIG_CRYPTO_AKCIPHER2=y
CONFIG_CRYPTO_AKCIPHER=y
CONFIG_CRYPTO_KPP2=y
CONFIG_CRYPTO_KPP=y
CONFIG_CRYPTO_ACOMP2=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_MANAGER2=y
CONFIG_CRYPTO_USER=y
# CONFIG_CRYPTO_SELFTESTS is not set
# CONFIG_CRYPTO_NULL is not set
CONFIG_CRYPTO_PCRYPT=y
CONFIG_CRYPTO_CRYPTD=y
CONFIG_CRYPTO_AUTHENC=y
CONFIG_CRYPTO_KRB5ENC=y
# CONFIG_CRYPTO_BENCHMARK is not set
CONFIG_CRYPTO_ENGINE=y
# end of Crypto core or helper

#
# Public-key cryptography
#
CONFIG_CRYPTO_RSA=y
CONFIG_CRYPTO_DH=y
# CONFIG_CRYPTO_DH_RFC7919_GROUPS is not set
CONFIG_CRYPTO_ECC=y
CONFIG_CRYPTO_ECDH=y
# CONFIG_CRYPTO_ECDSA is not set
CONFIG_CRYPTO_ECRDSA=y
# end of Public-key cryptography

#
# Block ciphers
#
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_AES_TI=y
CONFIG_CRYPTO_ANUBIS=y
CONFIG_CRYPTO_ARIA=y
CONFIG_CRYPTO_BLOWFISH=y
CONFIG_CRYPTO_BLOWFISH_COMMON=y
CONFIG_CRYPTO_CAMELLIA=y
CONFIG_CRYPTO_CAST_COMMON=y
CONFIG_CRYPTO_CAST5=y
CONFIG_CRYPTO_CAST6=y
CONFIG_CRYPTO_DES=y
CONFIG_CRYPTO_FCRYPT=y
CONFIG_CRYPTO_KHAZAD=y
CONFIG_CRYPTO_SEED=y
CONFIG_CRYPTO_SERPENT=y
CONFIG_CRYPTO_SM4=y
CONFIG_CRYPTO_SM4_GENERIC=y
CONFIG_CRYPTO_TEA=y
CONFIG_CRYPTO_TWOFISH=y
CONFIG_CRYPTO_TWOFISH_COMMON=y
# end of Block ciphers

#
# Length-preserving ciphers and modes
#
CONFIG_CRYPTO_ADIANTUM=y
CONFIG_CRYPTO_ARC4=y
CONFIG_CRYPTO_CHACHA20=y
CONFIG_CRYPTO_CBC=y
CONFIG_CRYPTO_CTR=y
CONFIG_CRYPTO_CTS=y
CONFIG_CRYPTO_ECB=y
CONFIG_CRYPTO_HCTR2=y
CONFIG_CRYPTO_LRW=y
CONFIG_CRYPTO_PCBC=y
CONFIG_CRYPTO_XCTR=y
CONFIG_CRYPTO_XTS=y
CONFIG_CRYPTO_NHPOLY1305=y
# end of Length-preserving ciphers and modes

#
# AEAD (authenticated encryption with associated data) ciphers
#
CONFIG_CRYPTO_AEGIS128=y
CONFIG_CRYPTO_CHACHA20POLY1305=y
CONFIG_CRYPTO_CCM=y
CONFIG_CRYPTO_GCM=y
CONFIG_CRYPTO_GENIV=y
CONFIG_CRYPTO_SEQIV=y
CONFIG_CRYPTO_ECHAINIV=y
CONFIG_CRYPTO_ESSIV=y
# end of AEAD (authenticated encryption with associated data) ciphers

#
# Hashes, digests, and MACs
#
CONFIG_CRYPTO_BLAKE2B=y
CONFIG_CRYPTO_CMAC=y
CONFIG_CRYPTO_GHASH=y
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_MD4 is not set
# CONFIG_CRYPTO_MD5 is not set
CONFIG_CRYPTO_MICHAEL_MIC=y
CONFIG_CRYPTO_RMD160=y
CONFIG_CRYPTO_SHA1=y
CONFIG_CRYPTO_SHA256=y
CONFIG_CRYPTO_SHA512=y
CONFIG_CRYPTO_SHA3=y
# CONFIG_CRYPTO_SM3_GENERIC is not set
CONFIG_CRYPTO_STREEBOG=y
CONFIG_CRYPTO_WP512=y
CONFIG_CRYPTO_XCBC=y
CONFIG_CRYPTO_XXHASH=y
# end of Hashes, digests, and MACs

#
# CRCs (cyclic redundancy checks)
#
CONFIG_CRYPTO_CRC32C=y
# CONFIG_CRYPTO_CRC32 is not set
# end of CRCs (cyclic redundancy checks)

#
# Compression
#
CONFIG_CRYPTO_DEFLATE=y
CONFIG_CRYPTO_LZO=y
CONFIG_CRYPTO_842=y
CONFIG_CRYPTO_LZ4=y
CONFIG_CRYPTO_LZ4HC=y
CONFIG_CRYPTO_ZSTD=y
# end of Compression

#
# Random number generation
#
CONFIG_CRYPTO_DRBG_MENU=y
CONFIG_CRYPTO_DRBG_HMAC=y
CONFIG_CRYPTO_DRBG_HASH=y
CONFIG_CRYPTO_DRBG_CTR=y
CONFIG_CRYPTO_DRBG=y
CONFIG_CRYPTO_JITTERENTROPY=y
CONFIG_CRYPTO_JITTERENTROPY_MEMORY_BLOCKS=64
CONFIG_CRYPTO_JITTERENTROPY_MEMORY_BLOCKSIZE=32
CONFIG_CRYPTO_JITTERENTROPY_OSR=1
CONFIG_CRYPTO_KDF800108_CTR=y
CONFIG_CRYPTO_DF80090A=y
# end of Random number generation

#
# Userspace interface
#
CONFIG_CRYPTO_USER_API=y
CONFIG_CRYPTO_USER_API_HASH=y
CONFIG_CRYPTO_USER_API_SKCIPHER=y
CONFIG_CRYPTO_USER_API_RNG=y
# CONFIG_CRYPTO_USER_API_RNG_CAVP is not set
CONFIG_CRYPTO_USER_API_AEAD=y
CONFIG_CRYPTO_USER_API_ENABLE_OBSOLETE=y
# end of Userspace interface

#
# Accelerated Cryptographic Algorithms for CPU (x86)
#
CONFIG_CRYPTO_AES_NI_INTEL=y
CONFIG_CRYPTO_BLOWFISH_X86_64=y
CONFIG_CRYPTO_CAMELLIA_X86_64=y
CONFIG_CRYPTO_CAMELLIA_AESNI_AVX_X86_64=y
CONFIG_CRYPTO_CAMELLIA_AESNI_AVX2_X86_64=y
CONFIG_CRYPTO_CAST5_AVX_X86_64=y
CONFIG_CRYPTO_CAST6_AVX_X86_64=y
CONFIG_CRYPTO_DES3_EDE_X86_64=y
CONFIG_CRYPTO_SERPENT_SSE2_X86_64=y
CONFIG_CRYPTO_SERPENT_AVX_X86_64=y
CONFIG_CRYPTO_SERPENT_AVX2_X86_64=y
CONFIG_CRYPTO_SM4_AESNI_AVX_X86_64=y
CONFIG_CRYPTO_SM4_AESNI_AVX2_X86_64=y
CONFIG_CRYPTO_TWOFISH_X86_64=y
CONFIG_CRYPTO_TWOFISH_X86_64_3WAY=y
CONFIG_CRYPTO_TWOFISH_AVX_X86_64=y
CONFIG_CRYPTO_ARIA_AESNI_AVX_X86_64=y
# CONFIG_CRYPTO_ARIA_AESNI_AVX2_X86_64 is not set
# CONFIG_CRYPTO_ARIA_GFNI_AVX512_X86_64 is not set
CONFIG_CRYPTO_AEGIS128_AESNI_SSE2=y
# CONFIG_CRYPTO_NHPOLY1305_SSE2 is not set
# CONFIG_CRYPTO_NHPOLY1305_AVX2 is not set
CONFIG_CRYPTO_SM3_AVX_X86_64=y
CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL=y
# end of Accelerated Cryptographic Algorithms for CPU (x86)

CONFIG_CRYPTO_HW=y
CONFIG_CRYPTO_DEV_PADLOCK=y
CONFIG_CRYPTO_DEV_PADLOCK_AES=y
CONFIG_CRYPTO_DEV_PADLOCK_SHA=y
# CONFIG_CRYPTO_DEV_ATMEL_ECC is not set
# CONFIG_CRYPTO_DEV_ATMEL_SHA204A is not set
CONFIG_CRYPTO_DEV_CCP=y
CONFIG_CRYPTO_DEV_CCP_DD=y
# CONFIG_CRYPTO_DEV_SP_CCP is not set
# CONFIG_CRYPTO_DEV_SP_PSP is not set
# CONFIG_CRYPTO_DEV_NITROX_CNN55XX is not set
CONFIG_CRYPTO_DEV_QAT=y
CONFIG_CRYPTO_DEV_QAT_DH895xCC=y
CONFIG_CRYPTO_DEV_QAT_C3XXX=y
CONFIG_CRYPTO_DEV_QAT_C62X=y
# CONFIG_CRYPTO_DEV_QAT_4XXX is not set
# CONFIG_CRYPTO_DEV_QAT_420XX is not set
# CONFIG_CRYPTO_DEV_QAT_6XXX is not set
CONFIG_CRYPTO_DEV_QAT_DH895xCCVF=y
CONFIG_CRYPTO_DEV_QAT_C3XXXVF=y
CONFIG_CRYPTO_DEV_QAT_C62XVF=y
# CONFIG_CRYPTO_DEV_QAT_ERROR_INJECTION is not set
CONFIG_CRYPTO_DEV_VIRTIO=y
# CONFIG_CRYPTO_DEV_SAFEXCEL is not set
# CONFIG_CRYPTO_DEV_CCREE is not set
# CONFIG_CRYPTO_DEV_AMLOGIC_GXL is not set
CONFIG_ASYMMETRIC_KEY_TYPE=y
CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y
CONFIG_X509_CERTIFICATE_PARSER=y
CONFIG_PKCS8_PRIVATE_KEY_PARSER=y
CONFIG_PKCS7_MESSAGE_PARSER=y
CONFIG_PKCS7_TEST_KEY=y
CONFIG_SIGNED_PE_FILE_VERIFICATION=y
# CONFIG_FIPS_SIGNATURE_SELFTEST is not set

#
# Certificates for signature checking
#
CONFIG_MODULE_SIG_KEY="certs/signing_key.pem"
CONFIG_MODULE_SIG_KEY_TYPE_RSA=y
CONFIG_SYSTEM_TRUSTED_KEYRING=y
CONFIG_SYSTEM_TRUSTED_KEYS=""
# CONFIG_SYSTEM_EXTRA_CERTIFICATE is not set
CONFIG_SECONDARY_TRUSTED_KEYRING=y
# CONFIG_SECONDARY_TRUSTED_KEYRING_SIGNED_BY_BUILTIN is not set
# CONFIG_SYSTEM_BLACKLIST_KEYRING is not set
# end of Certificates for signature checking

CONFIG_CRYPTO_KRB5=y
# CONFIG_CRYPTO_KRB5_SELFTESTS is not set
CONFIG_BINARY_PRINTF=y

#
# Library routines
#
CONFIG_RAID6_PQ=y
# CONFIG_RAID6_PQ_BENCHMARK is not set
CONFIG_LINEAR_RANGES=y
# CONFIG_PACKING is not set
CONFIG_BITREVERSE=y
CONFIG_GENERIC_STRNCPY_FROM_USER=y
CONFIG_GENERIC_STRNLEN_USER=y
CONFIG_GENERIC_NET_UTILS=y
# CONFIG_CORDIC is not set
# CONFIG_PRIME_NUMBERS is not set
CONFIG_RATIONAL=y
CONFIG_GENERIC_IOMAP=y
CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y
CONFIG_ARCH_HAS_FAST_MULTIPLIER=y
CONFIG_ARCH_USE_SYM_ANNOTATIONS=y
CONFIG_CRC8=y
CONFIG_CRC16=y
CONFIG_CRC_CCITT=y
CONFIG_CRC_ITU_T=y
CONFIG_CRC_T10DIF=y
CONFIG_CRC_T10DIF_ARCH=y
CONFIG_CRC32=y
CONFIG_CRC32_ARCH=y
CONFIG_CRC64=y
CONFIG_CRC64_ARCH=y
CONFIG_CRC_OPTIMIZATIONS=y

#
# Crypto library routines
#
CONFIG_CRYPTO_HASH_INFO=y
CONFIG_CRYPTO_LIB_UTILS=y
CONFIG_CRYPTO_LIB_AES=y
CONFIG_CRYPTO_LIB_ARC4=y
CONFIG_CRYPTO_LIB_GF128MUL=y
CONFIG_CRYPTO_LIB_BLAKE2B=y
CONFIG_CRYPTO_LIB_BLAKE2S_ARCH=y
CONFIG_CRYPTO_LIB_CHACHA=y
CONFIG_CRYPTO_LIB_CHACHA_ARCH=y
CONFIG_CRYPTO_LIB_CURVE25519=y
CONFIG_CRYPTO_LIB_CURVE25519_ARCH=y
CONFIG_CRYPTO_LIB_CURVE25519_GENERIC=y
CONFIG_CRYPTO_LIB_DES=y
CONFIG_CRYPTO_LIB_MD5=y
CONFIG_CRYPTO_LIB_POLY1305=y
CONFIG_CRYPTO_LIB_POLY1305_ARCH=y
CONFIG_CRYPTO_LIB_POLY1305_GENERIC=y
CONFIG_CRYPTO_LIB_POLY1305_RSIZE=11
CONFIG_CRYPTO_LIB_POLYVAL=y
CONFIG_CRYPTO_LIB_POLYVAL_ARCH=y
CONFIG_CRYPTO_LIB_CHACHA20POLY1305=y
CONFIG_CRYPTO_LIB_SHA1=y
CONFIG_CRYPTO_LIB_SHA1_ARCH=y
CONFIG_CRYPTO_LIB_SHA256=y
CONFIG_CRYPTO_LIB_SHA256_ARCH=y
CONFIG_CRYPTO_LIB_SHA512=y
CONFIG_CRYPTO_LIB_SHA512_ARCH=y
CONFIG_CRYPTO_LIB_SHA3=y
CONFIG_CRYPTO_LIB_SM3=y
# end of Crypto library routines

CONFIG_XXHASH=y
# CONFIG_RANDOM32_SELFTEST is not set
CONFIG_842_COMPRESS=y
CONFIG_842_DECOMPRESS=y
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y
CONFIG_LZ4_COMPRESS=y
CONFIG_LZ4HC_COMPRESS=y
CONFIG_LZ4_DECOMPRESS=y
CONFIG_ZSTD_COMMON=y
CONFIG_ZSTD_COMPRESS=y
CONFIG_ZSTD_DECOMPRESS=y
CONFIG_XZ_DEC=y
CONFIG_XZ_DEC_X86=y
CONFIG_XZ_DEC_POWERPC=y
CONFIG_XZ_DEC_ARM=y
CONFIG_XZ_DEC_ARMTHUMB=y
CONFIG_XZ_DEC_ARM64=y
CONFIG_XZ_DEC_SPARC=y
CONFIG_XZ_DEC_RISCV=y
# CONFIG_XZ_DEC_MICROLZMA is not set
CONFIG_XZ_DEC_BCJ=y
# CONFIG_XZ_DEC_TEST is not set
CONFIG_DECOMPRESS_GZIP=y
CONFIG_DECOMPRESS_BZIP2=y
CONFIG_DECOMPRESS_LZMA=y
CONFIG_DECOMPRESS_XZ=y
CONFIG_DECOMPRESS_LZO=y
CONFIG_DECOMPRESS_LZ4=y
CONFIG_DECOMPRESS_ZSTD=y
CONFIG_GENERIC_ALLOCATOR=y
CONFIG_REED_SOLOMON=y
CONFIG_REED_SOLOMON_DEC8=y
CONFIG_TEXTSEARCH=y
CONFIG_TEXTSEARCH_KMP=y
CONFIG_TEXTSEARCH_BM=y
CONFIG_TEXTSEARCH_FSM=y
CONFIG_INTERVAL_TREE=y
CONFIG_INTERVAL_TREE_SPAN_ITER=y
CONFIG_XARRAY_MULTI=y
CONFIG_ASSOCIATIVE_ARRAY=y
CONFIG_CLOSURES=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_IOPORT_MAP=y
CONFIG_HAS_DMA=y
CONFIG_DMA_OPS_HELPERS=y
CONFIG_NEED_SG_DMA_FLAGS=y
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_DMA_DECLARE_COHERENT=y
CONFIG_SWIOTLB=y
# CONFIG_SWIOTLB_DYNAMIC is not set
CONFIG_DMA_NEED_SYNC=y
# CONFIG_DMA_RESTRICTED_POOL is not set
CONFIG_DMA_CMA=y
# CONFIG_DMA_NUMA_CMA is not set

#
# Default contiguous memory area size:
#
CONFIG_CMA_SIZE_MBYTES=0
CONFIG_CMA_SIZE_PERCENTAGE=0
# CONFIG_CMA_SIZE_SEL_MBYTES is not set
# CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set
# CONFIG_CMA_SIZE_SEL_MIN is not set
CONFIG_CMA_SIZE_SEL_MAX=y
CONFIG_CMA_ALIGNMENT=8
# CONFIG_DMA_API_DEBUG is not set
# CONFIG_DMA_MAP_BENCHMARK is not set
CONFIG_SGL_ALLOC=y
CONFIG_CHECK_SIGNATURE=y
# CONFIG_CPUMASK_OFFSTACK is not set
CONFIG_CPU_RMAP=y
CONFIG_DQL=y
CONFIG_GLOB=y
# CONFIG_GLOB_SELFTEST is not set
CONFIG_NLATTR=y
CONFIG_CLZ_TAB=y
CONFIG_IRQ_POLL=y
CONFIG_MPILIB=y
CONFIG_SIGNATURE=y
CONFIG_DIMLIB=y
CONFIG_LIBFDT=y
CONFIG_OID_REGISTRY=y
CONFIG_HAVE_GENERIC_VDSO=y
CONFIG_GENERIC_GETTIMEOFDAY=y
CONFIG_GENERIC_VDSO_OVERFLOW_PROTECT=y
CONFIG_VDSO_GETRANDOM=y
CONFIG_FONT_SUPPORT=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_SG_POOL=y
CONFIG_ARCH_HAS_PMEM_API=y
CONFIG_MEMREGION=y
CONFIG_ARCH_HAS_CPU_CACHE_INVALIDATE_MEMREGION=y
CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE=y
CONFIG_ARCH_HAS_COPY_MC=y
CONFIG_ARCH_STACKWALK=y
CONFIG_STACKDEPOT=y
CONFIG_STACKDEPOT_ALWAYS_INIT=y
CONFIG_STACKDEPOT_MAX_FRAMES=64
CONFIG_REF_TRACKER=y
CONFIG_SBITMAP=y
# CONFIG_LWQ_TEST is not set
# end of Library routines

CONFIG_FIRMWARE_TABLE=y
CONFIG_UNION_FIND=y

#
# Kernel hacking
#

#
# printk and dmesg options
#
CONFIG_PRINTK_TIME=y
CONFIG_PRINTK_CALLER=y
# CONFIG_STACKTRACE_BUILD_ID is not set
CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7
CONFIG_CONSOLE_LOGLEVEL_QUIET=4
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4
# CONFIG_BOOT_PRINTK_DELAY is not set
CONFIG_DYNAMIC_DEBUG=y
CONFIG_DYNAMIC_DEBUG_CORE=y
CONFIG_SYMBOLIC_ERRNAME=y
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_DEBUG_BUGVERBOSE_DETAILED=y
# end of printk and dmesg options

CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_MISC=y

#
# Compile-time checks and compiler options
#
CONFIG_DEBUG_INFO=y
CONFIG_AS_HAS_NON_CONST_ULEB128=y
# CONFIG_DEBUG_INFO_NONE is not set
# CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT is not set
CONFIG_DEBUG_INFO_DWARF4=y
# CONFIG_DEBUG_INFO_DWARF5 is not set
# CONFIG_DEBUG_INFO_REDUCED is not set
CONFIG_DEBUG_INFO_COMPRESSED_NONE=y
# CONFIG_DEBUG_INFO_COMPRESSED_ZLIB is not set
# CONFIG_DEBUG_INFO_COMPRESSED_ZSTD is not set
# CONFIG_DEBUG_INFO_SPLIT is not set
# CONFIG_DEBUG_INFO_BTF is not set
CONFIG_PAHOLE_HAS_SPLIT_BTF=y
CONFIG_PAHOLE_HAS_LANG_EXCLUDE=y
# CONFIG_GDB_SCRIPTS is not set
CONFIG_FRAME_WARN=2048
# CONFIG_STRIP_ASM_SYMS is not set
# CONFIG_READABLE_ASM is not set
# CONFIG_HEADERS_INSTALL is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set
CONFIG_SECTION_MISMATCH_WARN_ONLY=y
# CONFIG_DEBUG_FORCE_FUNCTION_ALIGN_64B is not set
CONFIG_OBJTOOL=y
# CONFIG_OBJTOOL_WERROR is not set
CONFIG_NOINSTR_VALIDATION=y
# CONFIG_VMLINUX_MAP is not set
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
# end of Compile-time checks and compiler options

#
# Generic Kernel Debugging Instruments
#
# CONFIG_MAGIC_SYSRQ is not set
CONFIG_DEBUG_FS=y
CONFIG_DEBUG_FS_ALLOW_ALL=y
# CONFIG_DEBUG_FS_ALLOW_NONE is not set
CONFIG_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not set
CONFIG_ARCH_HAS_UBSAN=y
CONFIG_UBSAN=y
# CONFIG_UBSAN_TRAP is not set
CONFIG_CC_HAS_UBSAN_BOUNDS_STRICT=y
CONFIG_UBSAN_BOUNDS=y
CONFIG_UBSAN_BOUNDS_STRICT=y
CONFIG_UBSAN_SHIFT=y
# CONFIG_UBSAN_DIV_ZERO is not set
# CONFIG_UBSAN_BOOL is not set
# CONFIG_UBSAN_ENUM is not set
# CONFIG_UBSAN_ALIGNMENT is not set
# CONFIG_TEST_UBSAN is not set
CONFIG_HAVE_ARCH_KCSAN=y
CONFIG_HAVE_KCSAN_COMPILER=y
# end of Generic Kernel Debugging Instruments

#
# Networking Debugging
#
CONFIG_NET_DEV_REFCNT_TRACKER=y
CONFIG_NET_NS_REFCNT_TRACKER=y
CONFIG_DEBUG_NET=y
# CONFIG_DEBUG_NET_SMALL_RTNL is not set
# end of Networking Debugging

#
# Memory Debugging
#
CONFIG_PAGE_EXTENSION=y
# CONFIG_DEBUG_PAGEALLOC is not set
CONFIG_SLUB_DEBUG=y
# CONFIG_SLUB_DEBUG_ON is not set
CONFIG_SLUB_RCU_DEBUG=y
CONFIG_PAGE_OWNER=y
CONFIG_PAGE_TABLE_CHECK=y
CONFIG_PAGE_TABLE_CHECK_ENFORCED=y
CONFIG_PAGE_POISONING=y
# CONFIG_DEBUG_PAGE_REF is not set
# CONFIG_DEBUG_RODATA_TEST is not set
CONFIG_ARCH_HAS_DEBUG_WX=y
CONFIG_DEBUG_WX=y
CONFIG_ARCH_HAS_PTDUMP=y
CONFIG_PTDUMP=y
CONFIG_PTDUMP_DEBUGFS=y
CONFIG_HAVE_DEBUG_KMEMLEAK=y
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_PER_VMA_LOCK_STATS is not set
CONFIG_DEBUG_OBJECTS=y
# CONFIG_DEBUG_OBJECTS_SELFTEST is not set
CONFIG_DEBUG_OBJECTS_FREE=y
CONFIG_DEBUG_OBJECTS_TIMERS=y
CONFIG_DEBUG_OBJECTS_WORK=y
CONFIG_DEBUG_OBJECTS_RCU_HEAD=y
CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER=y
CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1
# CONFIG_SHRINKER_DEBUG is not set
CONFIG_DEBUG_STACK_USAGE=y
CONFIG_SCHED_STACK_END_CHECK=y
CONFIG_ARCH_HAS_DEBUG_VM_PGTABLE=y
CONFIG_DEBUG_VFS=y
CONFIG_DEBUG_VM_IRQSOFF=y
CONFIG_DEBUG_VM=y
CONFIG_DEBUG_VM_MAPLE_TREE=y
CONFIG_DEBUG_VM_RB=y
CONFIG_DEBUG_VM_PGFLAGS=y
CONFIG_DEBUG_VM_PGTABLE=y
CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y
CONFIG_DEBUG_VIRTUAL=y
CONFIG_DEBUG_MEMORY_INIT=y
CONFIG_DEBUG_PER_CPU_MAPS=y
CONFIG_DEBUG_KMAP_LOCAL=y
CONFIG_ARCH_SUPPORTS_KMAP_LOCAL_FORCE_MAP=y
CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP=y
# CONFIG_MEM_ALLOC_PROFILING is not set
CONFIG_HAVE_ARCH_KASAN=y
CONFIG_HAVE_ARCH_KASAN_VMALLOC=y
CONFIG_CC_HAS_KASAN_GENERIC=y
CONFIG_CC_HAS_KASAN_SW_TAGS=y
CONFIG_CC_HAS_WORKING_NOSANITIZE_ADDRESS=y
CONFIG_KASAN=y
CONFIG_CC_HAS_KASAN_MEMINTRINSIC_PREFIX=y
CONFIG_KASAN_GENERIC=y
# CONFIG_KASAN_OUTLINE is not set
CONFIG_KASAN_INLINE=y
CONFIG_KASAN_STACK=y
CONFIG_KASAN_VMALLOC=y
# CONFIG_KASAN_EXTRA_INFO is not set
CONFIG_HAVE_ARCH_KFENCE=y
CONFIG_KFENCE=y
CONFIG_KFENCE_SAMPLE_INTERVAL=100
CONFIG_KFENCE_NUM_OBJECTS=255
# CONFIG_KFENCE_DEFERRABLE is not set
CONFIG_KFENCE_STATIC_KEYS=y
CONFIG_KFENCE_STRESS_TEST_FAULTS=0
CONFIG_HAVE_ARCH_KMSAN=y
# end of Memory Debugging

# CONFIG_DEBUG_SHIRQ is not set

#
# Debug Oops, Lockups and Hangs
#
CONFIG_PANIC_ON_OOPS=y
CONFIG_PANIC_TIMEOUT=86400
CONFIG_LOCKUP_DETECTOR=y
CONFIG_SOFTLOCKUP_DETECTOR=y
# CONFIG_SOFTLOCKUP_DETECTOR_INTR_STORM is not set
# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
CONFIG_HAVE_HARDLOCKUP_DETECTOR_BUDDY=y
CONFIG_HARDLOCKUP_DETECTOR=y
# CONFIG_HARDLOCKUP_DETECTOR_PREFER_BUDDY is not set
CONFIG_HARDLOCKUP_DETECTOR_PERF=y
# CONFIG_HARDLOCKUP_DETECTOR_BUDDY is not set
# CONFIG_HARDLOCKUP_DETECTOR_ARCH is not set
CONFIG_HARDLOCKUP_DETECTOR_COUNTS_HRTIMER=y
CONFIG_HARDLOCKUP_CHECK_TIMESTAMP=y
CONFIG_BOOTPARAM_HARDLOCKUP_PANIC=y
CONFIG_DETECT_HUNG_TASK=y
CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=140
CONFIG_BOOTPARAM_HUNG_TASK_PANIC=1
# CONFIG_DETECT_HUNG_TASK_BLOCKER is not set
CONFIG_WQ_WATCHDOG=y
# CONFIG_WQ_CPU_INTENSIVE_REPORT is not set
# CONFIG_TEST_LOCKUP is not set
# end of Debug Oops, Lockups and Hangs

#
# Scheduler Debugging
#
CONFIG_SCHED_INFO=y
CONFIG_SCHEDSTATS=y
# end of Scheduler Debugging

CONFIG_DEBUG_PREEMPT=y

#
# Lock Debugging (spinlocks, mutexes, etc...)
#
CONFIG_LOCK_DEBUGGING_SUPPORT=y
CONFIG_PROVE_LOCKING=y
CONFIG_PROVE_RAW_LOCK_NESTING=y
# CONFIG_LOCK_STAT is not set
CONFIG_DEBUG_RT_MUTEXES=y
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y
CONFIG_DEBUG_WW_MUTEX_SLOWPATH=y
CONFIG_DEBUG_RWSEMS=y
CONFIG_DEBUG_LOCK_ALLOC=y
CONFIG_LOCKDEP=y
CONFIG_LOCKDEP_BITS=20
CONFIG_LOCKDEP_CHAINS_BITS=20
CONFIG_LOCKDEP_STACK_TRACE_BITS=20
CONFIG_LOCKDEP_STACK_TRACE_HASH_BITS=14
CONFIG_LOCKDEP_CIRCULAR_QUEUE_BITS=12
# CONFIG_DEBUG_LOCKDEP is not set
CONFIG_DEBUG_ATOMIC_SLEEP=y
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
# CONFIG_LOCK_TORTURE_TEST is not set
# CONFIG_WW_MUTEX_SELFTEST is not set
# CONFIG_SCF_TORTURE_TEST is not set
CONFIG_CSD_LOCK_WAIT_DEBUG=y
# CONFIG_CSD_LOCK_WAIT_DEBUG_DEFAULT is not set
# end of Lock Debugging (spinlocks, mutexes, etc...)

CONFIG_TRACE_IRQFLAGS=y
CONFIG_TRACE_IRQFLAGS_NMI=y
CONFIG_NMI_CHECK_CPU=y
CONFIG_DEBUG_IRQFLAGS=y
CONFIG_STACKTRACE=y
# CONFIG_WARN_ALL_UNSEEDED_RANDOM is not set
# CONFIG_DEBUG_KOBJECT is not set
# CONFIG_DEBUG_KOBJECT_RELEASE is not set

#
# Debug kernel data structures
#
CONFIG_DEBUG_LIST=y
CONFIG_DEBUG_PLIST=y
CONFIG_DEBUG_SG=y
CONFIG_DEBUG_NOTIFIERS=y
# CONFIG_DEBUG_CLOSURES is not set
CONFIG_DEBUG_MAPLE_TREE=y
# end of Debug kernel data structures

#
# RCU Debugging
#
CONFIG_PROVE_RCU=y
# CONFIG_RCU_SCALE_TEST is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_RCU_REF_SCALE_TEST is not set
CONFIG_RCU_CPU_STALL_TIMEOUT=100
CONFIG_RCU_EXP_CPU_STALL_TIMEOUT=0
# CONFIG_RCU_CPU_STALL_CPUTIME is not set
# CONFIG_RCU_TRACE is not set
CONFIG_RCU_EQS_DEBUG=y
# end of RCU Debugging

# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set
# CONFIG_CPU_HOTPLUG_STATE_CONTROL is not set
# CONFIG_LATENCYTOP is not set
CONFIG_USER_STACKTRACE_SUPPORT=y
CONFIG_NOP_TRACER=y
CONFIG_HAVE_RETHOOK=y
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_ARGS=y
CONFIG_HAVE_FTRACE_REGS_HAVING_PT_REGS=y
CONFIG_HAVE_DYNAMIC_FTRACE_NO_PATCHABLE=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_JMP=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
CONFIG_HAVE_FENTRY=y
CONFIG_HAVE_OBJTOOL_MCOUNT=y
CONFIG_HAVE_OBJTOOL_NOP_MCOUNT=y
CONFIG_HAVE_C_RECORDMCOUNT=y
CONFIG_HAVE_BUILDTIME_MCOUNT_SORT=y
CONFIG_TRACE_CLOCK=y
CONFIG_RING_BUFFER=y
CONFIG_EVENT_TRACING=y
CONFIG_CONTEXT_SWITCH_TRACER=y
CONFIG_PREEMPTIRQ_TRACEPOINTS=y
CONFIG_TRACING=y
CONFIG_GENERIC_TRACER=y
CONFIG_TRACING_SUPPORT=y
CONFIG_FTRACE=y
CONFIG_TRACEFS_AUTOMOUNT_DEPRECATED=y
# CONFIG_BOOTTIME_TRACING is not set
# CONFIG_FUNCTION_TRACER is not set
# CONFIG_STACK_TRACER is not set
# CONFIG_IRQSOFF_TRACER is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_SCHED_TRACER is not set
# CONFIG_HWLAT_TRACER is not set
# CONFIG_OSNOISE_TRACER is not set
# CONFIG_TIMERLAT_TRACER is not set
# CONFIG_MMIOTRACE is not set
# CONFIG_FTRACE_SYSCALLS is not set
# CONFIG_TRACER_SNAPSHOT is not set
CONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
CONFIG_BLK_DEV_IO_TRACE=y
CONFIG_UPROBE_EVENTS=y
CONFIG_EPROBE_EVENTS=y
CONFIG_BPF_EVENTS=y
CONFIG_DYNAMIC_EVENTS=y
CONFIG_PROBE_EVENTS=y
# CONFIG_SYNTH_EVENTS is not set
# CONFIG_USER_EVENTS is not set
# CONFIG_HIST_TRIGGERS is not set
CONFIG_TRACE_EVENT_INJECT=y
# CONFIG_TRACEPOINT_BENCHMARK is not set
# CONFIG_RING_BUFFER_BENCHMARK is not set
# CONFIG_TRACE_EVAL_MAP_FILE is not set
# CONFIG_FTRACE_STARTUP_TEST is not set
# CONFIG_RING_BUFFER_STARTUP_TEST is not set
CONFIG_RING_BUFFER_VALIDATE_TIME_DELTAS=y
# CONFIG_PREEMPTIRQ_DELAY_TEST is not set
# CONFIG_RV is not set
CONFIG_PROVIDE_OHCI1394_DMA_INIT=y
# CONFIG_SAMPLES is not set
CONFIG_HAVE_SAMPLE_FTRACE_DIRECT=y
CONFIG_HAVE_SAMPLE_FTRACE_DIRECT_MULTI=y
CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y
# CONFIG_STRICT_DEVMEM is not set

#
# x86 Debugging
#
CONFIG_EARLY_PRINTK_USB=y
CONFIG_X86_VERBOSE_BOOTUP=y
CONFIG_EARLY_PRINTK=y
CONFIG_EARLY_PRINTK_DBGP=y
# CONFIG_EARLY_PRINTK_USB_XDBC is not set
# CONFIG_DEBUG_TLBFLUSH is not set
CONFIG_HAVE_MMIOTRACE_SUPPORT=y
# CONFIG_X86_DECODER_SELFTEST is not set
CONFIG_IO_DELAY_0X80=y
# CONFIG_IO_DELAY_0XED is not set
# CONFIG_IO_DELAY_UDELAY is not set
# CONFIG_IO_DELAY_NONE is not set
CONFIG_DEBUG_BOOT_PARAMS=y
# CONFIG_CPA_DEBUG is not set
CONFIG_DEBUG_ENTRY=y
# CONFIG_DEBUG_NMI_SELFTEST is not set
CONFIG_X86_DEBUG_FPU=y
# CONFIG_PUNIT_ATOM_DEBUG is not set
CONFIG_UNWINDER_ORC=y
# CONFIG_UNWINDER_FRAME_POINTER is not set
# end of x86 Debugging

#
# Kernel Testing and Coverage
#
# CONFIG_KUNIT is not set
# CONFIG_NOTIFIER_ERROR_INJECTION is not set
CONFIG_FAULT_INJECTION=y
CONFIG_FAILSLAB=y
CONFIG_FAIL_PAGE_ALLOC=y
CONFIG_FAULT_INJECTION_USERCOPY=y
CONFIG_FAIL_MAKE_REQUEST=y
CONFIG_FAIL_IO_TIMEOUT=y
CONFIG_FAIL_FUTEX=y
CONFIG_FAULT_INJECTION_DEBUG_FS=y
# CONFIG_FAIL_MMC_REQUEST is not set
# CONFIG_FAIL_SKB_REALLOC is not set
CONFIG_FAULT_INJECTION_CONFIGFS=y
# CONFIG_FAULT_INJECTION_STACKTRACE_FILTER is not set
CONFIG_ARCH_HAS_KCOV=y
CONFIG_KCOV=y
CONFIG_KCOV_ENABLE_COMPARISONS=y
CONFIG_KCOV_INSTRUMENT_ALL=y
CONFIG_KCOV_IRQ_AREA_SIZE=0x40000
# CONFIG_KCOV_SELFTEST is not set
CONFIG_RUNTIME_TESTING_MENU=y
# CONFIG_TEST_DHRY is not set
# CONFIG_LKDTM is not set
# CONFIG_TEST_MIN_HEAP is not set
# CONFIG_TEST_DIV64 is not set
# CONFIG_TEST_MULDIV64 is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_TEST_REF_TRACKER is not set
# CONFIG_RBTREE_TEST is not set
# CONFIG_REED_SOLOMON_TEST is not set
# CONFIG_INTERVAL_TREE_TEST is not set
# CONFIG_PERCPU_TEST is not set
# CONFIG_ATOMIC64_SELFTEST is not set
# CONFIG_ASYNC_RAID6_TEST is not set
# CONFIG_TEST_HEXDUMP is not set
# CONFIG_TEST_KSTRTOX is not set
# CONFIG_TEST_BITMAP is not set
# CONFIG_TEST_UUID is not set
# CONFIG_TEST_XARRAY is not set
# CONFIG_TEST_MAPLE_TREE is not set
# CONFIG_TEST_RHASHTABLE is not set
# CONFIG_TEST_IDA is not set
# CONFIG_TEST_LKM is not set
# CONFIG_TEST_BITOPS is not set
# CONFIG_TEST_VMALLOC is not set
# CONFIG_TEST_BPF is not set
# CONFIG_FIND_BIT_BENCHMARK is not set
# CONFIG_TEST_FIRMWARE is not set
# CONFIG_TEST_SYSCTL is not set
# CONFIG_TEST_UDELAY is not set
# CONFIG_TEST_STATIC_KEYS is not set
# CONFIG_TEST_DYNAMIC_DEBUG is not set
# CONFIG_TEST_KMOD is not set
# CONFIG_TEST_KALLSYMS is not set
# CONFIG_TEST_DEBUG_VIRTUAL is not set
# CONFIG_TEST_MEMCAT_P is not set
# CONFIG_TEST_MEMINIT is not set
# CONFIG_TEST_HMM is not set
# CONFIG_TEST_FREE_PAGES is not set
# CONFIG_TEST_CLOCKSOURCE_WATCHDOG is not set
# CONFIG_TEST_OBJPOOL is not set
CONFIG_ARCH_USE_MEMTEST=y
# CONFIG_MEMTEST is not set
# end of Kernel Testing and Coverage

#
# Rust hacking
#
# end of Rust hacking
# end of Kernel hacking

CONFIG_IO_URING_ZCRX=y
KernelRepo git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
ReproCID 4650951404683264
ReproOpts
Show (107 bytes)
{"procs":1,"slowdown":1,"sandbox":"none","sandbox_arg":0,"close_fds":false,"wifi":true,"callcomments":true}
ReproSyzID 5855570814304256
SyzkallerCommit 6b8752f20c06eee857545047ab920e63322bf4c8

Outputs:
KernelBranch
master
KernelCommit
c369299895a591d96745d6492d4888259b004a9e
KernelRepo
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
PatchDescription
wifi: mac80211_hwsim: fix false positive warning for 5/10 MHz channels

A false positive WARN is triggered in mac80211_hwsim_sta_rc_update()
when a station is added to an interface operating on a channel with a
bandwidth smaller than 20 MHz (e.g., 10 MHz or 5 MHz).

The function checks if the station's RX bandwidth (bw) is greater than
the configured channel bandwidth (confbw). The station's RX bandwidth bw
is derived from link_sta->bandwidth, which is of type enum
ieee80211_sta_rx_bandwidth. This enum only defines bandwidths of 20 MHz
and above (IEEE80211_STA_RX_BW_20 is 0).

For channels with a bandwidth less than 20 MHz (like 5 MHz or 10 MHz),
HT/VHT/HE are not supported, and link_sta->bandwidth naturally defaults
to IEEE80211_STA_RX_BW_20. Consequently, bw is evaluated as 20.

When the channel is configured for 10 MHz (confbw =
NL80211_CHAN_WIDTH_10), hwsim_get_chanwidth(confbw) returns 10. The
condition 20 > 10 evaluates to true, triggering the warning. Since the
minimum representable STA RX bandwidth is 20 MHz, the warning should be
suppressed for channel bandwidths smaller than 20 MHz.

Additionally, the warning message incorrectly prints data->bw instead of
confbw. If data->use_chanctx is true, data->bw is not updated with the
channel context bandwidth and remains 0 (NL80211_CHAN_WIDTH_20_NOHT),
which leads to confusing output. The warning message also incorrectly
prints sta->deflink.bandwidth instead of link_sta->bandwidth, which is
the actual bandwidth being evaluated in the loop over the station links.

In mac80211_hwsim_tx(), there is a similar check where bw is initialized
to data->bw instead of confbw. If data->use_chanctx is true, data->bw is
0 (20 MHz). If the channel is 10 MHz, confbw is 10 MHz. The condition 20
> 10 will evaluate to true, triggering a warning and dropping the frame.
It should be initialized to confbw.

Fix these issues by updating the warning condition in
mac80211_hwsim_sta_rc_update() to only trigger if the channel bandwidth
is at least 20 MHz, and fix the printed variables to use confbw and
link_sta->bandwidth. Also, initialize bw to confbw instead of data->bw
in mac80211_hwsim_tx() to prevent a similar false positive warning and
frame drop when transmitting on 5/10 MHz channels.
PatchDiff
diff --git a/drivers/net/wireless/virtual/mac80211_hwsim.c b/drivers/net/wireless/virtual/mac80211_hwsim.c
index 1b6e55eb8..edc77634c 100644
--- a/drivers/net/wireless/virtual/mac80211_hwsim.c
+++ b/drivers/net/wireless/virtual/mac80211_hwsim.c
@@ -2083,8 +2083,8 @@ static void mac80211_hwsim_tx(struct ieee80211_hw *hw,
 
 	for (i = 0; i < ARRAY_SIZE(txi->control.rates); i++) {
 		u16 rflags = txi->control.rates[i].flags;
-		/* initialize to data->bw for 5/10 MHz handling */
-		enum nl80211_chan_width bw = data->bw;
+		/* initialize to confbw for 5/10 MHz handling */
+		enum nl80211_chan_width bw = confbw;
 
 		if (txi->control.rates[i].idx == -1)
 			break;
@@ -2690,12 +2690,11 @@ mac80211_hwsim_sta_rc_update(struct ieee80211_hw *hw,
 				confbw = chanctx_conf->def.width;
 		}
 
-		WARN(bw > hwsim_get_chanwidth(confbw),
+		WARN(bw > hwsim_get_chanwidth(confbw) &&
+			     hwsim_get_chanwidth(confbw) >= 20,
 		     "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
-		     vif->addr, link_id, sta->addr, bw, sta->deflink.bandwidth,
-		     hwsim_get_chanwidth(data->bw), data->bw);
-
-
+		     vif->addr, link_id, sta->addr, bw, link_sta->bandwidth,
+		     hwsim_get_chanwidth(confbw), confbw);
 	}
 	rcu_read_unlock();
 
Recipients
[map[Email:johannes@sipsolutions.net Name:Johannes Berg To:true] map[Email:linux-kernel@vger.kernel.org Name: To:false] map[Email:linux-wireless@vger.kernel.org Name: To:true]]

Crash report:
------------[ cut here ]------------
intf 08:02:11:00:00:01 [link=0]: bad STA 00:00:00:ff:ff:ff bandwidth 20 MHz (0) > channel config 10 MHz (7)
WARNING: drivers/net/wireless/virtual/mac80211_hwsim.c:2693 at mac80211_hwsim_sta_rc_update+0x5dc/0x840 drivers/net/wireless/virtual/mac80211_hwsim.c:2693, CPU#2: kworker/u32:0/12
Modules linked in:
CPU: 2 UID: 0 PID: 12 Comm: kworker/u32:0 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Workqueue: events_unbound cfg80211_wiphy_work
RIP: 0010:mac80211_hwsim_sta_rc_update+0x5fe/0x840 drivers/net/wireless/virtual/mac80211_hwsim.c:2693
Code: 00 48 8d 3d 74 27 b0 09 48 8b 4c 24 10 48 8b 44 24 20 89 da 44 8b 89 b8 01 00 00 55 48 8d b0 72 05 00 00 41 57 44 8b 44 24 14 <67> 48 0f b9 3a 58 5a e9 3b fc ff ff e8 11 7e f3 fa e8 5c 4a 63 04
RSP: 0018:ffffc900000f7888 EFLAGS: 00010246
RAX: ffff88803d23aa60 RBX: 0000000000000000 RCX: ffff888030254ec0
RDX: 0000000000000000 RSI: ffff88803d23afd2 RDI: ffffffff90c3a490
RBP: 0000000000000007 R08: 0000000000000014 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: dffffc0000000000
R13: ffff888030255088 R14: ffff88803889b100 R15: 000000000000000a
FS:  0000000000000000(0000) GS:ffff8880d67d9000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e124008 CR3: 0000000057da2000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 mac80211_hwsim_sta_add+0xc9/0x290 drivers/net/wireless/virtual/mac80211_hwsim.c:2713
 drv_sta_add net/mac80211/driver-ops.h:470 [inline]
 drv_sta_state+0x826/0x17b0 net/mac80211/driver-ops.c:155
 sta_info_insert_drv_state net/mac80211/sta_info.c:824 [inline]
 sta_info_insert_finish net/mac80211/sta_info.c:932 [inline]
 sta_info_insert_rcu+0x170b/0x2fa0 net/mac80211/sta_info.c:1009
 ieee80211_ocb_finish_sta net/mac80211/ocb.c:105 [inline]
 ieee80211_ocb_work+0x34d/0x650 net/mac80211/ocb.c:139
 ieee80211_iface_work+0x431/0x1350 net/mac80211/iface.c:1824
 cfg80211_wiphy_work+0x3f7/0x560 net/wireless/core.c:438
 process_one_work+0x9c2/0x1840 kernel/workqueue.c:3257
 process_scheduled_works kernel/workqueue.c:3340 [inline]
 worker_thread+0x5da/0xe40 kernel/workqueue.c:3421
 kthread+0x3b3/0x730 kernel/kthread.c:463
 ret_from_fork+0x754/0xaf0 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
 </TASK>
----------------
Code disassembly (best guess):
   0:	00 48 8d             	add    %cl,-0x73(%rax)
   3:	3d 74 27 b0 09       	cmp    $0x9b02774,%eax
   8:	48 8b 4c 24 10       	mov    0x10(%rsp),%rcx
   d:	48 8b 44 24 20       	mov    0x20(%rsp),%rax
  12:	89 da                	mov    %ebx,%edx
  14:	44 8b 89 b8 01 00 00 	mov    0x1b8(%rcx),%r9d
  1b:	55                   	push   %rbp
  1c:	48 8d b0 72 05 00 00 	lea    0x572(%rax),%rsi
  23:	41 57                	push   %r15
  25:	44 8b 44 24 14       	mov    0x14(%rsp),%r8d
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	58                   	pop    %rax
  30:	5a                   	pop    %rdx
  31:	e9 3b fc ff ff       	jmp    0xfffffc71
  36:	e8 11 7e f3 fa       	call   0xfaf37e4c
  3b:	e8 5c 4a 63 04       	call   0x4634a9c

Trajectory: (Expand/Collapse All)
Seq Timestamp Type Name Duration
0/0 2026/03/27 20:01 flow patching
1h38m Results:
map[KernelBranch:master KernelCommit:c369299895a591d96745d6492d4888259b004a9e KernelRepo:git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git PatchDescription:wifi: mac80211_hwsim: fix false positive warning for 5/10 MHz channels

A false positive WARN is triggered in mac80211_hwsim_sta_rc_update()
when a station is added to an interface operating on a channel with a
bandwidth smaller than 20 MHz (e.g., 10 MHz or 5 MHz).

The function checks if the station's RX bandwidth (bw) is greater than
the configured channel bandwidth (confbw). The station's RX bandwidth bw
is derived from link_sta->bandwidth, which is of type enum
ieee80211_sta_rx_bandwidth. This enum only defines bandwidths of 20 MHz
and above (IEEE80211_STA_RX_BW_20 is 0).

For channels with a bandwidth less than 20 MHz (like 5 MHz or 10 MHz),
HT/VHT/HE are not supported, and link_sta->bandwidth naturally defaults
to IEEE80211_STA_RX_BW_20. Consequently, bw is evaluated as 20.

When the channel is configured for 10 MHz (confbw =
NL80211_CHAN_WIDTH_10), hwsim_get_chanwidth(confbw) returns 10. The
condition 20 > 10 evaluates to true, triggering the warning. Since the
minimum representable STA RX bandwidth is 20 MHz, the warning should be
suppressed for channel bandwidths smaller than 20 MHz.

Additionally, the warning message incorrectly prints data->bw instead of
confbw. If data->use_chanctx is true, data->bw is not updated with the
channel context bandwidth and remains 0 (NL80211_CHAN_WIDTH_20_NOHT),
which leads to confusing output. The warning message also incorrectly
prints sta->deflink.bandwidth instead of link_sta->bandwidth, which is
the actual bandwidth being evaluated in the loop over the station links.

In mac80211_hwsim_tx(), there is a similar check where bw is initialized
to data->bw instead of confbw. If data->use_chanctx is true, data->bw is
0 (20 MHz). If the channel is 10 MHz, confbw is 10 MHz. The condition 20
> 10 will evaluate to true, triggering a warning and dropping the frame.
It should be initialized to confbw.

Fix these issues by updating the warning condition in
mac80211_hwsim_sta_rc_update() to only trigger if the channel bandwidth
is at least 20 MHz, and fix the printed variables to use confbw and
link_sta->bandwidth. Also, initialize bw to confbw instead of data->bw
in mac80211_hwsim_tx() to prevent a similar false positive warning and
frame drop when transmitting on 5/10 MHz channels. PatchDiff:diff --git a/drivers/net/wireless/virtual/mac80211_hwsim.c b/drivers/net/wireless/virtual/mac80211_hwsim.c
index 1b6e55eb8..edc77634c 100644
--- a/drivers/net/wireless/virtual/mac80211_hwsim.c
+++ b/drivers/net/wireless/virtual/mac80211_hwsim.c
@@ -2083,8 +2083,8 @@ static void mac80211_hwsim_tx(struct ieee80211_hw *hw,
 
 	for (i = 0; i < ARRAY_SIZE(txi->control.rates); i++) {
 		u16 rflags = txi->control.rates[i].flags;
-		/* initialize to data->bw for 5/10 MHz handling */
-		enum nl80211_chan_width bw = data->bw;
+		/* initialize to confbw for 5/10 MHz handling */
+		enum nl80211_chan_width bw = confbw;
 
 		if (txi->control.rates[i].idx == -1)
 			break;
@@ -2690,12 +2690,11 @@ mac80211_hwsim_sta_rc_update(struct ieee80211_hw *hw,
 				confbw = chanctx_conf->def.width;
 		}
 
-		WARN(bw > hwsim_get_chanwidth(confbw),
+		WARN(bw > hwsim_get_chanwidth(confbw) &&
+			     hwsim_get_chanwidth(confbw) >= 20,
 		     "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
-		     vif->addr, link_id, sta->addr, bw, sta->deflink.bandwidth,
-		     hwsim_get_chanwidth(data->bw), data->bw);
-
-
+		     vif->addr, link_id, sta->addr, bw, link_sta->bandwidth,
+		     hwsim_get_chanwidth(confbw), confbw);
 	}
 	rcu_read_unlock();
 
 Recipients:[map[Email:johannes@sipsolutions.net Name:Johannes Berg To:true] map[Email:linux-kernel@vger.kernel.org Name: To:false] map[Email:linux-wireless@vger.kernel.org Name: To:true]]]

1/1 2026/03/27 20:01 action base-commit-picker
0m Results:
map[KernelBranch:master KernelCommit:c369299895a591d96745d6492d4888259b004a9e KernelRepo:git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git]

2/1 2026/03/27 20:02 action syzlang-to-c
0m Results:
map[SimplifiedCRepro:// autogenerated by syzkaller (https://github.com/google/syzkaller)

#define _GNU_SOURCE 

#include <arpa/inet.h>
#include <endian.h>
#include <errno.h>
#include <net/if.h>
#include <netinet/in.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <unistd.h>

#include <linux/genetlink.h>
#include <linux/if_addr.h>
#include <linux/if_ether.h>
#include <linux/if_link.h>
#include <linux/in6.h>
#include <linux/neighbour.h>
#include <linux/net.h>
#include <linux/netlink.h>
#include <linux/nl80211.h>
#include <linux/rtnetlink.h>
#include <linux/veth.h>

struct nlmsg {
	char* pos;
	int nesting;
	struct nlattr* nested[8];
	char buf[4096];
};

static void netlink_init(struct nlmsg* nlmsg, int typ, int flags,
			 const void* data, int size)
{
	memset(nlmsg, 0, sizeof(*nlmsg));
	struct nlmsghdr* hdr = (struct nlmsghdr*)nlmsg->buf;
	hdr->nlmsg_type = typ;
	hdr->nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | flags;
	memcpy(hdr + 1, data, size);
	nlmsg->pos = (char*)(hdr + 1) + NLMSG_ALIGN(size);
}

static void netlink_attr(struct nlmsg* nlmsg, int typ,
			 const void* data, int size)
{
	struct nlattr* attr = (struct nlattr*)nlmsg->pos;
	attr->nla_len = sizeof(*attr) + size;
	attr->nla_type = typ;
	if (size > 0)
		memcpy(attr + 1, data, size);
	nlmsg->pos += NLMSG_ALIGN(attr->nla_len);
}

static int netlink_send_ext(struct nlmsg* nlmsg, int sock,
			    uint16_t reply_type, int* reply_len, bool dofail)
{
	if (nlmsg->pos > nlmsg->buf + sizeof(nlmsg->buf) || nlmsg->nesting)
	exit(1);
	struct nlmsghdr* hdr = (struct nlmsghdr*)nlmsg->buf;
	hdr->nlmsg_len = nlmsg->pos - nlmsg->buf;
	struct sockaddr_nl addr;
	memset(&addr, 0, sizeof(addr));
	addr.nl_family = AF_NETLINK;
	ssize_t n = sendto(sock, nlmsg->buf, hdr->nlmsg_len, 0, (struct sockaddr*)&addr, sizeof(addr));
	if (n != (ssize_t)hdr->nlmsg_len) {
		if (dofail)
	exit(1);
		return -1;
	}
	n = recv(sock, nlmsg->buf, sizeof(nlmsg->buf), 0);
	if (reply_len)
		*reply_len = 0;
	if (n < 0) {
		if (dofail)
	exit(1);
		return -1;
	}
	if (n < (ssize_t)sizeof(struct nlmsghdr)) {
		errno = EINVAL;
		if (dofail)
	exit(1);
		return -1;
	}
	if (hdr->nlmsg_type == NLMSG_DONE)
		return 0;
	if (reply_len && hdr->nlmsg_type == reply_type) {
		*reply_len = n;
		return 0;
	}
	if (n < (ssize_t)(sizeof(struct nlmsghdr) + sizeof(struct nlmsgerr))) {
		errno = EINVAL;
		if (dofail)
	exit(1);
		return -1;
	}
	if (hdr->nlmsg_type != NLMSG_ERROR) {
		errno = EINVAL;
		if (dofail)
	exit(1);
		return -1;
	}
	errno = -((struct nlmsgerr*)(hdr + 1))->error;
	return -errno;
}

static int netlink_query_family_id(struct nlmsg* nlmsg, int sock, const char* family_name, bool dofail)
{
	struct genlmsghdr genlhdr;
	memset(&genlhdr, 0, sizeof(genlhdr));
	genlhdr.cmd = CTRL_CMD_GETFAMILY;
	netlink_init(nlmsg, GENL_ID_CTRL, 0, &genlhdr, sizeof(genlhdr));
	netlink_attr(nlmsg, CTRL_ATTR_FAMILY_NAME, family_name, strnlen(family_name, GENL_NAMSIZ - 1) + 1);
	int n = 0;
	int err = netlink_send_ext(nlmsg, sock, GENL_ID_CTRL, &n, dofail);
	if (err < 0) {
		return -1;
	}
	uint16_t id = 0;
	struct nlattr* attr = (struct nlattr*)(nlmsg->buf + NLMSG_HDRLEN + NLMSG_ALIGN(sizeof(genlhdr)));
	for (; (char*)attr < nlmsg->buf + n; attr = (struct nlattr*)((char*)attr + NLMSG_ALIGN(attr->nla_len))) {
		if (attr->nla_type == CTRL_ATTR_FAMILY_ID) {
			id = *(uint16_t*)(attr + 1);
			break;
		}
	}
	if (!id) {
		errno = EINVAL;
		return -1;
	}
	recv(sock, nlmsg->buf, sizeof(nlmsg->buf), 0);
	return id;
}

#define WIFI_INITIAL_DEVICE_COUNT 2
#define WIFI_MAC_BASE { 0x08, 0x02, 0x11, 0x00, 0x00, 0x00}
#define WIFI_IBSS_BSSID { 0x50, 0x50, 0x50, 0x50, 0x50, 0x50}
#define WIFI_IBSS_SSID { 0x10, 0x10, 0x10, 0x10, 0x10, 0x10}
#define WIFI_DEFAULT_FREQUENCY 2412
#define WIFI_DEFAULT_SIGNAL 0
#define WIFI_DEFAULT_RX_RATE 1
#define HWSIM_CMD_REGISTER 1
#define HWSIM_CMD_FRAME 2
#define HWSIM_CMD_NEW_RADIO 4
#define HWSIM_ATTR_SUPPORT_P2P_DEVICE 14
#define HWSIM_ATTR_PERM_ADDR 22

static long syz_genetlink_get_family_id(volatile long name, volatile long sock_arg)
{
	int fd = sock_arg;
	if (fd < 0) {
		fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC);
		if (fd == -1) {
			return -1;
		}
	}
	struct nlmsg nlmsg_tmp;
	int ret = netlink_query_family_id(&nlmsg_tmp, fd, (char*)name, false);
	if ((int)sock_arg < 0)
		close(fd);
	if (ret < 0) {
		return -1;
	}
	return ret;
}

#define HWSIM_ATTR_RX_RATE 5
#define HWSIM_ATTR_SIGNAL 6
#define HWSIM_ATTR_ADDR_RECEIVER 1
#define HWSIM_ATTR_FRAME 3

#define WIFI_MAX_INJECT_LEN 2048

static int hwsim_register_socket(struct nlmsg* nlmsg, int sock, int hwsim_family)
{
	struct genlmsghdr genlhdr;
	memset(&genlhdr, 0, sizeof(genlhdr));
	genlhdr.cmd = HWSIM_CMD_REGISTER;
	netlink_init(nlmsg, hwsim_family, 0, &genlhdr, sizeof(genlhdr));
	int err = netlink_send_ext(nlmsg, sock, 0, NULL, false);
	if (err < 0) {
	}
	return err;
}

static int hwsim_inject_frame(struct nlmsg* nlmsg, int sock, int hwsim_family, uint8_t* mac_addr, uint8_t* data, int len)
{
	struct genlmsghdr genlhdr;
	uint32_t rx_rate = WIFI_DEFAULT_RX_RATE;
	uint32_t signal = WIFI_DEFAULT_SIGNAL;
	memset(&genlhdr, 0, sizeof(genlhdr));
	genlhdr.cmd = HWSIM_CMD_FRAME;
	netlink_init(nlmsg, hwsim_family, 0, &genlhdr, sizeof(genlhdr));
	netlink_attr(nlmsg, HWSIM_ATTR_RX_RATE, &rx_rate, sizeof(rx_rate));
	netlink_attr(nlmsg, HWSIM_ATTR_SIGNAL, &signal, sizeof(signal));
	netlink_attr(nlmsg, HWSIM_ATTR_ADDR_RECEIVER, mac_addr, ETH_ALEN);
	netlink_attr(nlmsg, HWSIM_ATTR_FRAME, data, len);
	int err = netlink_send_ext(nlmsg, sock, 0, NULL, false);
	if (err < 0) {
	}
	return err;
}

static long syz_80211_inject_frame(volatile long a0, volatile long a1, volatile long a2)
{
	uint8_t* mac_addr = (uint8_t*)a0;
	uint8_t* buf = (uint8_t*)a1;
	int buf_len = (int)a2;
	struct nlmsg tmp_msg;
	if (buf_len < 0 || buf_len > WIFI_MAX_INJECT_LEN) {
		return -1;
	}
	int sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC);
	if (sock < 0) {
		return -1;
	}
	int hwsim_family_id = netlink_query_family_id(&tmp_msg, sock, "MAC80211_HWSIM", false);
	if (hwsim_family_id < 0) {
		close(sock);
		return -1;
	}
	int ret = hwsim_register_socket(&tmp_msg, sock, hwsim_family_id);
	if (ret < 0) {
		close(sock);
		return -1;
	}
	ret = hwsim_inject_frame(&tmp_msg, sock, hwsim_family_id, mac_addr, buf, buf_len);
	close(sock);
	if (ret < 0) {
		return -1;
	}
	return 0;
}

uint64_t r[4] = {0xffffffffffffffff, 0x0, 0xffffffffffffffff, 0x0};

int main(void)
{
		syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul);
	syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul);
	syscall(__NR_mmap, /*addr=*/0x200001000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul);
	const char* reason;
	(void)reason;
				intptr_t res = 0;
	if (write(1, "executing program\n", sizeof("executing program\n") - 1)) {}
//  socket$nl_generic arguments: [
//    domain: const = 0x10 (8 bytes)
//    type: const = 0x3 (8 bytes)
//    proto: const = 0x10 (4 bytes)
//  ]
//  returns sock_nl_generic
	res = syscall(__NR_socket, /*domain=*/0x10ul, /*type=*/3ul, /*proto=*/0x10);
	if (res != -1)
		r[0] = res;
//  ioctl$sock_SIOCGIFINDEX_80211 arguments: [
//    fd: sock (resource)
//    cmd: const = 0x8933 (4 bytes)
//    arg: ptr[out, ifreq_dev_t[nl80211_devnames, nl80211_ifindex]] {
//      ifreq_dev_t[nl80211_devnames, nl80211_ifindex] {
//        ifr_ifrn: buffer: {77 6c 61 6e 31 00 00 00 00 00 00 00 00 00 00 00} (length 0x10)
//        elem: nl80211_ifindex (resource)
//        pad = 0x0 (20 bytes)
//      }
//    }
//  ]
memcpy((void*)0x200000000100, "wlan1\000\000\000\000\000\000\000\000\000\000\000", 16);
	res = syscall(__NR_ioctl, /*fd=*/r[0], /*cmd=*/0x8933, /*arg=*/0x200000000100ul);
	if (res != -1)
r[1] = *(uint32_t*)0x200000000110;
//  socket$nl_generic arguments: [
//    domain: const = 0x10 (8 bytes)
//    type: const = 0x3 (8 bytes)
//    proto: const = 0x10 (4 bytes)
//  ]
//  returns sock_nl_generic
	res = syscall(__NR_socket, /*domain=*/0x10ul, /*type=*/3ul, /*proto=*/0x10);
	if (res != -1)
		r[2] = res;
//  syz_genetlink_get_family_id$nl80211 arguments: [
//    name: ptr[in, buffer] {
//      buffer: {6e 6c 38 30 32 31 31 00} (length 0x8)
//    }
//    fd: sock_nl_generic (resource)
//  ]
//  returns nl80211_family_id
memcpy((void*)0x200000000200, "nl80211\000", 8);
	res = -1;
res = syz_genetlink_get_family_id(/*name=*/0x200000000200, /*fd=*/-1);
	if (res != -1)
		r[3] = res;
//  sendmsg$NL80211_CMD_SET_INTERFACE arguments: [
//    fd: sock_nl_generic (resource)
//    msg: ptr[in, msghdr_netlink[netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_SET_INTERFACE, nl80211_wdev_payload], nl80211_policy$set_interface]]] {
//      msghdr_netlink[netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_SET_INTERFACE, nl80211_wdev_payload], nl80211_policy$set_interface]] {
//        addr: nil
//        addrlen: len = 0x0 (4 bytes)
//        pad = 0x0 (4 bytes)
//        vec: ptr[in, iovec[in, netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_SET_INTERFACE, nl80211_wdev_payload], nl80211_policy$set_interface]]] {
//          iovec[in, netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_SET_INTERFACE, nl80211_wdev_payload], nl80211_policy$set_interface]] {
//            addr: ptr[in, netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_SET_INTERFACE, nl80211_wdev_payload], nl80211_policy$set_interface]] {
//              netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_SET_INTERFACE, nl80211_wdev_payload], nl80211_policy$set_interface] {
//                len: len = 0x24 (4 bytes)
//                type: nl80211_family_id (resource)
//                flags: netlink_msg_flags = 0x5 (2 bytes)
//                seq: int32 = 0x0 (4 bytes)
//                pid: int32 = 0x0 (4 bytes)
//                payload: msg_nl80211_payload[NL80211_CMD_SET_INTERFACE, nl80211_wdev_payload] {
//                  genl_hdr: genlmsghdr_t[NL80211_CMD_SET_INTERFACE] {
//                    cmd: const = 0x6 (1 bytes)
//                    version: const = 0x0 (1 bytes)
//                    reserved: const = 0x0 (2 bytes)
//                  }
//                  payload: nl80211_wdev_payload {
//                    NL80211_ATTR_IFINDEX: union optional[nlattr[NL80211_ATTR_IFINDEX, nl80211_ifindex]] {
//                      val: nlattr_t[const[NL80211_ATTR_IFINDEX, int16], nl80211_ifindex] {
//                        nla_len: offsetof = 0x8 (2 bytes)
//                        nla_type: const = 0x3 (2 bytes)
//                        payload: nl80211_ifindex (resource)
//                        size: buffer: {} (length 0x0)
//                      }
//                    }
//                    NL80211_ATTR_WDEV: union optional[nlattr[NL80211_ATTR_WDEV, nl80211_wdev]] {
//                      void: buffer: {} (length 0x0)
//                    }
//                  }
//                }
//                attrs: array[nl80211_policy$set_interface] {
//                  union nl80211_policy$set_interface {
//                    NL80211_ATTR_IFTYPE: nlattr_t[const[NL80211_ATTR_IFTYPE, int16], flags[nl80211_iftype, int32]] {
//                      nla_len: offsetof = 0x8 (2 bytes)
//                      nla_type: const = 0x5 (2 bytes)
//                      payload: nl80211_iftype = 0xb (4 bytes)
//                      size: buffer: {} (length 0x0)
//                    }
//                  }
//                }
//              }
//            }
//            len: len = 0x24 (8 bytes)
//          }
//        }
//        vlen: const = 0x1 (8 bytes)
//        ctrl: const = 0x0 (8 bytes)
//        ctrllen: const = 0x0 (8 bytes)
//        f: send_flags = 0x400c000 (4 bytes)
//        pad = 0x0 (4 bytes)
//      }
//    }
//    f: send_flags = 0x0 (8 bytes)
//  ]
*(uint64_t*)0x200000000340 = 0;
*(uint32_t*)0x200000000348 = 0;
*(uint64_t*)0x200000000350 = 0x200000000300;
*(uint64_t*)0x200000000300 = 0x200000000000;
*(uint32_t*)0x200000000000 = 0x24;
*(uint16_t*)0x200000000004 = r[3];
*(uint16_t*)0x200000000006 = 5;
*(uint32_t*)0x200000000008 = 0;
*(uint32_t*)0x20000000000c = 0;
*(uint8_t*)0x200000000010 = 6;
*(uint8_t*)0x200000000011 = 0;
*(uint16_t*)0x200000000012 = 0;
*(uint16_t*)0x200000000014 = 8;
*(uint16_t*)0x200000000016 = 3;
*(uint32_t*)0x200000000018 = r[1];
*(uint16_t*)0x20000000001c = 8;
*(uint16_t*)0x20000000001e = 5;
*(uint32_t*)0x200000000020 = 0xb;
*(uint64_t*)0x200000000308 = 0x24;
*(uint64_t*)0x200000000358 = 1;
*(uint64_t*)0x200000000360 = 0;
*(uint64_t*)0x200000000368 = 0;
*(uint32_t*)0x200000000370 = 0x400c000;
	syscall(__NR_sendmsg, /*fd=*/r[2], /*msg=*/0x200000000340ul, /*f=*/0ul);
//  sendmsg$NL80211_CMD_JOIN_OCB arguments: [
//    fd: sock_nl_generic (resource)
//    msg: ptr[in, msghdr_netlink[netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_JOIN_OCB, nl80211_wdev_payload], nl80211_policy$chandef_params]]] {
//      msghdr_netlink[netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_JOIN_OCB, nl80211_wdev_payload], nl80211_policy$chandef_params]] {
//        addr: nil
//        addrlen: len = 0x0 (4 bytes)
//        pad = 0x0 (4 bytes)
//        vec: ptr[in, iovec[in, netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_JOIN_OCB, nl80211_wdev_payload], nl80211_policy$chandef_params]]] {
//          iovec[in, netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_JOIN_OCB, nl80211_wdev_payload], nl80211_policy$chandef_params]] {
//            addr: ptr[in, netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_JOIN_OCB, nl80211_wdev_payload], nl80211_policy$chandef_params]] {
//              netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_JOIN_OCB, nl80211_wdev_payload], nl80211_policy$chandef_params] {
//                len: len = 0x2c (4 bytes)
//                type: nl80211_family_id (resource)
//                flags: netlink_msg_flags = 0x1 (2 bytes)
//                seq: int32 = 0x70bd28 (4 bytes)
//                pid: int32 = 0x25dfdbff (4 bytes)
//                payload: msg_nl80211_payload[NL80211_CMD_JOIN_OCB, nl80211_wdev_payload] {
//                  genl_hdr: genlmsghdr_t[NL80211_CMD_JOIN_OCB] {
//                    cmd: const = 0x6c (1 bytes)
//                    version: const = 0x0 (1 bytes)
//                    reserved: const = 0x0 (2 bytes)
//                  }
//                  payload: nl80211_wdev_payload {
//                    NL80211_ATTR_IFINDEX: union optional[nlattr[NL80211_ATTR_IFINDEX, nl80211_ifindex]] {
//                      val: nlattr_t[const[NL80211_ATTR_IFINDEX, int16], nl80211_ifindex] {
//                        nla_len: offsetof = 0x8 (2 bytes)
//                        nla_type: const = 0x3 (2 bytes)
//                        payload: nl80211_ifindex (resource)
//                        size: buffer: {} (length 0x0)
//                      }
//                    }
//                    NL80211_ATTR_WDEV: union optional[nlattr[NL80211_ATTR_WDEV, nl80211_wdev]] {
//                      void: buffer: {} (length 0x0)
//                    }
//                  }
//                }
//                attrs: array[nl80211_policy$chandef_params] {
//                  union nl80211_policy$chandef_params {
//                    NL80211_ATTR_WIPHY_FREQ: nlattr_t[const[NL80211_ATTR_WIPHY_FREQ, int16], ieee80211_frequency_mhz[int32]] {
//                      nla_len: offsetof = 0x8 (2 bytes)
//                      nla_type: const = 0x26 (2 bytes)
//                      payload: union ieee80211_frequency_mhz[int32] {
//                        default: const = 0x96c (4 bytes)
//                      }
//                      size: buffer: {} (length 0x0)
//                    }
//                  }
//                  union nl80211_policy$chandef_params {
//                    NL80211_ATTR_CHANNEL_WIDTH: nlattr_t[const[NL80211_ATTR_CHANNEL_WIDTH, int16], flags[nl80211_channel_widths, int32]] {
//                      nla_len: offsetof = 0x8 (2 bytes)
//                      nla_type: const = 0x9f (2 bytes)
//                      payload: nl80211_channel_widths = 0x7 (4 bytes)
//                      size: buffer: {} (length 0x0)
//                    }
//                  }
//                }
//              }
//            }
//            len: len = 0x2c (8 bytes)
//          }
//        }
//        vlen: const = 0x1 (8 bytes)
//        ctrl: const = 0x0 (8 bytes)
//        ctrllen: const = 0x0 (8 bytes)
//        f: send_flags = 0x24004015 (4 bytes)
//        pad = 0x0 (4 bytes)
//      }
//    }
//    f: send_flags = 0x448d0 (8 bytes)
//  ]
*(uint64_t*)0x200000000240 = 0;
*(uint32_t*)0x200000000248 = 0;
*(uint64_t*)0x200000000250 = 0x200000000200;
*(uint64_t*)0x200000000200 = 0x200000000800;
*(uint32_t*)0x200000000800 = 0x2c;
*(uint16_t*)0x200000000804 = r[3];
*(uint16_t*)0x200000000806 = 1;
*(uint32_t*)0x200000000808 = 0x70bd28;
*(uint32_t*)0x20000000080c = 0x25dfdbff;
*(uint8_t*)0x200000000810 = 0x6c;
*(uint8_t*)0x200000000811 = 0;
*(uint16_t*)0x200000000812 = 0;
*(uint16_t*)0x200000000814 = 8;
*(uint16_t*)0x200000000816 = 3;
*(uint32_t*)0x200000000818 = r[1];
*(uint16_t*)0x20000000081c = 8;
*(uint16_t*)0x20000000081e = 0x26;
*(uint32_t*)0x200000000820 = 0x96c;
*(uint16_t*)0x200000000824 = 8;
*(uint16_t*)0x200000000826 = 0x9f;
*(uint32_t*)0x200000000828 = 7;
*(uint64_t*)0x200000000208 = 0x2c;
*(uint64_t*)0x200000000258 = 1;
*(uint64_t*)0x200000000260 = 0;
*(uint64_t*)0x200000000268 = 0;
*(uint32_t*)0x200000000270 = 0x24004015;
	syscall(__NR_sendmsg, /*fd=*/r[0], /*msg=*/0x200000000240ul, /*f=MSG_BATCH|MSG_PROBE|MSG_NOSIGNAL|MSG_EOR|MSG_DONTWAIT|MSG_CONFIRM*/0x448d0ul);
//  syz_80211_inject_frame arguments: [
//    mac_addr: ptr[in, ieee80211_mac_addr] {
//      union ieee80211_mac_addr {
//        device_b: ieee80211_fixed_mac_addr[const[0x1, int8]] {
//          byte0: const = 0x8 (1 bytes)
//          byte1: const = 0x2 (1 bytes)
//          byte2: const = 0x11 (1 bytes)
//          byte3: const = 0x0 (1 bytes)
//          byte4: const = 0x0 (1 bytes)
//          byte5: const = 0x1 (1 bytes)
//        }
//      }
//    }
//    buf: ptr[inout, array[ANYUNION]] {
//      array[ANYUNION] {
//        union ANYUNION {
//          ANYBLOB: buffer: {88 a8 00 60 37 12 00 08 02 11 00 00 00 ff ff ff ff ff ff ff ff ff} (length 0x16)
//        }
//      }
//    }
//    buf_len: len = 0x1e (8 bytes)
//  ]
*(uint8_t*)0x200000000280 = 8;
*(uint8_t*)0x200000000281 = 2;
*(uint8_t*)0x200000000282 = 0x11;
*(uint8_t*)0x200000000283 = 0;
*(uint8_t*)0x200000000284 = 0;
*(uint8_t*)0x200000000285 = 1;
memcpy((void*)0x200000000700, "\x88\xa8\x00\x60\x37\x12\x00\x08\x02\x11\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff", 22);
syz_80211_inject_frame(/*mac_addr=*/0x200000000280, /*buf=*/0x200000000700, /*buf_len=*/0x1e);
	return 0;
}
]

3/1 2026/03/27 20:02 action kernel-checkouter
0m Results:
map[KernelSrc:/app/workdir/cache/src/0c795072baea38aa27acc4e078034f17971ff9aa]

4/1 2026/03/27 20:02 action kernel-builder
33m Results:
map[KernelObj:/app/workdir/cache/build/65c2ddf27eea3ad32a50c4ed7483dba59aa70274]

5/1 2026/03/27 20:36 action crash-reproducer
1m Results:
map[ReproducedBugTitle:WARNING in mac80211_hwsim_sta_rc_update ReproducedCrashReport:------------[ cut here ]------------
intf 08:02:11:00:00:01 [link=0]: bad STA 00:00:00:ff:ff:ff bandwidth 20 MHz (0) > channel config 10 MHz (7)
WARNING: drivers/net/wireless/virtual/mac80211_hwsim.c:2696 at mac80211_hwsim_sta_rc_update+0x696/0x860 drivers/net/wireless/virtual/mac80211_hwsim.c:2693, CPU#0: kworker/u9:2/53
Modules linked in:
CPU: 0 UID: 0 PID: 53 Comm: kworker/u9:2 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Workqueue: events_unbound cfg80211_wiphy_work
RIP: 0010:mac80211_hwsim_sta_rc_update+0x6f4/0x860 drivers/net/wireless/virtual/mac80211_hwsim.c:2693
Code: 85 d2 00 00 00 45 8b 36 44 89 f7 e8 a6 20 00 00 48 8b 7c 24 28 48 8b 74 24 30 89 ea 48 8b 4c 24 10 41 89 d8 45 89 f9 41 56 50 <67> 48 0f b9 3a 48 83 c4 10 e9 08 ff ff ff e8 89 ef cc fa 90 0f 0b
RSP: 0018:ffffc9000069f738 EFLAGS: 00010293
RAX: 000000000000000a RBX: 0000000000000014 RCX: ffff888029d4cec0
RDX: 0000000000000000 RSI: ffff88801fb37042 RDI: ffffffff90278400
RBP: 0000000000000000 R08: 0000000000000014 R09: 0000000000000000
R10: 000000000000000d R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000007 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880985f2000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2c2e6720c0 CR3: 00000000295ee000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 mac80211_hwsim_sta_add+0xa4/0x350 drivers/net/wireless/virtual/mac80211_hwsim.c:2713
 drv_sta_add net/mac80211/driver-ops.h:470 [inline]
 drv_sta_state+0x86a/0x1880 net/mac80211/driver-ops.c:155
 sta_info_insert_drv_state net/mac80211/sta_info.c:836 [inline]
 sta_info_insert_finish net/mac80211/sta_info.c:944 [inline]
 sta_info_insert_rcu+0x1985/0x2730 net/mac80211/sta_info.c:1021
 ieee80211_ocb_finish_sta net/mac80211/ocb.c:105 [inline]
 ieee80211_ocb_work+0x324/0x590 net/mac80211/ocb.c:139
 cfg80211_wiphy_work+0x2ab/0x4a0 net/wireless/core.c:440
 process_one_work kernel/workqueue.c:3276 [inline]
 process_scheduled_works+0xb6e/0x18c0 kernel/workqueue.c:3359
 worker_thread+0x8a2/0xda0 kernel/workqueue.c:3440
 kthread+0x388/0x470 kernel/kthread.c:436
 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
----------------
Code disassembly (best guess):
   0:	85 d2                	test   %edx,%edx
   2:	00 00                	add    %al,(%rax)
   4:	00 45 8b             	add    %al,-0x75(%rbp)
   7:	36 44 89 f7          	ss mov %r14d,%edi
   b:	e8 a6 20 00 00       	call   0x20b6
  10:	48 8b 7c 24 28       	mov    0x28(%rsp),%rdi
  15:	48 8b 74 24 30       	mov    0x30(%rsp),%rsi
  1a:	89 ea                	mov    %ebp,%edx
  1c:	48 8b 4c 24 10       	mov    0x10(%rsp),%rcx
  21:	41 89 d8             	mov    %ebx,%r8d
  24:	45 89 f9             	mov    %r15d,%r9d
  27:	41 56                	push   %r14
  29:	50                   	push   %rax
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 83 c4 10          	add    $0x10,%rsp
  33:	e9 08 ff ff ff       	jmp    0xffffff40
  38:	e8 89 ef cc fa       	call   0xfaccefc6
  3d:	90                   	nop
  3e:	0f 0b                	ud2
]

6/1 2026/03/27 20:38 action codesearch-prepare
17m Results:
map[Index:codesearch-index]

7/1 2026/03/27 20:55 agent debugger
6m Model:
gemini-3.1-pro-preview

Instruction:
You are an experienced Linux kernel developer tasked with debugging a kernel crash root cause.
You need to provide a detailed explanation of the root cause for another developer to be
able to write a fix for the bug based on your explanation. Include all relevant details
into the response: function/struct/field/etc names, code snippets, line numbers,
macro/enum values, etc.



Prefer calling several tools at the same time to save round-trips.

Prompt:
The crash is:

------------[ cut here ]------------
intf 08:02:11:00:00:01 [link=0]: bad STA 00:00:00:ff:ff:ff bandwidth 20 MHz (0) > channel config 10 MHz (7)
WARNING: drivers/net/wireless/virtual/mac80211_hwsim.c:2696 at mac80211_hwsim_sta_rc_update+0x696/0x860 drivers/net/wireless/virtual/mac80211_hwsim.c:2693, CPU#0: kworker/u9:2/53
Modules linked in:
CPU: 0 UID: 0 PID: 53 Comm: kworker/u9:2 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Workqueue: events_unbound cfg80211_wiphy_work
RIP: 0010:mac80211_hwsim_sta_rc_update+0x6f4/0x860 drivers/net/wireless/virtual/mac80211_hwsim.c:2693
Code: 85 d2 00 00 00 45 8b 36 44 89 f7 e8 a6 20 00 00 48 8b 7c 24 28 48 8b 74 24 30 89 ea 48 8b 4c 24 10 41 89 d8 45 89 f9 41 56 50 <67> 48 0f b9 3a 48 83 c4 10 e9 08 ff ff ff e8 89 ef cc fa 90 0f 0b
RSP: 0018:ffffc9000069f738 EFLAGS: 00010293
RAX: 000000000000000a RBX: 0000000000000014 RCX: ffff888029d4cec0
RDX: 0000000000000000 RSI: ffff88801fb37042 RDI: ffffffff90278400
RBP: 0000000000000000 R08: 0000000000000014 R09: 0000000000000000
R10: 000000000000000d R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000007 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880985f2000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2c2e6720c0 CR3: 00000000295ee000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 mac80211_hwsim_sta_add+0xa4/0x350 drivers/net/wireless/virtual/mac80211_hwsim.c:2713
 drv_sta_add net/mac80211/driver-ops.h:470 [inline]
 drv_sta_state+0x86a/0x1880 net/mac80211/driver-ops.c:155
 sta_info_insert_drv_state net/mac80211/sta_info.c:836 [inline]
 sta_info_insert_finish net/mac80211/sta_info.c:944 [inline]
 sta_info_insert_rcu+0x1985/0x2730 net/mac80211/sta_info.c:1021
 ieee80211_ocb_finish_sta net/mac80211/ocb.c:105 [inline]
 ieee80211_ocb_work+0x324/0x590 net/mac80211/ocb.c:139
 cfg80211_wiphy_work+0x2ab/0x4a0 net/wireless/core.c:440
 process_one_work kernel/workqueue.c:3276 [inline]
 process_scheduled_works+0xb6e/0x18c0 kernel/workqueue.c:3359
 worker_thread+0x8a2/0xda0 kernel/workqueue.c:3440
 kthread+0x388/0x470 kernel/kthread.c:436
 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
----------------
Code disassembly (best guess):
   0:	85 d2                	test   %edx,%edx
   2:	00 00                	add    %al,(%rax)
   4:	00 45 8b             	add    %al,-0x75(%rbp)
   7:	36 44 89 f7          	ss mov %r14d,%edi
   b:	e8 a6 20 00 00       	call   0x20b6
  10:	48 8b 7c 24 28       	mov    0x28(%rsp),%rdi
  15:	48 8b 74 24 30       	mov    0x30(%rsp),%rsi
  1a:	89 ea                	mov    %ebp,%edx
  1c:	48 8b 4c 24 10       	mov    0x10(%rsp),%rcx
  21:	41 89 d8             	mov    %ebx,%r8d
  24:	45 89 f9             	mov    %r15d,%r9d
  27:	41 56                	push   %r14
  29:	50                   	push   %rax
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 83 c4 10          	add    $0x10,%rsp
  33:	e9 08 ff ff ff       	jmp    0xffffff40
  38:	e8 89 ef cc fa       	call   0xfaccefc6
  3d:	90                   	nop
  3e:	0f 0b                	ud2


The following C code is a draft of the vulnerable syscall sequence. Keep in mind that 
it may lack the precise threading, sandboxing, and some arguments of a working reproducer:

// autogenerated by syzkaller (https://github.com/google/syzkaller)

#define _GNU_SOURCE 

#include <arpa/inet.h>
#include <endian.h>
#include <errno.h>
#include <net/if.h>
#include <netinet/in.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <unistd.h>

#include <linux/genetlink.h>
#include <linux/if_addr.h>
#include <linux/if_ether.h>
#include <linux/if_link.h>
#include <linux/in6.h>
#include <linux/neighbour.h>
#include <linux/net.h>
#include <linux/netlink.h>
#include <linux/nl80211.h>
#include <linux/rtnetlink.h>
#include <linux/veth.h>

struct nlmsg {
	char* pos;
	int nesting;
	struct nlattr* nested[8];
	char buf[4096];
};

static void netlink_init(struct nlmsg* nlmsg, int typ, int flags,
			 const void* data, int size)
{
	memset(nlmsg, 0, sizeof(*nlmsg));
	struct nlmsghdr* hdr = (struct nlmsghdr*)nlmsg->buf;
	hdr->nlmsg_type = typ;
	hdr->nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | flags;
	memcpy(hdr + 1, data, size);
	nlmsg->pos = (char*)(hdr + 1) + NLMSG_ALIGN(size);
}

static void netlink_attr(struct nlmsg* nlmsg, int typ,
			 const void* data, int size)
{
	struct nlattr* attr = (struct nlattr*)nlmsg->pos;
	attr->nla_len = sizeof(*attr) + size;
	attr->nla_type = typ;
	if (size > 0)
		memcpy(attr + 1, data, size);
	nlmsg->pos += NLMSG_ALIGN(attr->nla_len);
}

static int netlink_send_ext(struct nlmsg* nlmsg, int sock,
			    uint16_t reply_type, int* reply_len, bool dofail)
{
	if (nlmsg->pos > nlmsg->buf + sizeof(nlmsg->buf) || nlmsg->nesting)
	exit(1);
	struct nlmsghdr* hdr = (struct nlmsghdr*)nlmsg->buf;
	hdr->nlmsg_len = nlmsg->pos - nlmsg->buf;
	struct sockaddr_nl addr;
	memset(&addr, 0, sizeof(addr));
	addr.nl_family = AF_NETLINK;
	ssize_t n = sendto(sock, nlmsg->buf, hdr->nlmsg_len, 0, (struct sockaddr*)&addr, sizeof(addr));
	if (n != (ssize_t)hdr->nlmsg_len) {
		if (dofail)
	exit(1);
		return -1;
	}
	n = recv(sock, nlmsg->buf, sizeof(nlmsg->buf), 0);
	if (reply_len)
		*reply_len = 0;
	if (n < 0) {
		if (dofail)
	exit(1);
		return -1;
	}
	if (n < (ssize_t)sizeof(struct nlmsghdr)) {
		errno = EINVAL;
		if (dofail)
	exit(1);
		return -1;
	}
	if (hdr->nlmsg_type == NLMSG_DONE)
		return 0;
	if (reply_len && hdr->nlmsg_type == reply_type) {
		*reply_len = n;
		return 0;
	}
	if (n < (ssize_t)(sizeof(struct nlmsghdr) + sizeof(struct nlmsgerr))) {
		errno = EINVAL;
		if (dofail)
	exit(1);
		return -1;
	}
	if (hdr->nlmsg_type != NLMSG_ERROR) {
		errno = EINVAL;
		if (dofail)
	exit(1);
		return -1;
	}
	errno = -((struct nlmsgerr*)(hdr + 1))->error;
	return -errno;
}

static int netlink_query_family_id(struct nlmsg* nlmsg, int sock, const char* family_name, bool dofail)
{
	struct genlmsghdr genlhdr;
	memset(&genlhdr, 0, sizeof(genlhdr));
	genlhdr.cmd = CTRL_CMD_GETFAMILY;
	netlink_init(nlmsg, GENL_ID_CTRL, 0, &genlhdr, sizeof(genlhdr));
	netlink_attr(nlmsg, CTRL_ATTR_FAMILY_NAME, family_name, strnlen(family_name, GENL_NAMSIZ - 1) + 1);
	int n = 0;
	int err = netlink_send_ext(nlmsg, sock, GENL_ID_CTRL, &n, dofail);
	if (err < 0) {
		return -1;
	}
	uint16_t id = 0;
	struct nlattr* attr = (struct nlattr*)(nlmsg->buf + NLMSG_HDRLEN + NLMSG_ALIGN(sizeof(genlhdr)));
	for (; (char*)attr < nlmsg->buf + n; attr = (struct nlattr*)((char*)attr + NLMSG_ALIGN(attr->nla_len))) {
		if (attr->nla_type == CTRL_ATTR_FAMILY_ID) {
			id = *(uint16_t*)(attr + 1);
			break;
		}
	}
	if (!id) {
		errno = EINVAL;
		return -1;
	}
	recv(sock, nlmsg->buf, sizeof(nlmsg->buf), 0);
	return id;
}

#define WIFI_INITIAL_DEVICE_COUNT 2
#define WIFI_MAC_BASE { 0x08, 0x02, 0x11, 0x00, 0x00, 0x00}
#define WIFI_IBSS_BSSID { 0x50, 0x50, 0x50, 0x50, 0x50, 0x50}
#define WIFI_IBSS_SSID { 0x10, 0x10, 0x10, 0x10, 0x10, 0x10}
#define WIFI_DEFAULT_FREQUENCY 2412
#define WIFI_DEFAULT_SIGNAL 0
#define WIFI_DEFAULT_RX_RATE 1
#define HWSIM_CMD_REGISTER 1
#define HWSIM_CMD_FRAME 2
#define HWSIM_CMD_NEW_RADIO 4
#define HWSIM_ATTR_SUPPORT_P2P_DEVICE 14
#define HWSIM_ATTR_PERM_ADDR 22

static long syz_genetlink_get_family_id(volatile long name, volatile long sock_arg)
{
	int fd = sock_arg;
	if (fd < 0) {
		fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC);
		if (fd == -1) {
			return -1;
		}
	}
	struct nlmsg nlmsg_tmp;
	int ret = netlink_query_family_id(&nlmsg_tmp, fd, (char*)name, false);
	if ((int)sock_arg < 0)
		close(fd);
	if (ret < 0) {
		return -1;
	}
	return ret;
}

#define HWSIM_ATTR_RX_RATE 5
#define HWSIM_ATTR_SIGNAL 6
#define HWSIM_ATTR_ADDR_RECEIVER 1
#define HWSIM_ATTR_FRAME 3

#define WIFI_MAX_INJECT_LEN 2048

static int hwsim_register_socket(struct nlmsg* nlmsg, int sock, int hwsim_family)
{
	struct genlmsghdr genlhdr;
	memset(&genlhdr, 0, sizeof(genlhdr));
	genlhdr.cmd = HWSIM_CMD_REGISTER;
	netlink_init(nlmsg, hwsim_family, 0, &genlhdr, sizeof(genlhdr));
	int err = netlink_send_ext(nlmsg, sock, 0, NULL, false);
	if (err < 0) {
	}
	return err;
}

static int hwsim_inject_frame(struct nlmsg* nlmsg, int sock, int hwsim_family, uint8_t* mac_addr, uint8_t* data, int len)
{
	struct genlmsghdr genlhdr;
	uint32_t rx_rate = WIFI_DEFAULT_RX_RATE;
	uint32_t signal = WIFI_DEFAULT_SIGNAL;
	memset(&genlhdr, 0, sizeof(genlhdr));
	genlhdr.cmd = HWSIM_CMD_FRAME;
	netlink_init(nlmsg, hwsim_family, 0, &genlhdr, sizeof(genlhdr));
	netlink_attr(nlmsg, HWSIM_ATTR_RX_RATE, &rx_rate, sizeof(rx_rate));
	netlink_attr(nlmsg, HWSIM_ATTR_SIGNAL, &signal, sizeof(signal));
	netlink_attr(nlmsg, HWSIM_ATTR_ADDR_RECEIVER, mac_addr, ETH_ALEN);
	netlink_attr(nlmsg, HWSIM_ATTR_FRAME, data, len);
	int err = netlink_send_ext(nlmsg, sock, 0, NULL, false);
	if (err < 0) {
	}
	return err;
}

static long syz_80211_inject_frame(volatile long a0, volatile long a1, volatile long a2)
{
	uint8_t* mac_addr = (uint8_t*)a0;
	uint8_t* buf = (uint8_t*)a1;
	int buf_len = (int)a2;
	struct nlmsg tmp_msg;
	if (buf_len < 0 || buf_len > WIFI_MAX_INJECT_LEN) {
		return -1;
	}
	int sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC);
	if (sock < 0) {
		return -1;
	}
	int hwsim_family_id = netlink_query_family_id(&tmp_msg, sock, "MAC80211_HWSIM", false);
	if (hwsim_family_id < 0) {
		close(sock);
		return -1;
	}
	int ret = hwsim_register_socket(&tmp_msg, sock, hwsim_family_id);
	if (ret < 0) {
		close(sock);
		return -1;
	}
	ret = hwsim_inject_frame(&tmp_msg, sock, hwsim_family_id, mac_addr, buf, buf_len);
	close(sock);
	if (ret < 0) {
		return -1;
	}
	return 0;
}

uint64_t r[4] = {0xffffffffffffffff, 0x0, 0xffffffffffffffff, 0x0};

int main(void)
{
		syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul);
	syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul);
	syscall(__NR_mmap, /*addr=*/0x200001000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul);
	const char* reason;
	(void)reason;
				intptr_t res = 0;
	if (write(1, "executing program\n", sizeof("executing program\n") - 1)) {}
//  socket$nl_generic arguments: [
//    domain: const = 0x10 (8 bytes)
//    type: const = 0x3 (8 bytes)
//    proto: const = 0x10 (4 bytes)
//  ]
//  returns sock_nl_generic
	res = syscall(__NR_socket, /*domain=*/0x10ul, /*type=*/3ul, /*proto=*/0x10);
	if (res != -1)
		r[0] = res;
//  ioctl$sock_SIOCGIFINDEX_80211 arguments: [
//    fd: sock (resource)
//    cmd: const = 0x8933 (4 bytes)
//    arg: ptr[out, ifreq_dev_t[nl80211_devnames, nl80211_ifindex]] {
//      ifreq_dev_t[nl80211_devnames, nl80211_ifindex] {
//        ifr_ifrn: buffer: {77 6c 61 6e 31 00 00 00 00 00 00 00 00 00 00 00} (length 0x10)
//        elem: nl80211_ifindex (resource)
//        pad = 0x0 (20 bytes)
//      }
//    }
//  ]
memcpy((void*)0x200000000100, "wlan1\000\000\000\000\000\000\000\000\000\000\000", 16);
	res = syscall(__NR_ioctl, /*fd=*/r[0], /*cmd=*/0x8933, /*arg=*/0x200000000100ul);
	if (res != -1)
r[1] = *(uint32_t*)0x200000000110;
//  socket$nl_generic arguments: [
//    domain: const = 0x10 (8 bytes)
//    type: const = 0x3 (8 bytes)
//    proto: const = 0x10 (4 bytes)
//  ]
//  returns sock_nl_generic
	res = syscall(__NR_socket, /*domain=*/0x10ul, /*type=*/3ul, /*proto=*/0x10);
	if (res != -1)
		r[2] = res;
//  syz_genetlink_get_family_id$nl80211 arguments: [
//    name: ptr[in, buffer] {
//      buffer: {6e 6c 38 30 32 31 31 00} (length 0x8)
//    }
//    fd: sock_nl_generic (resource)
//  ]
//  returns nl80211_family_id
memcpy((void*)0x200000000200, "nl80211\000", 8);
	res = -1;
res = syz_genetlink_get_family_id(/*name=*/0x200000000200, /*fd=*/-1);
	if (res != -1)
		r[3] = res;
//  sendmsg$NL80211_CMD_SET_INTERFACE arguments: [
//    fd: sock_nl_generic (resource)
//    msg: ptr[in, msghdr_netlink[netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_SET_INTERFACE, nl80211_wdev_payload], nl80211_policy$set_interface]]] {
//      msghdr_netlink[netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_SET_INTERFACE, nl80211_wdev_payload], nl80211_policy$set_interface]] {
//        addr: nil
//        addrlen: len = 0x0 (4 bytes)
//        pad = 0x0 (4 bytes)
//        vec: ptr[in, iovec[in, netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_SET_INTERFACE, nl80211_wdev_payload], nl80211_policy$set_interface]]] {
//          iovec[in, netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_SET_INTERFACE, nl80211_wdev_payload], nl80211_policy$set_interface]] {
//            addr: ptr[in, netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_SET_INTERFACE, nl80211_wdev_payload], nl80211_policy$set_interface]] {
//              netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_SET_INTERFACE, nl80211_wdev_payload], nl80211_policy$set_interface] {
//                len: len = 0x24 (4 bytes)
//                type: nl80211_family_id (resource)
//                flags: netlink_msg_flags = 0x5 (2 bytes)
//                seq: int32 = 0x0 (4 bytes)
//                pid: int32 = 0x0 (4 bytes)
//                payload: msg_nl80211_payload[NL80211_CMD_SET_INTERFACE, nl80211_wdev_payload] {
//                  genl_hdr: genlmsghdr_t[NL80211_CMD_SET_INTERFACE] {
//                    cmd: const = 0x6 (1 bytes)
//                    version: const = 0x0 (1 bytes)
//                    reserved: const = 0x0 (2 bytes)
//                  }
//                  payload: nl80211_wdev_payload {
//                    NL80211_ATTR_IFINDEX: union optional[nlattr[NL80211_ATTR_IFINDEX, nl80211_ifindex]] {
//                      val: nlattr_t[const[NL80211_ATTR_IFINDEX, int16], nl80211_ifindex] {
//                        nla_len: offsetof = 0x8 (2 bytes)
//                        nla_type: const = 0x3 (2 bytes)
//                        payload: nl80211_ifindex (resource)
//                        size: buffer: {} (length 0x0)
//                      }
//                    }
//                    NL80211_ATTR_WDEV: union optional[nlattr[NL80211_ATTR_WDEV, nl80211_wdev]] {
//                      void: buffer: {} (length 0x0)
//                    }
//                  }
//                }
//                attrs: array[nl80211_policy$set_interface] {
//                  union nl80211_policy$set_interface {
//                    NL80211_ATTR_IFTYPE: nlattr_t[const[NL80211_ATTR_IFTYPE, int16], flags[nl80211_iftype, int32]] {
//                      nla_len: offsetof = 0x8 (2 bytes)
//                      nla_type: const = 0x5 (2 bytes)
//                      payload: nl80211_iftype = 0xb (4 bytes)
//                      size: buffer: {} (length 0x0)
//                    }
//                  }
//                }
//              }
//            }
//            len: len = 0x24 (8 bytes)
//          }
//        }
//        vlen: const = 0x1 (8 bytes)
//        ctrl: const = 0x0 (8 bytes)
//        ctrllen: const = 0x0 (8 bytes)
//        f: send_flags = 0x400c000 (4 bytes)
//        pad = 0x0 (4 bytes)
//      }
//    }
//    f: send_flags = 0x0 (8 bytes)
//  ]
*(uint64_t*)0x200000000340 = 0;
*(uint32_t*)0x200000000348 = 0;
*(uint64_t*)0x200000000350 = 0x200000000300;
*(uint64_t*)0x200000000300 = 0x200000000000;
*(uint32_t*)0x200000000000 = 0x24;
*(uint16_t*)0x200000000004 = r[3];
*(uint16_t*)0x200000000006 = 5;
*(uint32_t*)0x200000000008 = 0;
*(uint32_t*)0x20000000000c = 0;
*(uint8_t*)0x200000000010 = 6;
*(uint8_t*)0x200000000011 = 0;
*(uint16_t*)0x200000000012 = 0;
*(uint16_t*)0x200000000014 = 8;
*(uint16_t*)0x200000000016 = 3;
*(uint32_t*)0x200000000018 = r[1];
*(uint16_t*)0x20000000001c = 8;
*(uint16_t*)0x20000000001e = 5;
*(uint32_t*)0x200000000020 = 0xb;
*(uint64_t*)0x200000000308 = 0x24;
*(uint64_t*)0x200000000358 = 1;
*(uint64_t*)0x200000000360 = 0;
*(uint64_t*)0x200000000368 = 0;
*(uint32_t*)0x200000000370 = 0x400c000;
	syscall(__NR_sendmsg, /*fd=*/r[2], /*msg=*/0x200000000340ul, /*f=*/0ul);
//  sendmsg$NL80211_CMD_JOIN_OCB arguments: [
//    fd: sock_nl_generic (resource)
//    msg: ptr[in, msghdr_netlink[netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_JOIN_OCB, nl80211_wdev_payload], nl80211_policy$chandef_params]]] {
//      msghdr_netlink[netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_JOIN_OCB, nl80211_wdev_payload], nl80211_policy$chandef_params]] {
//        addr: nil
//        addrlen: len = 0x0 (4 bytes)
//        pad = 0x0 (4 bytes)
//        vec: ptr[in, iovec[in, netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_JOIN_OCB, nl80211_wdev_payload], nl80211_policy$chandef_params]]] {
//          iovec[in, netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_JOIN_OCB, nl80211_wdev_payload], nl80211_policy$chandef_params]] {
//            addr: ptr[in, netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_JOIN_OCB, nl80211_wdev_payload], nl80211_policy$chandef_params]] {
//              netlink_msg_t[nl80211_family_id, msg_nl80211_payload[NL80211_CMD_JOIN_OCB, nl80211_wdev_payload], nl80211_policy$chandef_params] {
//                len: len = 0x2c (4 bytes)
//                type: nl80211_family_id (resource)
//                flags: netlink_msg_flags = 0x1 (2 bytes)
//                seq: int32 = 0x70bd28 (4 bytes)
//                pid: int32 = 0x25dfdbff (4 bytes)
//                payload: msg_nl80211_payload[NL80211_CMD_JOIN_OCB, nl80211_wdev_payload] {
//                  genl_hdr: genlmsghdr_t[NL80211_CMD_JOIN_OCB] {
//                    cmd: const = 0x6c (1 bytes)
//                    version: const = 0x0 (1 bytes)
//                    reserved: const = 0x0 (2 bytes)
//                  }
//                  payload: nl80211_wdev_payload {
//                    NL80211_ATTR_IFINDEX: union optional[nlattr[NL80211_ATTR_IFINDEX, nl80211_ifindex]] {
//                      val: nlattr_t[const[NL80211_ATTR_IFINDEX, int16], nl80211_ifindex] {
//                        nla_len: offsetof = 0x8 (2 bytes)
//                        nla_type: const = 0x3 (2 bytes)
//                        payload: nl80211_ifindex (resource)
//                        size: buffer: {} (length 0x0)
//                      }
//                    }
//                    NL80211_ATTR_WDEV: union optional[nlattr[NL80211_ATTR_WDEV, nl80211_wdev]] {
//                      void: buffer: {} (length 0x0)
//                    }
//                  }
//                }
//                attrs: array[nl80211_policy$chandef_params] {
//                  union nl80211_policy$chandef_params {
//                    NL80211_ATTR_WIPHY_FREQ: nlattr_t[const[NL80211_ATTR_WIPHY_FREQ, int16], ieee80211_frequency_mhz[int32]] {
//                      nla_len: offsetof = 0x8 (2 bytes)
//                      nla_type: const = 0x26 (2 bytes)
//                      payload: union ieee80211_frequency_mhz[int32] {
//                        default: const = 0x96c (4 bytes)
//                      }
//                      size: buffer: {} (length 0x0)
//                    }
//                  }
//                  union nl80211_policy$chandef_params {
//                    NL80211_ATTR_CHANNEL_WIDTH: nlattr_t[const[NL80211_ATTR_CHANNEL_WIDTH, int16], flags[nl80211_channel_widths, int32]] {
//                      nla_len: offsetof = 0x8 (2 bytes)
//                      nla_type: const = 0x9f (2 bytes)
//                      payload: nl80211_channel_widths = 0x7 (4 bytes)
//                      size: buffer: {} (length 0x0)
//                    }
//                  }
//                }
//              }
//            }
//            len: len = 0x2c (8 bytes)
//          }
//        }
//        vlen: const = 0x1 (8 bytes)
//        ctrl: const = 0x0 (8 bytes)
//        ctrllen: const = 0x0 (8 bytes)
//        f: send_flags = 0x24004015 (4 bytes)
//        pad = 0x0 (4 bytes)
//      }
//    }
//    f: send_flags = 0x448d0 (8 bytes)
//  ]
*(uint64_t*)0x200000000240 = 0;
*(uint32_t*)0x200000000248 = 0;
*(uint64_t*)0x200000000250 = 0x200000000200;
*(uint64_t*)0x200000000200 = 0x200000000800;
*(uint32_t*)0x200000000800 = 0x2c;
*(uint16_t*)0x200000000804 = r[3];
*(uint16_t*)0x200000000806 = 1;
*(uint32_t*)0x200000000808 = 0x70bd28;
*(uint32_t*)0x20000000080c = 0x25dfdbff;
*(uint8_t*)0x200000000810 = 0x6c;
*(uint8_t*)0x200000000811 = 0;
*(uint16_t*)0x200000000812 = 0;
*(uint16_t*)0x200000000814 = 8;
*(uint16_t*)0x200000000816 = 3;
*(uint32_t*)0x200000000818 = r[1];
*(uint16_t*)0x20000000081c = 8;
*(uint16_t*)0x20000000081e = 0x26;
*(uint32_t*)0x200000000820 = 0x96c;
*(uint16_t*)0x200000000824 = 8;
*(uint16_t*)0x200000000826 = 0x9f;
*(uint32_t*)0x200000000828 = 7;
*(uint64_t*)0x200000000208 = 0x2c;
*(uint64_t*)0x200000000258 = 1;
*(uint64_t*)0x200000000260 = 0;
*(uint64_t*)0x200000000268 = 0;
*(uint32_t*)0x200000000270 = 0x24004015;
	syscall(__NR_sendmsg, /*fd=*/r[0], /*msg=*/0x200000000240ul, /*f=MSG_BATCH|MSG_PROBE|MSG_NOSIGNAL|MSG_EOR|MSG_DONTWAIT|MSG_CONFIRM*/0x448d0ul);
//  syz_80211_inject_frame arguments: [
//    mac_addr: ptr[in, ieee80211_mac_addr] {
//      union ieee80211_mac_addr {
//        device_b: ieee80211_fixed_mac_addr[const[0x1, int8]] {
//          byte0: const = 0x8 (1 bytes)
//          byte1: const = 0x2 (1 bytes)
//          byte2: const = 0x11 (1 bytes)
//          byte3: const = 0x0 (1 bytes)
//          byte4: const = 0x0 (1 bytes)
//          byte5: const = 0x1 (1 bytes)
//        }
//      }
//    }
//    buf: ptr[inout, array[ANYUNION]] {
//      array[ANYUNION] {
//        union ANYUNION {
//          ANYBLOB: buffer: {88 a8 00 60 37 12 00 08 02 11 00 00 00 ff ff ff ff ff ff ff ff ff} (length 0x16)
//        }
//      }
//    }
//    buf_len: len = 0x1e (8 bytes)
//  ]
*(uint8_t*)0x200000000280 = 8;
*(uint8_t*)0x200000000281 = 2;
*(uint8_t*)0x200000000282 = 0x11;
*(uint8_t*)0x200000000283 = 0;
*(uint8_t*)0x200000000284 = 0;
*(uint8_t*)0x200000000285 = 1;
memcpy((void*)0x200000000700, "\x88\xa8\x00\x60\x37\x12\x00\x08\x02\x11\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff", 22);
syz_80211_inject_frame(/*mac_addr=*/0x200000000280, /*buf=*/0x200000000700, /*buf_len=*/0x1e);
	return 0;
}


Reply:
The crash is caused by a false positive `WARN` in `mac80211_hwsim_sta_rc_update` when a station is added to an interface operating on a channel with a bandwidth smaller than 20 MHz (e.g., 10 MHz or 5 MHz).

### Root Cause Analysis

1. **False Positive Warning in `mac80211_hwsim_sta_rc_update`:**
   The function checks if the station's RX bandwidth (`bw`) is greater than the configured channel bandwidth (`confbw`):
   ```c
   WARN(bw > hwsim_get_chanwidth(confbw), ...)
   ```
   The station's RX bandwidth `bw` is derived from `link_sta->bandwidth`, which is of type `enum ieee80211_sta_rx_bandwidth`. This enum only defines bandwidths of 20 MHz and above (`IEEE80211_STA_RX_BW_20` is 0).
   
   For channels with a bandwidth less than 20 MHz (like 5 MHz or 10 MHz), HT/VHT/HE are not supported, and `link_sta->bandwidth` naturally defaults to `IEEE80211_STA_RX_BW_20`. Consequently, `bw` is evaluated as 20. 
   
   When the channel is configured for 10 MHz (`confbw` = `NL80211_CHAN_WIDTH_10`), `hwsim_get_chanwidth(confbw)` returns 10. The condition `20 > 10` evaluates to true, triggering the warning. Since the minimum representable STA RX bandwidth is 20 MHz, the warning should be suppressed for channel bandwidths smaller than 20 MHz.

2. **Incorrect Warning Message:**
   The warning message prints `data->bw` instead of `confbw`:
   ```c
   hwsim_get_chanwidth(data->bw), data->bw
   ```
   If `data->use_chanctx` is true, `data->bw` is not updated with the channel context bandwidth and remains 0 (`NL80211_CHAN_WIDTH_20_NOHT`), which leads to confusing output. It should print `confbw`.

3. **Similar Bug in `mac80211_hwsim_tx`:**
   In `mac80211_hwsim_tx`, there is a similar check:
   ```c
   enum nl80211_chan_width bw = data->bw;
   ...
   if (WARN_ON(hwsim_get_chanwidth(bw) > hwsim_get_chanwidth(confbw)))
       return;
   ```
   Here, `bw` is initialized to `data->bw` instead of `confbw`. If `data->use_chanctx` is true, `data->bw` is 0 (20 MHz). If the channel is 10 MHz, `confbw` is 10 MHz. The condition `20 > 10` will evaluate to true, triggering a warning and dropping the frame. It should be initialized to `confbw`.

### Proposed Fix

1. In `drivers/net/wireless/virtual/mac80211_hwsim.c`, update the warning condition in `mac80211_hwsim_sta_rc_update` to only trigger if the channel bandwidth is at least 20 MHz, and fix the printed variables:
   ```c
   WARN(bw > hwsim_get_chanwidth(confbw) && hwsim_get_chanwidth(confbw) >= 20,
        "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
        vif->addr, link_id, sta->addr, bw, sta->deflink.bandwidth,
        hwsim_get_chanwidth(confbw), confbw);
   ```

2. In `mac80211_hwsim_tx`, initialize `bw` to `confbw` instead of `data->bw`:
   ```c
   /* initialize to confbw for 5/10 MHz handling */
   enum nl80211_chan_width bw = confbw;
   ```

8/2 2026/03/27 20:55 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 13778
							output: 63
							thoughts: 253
						

Thoughts:
**Kernel Crash Investigation: WiFi Virtualization**

Okay, so we've got a kernel crash, that's not ideal. The message points to something wrong with a simulated wireless interface, specifically `intf 08:02:11:00:00:01` and a bandwidth mismatch: `bad STA 00:00:00:ff:ff:ff bandwidth 20 MHz (0) > channel config 10 MHz (7)`. The warning is originating from `mac80211_hwsim.c`, specifically line 2696 within the `mac80211_hwsim_sta_rc_update` function. That's our starting point. I need to dive into the source code of `mac80211_hwsim_sta_rc_update` in `drivers/net/wireless/virtual/mac80211_hwsim.c`. I need to figure out how this function handles Station Rate Control updates and why it's throwing this warning. The bandwidth discrepancy is the key, I expect. Time to get my hands dirty.



9/2 2026/03/27 20:55 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/wireless/virtual/mac80211_hwsim.c IncludeLines:true Name:mac80211_hwsim_sta_rc_update]

Results:
map[SourceCode:2645:	static void
2646:	mac80211_hwsim_sta_rc_update(struct ieee80211_hw *hw,
2647:				     struct ieee80211_vif *vif,
2648:				     struct ieee80211_link_sta *link_sta,
2649:				     u32 changed)
2650:	{
2651:		struct mac80211_hwsim_data *data = hw->priv;
2652:		struct ieee80211_sta *sta = link_sta->sta;
2653:		u32 bw = U32_MAX;
2654:		int link_id;
2655:	
2656:		rcu_read_lock();
2657:		for (link_id = 0;
2658:		     link_id < ARRAY_SIZE(vif->link_conf);
2659:		     link_id++) {
2660:			enum nl80211_chan_width confbw = NL80211_CHAN_WIDTH_20_NOHT;
2661:			struct ieee80211_bss_conf *vif_conf;
2662:	
2663:			link_sta = rcu_dereference(sta->link[link_id]);
2664:	
2665:			if (!link_sta)
2666:				continue;
2667:	
2668:			switch (link_sta->bandwidth) {
2669:	#define C(_bw) case IEEE80211_STA_RX_BW_##_bw: bw = _bw; break
2670:			C(20);
2671:			C(40);
2672:			C(80);
2673:			C(160);
2674:			C(320);
2675:	#undef C
2676:			}
2677:	
2678:			if (!data->use_chanctx) {
2679:				confbw = data->bw;
2680:			} else {
2681:				struct ieee80211_chanctx_conf *chanctx_conf;
2682:	
2683:				vif_conf = rcu_dereference(vif->link_conf[link_id]);
2684:				if (WARN_ON(!vif_conf))
2685:					continue;
2686:	
2687:				chanctx_conf = rcu_dereference(vif_conf->chanctx_conf);
2688:	
2689:				if (!WARN_ON(!chanctx_conf))
2690:					confbw = chanctx_conf->def.width;
2691:			}
2692:	
2693:			WARN(bw > hwsim_get_chanwidth(confbw),
2694:			     "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
2695:			     vif->addr, link_id, sta->addr, bw, sta->deflink.bandwidth,
2696:			     hwsim_get_chanwidth(data->bw), data->bw);
2697:	
2698:	
2699:		}
2700:		rcu_read_unlock();
2701:	
2702:	
2703:	}
 SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c]

10/2 2026/03/27 20:55 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 15321
							output: 55
							thoughts: 183
						

Thoughts:
**Analyzing a Bandwidth Mismatch Warning**

Okay, so I'm looking at this warning message in the code: `WARN(bw > hwsim_get_chanwidth(confbw), ...`. Seems straightforward enough, it's flagging a bandwidth issue. The message itself reads: "bandwidth 20 MHz (0) > channel config 10 MHz (7)". Right, so *`bw` is 20* and *`hwsim_get_chanwidth(confbw)` evaluates to 10*. The interesting bit here is what `confbw` actually represents. It looks like `confbw` is 7. I need to understand why this disparity exists. Let's dig into the implementation of `hwsim_get_chanwidth` to see what's going on with that `confbw` argument. This is clearly where the discrepancy is stemming from. Time to examine that function and trace the data flow.



11/2 2026/03/27 20:56 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/wireless/virtual/mac80211_hwsim.c IncludeLines:true Name:hwsim_get_chanwidth]

Results:
map[SourceCode: 985:	static int hwsim_get_chanwidth(enum nl80211_chan_width bw)
 986:	{
 987:		switch (bw) {
 988:		case NL80211_CHAN_WIDTH_20_NOHT:
 989:		case NL80211_CHAN_WIDTH_20:
 990:			return 20;
 991:		case NL80211_CHAN_WIDTH_40:
 992:			return 40;
 993:		case NL80211_CHAN_WIDTH_80:
 994:			return 80;
 995:		case NL80211_CHAN_WIDTH_80P80:
 996:		case NL80211_CHAN_WIDTH_160:
 997:			return 160;
 998:		case NL80211_CHAN_WIDTH_320:
 999:			return 320;
1000:		case NL80211_CHAN_WIDTH_5:
1001:			return 5;
1002:		case NL80211_CHAN_WIDTH_10:
1003:			return 10;
1004:		case NL80211_CHAN_WIDTH_1:
1005:			return 1;
1006:		case NL80211_CHAN_WIDTH_2:
1007:			return 2;
1008:		case NL80211_CHAN_WIDTH_4:
1009:			return 4;
1010:		case NL80211_CHAN_WIDTH_8:
1011:			return 8;
1012:		case NL80211_CHAN_WIDTH_16:
1013:			return 16;
1014:		}
1015:	
1016:		return INT_MAX;
1017:	}
 SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c]

12/2 2026/03/27 20:56 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 16336
							output: 61
							thoughts: 383
						

Thoughts:
**Analyzing a Potential Bandwidth Mismatch Bug in mac80211_hwsim**

Okay, so I'm looking at this warning message: `WARN(bw > hwsim_get_chanwidth(confbw), ...)` concerning a bandwidth discrepancy in `mac80211_hwsim`. Immediately, my spidey-sense is tingling. The warning's condition checks `hwsim_get_chanwidth(confbw)` but the message *prints* both `hwsim_get_chanwidth(data->bw)` and `data->bw`. That inconsistency is a red flag. It feels like there's a disconnect between what we're *checking* and what we're *reporting*.

If `data->use_chanctx` is true, then `confbw` is set from `chanctx_conf->def.width`, but the warning *still* seems to be focusing on `data->bw` in its output. It could be that the printing is wrong, or maybe there's a legitimate reason for comparing `confbw` to `bw` instead of just using `data->bw` for the check. I need to understand this better.

Let's dig into the syzkaller reproducer for context. It looks like the issue is triggered by an `NL80211_CMD_JOIN_OCB` command with `NL80211_ATTR_CHANNEL_WIDTH` set to 7, which corresponds to `NL80211_CHAN_WIDTH_10`. Right after that, it injects a frame via `syz_80211_inject_frame`. This frame triggers the addition of a STA. Then, the STA gets added, and `mac80211_hwsim_sta_add` is called.

The trace suggests that this warning occurs within `mac80211_hwsim_sta_add` after the frame is received and adds a STA. I should focus on how bandwidth is being handled there. I'm going to look at the internals of `mac80211_hwsim_sta_add` to see how it handles `data->bw`, `confbw`, and how it calls `mac80211_hwsim_sta_rc_update`. Hopefully, that will clarify the relationship between what's checked, what's configured, and what's printed.



13/2 2026/03/27 20:56 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/wireless/virtual/mac80211_hwsim.c IncludeLines:true Name:mac80211_hwsim_sta_add]

Results:
map[SourceCode:2705:	static int mac80211_hwsim_sta_add(struct ieee80211_hw *hw,
2706:					  struct ieee80211_vif *vif,
2707:					  struct ieee80211_sta *sta)
2708:	{
2709:		struct hwsim_sta_priv *sp = (void *)sta->drv_priv;
2710:	
2711:		hwsim_check_magic(vif);
2712:		hwsim_set_sta_magic(sta);
2713:		mac80211_hwsim_sta_rc_update(hw, vif, &sta->deflink, 0);
2714:	
2715:		if (sta->valid_links) {
2716:			WARN(hweight16(sta->valid_links) > 1,
2717:			     "expect to add STA with single link, have 0x%x\n",
2718:			     sta->valid_links);
2719:			sp->active_links_rx = sta->valid_links;
2720:		}
2721:	
2722:		return 0;
2723:	}
 SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c]

14/2 2026/03/27 20:56 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 17673
							output: 56
							thoughts: 845
						

Thoughts:
**Analyzing Bandwidth Mismatch in mac80211_hwsim_sta_rc_update**

Okay, let me break this down. I'm looking at `mac80211_hwsim_sta_rc_update`, and the goal here is to check if a station's bandwidth (`bw`) exceeds the configured channel width (`confbw`). Seems pretty straightforward, but I need to ensure the logic is solid.

The code initializes `bw` to `U32_MAX`. Then, it iterates through possible links for a station (`link_id`). Inside the loop, it checks `link_sta->bandwidth` and updates `bw` based on this value via the `C()` macro (that is a nice and clean implementation). Now, here's where my alarm bells start ringing. If `link_sta->bandwidth` is, for instance, `IEEE80211_STA_RX_BW_20`, then `bw` gets set to 20.

Crucially, after this update, the code then compares `bw` (the STA's bandwidth) with `hwsim_get_chanwidth(confbw)`. The code retrieves `confbw`, which can be driven by either `data->bw` or `chanctx_conf->def.width`, but both are initialized elsewhere. The `WARN` triggers if `bw` is greater than `hwsim_get_chanwidth(confbw)`.

I'm imagining a scenario: `bw` is set to 20 (MHz) because `link_sta->bandwidth` is `IEEE80211_STA_RX_BW_20`, while `confbw` is, say, `NL80211_CHAN_WIDTH_10` (corresponding to 10 MHz), and then `20 > 10` evaluates to true, triggering that warning.

My focus now is: why is `link_sta->bandwidth` 20 when the channel config (`confbw`) can be 10? We need to trace where `link_sta->bandwidth` is coming from. Time to dig through the code base. Okay, it looks like the STA is added by `mac80211_hwsim_sta_add`, which traces back from `drv_sta_add` through some STA state setup and insertion routines like `ieee80211_ocb_finish_sta` -> `sta_info_insert_rcu` -> `sta_info_insert_finish` -> `sta_info_insert_drv_state` -> `drv_sta_state`. I'm starting to get a picture, but it needs a lot more detail to identify the root cause here. I'm going to look at these functions more closely, focusing on where `link_sta->bandwidth` gets populated and how it relates to channel configuration. This warning could be a symptom of a misconfiguration or a race condition, so I need to analyze carefully.



15/2 2026/03/27 20:56 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac80211/ocb.c IncludeLines:true Name:ieee80211_ocb_finish_sta]

Results:
map[SourceCode:  87:	static struct sta_info *ieee80211_ocb_finish_sta(struct sta_info *sta)
  88:		__acquires(RCU)
  89:	{
  90:		struct ieee80211_sub_if_data *sdata = sta->sdata;
  91:		u8 addr[ETH_ALEN];
  92:	
  93:		memcpy(addr, sta->sta.addr, ETH_ALEN);
  94:	
  95:		ocb_dbg(sdata, "Adding new IBSS station %pM (dev=%s)\n",
  96:			addr, sdata->name);
  97:	
  98:		sta_info_move_state(sta, IEEE80211_STA_AUTH);
  99:		sta_info_move_state(sta, IEEE80211_STA_ASSOC);
 100:		sta_info_move_state(sta, IEEE80211_STA_AUTHORIZED);
 101:	
 102:		rate_control_rate_init(&sta->deflink);
 103:	
 104:		/* If it fails, maybe we raced another insertion? */
 105:		if (sta_info_insert_rcu(sta))
 106:			return sta_info_get(sdata, addr);
 107:		return sta;
 108:	}
 SourceFile:net/mac80211/ocb.c]

16/2 2026/03/27 20:56 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 19623
							output: 48
							thoughts: 13
						

Thoughts:
Here's my summary, as though I'm thinking through it:

**Rate Control Initialization Deep Dive**

Okay, time to get into `rate_control_rate_init`. This is the starting point, the foundation upon which the whole rate control scheme is built, so I need to make sure this is solid. I need to understand what's being initialized here and how it's setting the stage for everything that follows. I'm looking for the key data structures, the crucial parameters that are being set, any initial estimates or calculations being made. I'm going to be paying close attention to any dependencies on other modules or functions. Are they initializing based on configuration inputs or deriving it? What's the plan for its operation? What initial assumptions are we making about this data? Are we storing it? How? Is there any chance we will make bad decisions and it will be a problem later?

I'm particularly interested in anything that directly impacts the target bitrate, quantizer selection, and buffer management. This is where the decisions that ripple throughout the encoding process are born, and it's essential that these initial conditions are set right. I want to see how it's setting up the rate control loop and if it's got any starting points that could steer the encoding towards good decisions early on. I'm also watching out for any potential gotchas or edge cases that might bite us later. This is where I ensure all is well!



17/2 2026/03/27 20:56 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac80211/rate.c IncludeLines:true Name:rate_control_rate_init]

Results:
map[SourceCode:  31:	void rate_control_rate_init(struct link_sta_info *link_sta)
  32:	{
  33:		struct sta_info *sta = link_sta->sta;
  34:		struct ieee80211_local *local = sta->sdata->local;
  35:		struct rate_control_ref *ref = sta->rate_ctrl;
  36:		struct ieee80211_sta *ista = &sta->sta;
  37:		void *priv_sta = sta->rate_ctrl_priv;
  38:		struct ieee80211_supported_band *sband;
  39:		struct ieee80211_chanctx_conf *chanctx_conf;
  40:	
  41:		ieee80211_sta_init_nss(link_sta);
  42:	
  43:		if (!ref)
  44:			return;
  45:	
  46:		/* SW rate control isn't supported with MLO right now */
  47:		if (WARN_ON(ieee80211_vif_is_mld(&sta->sdata->vif)))
  48:			return;
  49:	
  50:		rcu_read_lock();
  51:	
  52:		chanctx_conf = rcu_dereference(sta->sdata->vif.bss_conf.chanctx_conf);
  53:		if (WARN_ON(!chanctx_conf)) {
  54:			rcu_read_unlock();
  55:			return;
  56:		}
  57:	
  58:		sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band];
  59:	
  60:		/* TODO: check for minstrel_s1g ? */
  61:		if (sband->band == NL80211_BAND_S1GHZ) {
  62:			ieee80211_s1g_sta_rate_init(sta);
  63:			rcu_read_unlock();
  64:			return;
  65:		}
  66:	
  67:		spin_lock_bh(&sta->rate_ctrl_lock);
  68:		ref->ops->rate_init(ref->priv, sband, &chanctx_conf->def, ista,
  69:				    priv_sta);
  70:		spin_unlock_bh(&sta->rate_ctrl_lock);
  71:		rcu_read_unlock();
  72:		set_sta_flag(sta, WLAN_STA_RATE_CONTROL);
  73:	}
 SourceFile:net/mac80211/rate.c]

18/2 2026/03/27 20:56 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 20714
							output: 55
							thoughts: 53
						

Thoughts:
Here's my summary, as the expert:

**Investigating the Rate Control Initialization**

Okay, so I'm looking at `rate_control_rate_init` and immediately my radar pings. It's calling `ieee80211_sta_init_nss(link_sta)`.  That's where the Network Service Selection (NSS) initialization happens, which is key for understanding how this rate control mechanism is set up at the station level.  I need to drill down into `ieee80211_sta_init_nss` now.  Understanding its behavior is going to be crucial for figuring out how the rate control algorithm interacts with the NSS configuration and what it is responsible for. I need to refresh my memory on what NSS is and how it integrates with my overall rate control strategy. Let me quickly go check that routine.



19/2 2026/03/27 20:56 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac80211/rate.c IncludeLines:true Name:ieee80211_sta_init_nss]

Results:
map[SourceCode: 554:	void ieee80211_sta_init_nss(struct link_sta_info *link_sta)
 555:	{
 556:		u8 ht_rx_nss = 0, vht_rx_nss = 0, he_rx_nss = 0, eht_rx_nss = 0, rx_nss;
 557:		bool support_160;
 558:	
 559:		if (link_sta->pub->eht_cap.has_eht) {
 560:			int i;
 561:			const u8 *rx_nss_mcs = (void *)&link_sta->pub->eht_cap.eht_mcs_nss_supp;
 562:	
 563:			/* get the max nss for EHT over all possible bandwidths and mcs */
 564:			for (i = 0; i < sizeof(struct ieee80211_eht_mcs_nss_supp); i++)
 565:				eht_rx_nss = max_t(u8, eht_rx_nss,
 566:						   u8_get_bits(rx_nss_mcs[i],
 567:							       IEEE80211_EHT_MCS_NSS_RX));
 568:		}
 569:	
 570:		if (link_sta->pub->he_cap.has_he) {
 571:			int i;
 572:			u8 rx_mcs_80 = 0, rx_mcs_160 = 0;
 573:			const struct ieee80211_sta_he_cap *he_cap = &link_sta->pub->he_cap;
 574:			u16 mcs_160_map =
 575:				le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_160);
 576:			u16 mcs_80_map = le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_80);
 577:	
 578:			for (i = 7; i >= 0; i--) {
 579:				u8 mcs_160 = (mcs_160_map >> (2 * i)) & 3;
 580:	
 581:				if (mcs_160 != IEEE80211_HE_MCS_NOT_SUPPORTED) {
 582:					rx_mcs_160 = i + 1;
 583:					break;
 584:				}
 585:			}
 586:			for (i = 7; i >= 0; i--) {
 587:				u8 mcs_80 = (mcs_80_map >> (2 * i)) & 3;
 588:	
 589:				if (mcs_80 != IEEE80211_HE_MCS_NOT_SUPPORTED) {
 590:					rx_mcs_80 = i + 1;
 591:					break;
 592:				}
 593:			}
 594:	
 595:			support_160 = he_cap->he_cap_elem.phy_cap_info[0] &
 596:				      IEEE80211_HE_PHY_CAP0_CHANNEL_WIDTH_SET_160MHZ_IN_5G;
 597:	
 598:			if (support_160)
 599:				he_rx_nss = min(rx_mcs_80, rx_mcs_160);
 600:			else
 601:				he_rx_nss = rx_mcs_80;
 602:		}
 603:	
 604:		if (link_sta->pub->ht_cap.ht_supported) {
 605:			if (link_sta->pub->ht_cap.mcs.rx_mask[0])
 606:				ht_rx_nss++;
 607:			if (link_sta->pub->ht_cap.mcs.rx_mask[1])
 608:				ht_rx_nss++;
 609:			if (link_sta->pub->ht_cap.mcs.rx_mask[2])
 610:				ht_rx_nss++;
 611:			if (link_sta->pub->ht_cap.mcs.rx_mask[3])
 612:				ht_rx_nss++;
 613:			/* FIXME: consider rx_highest? */
 614:		}
 615:	
 616:		if (link_sta->pub->vht_cap.vht_supported) {
 617:			int i;
 618:			u16 rx_mcs_map;
 619:	
 620:			rx_mcs_map = le16_to_cpu(link_sta->pub->vht_cap.vht_mcs.rx_mcs_map);
 621:	
 622:			for (i = 7; i >= 0; i--) {
 623:				u8 mcs = (rx_mcs_map >> (2 * i)) & 3;
 624:	
 625:				if (mcs != IEEE80211_VHT_MCS_NOT_SUPPORTED) {
 626:					vht_rx_nss = i + 1;
 627:					break;
 628:				}
 629:			}
 630:			/* FIXME: consider rx_highest? */
 631:		}
 632:	
 633:		rx_nss = max(vht_rx_nss, ht_rx_nss);
 634:		rx_nss = max(he_rx_nss, rx_nss);
 635:		rx_nss = max(eht_rx_nss, rx_nss);
 636:		rx_nss = max_t(u8, 1, rx_nss);
 637:		link_sta->capa_nss = rx_nss;
 638:	
 639:		/* that shouldn't be set yet, but we can handle it anyway */
 640:		if (link_sta->op_mode_nss)
 641:			link_sta->pub->rx_nss =
 642:				min_t(u8, rx_nss, link_sta->op_mode_nss);
 643:		else
 644:			link_sta->pub->rx_nss = rx_nss;
 645:	}
 SourceFile:net/mac80211/vht.c]

20/2 2026/03/27 20:56 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 22826
							output: 25
							thoughts: 41
						

Thoughts:
Okay, here's my take on those thoughts, framed as an expert's internal monologue:

**Investigating Bandwidth Configuration in IEEE 802.11 Station Initialization**

Hmm, so I'm looking at `ieee80211_sta_init_nss` and something's just not sitting right. I'm focusing on the station initialization, and I'm specifically thinking about the `link_sta` structure and its bandwidth settings. Wait a minute... I don't see any explicit assignment for `link_sta->bandwidth` within this function. That's a red flag. It's odd that this critical piece of information, bandwidth, isn't being set here during station initialization. Where in the hell is `link_sta->bandwidth` being populated? I need to trace this back. This is probably going to cause problems down the line, I bet. I need to figure out where this crucial parameter is actually getting its value from – if it's not set here, then where? Is it inheriting default values somehow? Is it calculated elsewhere? Is it not being used and I am wasting my time with this? I need to dig deeper.



21/2 2026/03/27 20:56 tool codesearch-find-references
0m Args:
map[Name:link_sta_info::bandwidth]

Results:
map[References:<nil> TruncatedOutput:false]

22/2 2026/03/27 20:56 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 23164
							output: 31
							thoughts: 39
						

Thoughts:
Okay, here's my summary, presented as a stream of thought:

**Diving into the 802.11 Link State Structure**

Alright, looks like we're dealing with the `struct ieee80211_link_sta`. Right, so this structure contains information about the link state for a station in an 802.11 network. My immediate thought is to find out more about how bandwidth is managed within this context. I need to understand how the system keeps track of bandwidth allocation and usage per station, so let's get right into searching for `ieee80211_link_sta::bandwidth`. Hopefully, the definition or usage of the `bandwidth` member will reveal details about how the standard's bandwidth management is implemented in this particular code base. From there, I can start to infer the relevant algorithms, data structures, and any other external dependencies this structure makes on other relevant components.



23/2 2026/03/27 20:56 tool codesearch-find-references
0m Args:
map[Name:ieee80211_link_sta::bandwidth]

Results:
map[References:[map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:__ieee80211_vht_handle_opmode SourceFile:net/mac80211/vht.c SourceLine:703] map[ReferenceKind:writes ReferencingEntityKind:function ReferencingEntityName:__ieee80211_vht_handle_opmode SourceFile:net/mac80211/vht.c SourceLine:704] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath10k_mac_get_phymode_vht SourceFile:drivers/net/wireless/ath/ath10k/mac.c SourceLine:2728] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath10k_mac_get_phymode_vht SourceFile:drivers/net/wireless/ath/ath10k/mac.c SourceLine:2740] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath10k_mac_get_phymode_vht SourceFile:drivers/net/wireless/ath/ath10k/mac.c SourceLine:2743] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath10k_mac_get_phymode_vht SourceFile:drivers/net/wireless/ath/ath10k/mac.c SourceLine:2746] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath10k_peer_assoc_h_ht SourceFile:drivers/net/wireless/ath/ath10k/mac.c SourceLine:2369] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath10k_peer_assoc_h_phymode SourceFile:drivers/net/wireless/ath/ath10k/mac.c SourceLine:2775] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath10k_peer_assoc_h_phymode SourceFile:drivers/net/wireless/ath/ath10k/mac.c SourceLine:2781] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath10k_peer_assoc_h_phymode SourceFile:drivers/net/wireless/ath/ath10k/mac.c SourceLine:2801] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath10k_peer_assoc_h_vht SourceFile:drivers/net/wireless/ath/ath10k/mac.c SourceLine:2622] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath10k_peer_assoc_h_vht SourceFile:drivers/net/wireless/ath/ath10k/mac.c SourceLine:2625] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath10k_sta_rc_update SourceFile:drivers/net/wireless/ath/ath10k/mac.c SourceLine:8579] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath10k_sta_rc_update SourceFile:drivers/net/wireless/ath/ath10k/mac.c SourceLine:8588] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath10k_sta_rc_update SourceFile:drivers/net/wireless/ath/ath10k/mac.c SourceLine:8603] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_mac_get_phymode_he SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:2814] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_mac_get_phymode_he SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:2825] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_mac_get_phymode_he SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:2828] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_mac_get_phymode_he SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:2831] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_mac_get_phymode_vht SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:2786] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_mac_get_phymode_vht SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:2799] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_mac_get_phymode_vht SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:2802] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_mac_get_phymode_vht SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:2805] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_mac_ieee80211_sta_bw_to_wmi SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:5243] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_mac_ieee80211_sta_bw_to_wmi SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:5258] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_mac_op_sta_rc_update SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:5338] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_peer_assoc_h_he SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:2510] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_peer_assoc_h_he_6ghz SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:2610] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_peer_assoc_h_he_6ghz SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:2613] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_peer_assoc_h_he_6ghz SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:2616] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_peer_assoc_h_ht SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:1994] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_peer_assoc_h_phymode SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:2862] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_peer_assoc_h_phymode SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:2864] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_peer_assoc_h_phymode SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:2870] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_peer_assoc_h_phymode SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:2876] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_peer_assoc_h_phymode SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:2897] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_peer_assoc_h_vht SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:2200] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ath11k_peer_assoc_h_vht SourceFile:drivers/net/wireless/ath/ath11k/mac.c SourceLine:2203] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:iee80211_tdls_recalc_chanctx SourceFile:net/mac80211/tdls.c SourceLine:1343] map[ReferenceKind:writes ReferencingEntityKind:function ReferencingEntityName:iee80211_tdls_recalc_chanctx SourceFile:net/mac80211/tdls.c SourceLine:1344] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ieee80211_chan_bw_change SourceFile:net/mac80211/chan.c SourceLine:601] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ieee80211_chan_bw_change SourceFile:net/mac80211/chan.c SourceLine:606] map[ReferenceKind:writes ReferencingEntityKind:function ReferencingEntityName:ieee80211_chan_bw_change SourceFile:net/mac80211/chan.c SourceLine:609] map[ReferenceKind:writes ReferencingEntityKind:function ReferencingEntityName:ieee80211_csa_switch_work SourceFile:net/mac80211/mlme.c SourceLine:2555] map[ReferenceKind:writes ReferencingEntityKind:function ReferencingEntityName:ieee80211_eht_cap_ie_to_sta_eht_cap SourceFile:net/mac80211/eht.c SourceLine:78] map[ReferenceKind:writes ReferencingEntityKind:function ReferencingEntityName:ieee80211_he_cap_ie_to_sta_he_cap SourceFile:net/mac80211/he.c SourceLine:165] map[ReferenceKind:writes ReferencingEntityKind:function ReferencingEntityName:ieee80211_ht_cap_ie_to_sta_ht_cap SourceFile:net/mac80211/ht.c SourceLine:281] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ieee80211_ht_handle_chanwidth_notif SourceFile:net/mac80211/ht.c SourceLine:628] map[ReferenceKind:writes ReferencingEntityKind:function ReferencingEntityName:ieee80211_ht_handle_chanwidth_notif SourceFile:net/mac80211/ht.c SourceLine:631] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ieee80211_link_sta_rc_update_omi SourceFile:net/mac80211/he.c SourceLine:265] map[ReferenceKind:writes ReferencingEntityKind:function ReferencingEntityName:ieee80211_link_sta_rc_update_omi SourceFile:net/mac80211/he.c SourceLine:268] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ieee80211_sta_rx_bw_to_chan_width SourceFile:net/mac80211/vht.c SourceLine:476] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ieee80211_update_sta_info SourceFile:net/mac80211/ibss.c SourceLine:1019] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ieee80211_update_sta_info SourceFile:net/mac80211/ibss.c SourceLine:1050] map[ReferenceKind:writes ReferencingEntityKind:function ReferencingEntityName:ieee80211_vht_cap_ie_to_sta_vht_cap SourceFile:net/mac80211/vht.c SourceLine:320] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:mac80211_hwsim_sta_rc_update SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c SourceLine:2668] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:mac80211_hwsim_sta_rc_update SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c SourceLine:2693] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:mesh_set_ht_prot_mode SourceFile:net/mac80211/mesh_plink.c SourceLine:181] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:mesh_sta_info_init SourceFile:net/mac80211/mesh_plink.c SourceLine:432] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:mesh_sta_info_init SourceFile:net/mac80211/mesh_plink.c SourceLine:472] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:mesh_sta_info_init SourceFile:net/mac80211/mesh_plink.c SourceLine:479] map[ReferenceKind:writes ReferencingEntityKind:function ReferencingEntityName:mesh_sta_info_init SourceFile:net/mac80211/mesh_plink.c SourceLine:481] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:minstrel_ht_update_caps SourceFile:net/mac80211/rc80211_minstrel_ht.c SourceLine:1777] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:minstrel_ht_update_caps SourceFile:net/mac80211/rc80211_minstrel_ht.c SourceLine:1802]] TruncatedOutput:false]

24/2 2026/03/27 20:56 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 27750
							output: 55
							thoughts: 35
						

Thoughts:
Okay, here's my interpretation of that thought process, from an expert's perspective:

**Diving into the IBSS STA Update**

Alright, my internal radar just pinged on a potential area of interest: the `ieee80211_update_sta_info` function. Specifically, I'm thinking about where it lives – `net/mac80211/ibss.c`. That placement is a definite clue; it instantly tells me we're dealing with station information updates *within* an Independent Basic Service Set, or IBSS, network context. This implies a peer-to-peer setup, as opposed to infrastructure mode with an access point. This begs several questions I should explore immediately.

What's triggering the need for the update? Is it a new station joining, an existing one changing its capabilities, or just periodic status checks? The 'ibss.c' location suggests this function is likely managing the STA information within the context of directly communicating IBSS stations. I will need to understand what pieces of the information being stored need to be updated. It could be for things like signal strength, supported rates, capabilities, or possibly even security-related information. And, depending on the implementation details within this particular file, I need to understand whether this is being handled in a thread-safe manner, since we can be dealing with concurrency when updating STA information.

My immediate focus will be on the logic surrounding how `ieee80211_update_sta_info` interacts with the broader mac80211 framework within this IBSS setting. I'll be looking for potential race conditions, inefficient data structures, and how it handles different types of STA changes. I expect there to be a careful dance to maintain synchronization and consistency across the IBSS stations, and I'm keen to see how they're pulling it off. This could be where some subtle bugs or performance bottlenecks might lurk, so I'll be extra vigilant as I dig into the code.



25/2 2026/03/27 20:56 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac80211/ibss.c IncludeLines:true Name:ieee80211_update_sta_info]

Results:
map[SourceCode: 955:	static void ieee80211_update_sta_info(struct ieee80211_sub_if_data *sdata,
 956:					      struct ieee80211_mgmt *mgmt, size_t len,
 957:					      struct ieee80211_rx_status *rx_status,
 958:					      struct ieee802_11_elems *elems,
 959:					      struct ieee80211_channel *channel)
 960:	{
 961:		struct sta_info *sta;
 962:		enum nl80211_band band = rx_status->band;
 963:		struct ieee80211_local *local = sdata->local;
 964:		struct ieee80211_supported_band *sband;
 965:		bool rates_updated = false;
 966:		u32 supp_rates = 0;
 967:	
 968:		if (sdata->vif.type != NL80211_IFTYPE_ADHOC)
 969:			return;
 970:	
 971:		if (!ether_addr_equal(mgmt->bssid, sdata->u.ibss.bssid))
 972:			return;
 973:	
 974:		sband = local->hw.wiphy->bands[band];
 975:		if (WARN_ON(!sband))
 976:			return;
 977:	
 978:		rcu_read_lock();
 979:		sta = sta_info_get(sdata, mgmt->sa);
 980:	
 981:		if (elems->supp_rates) {
 982:			supp_rates = ieee80211_sta_get_rates(sdata, elems,
 983:							     band, NULL);
 984:			if (sta) {
 985:				u32 prev_rates;
 986:	
 987:				prev_rates = sta->sta.deflink.supp_rates[band];
 988:	
 989:				sta->sta.deflink.supp_rates[band] = supp_rates |
 990:					ieee80211_mandatory_rates(sband);
 991:				if (sta->sta.deflink.supp_rates[band] != prev_rates) {
 992:					ibss_dbg(sdata,
 993:						 "updated supp_rates set for %pM based on beacon/probe_resp (0x%x -> 0x%x)\n",
 994:						 sta->sta.addr, prev_rates,
 995:						 sta->sta.deflink.supp_rates[band]);
 996:					rates_updated = true;
 997:				}
 998:			} else {
 999:				rcu_read_unlock();
1000:				sta = ieee80211_ibss_add_sta(sdata, mgmt->bssid,
1001:							     mgmt->sa, supp_rates);
1002:			}
1003:		}
1004:	
1005:		if (sta && !sta->sta.wme &&
1006:		    (elems->wmm_info || elems->s1g_capab) &&
1007:		    local->hw.queues >= IEEE80211_NUM_ACS) {
1008:			sta->sta.wme = true;
1009:			ieee80211_check_fast_xmit(sta);
1010:		}
1011:	
1012:		if (sta && elems->ht_operation && elems->ht_cap_elem &&
1013:		    sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_20_NOHT &&
1014:		    sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_5 &&
1015:		    sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_10) {
1016:			/* we both use HT */
1017:			struct ieee80211_ht_cap htcap_ie;
1018:			struct cfg80211_chan_def chandef;
1019:			enum ieee80211_sta_rx_bandwidth bw = sta->sta.deflink.bandwidth;
1020:	
1021:			cfg80211_chandef_create(&chandef, channel, NL80211_CHAN_NO_HT);
1022:			ieee80211_chandef_ht_oper(elems->ht_operation, &chandef);
1023:	
1024:			memcpy(&htcap_ie, elems->ht_cap_elem, sizeof(htcap_ie));
1025:			rates_updated |= ieee80211_ht_cap_ie_to_sta_ht_cap(sdata, sband,
1026:									   &htcap_ie,
1027:									   &sta->deflink);
1028:	
1029:			if (elems->vht_operation && elems->vht_cap_elem &&
1030:			    sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_20 &&
1031:			    sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_40) {
1032:				/* we both use VHT */
1033:				struct ieee80211_vht_cap cap_ie;
1034:				struct ieee80211_sta_vht_cap cap = sta->sta.deflink.vht_cap;
1035:				u32 vht_cap_info =
1036:					le32_to_cpu(elems->vht_cap_elem->vht_cap_info);
1037:	
1038:				ieee80211_chandef_vht_oper(&local->hw, vht_cap_info,
1039:							   elems->vht_operation,
1040:							   elems->ht_operation,
1041:							   &chandef);
1042:				memcpy(&cap_ie, elems->vht_cap_elem, sizeof(cap_ie));
1043:				ieee80211_vht_cap_ie_to_sta_vht_cap(sdata, sband,
1044:								    &cap_ie, NULL,
1045:								    &sta->deflink);
1046:				if (memcmp(&cap, &sta->sta.deflink.vht_cap, sizeof(cap)))
1047:					rates_updated |= true;
1048:			}
1049:	
1050:			if (bw != sta->sta.deflink.bandwidth)
1051:				rates_updated |= true;
1052:	
1053:			if (!cfg80211_chandef_compatible(&sdata->u.ibss.chandef,
1054:							 &chandef))
1055:				WARN_ON_ONCE(1);
1056:		}
1057:	
1058:		if (sta && rates_updated) {
1059:			u32 changed = IEEE80211_RC_SUPP_RATES_CHANGED;
1060:			u8 rx_nss = sta->sta.deflink.rx_nss;
1061:	
1062:			/* Force rx_nss recalculation */
1063:			sta->sta.deflink.rx_nss = 0;
1064:			rate_control_rate_init(&sta->deflink);
1065:			if (sta->sta.deflink.rx_nss != rx_nss)
1066:				changed |= IEEE80211_RC_NSS_CHANGED;
1067:	
1068:			drv_link_sta_rc_update(local, sdata, &sta->sta.deflink,
1069:					       changed);
1070:		}
1071:	
1072:		rcu_read_unlock();
1073:	}
 SourceFile:net/mac80211/ibss.c]

26/2 2026/03/27 20:56 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 30530
							output: 32
							thoughts: 73
						

Thoughts:
**Debugging the 802.11 Crash**

Okay, hold on a second. I need to rethink this. I was initially looking at `ieee80211_update_sta_info`, which is relevant to IBSS, but that's a misdirection. The crash is happening within the OCB context. And the key here is that the syzkaller reproducer I'm analyzing uses `NL80211_CMD_JOIN_OCB`. That's the crucial link. So, if this is an OCB-related problem, I should shift my focus. Let's dig into `ieee80211_ocb_finish_sta`. That feels like the right place to start looking for the root cause.



27/2 2026/03/27 20:56 tool codesearch-find-references
0m Args:
map[Name:ieee80211_ocb_finish_sta]

Results:
map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:ieee80211_ocb_work SourceFile:net/mac80211/ocb.c SourceLine:139]] TruncatedOutput:false]

28/2 2026/03/27 20:56 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 30881
							output: 54
							thoughts: 18
						

Thoughts:
Okay, let's dive into this `ieee80211_ocb_work` function, shall we? I'm familiar with the general landscape of 802.11 standards, so I'm expecting this to be something related to OCB (Offset Codebook) mode, likely dealing with encryption or decryption operations within that context. I'll need to look at the details within the function itself to fully grasp its role in the larger system. My intuition tells me this probably ties into WPA3's security enhancements, or perhaps some pre-standard research/implementation of newer cryptographic approaches in wireless. I'm keen to see how the code handles packet processing, key management, and any potential optimizations implemented to improve throughput and latency. The efficiency of the `ieee80211_ocb_work` function will be critical in real-world performance, so I'll be paying close attention to any memory allocations, cryptographic routines being used, and potential concurrency issues. It's time to get a closer look.




29/2 2026/03/27 20:56 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac80211/ocb.c IncludeLines:true Name:ieee80211_ocb_work]

Results:
map[SourceCode: 122:	void ieee80211_ocb_work(struct ieee80211_sub_if_data *sdata)
 123:	{
 124:		struct ieee80211_if_ocb *ifocb = &sdata->u.ocb;
 125:		struct sta_info *sta;
 126:	
 127:		lockdep_assert_wiphy(sdata->local->hw.wiphy);
 128:	
 129:		if (ifocb->joined != true)
 130:			return;
 131:	
 132:		spin_lock_bh(&ifocb->incomplete_lock);
 133:		while (!list_empty(&ifocb->incomplete_stations)) {
 134:			sta = list_first_entry(&ifocb->incomplete_stations,
 135:					       struct sta_info, list);
 136:			list_del(&sta->list);
 137:			spin_unlock_bh(&ifocb->incomplete_lock);
 138:	
 139:			ieee80211_ocb_finish_sta(sta);
 140:			rcu_read_unlock();
 141:			spin_lock_bh(&ifocb->incomplete_lock);
 142:		}
 143:		spin_unlock_bh(&ifocb->incomplete_lock);
 144:	
 145:		if (test_and_clear_bit(OCB_WORK_HOUSEKEEPING, &ifocb->wrkq_flags))
 146:			ieee80211_ocb_housekeeping(sdata);
 147:	}
 SourceFile:net/mac80211/ocb.c]

30/2 2026/03/27 20:56 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 31663
							output: 34
							thoughts: 12
						

Thoughts:
Here's a summary of my thought process:

**Tracing the Source: Understanding `incomplete_stations`**

Okay, so I'm looking at how `incomplete_stations` is populated. The core question is: Where exactly is the STA (station) being added to this list? I need to understand the control flow that leads to a station being considered "incomplete". I'm probably looking for a specific function call or block of code that modifies this list. Identifying that location will be key to understanding the logic that determines a station's "incompleteness". I'm thinking I'll need to follow the variable's lifecycle to track its modifications. Understanding this will be critical for debugging or extending this part of the code.



31/2 2026/03/27 20:56 tool codesearch-find-references
0m Args:
map[Name:ieee80211_if_ocb::incomplete_stations]

Results:
map[References:[map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:ieee80211_ocb_leave SourceFile:net/mac80211/ocb.c SourceLine:217] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:ieee80211_ocb_leave SourceFile:net/mac80211/ocb.c SourceLine:218] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:ieee80211_ocb_leave SourceFile:net/mac80211/ocb.c SourceLine:218] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:ieee80211_ocb_leave SourceFile:net/mac80211/ocb.c SourceLine:218] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:ieee80211_ocb_rx_no_sta SourceFile:net/mac80211/ocb.c SourceLine:82] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:ieee80211_ocb_setup_sdata SourceFile:net/mac80211/ocb.c SourceLine:167] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:ieee80211_ocb_work SourceFile:net/mac80211/ocb.c SourceLine:133] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:ieee80211_ocb_work SourceFile:net/mac80211/ocb.c SourceLine:134] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:ieee80211_ocb_work SourceFile:net/mac80211/ocb.c SourceLine:134] map[ReferenceKind:takes-address-of ReferencingEntityKind:function ReferencingEntityName:ieee80211_ocb_work SourceFile:net/mac80211/ocb.c SourceLine:134]] TruncatedOutput:false]

32/2 2026/03/27 20:56 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 32548
							output: 58
							thoughts: 22
						

Thoughts:
Okay, let's dive into this `ieee80211_ocb_rx_no_sta` function.

**Analyzing `ieee80211_ocb_rx_no_sta`**

Right, so this function's name tells me immediately that we're dealing with an OCB (Offset Codebook) packet reception within the 802.11 framework, and crucially, there's no associated station (STA) entry. This screams a potential beacon, probe response, or perhaps a management frame not directly addressed to a connected device.

My initial thought process is geared toward understanding how the system handles a frame *without* the usual STA context. This absence triggers certain questions:

*   How is the frame validated? Does the code rely on any shared key or security mechanisms to process the payload? Is the integrity of the frame even checked?
*   What's the *intended* processing path? Does this function pass the packet further up the stack, or perform its own local actions?
*   Are there any assumptions made about the frame's source or destination address when there's no STA? This is crucial for security considerations.
*   Are there potential race conditions or other vulnerabilities when a frame is processed without a corresponding station.

From my experience, this likely involves checking the frame's structure, verifying certain headers (perhaps FCS), then either discarding it or passing it along for higher-level processing. The interesting bit will be the *specific* handling based on this lack of association. I'm keen to see if this function simply throws the frame away or if it has some clever processing logic.

The absence of an STA is a significant trigger for different behaviors. I'm also anticipating that error handling will be crucial here, and I'll be looking for any potential information leaks or denial of service attack vectors. There's a high chance that if this function exists, it is a very low-level function that provides the base for further processing, but my expertise tells me that this base behavior needs to be solid and secure.



33/2 2026/03/27 20:57 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac80211/ocb.c IncludeLines:true Name:ieee80211_ocb_rx_no_sta]

Results:
map[SourceCode:  39:	void ieee80211_ocb_rx_no_sta(struct ieee80211_sub_if_data *sdata,
  40:				     const u8 *bssid, const u8 *addr,
  41:				     u32 supp_rates)
  42:	{
  43:		struct ieee80211_if_ocb *ifocb = &sdata->u.ocb;
  44:		struct ieee80211_local *local = sdata->local;
  45:		struct ieee80211_chanctx_conf *chanctx_conf;
  46:		struct ieee80211_supported_band *sband;
  47:		struct sta_info *sta;
  48:		int band;
  49:	
  50:		if (!ifocb->joined)
  51:			return;
  52:	
  53:		/* XXX: Consider removing the least recently used entry and
  54:		 *      allow new one to be added.
  55:		 */
  56:		if (local->num_sta >= IEEE80211_OCB_MAX_STA_ENTRIES) {
  57:			net_info_ratelimited("%s: No room for a new OCB STA entry %pM\n",
  58:					     sdata->name, addr);
  59:			return;
  60:		}
  61:	
  62:		ocb_dbg(sdata, "Adding new OCB station %pM\n", addr);
  63:	
  64:		rcu_read_lock();
  65:		chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf);
  66:		if (WARN_ON_ONCE(!chanctx_conf)) {
  67:			rcu_read_unlock();
  68:			return;
  69:		}
  70:		band = chanctx_conf->def.chan->band;
  71:		rcu_read_unlock();
  72:	
  73:		sta = sta_info_alloc(sdata, addr, GFP_ATOMIC);
  74:		if (!sta)
  75:			return;
  76:	
  77:		/* Add only mandatory rates for now */
  78:		sband = local->hw.wiphy->bands[band];
  79:		sta->sta.deflink.supp_rates[band] = ieee80211_mandatory_rates(sband);
  80:	
  81:		spin_lock(&ifocb->incomplete_lock);
  82:		list_add(&sta->list, &ifocb->incomplete_stations);
  83:		spin_unlock(&ifocb->incomplete_lock);
  84:		wiphy_work_queue(local->hw.wiphy, &sdata->work);
  85:	}
 SourceFile:net/mac80211/ocb.c]

34/2 2026/03/27 20:57 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 33862
							output: 48
							thoughts: 55
						

Thoughts:
Okay, here's my breakdown of what's happening, from my perspective as someone who understands the intricacies of this wireless protocol:

**Diving into the OCB RX Path**

Alright, I'm tracing through this `ieee80211_ocb_rx_no_sta` function. My initial thought is, "Ah, it's dealing with a received frame, and there's no associated station (STA) entry yet." So, the first thing it does is allocate a STA structure and add it to `incomplete_stations`. This is a crucial first step in the association process. It's essentially creating a placeholder for this newly observed station.

Now, where does that STA allocation happen? The code tells me it's within `sta_info_alloc`. Let's take a closer look at *that* function. I need to understand the details of how the STA structure itself is being created. What memory pools are being used? Are there any specific initializations happening that I should be aware of? Are there any potential race conditions I should be mindful of? I'll probably want to double-check that it's handling various memory allocation failures gracefully. Understanding the `sta_info_alloc` process is key to grasping the overall flow.



35/2 2026/03/27 20:57 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac80211/sta_info.c IncludeLines:true Name:sta_info_alloc]

Results:
map[SourceCode: 780:	struct sta_info *sta_info_alloc(struct ieee80211_sub_if_data *sdata,
 781:					const u8 *addr, gfp_t gfp)
 782:	{
 783:		return __sta_info_alloc(sdata, addr, -1, addr, gfp);
 784:	}
 SourceFile:net/mac80211/sta_info.c]

36/2 2026/03/27 20:57 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 34370
							output: 49
							thoughts: 12
						

Thoughts:
Okay, let's dive into this. Here's my take on those thoughts, as if they're my own:

**Analyzing `__sta_info_alloc`**

Alright, let's get down to brass tacks. The mention of `__sta_info_alloc` immediately piques my interest. It's that core function for allocating station information, isn't it? A fundamental piece in any wireless system, especially when dealing with association and station management. I'm already mentally running through the data structures it likely touches – the `sta_info` itself, memory management, and any related locking mechanisms. I'm immediately trying to recall:

*   What are the typical arguments?
*   What's the expected return value, and what errors could occur?
*   How is the station information initialized within this allocation? Is it a complete initialization, or just a starting point?
*   What resource management is involved, such as memory pools or direct `kmalloc` calls?

I'm thinking about the potential pitfalls here, because a mistake in the allocation of this vital station information can quickly cascade into major issues such as:

*   Memory corruption and crashes
*   Security vulnerabilities in association with wireless clients
*   Race conditions and concurrency issues if the function isn't thread-safe and properly synchronized

I'm also wondering about the context. Is this within the kernel's wireless subsystem, a driver-specific implementation, or something more generic? That context drastically influences my perspective on the details. I will now examine this code more closely.



37/2 2026/03/27 20:57 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac80211/sta_info.c IncludeLines:true Name:__sta_info_alloc]

Results:
map[SourceCode: 609:	static struct sta_info *
 610:	__sta_info_alloc(struct ieee80211_sub_if_data *sdata,
 611:			 const u8 *addr, int link_id, const u8 *link_addr,
 612:			 gfp_t gfp)
 613:	{
 614:		struct ieee80211_local *local = sdata->local;
 615:		struct ieee80211_hw *hw = &local->hw;
 616:		struct sta_info *sta;
 617:		void *txq_data;
 618:		int size;
 619:		int i;
 620:	
 621:		sta = kzalloc(sizeof(*sta) + hw->sta_data_size, gfp);
 622:		if (!sta)
 623:			return NULL;
 624:	
 625:		sta->local = local;
 626:		sta->sdata = sdata;
 627:	
 628:		if (sta_info_alloc_link(local, &sta->deflink, gfp))
 629:			goto free;
 630:	
 631:		if (link_id >= 0) {
 632:			sta_info_add_link(sta, link_id, &sta->deflink,
 633:					  &sta->sta.deflink);
 634:			sta->sta.valid_links = BIT(link_id);
 635:		} else {
 636:			sta_info_add_link(sta, 0, &sta->deflink, &sta->sta.deflink);
 637:		}
 638:	
 639:		sta->sta.cur = &sta->sta.deflink.agg;
 640:	
 641:		spin_lock_init(&sta->lock);
 642:		spin_lock_init(&sta->ps_lock);
 643:		INIT_WORK(&sta->drv_deliver_wk, sta_deliver_ps_frames);
 644:		wiphy_work_init(&sta->ampdu_mlme.work, ieee80211_ba_session_work);
 645:	#ifdef CONFIG_MAC80211_MESH
 646:		if (ieee80211_vif_is_mesh(&sdata->vif)) {
 647:			sta->mesh = kzalloc_obj(*sta->mesh, gfp);
 648:			if (!sta->mesh)
 649:				goto free;
 650:			sta->mesh->plink_sta = sta;
 651:			spin_lock_init(&sta->mesh->plink_lock);
 652:			if (!sdata->u.mesh.user_mpm)
 653:				timer_setup(&sta->mesh->plink_timer, mesh_plink_timer,
 654:					    0);
 655:			sta->mesh->nonpeer_pm = NL80211_MESH_POWER_ACTIVE;
 656:		}
 657:	#endif
 658:	
 659:		memcpy(sta->addr, addr, ETH_ALEN);
 660:		memcpy(sta->sta.addr, addr, ETH_ALEN);
 661:		memcpy(sta->deflink.addr, link_addr, ETH_ALEN);
 662:		memcpy(sta->sta.deflink.addr, link_addr, ETH_ALEN);
 663:		sta->sta.max_rx_aggregation_subframes =
 664:			local->hw.max_rx_aggregation_subframes;
 665:	
 666:		/* TODO link specific alloc and assignments for MLO Link STA */
 667:	
 668:		/* Extended Key ID needs to install keys for keyid 0 and 1 Rx-only.
 669:		 * The Tx path starts to use a key as soon as the key slot ptk_idx
 670:		 * references to is not NULL. To not use the initial Rx-only key
 671:		 * prematurely for Tx initialize ptk_idx to an impossible PTK keyid
 672:		 * which always will refer to a NULL key.
 673:		 */
 674:		BUILD_BUG_ON(ARRAY_SIZE(sta->ptk) <= INVALID_PTK_KEYIDX);
 675:		sta->ptk_idx = INVALID_PTK_KEYIDX;
 676:	
 677:	
 678:		ieee80211_init_frag_cache(&sta->frags);
 679:	
 680:		sta->sta_state = IEEE80211_STA_NONE;
 681:	
 682:		if (sdata->vif.type == NL80211_IFTYPE_MESH_POINT)
 683:			sta->amsdu_mesh_control = -1;
 684:	
 685:		/* Mark TID as unreserved */
 686:		sta->reserved_tid = IEEE80211_TID_UNRESERVED;
 687:	
 688:		sta->last_connected = ktime_get_seconds();
 689:	
 690:		size = sizeof(struct txq_info) +
 691:		       ALIGN(hw->txq_data_size, sizeof(void *));
 692:	
 693:		txq_data = kcalloc(ARRAY_SIZE(sta->sta.txq), size, gfp);
 694:		if (!txq_data)
 695:			goto free;
 696:	
 697:		for (i = 0; i < ARRAY_SIZE(sta->sta.txq); i++) {
 698:			struct txq_info *txq = txq_data + i * size;
 699:	
 700:			/* might not do anything for the (bufferable) MMPDU TXQ */
 701:			ieee80211_txq_init(sdata, sta, txq, i);
 702:		}
 703:	
 704:		if (sta_prepare_rate_control(local, sta, gfp))
 705:			goto free_txq;
 706:	
 707:		sta->airtime_weight = IEEE80211_DEFAULT_AIRTIME_WEIGHT;
 708:	
 709:		for (i = 0; i < IEEE80211_NUM_ACS; i++) {
 710:			skb_queue_head_init(&sta->ps_tx_buf[i]);
 711:			skb_queue_head_init(&sta->tx_filtered[i]);
 712:			sta->airtime[i].deficit = sta->airtime_weight;
 713:			atomic_set(&sta->airtime[i].aql_tx_pending, 0);
 714:			sta->airtime[i].aql_limit_low = local->aql_txq_limit_low[i];
 715:			sta->airtime[i].aql_limit_high = local->aql_txq_limit_high[i];
 716:		}
 717:	
 718:		for (i = 0; i < IEEE80211_NUM_TIDS; i++)
 719:			sta->last_seq_ctrl[i] = cpu_to_le16(USHRT_MAX);
 720:	
 721:		for (i = 0; i < NUM_NL80211_BANDS; i++) {
 722:			u32 mandatory = 0;
 723:			int r;
 724:	
 725:			if (!hw->wiphy->bands[i])
 726:				continue;
 727:	
 728:			switch (i) {
 729:			case NL80211_BAND_2GHZ:
 730:			case NL80211_BAND_LC:
 731:				/*
 732:				 * We use both here, even if we cannot really know for
 733:				 * sure the station will support both, but the only use
 734:				 * for this is when we don't know anything yet and send
 735:				 * management frames, and then we'll pick the lowest
 736:				 * possible rate anyway.
 737:				 * If we don't include _G here, we cannot find a rate
 738:				 * in P2P, and thus trigger the WARN_ONCE() in rate.c
 739:				 */
 740:				mandatory = IEEE80211_RATE_MANDATORY_B |
 741:					    IEEE80211_RATE_MANDATORY_G;
 742:				break;
 743:			case NL80211_BAND_5GHZ:
 744:			case NL80211_BAND_6GHZ:
 745:				mandatory = IEEE80211_RATE_MANDATORY_A;
 746:				break;
 747:			case NL80211_BAND_60GHZ:
 748:				WARN_ON(1);
 749:				mandatory = 0;
 750:				break;
 751:			}
 752:	
 753:			for (r = 0; r < hw->wiphy->bands[i]->n_bitrates; r++) {
 754:				struct ieee80211_rate *rate;
 755:	
 756:				rate = &hw->wiphy->bands[i]->bitrates[r];
 757:	
 758:				if (!(rate->flags & mandatory))
 759:					continue;
 760:				sta->sta.deflink.supp_rates[i] |= BIT(r);
 761:			}
 762:		}
 763:	
 764:	
 765:		sta_dbg(sdata, "Allocated STA %pM\n", sta->sta.addr);
 766:	
 767:		return sta;
 768:	
 769:	free_txq:
 770:		kfree(to_txq_info(sta->sta.txq[0]));
 771:	free:
 772:		sta_info_free_link(&sta->deflink);
 773:	#ifdef CONFIG_MAC80211_MESH
 774:		kfree(sta->mesh);
 775:	#endif
 776:		kfree(sta);
 777:		return NULL;
 778:	}
 SourceFile:net/mac80211/sta_info.c]

38/2 2026/03/27 20:57 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 37684
							output: 33
							thoughts: 644
						

Thoughts:
**Analyzing a Bandwidth Mismatch Warning in the OCB Mode**

Okay, let's break down this warning I'm seeing. It appears the issue stems from how bandwidth information is handled during the OCB (Opportunistic Channel Bonding) station setup. First, `__sta_info_alloc` allocates the station (`sta`) structure using `kzalloc`. This means the `sta->sta.deflink.bandwidth` field is initialized to zero. That zero value, when interpreted, translates to `IEEE80211_STA_RX_BW_20` – a 20 MHz channel width.

The flow continues; `ieee80211_ocb_rx_no_sta` adds this to `incomplete_stations`. Later, `ieee80211_ocb_work` calls `ieee80211_ocb_finish_sta`, which then calls `rate_control_rate_init` on the `sta->deflink`. However, `rate_control_rate_init` doesn't change `sta->deflink.bandwidth`. So, we still have that 20 MHz value.

`ieee80211_ocb_finish_sta` then calls `sta_info_insert_rcu`, leading to the critical point: `mac80211_hwsim_sta_add`. This, in turn, calls `mac80211_hwsim_sta_rc_update`. This function is where the problem manifests. It checks `bw > hwsim_get_chanwidth(confbw)`. Here, `bw` is that 20 MHz from our initial allocation, and `confbw` is 10 MHz because `data->use_chanctx` is true and `chanctx_conf->def.width` is set to `NL80211_CHAN_WIDTH_10`. So, the condition `20 > 10` is true, and the warning is triggered.

My immediate thought is that `sta->sta.deflink.bandwidth` is *incorrectly* initialized to 20MHz and should actually be tied to the channel context's configured width. Shouldn't it be initialized to `chanctx_conf->def.width` instead? Let's investigate. How is this bandwidth value set in other modes to see if we can find a hint?

If I look at `ieee80211_update_sta_info`, used for IBSS, it looks like bandwidth is derived from `elems->ht_operation` and `elems->vht_operation`. But, for OCB, we're dealing with raw frames; there are no elements to extract that information from.

The key might be `ieee80211_sta_rx_bw_to_chan_width`, which converts an `IEEE80211_STA_RX_BW_*` value to a `NL80211_CHAN_WIDTH_*` value. But is there a *reverse* function? A way to map `NL80211_CHAN_WIDTH_*` back to `IEEE80211_STA_RX_BW_*`? That's the missing piece I need to figure out to ensure `sta->sta.deflink.bandwidth` gets set correctly. It is important to find the right mapping to ensure accurate bandwidth assignment during the OCB station setup.



39/2 2026/03/27 20:57 tool codesearch-find-references
0m Error:
requested entity does not exist

Args:
map[Name:IEEE80211_STA_RX_BW_10]

Results:
map[References:<nil> TruncatedOutput:false]

40/2 2026/03/27 20:57 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 39124
							output: 54
							thoughts: 23
						

Thoughts:
Here's a summary of my thought process, as requested:

**Deconstructing `enum ieee80211_sta_rx_bandwidth`**

Alright, let's dive into this. The immediate thought is, "What precisely does `enum ieee80211_sta_rx_bandwidth` represent?" My expertise tells me this is likely part of the Linux wireless stack, specifically related to 802.11 standards. Given the "sta" and "rx" components, I'm already inferring that this enum pertains to receive bandwidth capabilities of a wireless station (STA), perhaps in the context of frame reception. It’s likely a bitfield or enumeration used to represent the different channel widths a station supports for receiving data. Now, I need the precise definition. I want to see how these bandwidth values are actually encoded and what each value signifies in relation to the overall framework. Knowing the specifics will provide a better understanding of how the wireless driver negotiates and handles various data rates and channel configurations.



41/2 2026/03/27 20:57 tool codesearch-definition-source
0m Args:
map[ContextFile:include/net/mac80211.h IncludeLines:true Name:ieee80211_sta_rx_bandwidth]

Results:
map[SourceCode:2374:	/**
2375:	 * enum ieee80211_sta_rx_bandwidth - station RX bandwidth
2376:	 * @IEEE80211_STA_RX_BW_20: station can only receive 20 MHz
2377:	 * @IEEE80211_STA_RX_BW_40: station can receive up to 40 MHz
2378:	 * @IEEE80211_STA_RX_BW_80: station can receive up to 80 MHz
2379:	 * @IEEE80211_STA_RX_BW_160: station can receive up to 160 MHz
2380:	 *	(including 80+80 MHz)
2381:	 * @IEEE80211_STA_RX_BW_320: station can receive up to 320 MHz
2382:	 *
2383:	 * Implementation note: 20 must be zero to be initialized
2384:	 *	correctly, the values must be sorted.
2385:	 */
2386:	enum ieee80211_sta_rx_bandwidth {
2387:		IEEE80211_STA_RX_BW_20 = 0,
2388:		IEEE80211_STA_RX_BW_40,
2389:		IEEE80211_STA_RX_BW_80,
2390:		IEEE80211_STA_RX_BW_160,
2391:		IEEE80211_STA_RX_BW_320,
2392:	};
 SourceFile:include/net/mac80211.h]

42/2 2026/03/27 20:57 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 39882
							output: 63
							thoughts: 279
						

Thoughts:
**Analyzing Bandwidth Mismatch in mac80211_hwsim_sta_rc_update**

Okay, let me think this through. It looks like `ieee80211_sta_rx_bandwidth` only defines bandwidth values of 20, 40, 80, 160, and 320 MHz. It doesn't handle the 10 or 5 MHz channel widths that might come up, right? This means `link_sta->bandwidth`, as a consequence of this function, will always be at least 20 MHz. But `confbw`, on the other hand, *can* be 10 or 5 MHz.

Now I see the problem. If `confbw` is 10 MHz, `hwsim_get_chanwidth(confbw)` will return 10. The warning condition then becomes `bw > 10`, and since `link_sta->bandwidth` is always at least 20, the inequality `20 > 10` is true and the warning triggers. This seems misleading at best.

Hold on... Is this even a *valid* scenario? Can `link_sta->bandwidth` legitimately be 20 MHz when the configured bandwidth, `confbw`, is 10 MHz? Yes, it *is* because the `ieee80211_sta_rx_bandwidth` function doesn't actually offer 10 MHz channel options. Therefore, the higher value in `link_sta->bandwidth` is acceptable. The issue is in the comparison.

This confirms it; the warning condition in `mac80211_hwsim_sta_rc_update` has a bug in its logic. The comparison is flawed. I need to take a closer look at `mac80211_hwsim_sta_rc_update` to determine what's causing this false positive. I'll need to go through it again...



43/2 2026/03/27 20:57 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/wireless/virtual/mac80211_hwsim.c IncludeLines:true Name:mac80211_hwsim_sta_rc_update]

Results:
map[SourceCode:2645:	static void
2646:	mac80211_hwsim_sta_rc_update(struct ieee80211_hw *hw,
2647:				     struct ieee80211_vif *vif,
2648:				     struct ieee80211_link_sta *link_sta,
2649:				     u32 changed)
2650:	{
2651:		struct mac80211_hwsim_data *data = hw->priv;
2652:		struct ieee80211_sta *sta = link_sta->sta;
2653:		u32 bw = U32_MAX;
2654:		int link_id;
2655:	
2656:		rcu_read_lock();
2657:		for (link_id = 0;
2658:		     link_id < ARRAY_SIZE(vif->link_conf);
2659:		     link_id++) {
2660:			enum nl80211_chan_width confbw = NL80211_CHAN_WIDTH_20_NOHT;
2661:			struct ieee80211_bss_conf *vif_conf;
2662:	
2663:			link_sta = rcu_dereference(sta->link[link_id]);
2664:	
2665:			if (!link_sta)
2666:				continue;
2667:	
2668:			switch (link_sta->bandwidth) {
2669:	#define C(_bw) case IEEE80211_STA_RX_BW_##_bw: bw = _bw; break
2670:			C(20);
2671:			C(40);
2672:			C(80);
2673:			C(160);
2674:			C(320);
2675:	#undef C
2676:			}
2677:	
2678:			if (!data->use_chanctx) {
2679:				confbw = data->bw;
2680:			} else {
2681:				struct ieee80211_chanctx_conf *chanctx_conf;
2682:	
2683:				vif_conf = rcu_dereference(vif->link_conf[link_id]);
2684:				if (WARN_ON(!vif_conf))
2685:					continue;
2686:	
2687:				chanctx_conf = rcu_dereference(vif_conf->chanctx_conf);
2688:	
2689:				if (!WARN_ON(!chanctx_conf))
2690:					confbw = chanctx_conf->def.width;
2691:			}
2692:	
2693:			WARN(bw > hwsim_get_chanwidth(confbw),
2694:			     "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
2695:			     vif->addr, link_id, sta->addr, bw, sta->deflink.bandwidth,
2696:			     hwsim_get_chanwidth(data->bw), data->bw);
2697:	
2698:	
2699:		}
2700:		rcu_read_unlock();
2701:	
2702:	
2703:	}
 SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c]

44/2 2026/03/27 20:57 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 41628
							output: 61
							thoughts: 305
						

Thoughts:
**Analyzing Bandwidth Mismatch**

Okay, let's break this down. If `confbw` is set to 10, then `hwsim_get_chanwidth(confbw)` will also be 10, implying a 10 MHz channel width. However, `bw` is set to 20. Is that even valid? Hmm, yes, because `ieee80211_sta_rx_bandwidth` doesn't define 10, meaning a value of 10 wouldn't exist within the allowed options.

So, if `confbw` represents a 10 MHz channel, but `bw` signals the STA can receive 20 MHz, there's a disconnect. Wait, `link_sta->bandwidth` represents the STA's *receiver* bandwidth, correct? If the channel itself is only 10 MHz wide, then theoretically, the STA should *only* be able to receive at 10 MHz.

But the issue is that `ieee80211_sta_rx_bandwidth` *only* defines 20, 40, 80, 160, and 320 MHz. Thus, `link_sta->bandwidth` is set to 20, but the warning appears to indicate an issue with this value. Is there even a way to represent 10 MHz within that list? No, there isn't. So, if there's no way to communicate that value, the warning must be flawed.

Let me take another look to ensure I am interpreting this correctly. Let me check the `ieee80211_sta_rx_bw_to_chan_width` function in `net/mac80211/vht.c` to see if that helps me to confirm this interpretation.



45/2 2026/03/27 20:57 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac80211/vht.c IncludeLines:true Name:ieee80211_sta_rx_bw_to_chan_width]

Results:
map[SourceCode: 472:	enum nl80211_chan_width
 473:	ieee80211_sta_rx_bw_to_chan_width(struct link_sta_info *link_sta)
 474:	{
 475:		enum ieee80211_sta_rx_bandwidth cur_bw =
 476:			link_sta->pub->bandwidth;
 477:		struct ieee80211_sta_vht_cap *vht_cap =
 478:			&link_sta->pub->vht_cap;
 479:		u32 cap_width;
 480:	
 481:		switch (cur_bw) {
 482:		case IEEE80211_STA_RX_BW_20:
 483:			if (!link_sta->pub->ht_cap.ht_supported)
 484:				return NL80211_CHAN_WIDTH_20_NOHT;
 485:			else
 486:				return NL80211_CHAN_WIDTH_20;
 487:		case IEEE80211_STA_RX_BW_40:
 488:			return NL80211_CHAN_WIDTH_40;
 489:		case IEEE80211_STA_RX_BW_80:
 490:			return NL80211_CHAN_WIDTH_80;
 491:		case IEEE80211_STA_RX_BW_160:
 492:			cap_width =
 493:				vht_cap->cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK;
 494:	
 495:			if (cap_width == IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ)
 496:				return NL80211_CHAN_WIDTH_160;
 497:	
 498:			return NL80211_CHAN_WIDTH_80P80;
 499:		default:
 500:			return NL80211_CHAN_WIDTH_20;
 501:		}
 502:	}
 SourceFile:net/mac80211/vht.c]

46/2 2026/03/27 20:57 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 43021
							output: 33
							thoughts: 392
						

Thoughts:
**Analyzing Bandwidth Handling in mac80211_hwsim_sta_rc_update**

Okay, let me think this through. It seems like `ieee80211_sta_rx_bw_to_chan_width` is only going to return either `NL80211_CHAN_WIDTH_20_NOHT` or `NL80211_CHAN_WIDTH_20` when the station reports a 20 MHz bandwidth using `IEEE80211_STA_RX_BW_20`, and it's not handling the 10 MHz or 5 MHz scenarios at all. This means the `link_sta->bandwidth` member is essentially only used for HT/VHT/HE/EHT bandwidths. If the station isn't using HT, like if it's 10 MHz, 5 MHz, or the no-HT 20 MHz, `link_sta->bandwidth` is always going to be set to `IEEE80211_STA_RX_BW_20`.

So, this makes me think `mac80211_hwsim_sta_rc_update` is probably wrong when it checks if `bw > hwsim_get_chanwidth(confbw)` when `confbw` is 10 MHz or 5 MHz. For example, if `confbw` is 10 MHz, `hwsim_get_chanwidth` will return 10. But `bw` is always going to be 20 in these no-HT cases because of how `link_sta->bandwidth` is set. So, the comparison `20 > 10` is always going to be true, even when it shouldn't.

I need to figure out a fix. Should `mac80211_hwsim_sta_rc_update` ignore this check altogether if `confbw` is 10 MHz or 5 MHz? Or should I change how `bw` is calculated in these cases to reflect the true bandwidth? I'm going to investigate how `mac80211_hwsim_sta_rc_update` is used throughout the code to better understand the impact and determine the best approach.



47/2 2026/03/27 20:57 tool codesearch-find-references
0m Args:
map[Name:mac80211_hwsim_sta_rc_update]

Results:
map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:mac80211_hwsim_sta_add SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c SourceLine:2713]] TruncatedOutput:false]

48/2 2026/03/27 20:57 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 44022
							output: 33
							thoughts: 96
						

Thoughts:
Okay, let me break this down.

**Unraveling the `mac80211_hwsim_sta_rc_update` Call Stack**

My initial thought was that `mac80211_hwsim_sta_rc_update` was recursively called from itself – a classic debugging red flag. But a closer look reveals that's not the case. It's actually triggered from `mac80211_hwsim_sta_add`. My first assumption was incorrect.

Now I'm focusing on the nature of the function `mac80211_hwsim_sta_rc_update`. Is this function itself acting as a callback, and if so, where is it registered and what triggers its execution? That's the key question I need to answer to fully grasp how this rate control update is initiated within the hardware simulation environment. I need to determine the specific conditions and contexts that lead to its invocation.



49/2 2026/03/27 20:57 tool codesearch-find-references
0m Args:
map[Name:mac80211_hwsim_sta_rc_update]

Results:
map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:mac80211_hwsim_sta_add SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c SourceLine:2713]] TruncatedOutput:false]

50/2 2026/03/27 20:57 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 44443
							output: 59
							thoughts: 17
						

Thoughts:
Okay, here's my attempt at summarizing my thought process regarding `mac80211_hwsim_ops`, as an expert in my field, in the first person:

**Diving into `mac80211_hwsim_ops`**

Alright, time to refresh my memory on `mac80211_hwsim_ops`. Let me mentally run through the structure and purpose of this interface. This is *the* core of the hardware simulation in mac80211, isn't it? It defines all the callbacks that simulate an actual wireless device's interaction with the mac80211 stack. Think about it - everything from setting the radio parameters, handling frame transmission and reception, power management calls, interrupt emulation, all of that needs to be abstracted and simulated within this structure.

I need to recall the key members, the critical functions. Things like `tx`, `rx`, `config`, the ones that handle the core data path. I need to make sure I'm crystal clear on how each of them interacts with the higher-level mac80211 framework. Remember the nuances of the synchronization mechanisms used in this area, the locking primitives, and how it handles concurrency.

I need to quickly review the context in which `mac80211_hwsim_ops` is used, the relationship with `cfg80211` and the underlying virtual network device. My primary focus today is to use this in a project I'm working on to test certain aspects of the wireless stack, this will dictate the level of detail I'll need to go into. I'll need to recall which functions are relevant for the current scenario. Time to start the analysis!



51/2 2026/03/27 20:57 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/wireless/virtual/mac80211_hwsim.c IncludeLines:true Name:mac80211_hwsim_ops]

Results:
map[SourceCode:4200:	static const struct ieee80211_ops mac80211_hwsim_ops = {
4201:		HWSIM_COMMON_OPS
4202:		HWSIM_NON_MLO_OPS
4203:		.sw_scan_start = mac80211_hwsim_sw_scan,
4204:		.sw_scan_complete = mac80211_hwsim_sw_scan_complete,
4205:		.add_chanctx = ieee80211_emulate_add_chanctx,
4206:		.remove_chanctx = ieee80211_emulate_remove_chanctx,
4207:		.change_chanctx = ieee80211_emulate_change_chanctx,
4208:		.switch_vif_chanctx = ieee80211_emulate_switch_vif_chanctx,
4209:	};
 SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c]

52/2 2026/03/27 20:57 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 45178
							output: 58
							thoughts: 26
						

Thoughts:
Okay, here's my interpretation of those thoughts, tailored for an expert audience, presented in the first person:

**Analyzing HWSIM Operator Sets**

Alright, let's dive into this. My initial thought process is to immediately focus on understanding the scope of what's being considered here, which I can get by reviewing the two operator groups: `HWSIM_COMMON_OPS` and `HWSIM_NON_MLO_OPS`. My experience tells me that this differentiation is likely key to a well-defined hardware simulation setup.

I'm thinking that 'COMMON' probably implies operators that are fundamental, ubiquitous, and likely represent the baseline functionality that *every* hardware simulation environment must support. Things like basic arithmetic, data movement, perhaps some control flow primitives. I expect to find these operations well-optimized and possibly already part of the simulator's core libraries. Understanding their precise definition is crucial because these will likely form the building blocks for more complex operations.

On the other hand, `HWSIM_NON_MLO_OPS` suggests a set that encompasses a broader range, which are, most likely, *not* machine learning oriented. This, immediately, starts prompting questions in my mind: What other sorts of computations are being considered here? Are we looking at signal processing, image processing, general compute-intensive kernels, or something else entirely? The 'NON_MLO' qualifier is interesting, as it hints that ML-specific operators might be handled in a completely separate area, or maybe they are handled as a special case within `HWSIM_COMMON_OPS`. I'll need to know whether any of the underlying functionality (like matrix math) is shared between these operator groups.

Essentially, I'm already mentally constructing a mental matrix to assess both sets in terms of: functional scope, potential optimizations, compatibility with existing hardware models, and how they contribute to the simulation's overall performance. I need the specifics of the actual operators to determine the direction.



53/2 2026/03/27 20:58 tool codesearch-definition-source
0m Error:
requested entity does not exist

Args:
map[ContextFile:drivers/net/wireless/virtual/mac80211_hwsim.c IncludeLines:true Name:HWSIM_NON_MLO_OPS]

Results:
map[SourceCode: SourceFile:]

54/2 2026/03/27 20:58 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 45696
							output: 24
							thoughts: 39
						

Thoughts:
Here's my thought process, summarized as you requested:

**Investigating a Potential Issue in the mac80211_hwsim Driver**

Okay, I need to dig into the `mac80211_hwsim` driver, specifically to see how it handles something related to non-MLO operations. The key I'm searching for is `HWSIM_NON_MLO_OPS`. My hunch is it's a compile-time option or a flag within the code that's tied to handling these operations. I'll start by searching for that string directly within the `drivers/net/wireless/virtual/mac80211_hwsim.c` file. This should give me a good jumping-off point to understand how these operations are managed and where potential issues might reside.



55/2 2026/03/27 20:58 tool grepper
0m Args:
map[Expression:HWSIM_NON_MLO_OPS]

Results:
map[Output:drivers/net/wireless/virtual/mac80211_hwsim.c=4129=static int mac80211_hwsim_change_nan_config(struct ieee80211_hw *hw,
--
drivers/net/wireless/virtual/mac80211_hwsim.c-4192-
drivers/net/wireless/virtual/mac80211_hwsim.c:4193:#define HWSIM_NON_MLO_OPS					\
drivers/net/wireless/virtual/mac80211_hwsim.c-4194-	.sta_add = mac80211_hwsim_sta_add,			\
--
drivers/net/wireless/virtual/mac80211_hwsim.c=4200=static const struct ieee80211_ops mac80211_hwsim_ops = {
drivers/net/wireless/virtual/mac80211_hwsim.c-4201-	HWSIM_COMMON_OPS
drivers/net/wireless/virtual/mac80211_hwsim.c:4202:	HWSIM_NON_MLO_OPS
drivers/net/wireless/virtual/mac80211_hwsim.c-4203-	.sw_scan_start = mac80211_hwsim_sw_scan,
--
drivers/net/wireless/virtual/mac80211_hwsim.c=4223=static const struct ieee80211_ops mac80211_hwsim_mchan_ops = {
drivers/net/wireless/virtual/mac80211_hwsim.c-4224-	HWSIM_COMMON_OPS
drivers/net/wireless/virtual/mac80211_hwsim.c:4225:	HWSIM_NON_MLO_OPS
drivers/net/wireless/virtual/mac80211_hwsim.c-4226-	HWSIM_CHANCTX_OPS
]

56/2 2026/03/27 20:58 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 46452
							output: 29
							thoughts: 69
						

Thoughts:
Okay, here's my interpretation of those thoughts, tailored for an expert audience:

**Analyzing HWSIM Operations and STA Management**

Right, so I see that `HWSIM_NON_MLO_OPS` includes a pointer to `.sta_add = mac80211_hwsim_sta_add`. That's expected; it's the standard entry point for adding a station to the simulated hardware context, right? Nothing unusual there, it's the expected method. Now, digging a little deeper, I'm also noticing `mac80211_hwsim_sta_rc_update` is part of `HWSIM_NON_MLO_OPS`. Hmm, interesting. So it looks like rate control updates happen within the context of the non-MLO operations, even if it might normally be part of other, potentially MLO-specific, data paths. I'll need to remember that when tracing STA addition and connection flows and how this impacts rate control logic and potentially the simulated hardware's interaction with the wireless medium and the queueing system. It's good to be aware that the code mixes these functionalities under this umbrella, so I'll need to pay close attention to how this interacts with the overall system design.



57/2 2026/03/27 20:58 tool grepper
0m Args:
map[Expression:mac80211_hwsim_sta_rc_update]

Results:
map[Output:drivers/net/wireless/virtual/mac80211_hwsim.c=2645=static void
drivers/net/wireless/virtual/mac80211_hwsim.c:2646:mac80211_hwsim_sta_rc_update(struct ieee80211_hw *hw,
drivers/net/wireless/virtual/mac80211_hwsim.c-2647-			     struct ieee80211_vif *vif,
--
drivers/net/wireless/virtual/mac80211_hwsim.c=2705=static int mac80211_hwsim_sta_add(struct ieee80211_hw *hw,
--
drivers/net/wireless/virtual/mac80211_hwsim.c-2712-	hwsim_set_sta_magic(sta);
drivers/net/wireless/virtual/mac80211_hwsim.c:2713:	mac80211_hwsim_sta_rc_update(hw, vif, &sta->deflink, 0);
drivers/net/wireless/virtual/mac80211_hwsim.c-2714-
--
drivers/net/wireless/virtual/mac80211_hwsim.c=4129=static int mac80211_hwsim_change_nan_config(struct ieee80211_hw *hw,
--
drivers/net/wireless/virtual/mac80211_hwsim.c-4176-	.sta_notify = mac80211_hwsim_sta_notify,		\
drivers/net/wireless/virtual/mac80211_hwsim.c:4177:	.link_sta_rc_update = mac80211_hwsim_sta_rc_update,	\
drivers/net/wireless/virtual/mac80211_hwsim.c-4178-	.conf_tx = mac80211_hwsim_conf_tx,			\
]

58/2 2026/03/27 20:58 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 47345
							output: 61
							thoughts: 966
						

Thoughts:
**Analyzing the mac80211_hwsim STA Rate Control Update Warning**

Okay, so I'm looking at this `mac80211_hwsim_sta_rc_update` function, which is the `.link_sta_rc_update` callback, and it's also called from `mac80211_hwsim_sta_add`. The crux of the issue is this warning:

```c
		WARN(bw > hwsim_get_chanwidth(confbw),
		     "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
		     vif->addr, link_id, sta->addr, bw, sta->deflink.bandwidth,
		     hwsim_get_chanwidth(data->bw), data->bw);
```

Essentially, it's flagging a bandwidth mismatch. The key here is that if `confbw` (the channel configuration bandwidth) is `NL80211_CHAN_WIDTH_10` or `NL80211_CHAN_WIDTH_5`, `hwsim_get_chanwidth(confbw)` is going to return 10 or 5 MHz, respectively.  However, `bw` is derived from `link_sta->bandwidth`, which is an `enum ieee80211_sta_rx_bandwidth`. The smallest value in that enum, `IEEE80211_STA_RX_BW_20`, is a minimum bandwidth of 20 MHz.

So, if `confbw` is 10 or 5, `bw` will *always* be greater, and the warning gets triggered. This seems suspicious.

The next question is, are 10 or 5 MHz channel widths even *valid* here?  Yes, they are.  I can see in the reproducer the channel width is explicitly set to 10 MHz via `NL80211_ATTR_CHANNEL_WIDTH` and `NL80211_CHAN_WIDTH_10`. And that makes sense, particularly with OCB, where these narrower channels are supported (e.g., 802.11p). When a frame arrives in OCB mode, `ieee80211_ocb_rx_no_sta` is called to add a STA, and the STA's bandwidth gets initialized to 20 MHz, then `mac80211_hwsim_sta_add` calls `mac80211_hwsim_sta_rc_update`, and the warning appears.

So, how do we fix this? The first thought is, should we *suppress* the warning if `confbw` is 10 or 5?  Or maybe we need to extend `ieee80211_sta_rx_bandwidth` to properly handle those narrower channel widths.

Wait... looking at the context, `ieee80211_sta_rx_bandwidth` is really representing the STA's *RX capability*.  For 10 and 5 MHz channels, the STA's RX bandwidth is implicitly 10 or 5 MHz because HT/VHT/HE/EHT are *not* supported on those channels.  So, `link_sta->bandwidth` being `IEEE80211_STA_RX_BW_20` is really just meaning "base bandwidth" which is always 20 MHz for standard channels and 10/5 MHz for 10/5 MHz channels. That makes more sense. I'll take a look at `ieee80211_sta_rx_bw_to_chan_width` to confirm my suspicion and see if we can adapt that.



59/2 2026/03/27 20:58 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac80211/vht.c IncludeLines:true Name:ieee80211_sta_rx_bw_to_chan_width]

Results:
map[SourceCode: 472:	enum nl80211_chan_width
 473:	ieee80211_sta_rx_bw_to_chan_width(struct link_sta_info *link_sta)
 474:	{
 475:		enum ieee80211_sta_rx_bandwidth cur_bw =
 476:			link_sta->pub->bandwidth;
 477:		struct ieee80211_sta_vht_cap *vht_cap =
 478:			&link_sta->pub->vht_cap;
 479:		u32 cap_width;
 480:	
 481:		switch (cur_bw) {
 482:		case IEEE80211_STA_RX_BW_20:
 483:			if (!link_sta->pub->ht_cap.ht_supported)
 484:				return NL80211_CHAN_WIDTH_20_NOHT;
 485:			else
 486:				return NL80211_CHAN_WIDTH_20;
 487:		case IEEE80211_STA_RX_BW_40:
 488:			return NL80211_CHAN_WIDTH_40;
 489:		case IEEE80211_STA_RX_BW_80:
 490:			return NL80211_CHAN_WIDTH_80;
 491:		case IEEE80211_STA_RX_BW_160:
 492:			cap_width =
 493:				vht_cap->cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK;
 494:	
 495:			if (cap_width == IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ)
 496:				return NL80211_CHAN_WIDTH_160;
 497:	
 498:			return NL80211_CHAN_WIDTH_80P80;
 499:		default:
 500:			return NL80211_CHAN_WIDTH_20;
 501:		}
 502:	}
 SourceFile:net/mac80211/vht.c]

60/2 2026/03/27 20:58 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 49837
							output: 25
							thoughts: 450
						

Thoughts:
**Analyzing Bandwidth Configuration in mac80211_hwsim_sta_rc_update**

Okay, let me break this down. My initial observation is that `ieee80211_sta_rx_bw_to_chan_width` returns either `NL80211_CHAN_WIDTH_20_NOHT` or `NL80211_CHAN_WIDTH_20` for an `IEEE80211_STA_RX_BW_20` value. This means `hwsim_get_chanwidth` will consistently return 20 in these cases. If the configured bandwidth (`confbw`) is, say, 10, then `hwsim_get_chanwidth(confbw)` would yield 10.

Now, the warning message within `mac80211_hwsim_sta_rc_update` is the key: it flags a situation where the calculated bandwidth `bw` is greater than the channel configuration bandwidth derived by `hwsim_get_chanwidth`.  Specifically, the warning looks like this:

```c
		WARN(bw > hwsim_get_chanwidth(confbw),
		     "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
		     vif->addr, link_id, sta->addr, bw, sta->deflink.bandwidth,
		     hwsim_get_chanwidth(data->bw), data->bw);
```

Let's dissect this.  `bw` is derived from `link_sta->bandwidth`, which is assigned through a `switch` statement that appears to map bandwidth values. For example, if `link_sta->bandwidth` is `IEEE80211_STA_RX_BW_20`, then `bw` becomes 20. But if `confbw` is indeed 10, then `hwsim_get_chanwidth(confbw)` resolves to 10.  So, the comparison becomes `20 > 10`, which, of course, evaluates to true, thus triggering the WARN. This strongly suggests a potential misconfiguration or a discrepancy between the STA's reported bandwidth and the channel's allowed configuration. I need to figure out how these values get set and whether they could legitimately be different. The underlying issue is that the STA can tell the AP what bandwidth it wants, but the AP's channel configuration could be narrower than the STA's request.

Now, the question is, *where else* is `hwsim_get_chanwidth` being used? I need to check to see if this is an isolated issue or if there are other places where the derived channel width might be at odds with the station's expectations. Knowing other uses would help understand how widespread the potential issue is.



61/2 2026/03/27 20:58 tool codesearch-find-references
0m Args:
map[Name:hwsim_get_chanwidth]

Results:
map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:mac80211_hwsim_sta_rc_update SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c SourceLine:2693] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:mac80211_hwsim_sta_rc_update SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c SourceLine:2693] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:mac80211_hwsim_tx SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c SourceLine:2099] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:mac80211_hwsim_tx SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c SourceLine:2099]] TruncatedOutput:false]

62/2 2026/03/27 20:58 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 51234
							output: 59
							thoughts: 17
						

Thoughts:
Okay, let's dive into this. Here's my take on those thoughts, as if they're my own:

**Analyzing `mac80211_hwsim_tx`**

Alright, I'm thinking about `mac80211_hwsim_tx`. Let's break this down. First, the name itself suggests this is about transmitting data within the mac80211 framework, and specifically, it seems linked to the hardware simulation aspect. So, it's likely a function or module responsible for simulating the transmission of wireless frames, but operating within a simulated hardware environment. That's immediately interesting, because it's probably critical for testing and development of the mac80211 stack *without* needing actual Wi-Fi hardware.

I'd expect to find this function handling a lot of things. It's likely involved in:

*   **Frame Preparation:** Taking a mac80211 frame that's been queued for transmission, and readying it for the simulated airwaves. This would include things like addressing, rate selection, power settings, and any applicable security processing, like WPA or WPA2 encryption.
*   **Simulating Physical Layer Effects:** This is where things get fascinating. The core of this probably involves emulating various physical layer phenomena. What's the model for propagation loss, interference, fading? Does it simulate collisions, channel access contention (like carrier sense)? If so, is this all event-driven based on a timer and scheduling? This simulation component is what differentiates this from a direct hardware transmit function.
*   **Generating the "Transmit" Event:** Somehow, the simulated "transmission" must trigger some kind of event that the mac80211 stack can respond to, such as a completion callback (perhaps for acks). Is this done via a timer, or a dedicated interrupt? It is important that this transmission be treated as though a 'real' wireless interface transmitted the data.
*   **Interfacing with the Simulation Engine:** I need to look at what underlying simulation framework this is using. Is this a dedicated internal simulation or does it integrate with something like NS-3, or some other network simulation environment? The interface to that would be crucial for understanding how realistic the simulation can become.

I'm starting to visualize the typical data flow; frames come into the stack, hit this function, get "transmitted" into the simulated environment, and then eventually a reply (ACK/NACK, data etc.) comes back, allowing the mac80211 stack to progress and keep functioning. This is fundamental for testing, because this simulated transmission path allows for comprehensive testing of many scenarios: rate adaptation, roaming, power saving, or congestion control in mac80211. I should also check out how this handles the "hardware" capabilities, like supported bands, and rates. That's probably vital to make sure the simulation is accurate. The function is likely a key component in a comprehensive testing framework. Let's see how well it's implemented.



63/2 2026/03/27 20:58 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/wireless/virtual/mac80211_hwsim.c IncludeLines:true Name:mac80211_hwsim_tx]

Results:
map[SourceCode:1958:	static void mac80211_hwsim_tx(struct ieee80211_hw *hw,
1959:				      struct ieee80211_tx_control *control,
1960:				      struct sk_buff *skb)
1961:	{
1962:		struct mac80211_hwsim_data *data = hw->priv;
1963:		struct ieee80211_tx_info *txi = IEEE80211_SKB_CB(skb);
1964:		struct ieee80211_hdr *hdr = (void *)skb->data;
1965:		struct ieee80211_chanctx_conf *chanctx_conf;
1966:		struct ieee80211_channel *channel;
1967:		struct ieee80211_vif *vif = txi->control.vif;
1968:		bool ack;
1969:		enum nl80211_chan_width confbw = NL80211_CHAN_WIDTH_20_NOHT;
1970:		u32 _portid, i;
1971:	
1972:		if (WARN_ON(skb->len < 10)) {
1973:			/* Should not happen; just a sanity check for addr1 use */
1974:			ieee80211_free_txskb(hw, skb);
1975:			return;
1976:		}
1977:	
1978:		if (vif && vif->type == NL80211_IFTYPE_NAN && !data->tmp_chan) {
1979:			/* For NAN Device simulation purposes, assume that NAN is always
1980:			 * on channel 6 or channel 149, unless a ROC is in progress (for
1981:			 * USD use cases).
1982:			 */
1983:			if (data->nan_curr_dw_band == NL80211_BAND_2GHZ)
1984:				channel = ieee80211_get_channel(hw->wiphy, 2437);
1985:			else if (data->nan_curr_dw_band == NL80211_BAND_5GHZ)
1986:				channel = ieee80211_get_channel(hw->wiphy, 5745);
1987:			else
1988:				channel = NULL;
1989:	
1990:			if (WARN_ON(!channel)) {
1991:				ieee80211_free_txskb(hw, skb);
1992:				return;
1993:			}
1994:		} else if (!data->use_chanctx) {
1995:			channel = data->channel;
1996:			confbw = data->bw;
1997:		} else if (txi->hw_queue == 4) {
1998:			channel = data->tmp_chan;
1999:		} else {
2000:			u8 link = u32_get_bits(IEEE80211_SKB_CB(skb)->control.flags,
2001:					       IEEE80211_TX_CTRL_MLO_LINK);
2002:			struct ieee80211_link_sta *link_sta = NULL;
2003:			struct ieee80211_sta *sta = control->sta;
2004:			struct ieee80211_bss_conf *bss_conf;
2005:	
2006:			/* This can happen in case of monitor injection */
2007:			if (!vif) {
2008:				ieee80211_free_txskb(hw, skb);
2009:				return;
2010:			}
2011:	
2012:			if (link != IEEE80211_LINK_UNSPECIFIED) {
2013:				bss_conf = rcu_dereference(vif->link_conf[link]);
2014:				if (sta)
2015:					link_sta = rcu_dereference(sta->link[link]);
2016:			} else {
2017:				bss_conf = mac80211_hwsim_select_tx_link(data, vif, sta,
2018:									 hdr, &link_sta);
2019:			}
2020:	
2021:			if (unlikely(!bss_conf)) {
2022:				/* if it's an MLO STA, it might have deactivated all
2023:				 * links temporarily - but we don't handle real PS in
2024:				 * this code yet, so just drop the frame in that case
2025:				 */
2026:				WARN(link != IEEE80211_LINK_UNSPECIFIED || !sta || !sta->mlo,
2027:				     "link:%d, sta:%pM, sta->mlo:%d\n",
2028:				     link, sta ? sta->addr : NULL, sta ? sta->mlo : -1);
2029:				ieee80211_free_txskb(hw, skb);
2030:				return;
2031:			}
2032:	
2033:			/* Do address translations only between shared links. It is
2034:			 * possible that while an non-AP MLD station and an AP MLD
2035:			 * station have shared links, the frame is intended to be sent
2036:			 * on a link which is not shared (for example when sending a
2037:			 * probe response).
2038:			 */
2039:			if (sta && sta->mlo && link_sta) {
2040:				/* address translation to link addresses on TX */
2041:				ether_addr_copy(hdr->addr1, link_sta->addr);
2042:				ether_addr_copy(hdr->addr2, bss_conf->addr);
2043:				/* translate A3 only if it's the BSSID */
2044:				if (!ieee80211_has_tods(hdr->frame_control) &&
2045:				    !ieee80211_has_fromds(hdr->frame_control)) {
2046:					if (ether_addr_equal(hdr->addr3, sta->addr))
2047:						ether_addr_copy(hdr->addr3, link_sta->addr);
2048:					else if (ether_addr_equal(hdr->addr3, vif->addr))
2049:						ether_addr_copy(hdr->addr3, bss_conf->addr);
2050:				}
2051:				/* no need to look at A4, if present it's SA */
2052:			}
2053:	
2054:			chanctx_conf = rcu_dereference(bss_conf->chanctx_conf);
2055:			if (chanctx_conf) {
2056:				channel = chanctx_conf->def.chan;
2057:				confbw = chanctx_conf->def.width;
2058:			} else {
2059:				channel = NULL;
2060:			}
2061:		}
2062:	
2063:		if (WARN(!channel, "TX w/o channel - queue = %d\n", txi->hw_queue)) {
2064:			ieee80211_free_txskb(hw, skb);
2065:			return;
2066:		}
2067:	
2068:		if (data->idle && !data->tmp_chan) {
2069:			wiphy_dbg(hw->wiphy, "Trying to TX when idle - reject\n");
2070:			ieee80211_free_txskb(hw, skb);
2071:			return;
2072:		}
2073:	
2074:		if (vif)
2075:			hwsim_check_magic(vif);
2076:		if (control->sta)
2077:			hwsim_check_sta_magic(control->sta);
2078:	
2079:		if (ieee80211_hw_check(hw, SUPPORTS_RC_TABLE))
2080:			ieee80211_get_tx_rates(vif, control->sta, skb,
2081:					       txi->control.rates,
2082:					       ARRAY_SIZE(txi->control.rates));
2083:	
2084:		for (i = 0; i < ARRAY_SIZE(txi->control.rates); i++) {
2085:			u16 rflags = txi->control.rates[i].flags;
2086:			/* initialize to data->bw for 5/10 MHz handling */
2087:			enum nl80211_chan_width bw = data->bw;
2088:	
2089:			if (txi->control.rates[i].idx == -1)
2090:				break;
2091:	
2092:			if (rflags & IEEE80211_TX_RC_40_MHZ_WIDTH)
2093:				bw = NL80211_CHAN_WIDTH_40;
2094:			else if (rflags & IEEE80211_TX_RC_80_MHZ_WIDTH)
2095:				bw = NL80211_CHAN_WIDTH_80;
2096:			else if (rflags & IEEE80211_TX_RC_160_MHZ_WIDTH)
2097:				bw = NL80211_CHAN_WIDTH_160;
2098:	
2099:			if (WARN_ON(hwsim_get_chanwidth(bw) > hwsim_get_chanwidth(confbw)))
2100:				return;
2101:		}
2102:	
2103:		if (skb->len >= 24 + 8 &&
2104:		    ieee80211_is_probe_resp(hdr->frame_control)) {
2105:			/* fake header transmission time */
2106:			struct ieee80211_mgmt *mgmt;
2107:			struct ieee80211_rate *txrate;
2108:			/* TODO: get MCS */
2109:			int bitrate = 100;
2110:			u64 ts;
2111:	
2112:			mgmt = (struct ieee80211_mgmt *)skb->data;
2113:			txrate = ieee80211_get_tx_rate(hw, txi);
2114:			if (txrate)
2115:				bitrate = txrate->bitrate;
2116:			ts = mac80211_hwsim_get_tsf_raw();
2117:			mgmt->u.probe_resp.timestamp =
2118:				cpu_to_le64(ts + data->tsf_offset +
2119:					    24 * 8 * 10 / bitrate);
2120:		}
2121:	
2122:		mac80211_hwsim_monitor_rx(hw, skb, channel);
2123:	
2124:		/* wmediumd mode check */
2125:		_portid = READ_ONCE(data->wmediumd);
2126:	
2127:		if (_portid || hwsim_virtio_enabled)
2128:			return mac80211_hwsim_tx_frame_nl(hw, skb, _portid, channel);
2129:	
2130:		/* NO wmediumd detected, perfect medium simulation */
2131:		data->tx_pkts++;
2132:		data->tx_bytes += skb->len;
2133:		ack = mac80211_hwsim_tx_frame_no_nl(hw, skb, channel);
2134:	
2135:		if (ack && skb->len >= 16)
2136:			mac80211_hwsim_monitor_ack(channel, hdr->addr2);
2137:	
2138:		ieee80211_tx_info_clear_status(txi);
2139:	
2140:		/* frame was transmitted at most favorable rate at first attempt */
2141:		txi->control.rates[0].count = 1;
2142:		txi->control.rates[1].idx = -1;
2143:	
2144:		if (!(txi->flags & IEEE80211_TX_CTL_NO_ACK) && ack)
2145:			txi->flags |= IEEE80211_TX_STAT_ACK;
2146:		ieee80211_tx_status_irqsafe(hw, skb);
2147:	}
 SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c]

64/2 2026/03/27 20:58 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 55502
							output: 31
							thoughts: 2865
						

Thoughts:
**Analysis of Bandwidth Mismatch in mac80211_hwsim**

Okay, so I've been digging into this bandwidth discrepancy in `mac80211_hwsim` and I think I've got a handle on it. The core issue lies in how we handle STA's RX bandwidth relative to the channel configuration, especially with 5/10 MHz channels.

Firstly, in `mac80211_hwsim_tx`, the code seems sound. `bw` is correctly initialized to the channel width (`data->bw`) and adjusted based on the `rflags`, ensuring that wider bandwidths (40/80/160 MHz) are handled appropriately. The `hwsim_get_chanwidth` checks here are as expected.

However, things get interesting in `mac80211_hwsim_sta_rc_update`. The `bw` derived from `link_sta->bandwidth` defaults to 20 MHz because there's no specific value for 10 or 5 MHz in the `IEEE80211_STA_RX_BW_` enum.  This is where the problem creeps in. The code currently generates a warning when the STA's "bandwidth" (`bw`) is greater than the channel configuration (`confbw`). However, for 5/10 MHz channels, this will be inherently true, as `link_sta->bandwidth` will always be effectively "20".

I initially considered bypassing the warning if the channel width (`confbw`) is 5 or 10 MHz.  Another option was to check if the `bw` is 20 and the `confbw` is less than 20. Another was to take the min of the two. But that would defeat the purpose of the warning. The warning is designed to flag cases where a STA is configured with a bandwidth larger than the channel bandwidth.

The most accurate and proper solution is to adjust the warning condition. I believe the warning should only trigger if the STA's perceived bandwidth (`bw`) is greater than the channel width (`confbw`) *and* the channel width is at least 20 MHz.  So, I think the correct fix is: `WARN(bw > hwsim_get_chanwidth(confbw) && hwsim_get_chanwidth(confbw) >= 20, ...)`.  Equivalently, it could be `WARN(bw > max_t(u32, 20, hwsim_get_chanwidth(confbw)), ...)`. This approach ensures the warning is only raised when the STA's bandwidth is genuinely exceeding the channel capacity, ignoring the 5/10 MHz nuances.

However, I also noticed something else: the *warning message* itself is potentially incorrect. The message prints the channel width (`hwsim_get_chanwidth(data->bw)`) and channel configuration (`data->bw`) from the *data* context instead of the *confbw* that is being used in the comparison.  If `data->use_chanctx` is true, which it often is these days, then `confbw` will be set from `chanctx_conf->def.width`, which may be *different* from `data->bw`. The warning message needs to accurately reflect the channel width being *used*, not necessarily what's stored in `data`. I think the message should print `hwsim_get_chanwidth(confbw)` and `confbw` to align with the check. In the syzkaller crash log, `data->bw` appears to be 7 (10 MHz channel), so this is definitely a potential bug!



65/2 2026/03/27 20:59 tool codesearch-find-references
0m Args:
map[Name:mac80211_hwsim_data::bw]

Results:
map[References:[map[ReferenceKind:writes ReferencingEntityKind:function ReferencingEntityName:mac80211_hwsim_config SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c SourceLine:2474] map[ReferenceKind:writes ReferencingEntityKind:function ReferencingEntityName:mac80211_hwsim_config SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c SourceLine:2486] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:mac80211_hwsim_sta_rc_update SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c SourceLine:2679] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:mac80211_hwsim_sta_rc_update SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c SourceLine:2693] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:mac80211_hwsim_sta_rc_update SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c SourceLine:2693] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:mac80211_hwsim_tx SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c SourceLine:1996] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:mac80211_hwsim_tx SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c SourceLine:2087]] TruncatedOutput:false]

66/2 2026/03/27 20:59 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 59686
							output: 59
							thoughts: 17
						

Thoughts:
Okay, let's dive into this. Here's my take on those thoughts, as if they're my own:

**Analyzing `mac80211_hwsim_config`**

Alright, so I'm thinking about `mac80211_hwsim_config`. Specifically, it's that configuration structure used within the mac80211 hardware simulation module. I immediately start mentally parsing what that implies: it's the central point where the simulation environment's parameters are likely defined. Things like the number of simulated devices, their initial channel settings, and potentially even the simulated noise floor or interference characteristics – all of that likely lives within this structure. I'm wondering if it also handles virtual MAC addresses or other identity-related configuration.

My brain is immediately working through the implications for testing and development. I'm trying to figure out how granular the configuration is. Can I define the behavior of individual simulated devices independently? Is it possible to introduce specific error conditions or traffic patterns to test various edge cases in the driver and stack? Are there likely preset profiles, or is it intended for a very flexible, manual configuration approach? I'm curious about the methods for loading and saving the configuration, whether it's done through the kernel module parameters or by means of a dedicated file format.

Given its purpose, I'm expecting to find aspects related to QoS settings and channel usage. I hope it includes support for standard values, or, at least, the configuration of the various parameters involved. I want to know about frequency agility and support for different bands. I'm also anticipating that the structure includes a method for defining the physical layer characteristics. How does it handle antenna models, signal attenuation, and potential fading effects? The core of the simulated hardware behavior will be encoded here, which is the most critical aspect to analyze.



67/2 2026/03/27 20:59 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/wireless/virtual/mac80211_hwsim.c IncludeLines:true Name:mac80211_hwsim_config]

Results:
map[SourceCode:2426:	static int mac80211_hwsim_config(struct ieee80211_hw *hw, int radio_idx,
2427:					 u32 changed)
2428:	{
2429:		struct mac80211_hwsim_data *data = hw->priv;
2430:		struct ieee80211_conf *conf = &hw->conf;
2431:		static const char *smps_modes[IEEE80211_SMPS_NUM_MODES] = {
2432:			[IEEE80211_SMPS_AUTOMATIC] = "auto",
2433:			[IEEE80211_SMPS_OFF] = "off",
2434:			[IEEE80211_SMPS_STATIC] = "static",
2435:			[IEEE80211_SMPS_DYNAMIC] = "dynamic",
2436:		};
2437:		int idx;
2438:	
2439:		if (conf->chandef.chan)
2440:			wiphy_dbg(hw->wiphy,
2441:				  "%s (freq=%d(%d - %d)/%s idle=%d ps=%d smps=%s)\n",
2442:				  __func__,
2443:				  conf->chandef.chan->center_freq,
2444:				  conf->chandef.center_freq1,
2445:				  conf->chandef.center_freq2,
2446:				  hwsim_chanwidths[conf->chandef.width],
2447:				  !!(conf->flags & IEEE80211_CONF_IDLE),
2448:				  !!(conf->flags & IEEE80211_CONF_PS),
2449:				  smps_modes[conf->smps_mode]);
2450:		else
2451:			wiphy_dbg(hw->wiphy,
2452:				  "%s (freq=0 idle=%d ps=%d smps=%s)\n",
2453:				  __func__,
2454:				  !!(conf->flags & IEEE80211_CONF_IDLE),
2455:				  !!(conf->flags & IEEE80211_CONF_PS),
2456:				  smps_modes[conf->smps_mode]);
2457:	
2458:		data->idle = !!(conf->flags & IEEE80211_CONF_IDLE);
2459:	
2460:		WARN_ON(conf->chandef.chan && data->use_chanctx);
2461:	
2462:		mutex_lock(&data->mutex);
2463:		if (data->scanning && conf->chandef.chan) {
2464:			for (idx = 0; idx < ARRAY_SIZE(data->survey_data); idx++) {
2465:				if (data->survey_data[idx].channel == data->channel) {
2466:					data->survey_data[idx].start =
2467:						data->survey_data[idx].next_start;
2468:					data->survey_data[idx].end = jiffies;
2469:					break;
2470:				}
2471:			}
2472:	
2473:			data->channel = conf->chandef.chan;
2474:			data->bw = conf->chandef.width;
2475:	
2476:			for (idx = 0; idx < ARRAY_SIZE(data->survey_data); idx++) {
2477:				if (data->survey_data[idx].channel &&
2478:				    data->survey_data[idx].channel != data->channel)
2479:					continue;
2480:				data->survey_data[idx].channel = data->channel;
2481:				data->survey_data[idx].next_start = jiffies;
2482:				break;
2483:			}
2484:		} else {
2485:			data->channel = conf->chandef.chan;
2486:			data->bw = conf->chandef.width;
2487:		}
2488:		mutex_unlock(&data->mutex);
2489:	
2490:		for (idx = 0; idx < ARRAY_SIZE(data->link_data); idx++) {
2491:			struct mac80211_hwsim_link_data *link_data =
2492:				&data->link_data[idx];
2493:	
2494:			if (!data->started || !link_data->beacon_int) {
2495:				hrtimer_cancel(&link_data->beacon_timer);
2496:			} else if (!hrtimer_active(&link_data->beacon_timer)) {
2497:				u64 tsf = mac80211_hwsim_get_tsf(hw, NULL);
2498:				u32 bcn_int = link_data->beacon_int;
2499:				u64 until_tbtt = bcn_int - do_div(tsf, bcn_int);
2500:	
2501:				hrtimer_start(&link_data->beacon_timer,
2502:					      ns_to_ktime(until_tbtt * NSEC_PER_USEC),
2503:					      HRTIMER_MODE_REL_SOFT);
2504:			}
2505:		}
2506:	
2507:		return 0;
2508:	}
 SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c]

68/2 2026/03/27 20:59 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 61673
							output: 57
							thoughts: 399
						

Thoughts:
**Debugging a Bandwidth Mismatch in mac80211_hwsim**

Okay, let's break this down. I'm looking at a bandwidth mismatch warning in `mac80211_hwsim`, specifically when joining an OCB network. The initial thought process was: `mac80211_hwsim_config` seems to set the bandwidth (`data->bw`) to whatever is in the configuration (`conf->chandef.width`). But there's a crucial conditional, a `WARN_ON`, that fires if we're using channel context (`data->use_chanctx`) *and* the channel definition (`conf->chandef.chan`) is NULL. In this case `conf->chandef.width` is zero, so `data->bw` would be set to zero and then when passed to `hwsim_get_chanwidth`, this would mean a width of 20MHz. But the warning message clearly states a mismatch: the driver is reporting 20 MHz (0) when the channel is configured for 10 MHz (7).

Wait a second, the warning *itself* is the clue. It indicates the *configured* channel bandwidth is 10 MHz (7), which means the `hwsim_get_chanwidth` function is returning 10. That makes it clear that `data->bw` is actually 7 (NL80211_CHAN_WIDTH_10). This conflicts with the initial assumption that `data->bw` would be set to zero. But how can `data->bw` be 7 if we are using channel context (`data->use_chanctx` is true)? That's the core question.

Ah-ha! The key is the syzkaller reproducer. It's setting `NL80211_CMD_JOIN_OCB` and crucially, it *also* sets `NL80211_ATTR_CHANNEL_WIDTH` to 7 (10 MHz). So, the bandwidth isn't just determined by the initial configuration; this attribute is probably overriding it. But this raises another question: Does OCB even use channel contexts? I need to check the `ieee80211_ocb_setup_sdata` function to understand how OCB networks are initialized and configured in this context. I think that's where I'll find the answer!



69/2 2026/03/27 20:59 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac80211/ocb.c IncludeLines:true Name:ieee80211_ocb_setup_sdata]

Results:
map[SourceCode: 161:	void ieee80211_ocb_setup_sdata(struct ieee80211_sub_if_data *sdata)
 162:	{
 163:		struct ieee80211_if_ocb *ifocb = &sdata->u.ocb;
 164:	
 165:		timer_setup(&ifocb->housekeeping_timer,
 166:			    ieee80211_ocb_housekeeping_timer, 0);
 167:		INIT_LIST_HEAD(&ifocb->incomplete_stations);
 168:		spin_lock_init(&ifocb->incomplete_lock);
 169:	}
 SourceFile:net/mac80211/ocb.c]

70/2 2026/03/27 20:59 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 62866
							output: 29
							thoughts: 161
						

Thoughts:
**Analyzing the mac80211_hwsim Channel Context Logic**

Okay, let me break this down. My understanding is that `data->use_chanctx` is true for `mac80211_hwsim` because it properly handles `WIPHY_FLAG_SUPPORTS_CHANCTX`. Makes sense so far. But, a critical piece of information seems to be the way `mac80211_hwsim_config` is called. It's invoked with `conf->chandef.chan` set to NULL *when* `use_chanctx` is true. Hmm, interesting. So that means it’s channel-agnostic at that point.

And if `conf->chandef.chan` is NULL, then `conf->chandef.width` will be 0, right? The channel width is 0 if no channel is defined. But… if the bandwidth indicated by `data->bw` is 7, then surely `conf->chandef.width` *must* have been 7. That's a bit of a contradiction. There's a link missing in my understanding, here, I need to understand how the bandwidth is resolved.

Let's trace this back to the source. Where exactly does `mac80211_hwsim_config` get called from? Right, it's called from `mac80211_config`. That's the entry point I need to focus on to understand the channel configuration process. I need to look at how channel information is passed down the line, and how bandwidth is being handled when `use_chanctx` is true.



71/2 2026/03/27 20:59 tool codesearch-find-references
0m Args:
map[Name:mac80211_hwsim_config]

Results:
map[References:<nil> TruncatedOutput:false]

72/2 2026/03/27 20:59 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 63428
							output: 28
							thoughts: 22
						

Thoughts:
Here's my take on those thoughts:

**Deciphering the Configuration Callback**

Okay, wait a minute, let's step back and clarify something. I was just reviewing the `mac80211_hwsim` code, and it clicked: the `.config` callback... that's **`mac80211_hwsim_config`**. It's the key to how configuration is handled, isn't it? It all comes back to defining this within the broader network stack context.



73/2 2026/03/27 20:59 tool grepper
0m Args:
map[Expression:\.config = mac80211_hwsim_config]

Results:
map[Output:drivers/net/wireless/virtual/mac80211_hwsim.c=4129=static int mac80211_hwsim_change_nan_config(struct ieee80211_hw *hw,
--
drivers/net/wireless/virtual/mac80211_hwsim.c-4170-	.remove_interface = mac80211_hwsim_remove_interface,	\
drivers/net/wireless/virtual/mac80211_hwsim.c:4171:	.config = mac80211_hwsim_config,			\
drivers/net/wireless/virtual/mac80211_hwsim.c-4172-	.configure_filter = mac80211_hwsim_configure_filter,	\
]

74/2 2026/03/27 20:59 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 63800
							output: 49
							thoughts: 29
						

Thoughts:
Okay, here's my take on those thoughts, framed as an expert's internal monologue:

**Diving into the Heart of mac80211 Configuration**

Alright, time to get my hands dirty. Let's start by digging into `net/mac80211/main.c`. Specifically, I need to understand the role of `mac80211_config`. This function is fundamental to the whole mac802.11 stack, so I need to understand its impact. Where is this used? what exactly does it do? I suspect it's the core configuration function within mac80211. I want to see how this function handles the initialization and setup of the mac80211 stack. I anticipate there'll be a lot of critical parameters and structures in this. I'm especially interested in how it interacts with the lower layers and how this function plays a part in the overall driver structure. This is where the rubber meets the road, where the theoretical 802.11 standards are translated into the practical execution and hardware interaction. I'll need to pay close attention to the data structures involved, the initialization sequences, and any potential areas for optimization or, even more likely, potential bugs. Let's see what's in store.



75/2 2026/03/27 20:59 tool codesearch-definition-source
0m Error:
requested entity does not exist

Args:
map[ContextFile:net/mac80211/main.c IncludeLines:true Name:mac80211_config]

Results:
map[SourceCode: SourceFile:]

76/2 2026/03/27 20:59 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 64175
							output: 29
							thoughts: 20
						

Thoughts:
Okay, here's my interpretation of that thought process, assuming I'm already deep in the weeds of network driver development, specifically around the 802.11 stack:

**Hunting for Configuration Hooks in ieee80211_ops**

Alright, time to dive in. My immediate thought is, "Okay, where does the rubber meet the road when it comes to configuration within the `ieee80211_ops` structure?" I'm assuming that any specific vendor implementation of 802.11 features is likely going to involve calls into the ops structure, and therefore it's a good place to start my hunt for the configurations which I am seeking. I'm thinking I'll need to know where and how the configuration parameters are being set, retrieved, and ultimately applied to the hardware. That's usually where the `.config` options will be located. Time to start digging through the code. I need to understand how the system interacts with the wireless hardware and how it translates user-level configuration into actual driver operations. Let's see what we can find.



77/2 2026/03/27 20:59 tool codesearch-find-references
0m Args:
map[Name:ieee80211_ops::config]

Results:
map[References:[map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:drv_config SourceFile:net/mac80211/driver-ops.h SourceLine:156] map[ReferenceKind:reads ReferencingEntityKind:function ReferencingEntityName:ieee80211_alloc_hw_nm SourceFile:net/mac80211/main.c SourceLine:800]] TruncatedOutput:false]

78/2 2026/03/27 20:59 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 64593
							output: 21
							thoughts: 9
						

Thoughts:
Okay, let's dive into this. Here's my thought process as I approach `drv_config`:

**Analyzing `drv_config`**

Alright, the first thing that jumps out at me is, "Let's see `drv_config`." That's a directive – a starting point. It's a key piece of configuration, almost certainly central to how this system's drivers are set up. I'm already anticipating it's going to be packed with details on device assignments, resource allocation, maybe even platform-specific quirks. I'm keen to understand its structure, the syntax, and the overall design philosophy behind it. My expertise kicks in – I’ll be looking for potential optimization points immediately.



79/2 2026/03/27 20:59 tool codesearch-find-references
0m Args:
map[Name:drv_config]

Results:
map[References:<nil> TruncatedOutput:false]

80/2 2026/03/27 20:59 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 64798
							output: 17
							thoughts: 21
						

Thoughts:
Here's my thought process, as if I were considering this code:

**Analyzing the Call Stack: `drv_config` and `ieee80211_config`**

Okay, so I'm looking at how this driver is configured. The key here is the relationship between `drv_config` and `ieee80211_config`. The text is pretty direct: `drv_config` is *called* from `ieee80211_config`. That's the core of it.

Essentially, `ieee80211_config` is likely acting as a higher-level function, perhaps part of the 802.11 standard implementation or the main configuration management for the wireless stack. And *within* that configuration process, at some point, it needs to call `drv_config`. This strongly suggests that `drv_config` is the *driver-specific* configuration function. `ieee80211_config` probably handles the overall framework and then offloads the specific hardware or driver-level configurations to `drv_config`. I'd want to look into `ieee80211_config` to see the broader context and see if there are other calls in it, and what else might be handled as part of that function, as that is the core point of configuration. Knowing the overall configuration process would give me a better understanding of what the driver does.



81/2 2026/03/27 20:59 tool grepper
0m Args:
map[Expression:drv_config]

Results:
map[Output:drivers/media/i2c/ds90ub960.c=2538=static int ub960_turn_off_rxport_ub9702(struct ub960_data *priv,
--
drivers/media/i2c/ds90ub960.c-2578-
drivers/media/i2c/ds90ub960.c:2579:static int ub960_set_bc_drv_config_ub9702(struct ub960_data *priv,
drivers/media/i2c/ds90ub960.c-2580-					  unsigned int nport)
--
drivers/media/i2c/ds90ub960.c=2616=static int ub960_set_fpd4_sync_mode_ub9702(struct ub960_data *priv,
--
drivers/media/i2c/ds90ub960.c-2630-
drivers/media/i2c/ds90ub960.c:2631:	ret = ub960_set_bc_drv_config_ub9702(priv, nport);
drivers/media/i2c/ds90ub960.c-2632-	if (ret)
--
drivers/media/i2c/ds90ub960.c=2654=static int ub960_set_fpd4_async_mode_ub9702(struct ub960_data *priv,
--
drivers/media/i2c/ds90ub960.c-2669-
drivers/media/i2c/ds90ub960.c:2670:	ret = ub960_set_bc_drv_config_ub9702(priv, nport);
drivers/media/i2c/ds90ub960.c-2671-	if (ret)
--
drivers/media/i2c/ds90ub960.c=2693=static int ub960_set_fpd3_sync_mode_ub9702(struct ub960_data *priv,
--
drivers/media/i2c/ds90ub960.c-2711-
drivers/media/i2c/ds90ub960.c:2712:	ret = ub960_set_bc_drv_config_ub9702(priv, nport);
drivers/media/i2c/ds90ub960.c-2713-	if (ret)
--
drivers/media/i2c/ds90ub960.c=2723=static int ub960_set_raw10_dvp_mode_ub9702(struct ub960_data *priv,
--
drivers/media/i2c/ds90ub960.c-2751-
drivers/media/i2c/ds90ub960.c:2752:	ret = ub960_set_bc_drv_config_ub9702(priv, nport);
drivers/media/i2c/ds90ub960.c-2753-	if (ret)
--
drivers/net/netdevsim/bus.c=31=nsim_bus_dev_numvfs_store(struct device *dev, struct device_attribute *attr,
--
drivers/net/netdevsim/bus.c-44-	if (dev_get_drvdata(dev))
drivers/net/netdevsim/bus.c:45:		ret = nsim_drv_configure_vfs(nsim_bus_dev, num_vfs);
drivers/net/netdevsim/bus.c-46-	device_unlock(dev);
--
drivers/net/netdevsim/dev.c=1823=int nsim_drv_port_del(struct nsim_bus_dev *nsim_bus_dev, enum nsim_dev_port_type type,
--
drivers/net/netdevsim/dev.c-1839-
drivers/net/netdevsim/dev.c:1840:int nsim_drv_configure_vfs(struct nsim_bus_dev *nsim_bus_dev,
drivers/net/netdevsim/dev.c-1841-			   unsigned int num_vfs)
--
drivers/net/netdevsim/netdevsim.h=382=int nsim_drv_port_del(struct nsim_bus_dev *nsim_bus_dev,
--
drivers/net/netdevsim/netdevsim.h-384-		      unsigned int port_index);
drivers/net/netdevsim/netdevsim.h:385:int nsim_drv_configure_vfs(struct nsim_bus_dev *nsim_bus_dev,
drivers/net/netdevsim/netdevsim.h-386-			   unsigned int num_vfs);
--
net/mac80211/cfg.c=4526=ieee80211_update_mgmt_frame_registrations(struct wiphy *wiphy,
--
net/mac80211/cfg.c-4554-	if (intf_change && ieee80211_sdata_running(sdata))
net/mac80211/cfg.c:4555:		drv_config_iface_filter(local, sdata,
net/mac80211/cfg.c-4556-					sdata->vif.probe_req_reg ?
--
net/mac80211/driver-ops.h=144=void drv_remove_interface(struct ieee80211_local *local,
--
net/mac80211/driver-ops.h-146-
net/mac80211/driver-ops.h:147:static inline int drv_config(struct ieee80211_local *local, int radio_idx,
net/mac80211/driver-ops.h-148-			     u32 changed)
--
net/mac80211/driver-ops.h-154-
net/mac80211/driver-ops.h:155:	trace_drv_config(local, radio_idx, changed);
net/mac80211/driver-ops.h-156-	ret = local->ops->config(&local->hw, radio_idx, changed);
--
net/mac80211/driver-ops.h=185=static inline u64 drv_prepare_multicast(struct ieee80211_local *local,
--
net/mac80211/driver-ops.h-199-
net/mac80211/driver-ops.h:200:static inline void drv_configure_filter(struct ieee80211_local *local,
net/mac80211/driver-ops.h-201-					unsigned int changed_flags,
--
net/mac80211/driver-ops.h-207-
net/mac80211/driver-ops.h:208:	trace_drv_configure_filter(local, changed_flags, total_flags,
net/mac80211/driver-ops.h-209-				   multicast);
--
net/mac80211/driver-ops.h-214-
net/mac80211/driver-ops.h:215:static inline void drv_config_iface_filter(struct ieee80211_local *local,
net/mac80211/driver-ops.h-216-					   struct ieee80211_sub_if_data *sdata,
--
net/mac80211/driver-ops.h-222-
net/mac80211/driver-ops.h:223:	trace_drv_config_iface_filter(local, sdata, filter_flags,
net/mac80211/driver-ops.h-224-				      changed_flags);
--
net/mac80211/iface.c=1320=int ieee80211_do_open(struct wireless_dev *wdev, bool coming_up)
--
net/mac80211/iface.c-1486-		if (sdata->vif.probe_req_reg)
net/mac80211/iface.c:1487:			drv_config_iface_filter(local, sdata,
net/mac80211/iface.c-1488-						FIF_PROBE_REQ,
--
net/mac80211/main.c=37=void ieee80211_configure_filter(struct ieee80211_local *local)
--
net/mac80211/main.c-79-
net/mac80211/main.c:80:	drv_configure_filter(local, changed_flags, &new_flags, mc);
net/mac80211/main.c-81-
--
net/mac80211/main.c=193=int ieee80211_hw_config(struct ieee80211_local *local, int radio_idx,
--
net/mac80211/main.c-204-	if (changed && local->open_count) {
net/mac80211/main.c:205:		ret = drv_config(local, radio_idx, changed);
net/mac80211/main.c-206-		/*
--
net/mac80211/main.c=227=static int _ieee80211_hw_conf_chan(struct ieee80211_local *local,
--
net/mac80211/main.c-238-
net/mac80211/main.c:239:	return drv_config(local, -1, changed);
net/mac80211/main.c-240-}
--
net/mac80211/main.c=253=void ieee80211_hw_conf_init(struct ieee80211_local *local)
--
net/mac80211/main.c-272-
net/mac80211/main.c:273:	WARN_ON(drv_config(local, -1, changed));
net/mac80211/main.c-274-}
--
net/mac80211/trace.h=379=DEFINE_EVENT(local_sdata_addr_evt, drv_remove_interface,
--
net/mac80211/trace.h-384-
net/mac80211/trace.h:385:TRACE_EVENT(drv_config,
net/mac80211/trace.h-386-	TP_PROTO(struct ieee80211_local *local,
--
net/mac80211/trace.h=557=TRACE_EVENT(drv_prepare_multicast,
--
net/mac80211/trace.h-577-
net/mac80211/trace.h:578:TRACE_EVENT(drv_configure_filter,
net/mac80211/trace.h-579-	TP_PROTO(struct ieee80211_local *local,
--
net/mac80211/trace.h-605-
net/mac80211/trace.h:606:TRACE_EVENT(drv_config_iface_filter,
net/mac80211/trace.h-607-	TP_PROTO(struct ieee80211_local *local,
]

82/2 2026/03/27 20:59 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 68194
							output: 55
							thoughts: 144
						

Thoughts:
**Analyzing the Configuration Flow**

Okay, let's break this down. It looks like `drv_config` is the critical function here, and it's triggered from a few key places: `ieee80211_hw_config`, which I'd expect is the initial setup, `_ieee80211_hw_conf_chan`, which is interesting because that means it's involved when the channel is changed, and also `ieee80211_hw_conf_init`, another initialization point. Hmm, that confirms my initial thought about the core configuration.

Now, that `_ieee80211_hw_conf_chan` being called on channel change is important. But there's a wrinkle. If `data->use_chanctx` is true, then `mac80211_hwsim_config` gets invoked, and the `conf->chandef.chan` pointer is set to NULL. That's a little unusual, given the context. Seems like a channel context specific setup bypasses the channel definition! I should probably double-check the `_ieee80211_hw_conf_chan` function's behavior to understand how it handles that specific case.



83/2 2026/03/27 21:00 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac80211/main.c IncludeLines:true Name:_ieee80211_hw_conf_chan]

Results:
map[SourceCode: 226:	/* for scanning, offchannel and chanctx emulation only */
 227:	static int _ieee80211_hw_conf_chan(struct ieee80211_local *local,
 228:					   struct ieee80211_chanctx_conf *ctx)
 229:	{
 230:		u32 changed;
 231:	
 232:		if (!local->open_count)
 233:			return 0;
 234:	
 235:		changed = ieee80211_calc_hw_conf_chan(local, ctx);
 236:		if (!changed)
 237:			return 0;
 238:	
 239:		return drv_config(local, -1, changed);
 240:	}
 SourceFile:net/mac80211/main.c]

84/2 2026/03/27 21:00 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 68924
							output: 56
							thoughts: 75
						

Thoughts:
Okay, let's break this down.

**Investigating Channel Configuration in the IEEE 802.11 Driver**

Alright, I need to understand how the channel configuration is handled in this IEEE 802.11 driver. I'm focusing on how `ieee80211_calc_hw_conf_chan` interacts with the `local->hw.conf.chandef` structure. The question that has popped into my head is: if `use_chanctx` is true, does `ieee80211_calc_hw_conf_chan` have any effect that might set `chandef.chan` to NULL? I need to verify that and see how that is handled. Let's dig into the code for `ieee80211_calc_hw_conf_chan` and see what it's doing.



85/2 2026/03/27 21:00 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac80211/main.c IncludeLines:true Name:ieee80211_calc_hw_conf_chan]

Results:
map[SourceCode:  96:	static u32 ieee80211_calc_hw_conf_chan(struct ieee80211_local *local,
  97:					       struct ieee80211_chanctx_conf *ctx)
  98:	{
  99:		struct ieee80211_sub_if_data *sdata;
 100:		struct cfg80211_chan_def chandef = {};
 101:		struct cfg80211_chan_def *oper = NULL;
 102:		enum ieee80211_smps_mode smps_mode = IEEE80211_SMPS_STATIC;
 103:		u32 changed = 0;
 104:		int power;
 105:		u32 offchannel_flag;
 106:	
 107:		if (!local->emulate_chanctx)
 108:			return 0;
 109:	
 110:		offchannel_flag = local->hw.conf.flags & IEEE80211_CONF_OFFCHANNEL;
 111:	
 112:		if (ctx && !WARN_ON(!ctx->def.chan)) {
 113:			oper = &ctx->def;
 114:			if (ctx->rx_chains_static > 1)
 115:				smps_mode = IEEE80211_SMPS_OFF;
 116:			else if (ctx->rx_chains_dynamic > 1)
 117:				smps_mode = IEEE80211_SMPS_DYNAMIC;
 118:			else
 119:				smps_mode = IEEE80211_SMPS_STATIC;
 120:		}
 121:	
 122:		if (local->scan_chandef.chan) {
 123:			chandef = local->scan_chandef;
 124:		} else if (local->tmp_channel) {
 125:			chandef.chan = local->tmp_channel;
 126:			chandef.width = NL80211_CHAN_WIDTH_20_NOHT;
 127:			chandef.center_freq1 = chandef.chan->center_freq;
 128:			chandef.freq1_offset = chandef.chan->freq_offset;
 129:		} else if (oper) {
 130:			chandef = *oper;
 131:		} else {
 132:			chandef = local->dflt_chandef;
 133:		}
 134:	
 135:		if (WARN(!cfg80211_chandef_valid(&chandef),
 136:			 "control:%d.%03d MHz width:%d center: %d.%03d/%d MHz",
 137:			 chandef.chan ? chandef.chan->center_freq : -1,
 138:			 chandef.chan ? chandef.chan->freq_offset : 0,
 139:			 chandef.width, chandef.center_freq1, chandef.freq1_offset,
 140:			 chandef.center_freq2))
 141:			return 0;
 142:	
 143:		if (!oper || !cfg80211_chandef_identical(&chandef, oper))
 144:			local->hw.conf.flags |= IEEE80211_CONF_OFFCHANNEL;
 145:		else
 146:			local->hw.conf.flags &= ~IEEE80211_CONF_OFFCHANNEL;
 147:	
 148:		offchannel_flag ^= local->hw.conf.flags & IEEE80211_CONF_OFFCHANNEL;
 149:	
 150:		/* force it also for scanning, since drivers might config differently */
 151:		if (offchannel_flag || local->scanning || local->in_reconfig ||
 152:		    !cfg80211_chandef_identical(&local->hw.conf.chandef, &chandef)) {
 153:			local->hw.conf.chandef = chandef;
 154:			changed |= IEEE80211_CONF_CHANGE_CHANNEL;
 155:		}
 156:	
 157:		if (!conf_is_ht(&local->hw.conf)) {
 158:			/*
 159:			 * mac80211.h documents that this is only valid
 160:			 * when the channel is set to an HT type, and
 161:			 * that otherwise STATIC is used.
 162:			 */
 163:			local->hw.conf.smps_mode = IEEE80211_SMPS_STATIC;
 164:		} else if (local->hw.conf.smps_mode != smps_mode) {
 165:			local->hw.conf.smps_mode = smps_mode;
 166:			changed |= IEEE80211_CONF_CHANGE_SMPS;
 167:		}
 168:	
 169:		power = ieee80211_chandef_max_power(&chandef);
 170:		if (local->user_power_level != IEEE80211_UNSET_POWER_LEVEL)
 171:			power = min(local->user_power_level, power);
 172:	
 173:		rcu_read_lock();
 174:		list_for_each_entry_rcu(sdata, &local->interfaces, list) {
 175:			if (!rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf))
 176:				continue;
 177:			if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
 178:				continue;
 179:			if (sdata->vif.bss_conf.txpower == INT_MIN)
 180:				continue;
 181:			power = min(power, sdata->vif.bss_conf.txpower);
 182:		}
 183:		rcu_read_unlock();
 184:	
 185:		if (local->hw.conf.power_level != power) {
 186:			changed |= IEEE80211_CONF_CHANGE_POWER;
 187:			local->hw.conf.power_level = power;
 188:		}
 189:	
 190:		return changed;
 191:	}
 SourceFile:net/mac80211/main.c]

86/2 2026/03/27 21:00 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 71016
							output: 56
							thoughts: 402
						

Thoughts:
**Diving into Channel Context Configuration**

Okay, let's break this down. My initial thought was to understand the flow of channel configuration, and I started with `ieee80211_calc_hw_conf_chan`. The code immediately threw me a curveball: it checks `local->emulate_chanctx` and returns 0 if it's false, which seemed odd.  Specifically for `mac80211_hwsim`, I know that `emulate_chanctx` *is* false because it has the `WIPHY_FLAG_SUPPORTS_CHANCTX` flag. My immediate question became, "If it's false, how does `mac80211_hwsim` actually *get* its channel configured?".

Then I remembered, `ieee80211_hw_conf_chan` is specifically for emulating `chanctx`. For drivers with native channel context support, the expectation is that they implement their own `.add_chanctx`, `.remove_chanctx`, and `.change_chanctx` functions. This helps narrow down where to look.

So I looked at `mac80211_hwsim_ops` and bingo!  `mac80211_hwsim` uses `ieee80211_emulate_add_chanctx` and the associated emulate functions. So it *is* emulating chanctx, even though the `WIPHY_FLAG` suggests native support. Now I need to drill down into `ieee80211_emulate_add_chanctx` to understand how this emulation actually works.



87/2 2026/03/27 21:00 tool codesearch-definition-source
0m Args:
map[ContextFile:net/mac80211/chan.c IncludeLines:true Name:ieee80211_emulate_add_chanctx]

Results:
map[SourceCode: 276:	int ieee80211_emulate_add_chanctx(struct ieee80211_hw *hw,
 277:					  struct ieee80211_chanctx_conf *ctx)
 278:	{
 279:		struct ieee80211_local *local = hw_to_local(hw);
 280:	
 281:		local->hw.conf.radar_enabled = ctx->radar_enabled;
 282:	
 283:		return _ieee80211_hw_conf_chan(local, ctx);
 284:	}
 SourceFile:net/mac80211/main.c]

88/2 2026/03/27 21:00 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 72031
							output: 61
							thoughts: 133
						

Thoughts:
**Analyzing the Channel Context Configuration**

Okay, so I'm digging into this channel context configuration process... I see that `ieee80211_emulate_add_chanctx` is calling `_ieee80211_hw_conf_chan`, that's the first connection. But *then* `_ieee80211_hw_conf_chan` kicks off `ieee80211_calc_hw_conf_chan`. Now, the crucial point is that `ieee80211_calc_hw_conf_chan` will return 0 if the `local->emulate_chanctx` flag isn't set, which means something is not configured properly.

This is where I need to investigate further. Does `mac80211_hwsim` actually set `local->emulate_chanctx`? This seems like a likely place to start, so I should really check out what happens in `mac80211_hwsim_new_radio` to be certain.



89/2 2026/03/27 21:00 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/wireless/virtual/mac80211_hwsim.c IncludeLines:true Name:mac80211_hwsim_new_radio]

Results:
map[SourceCode:5382:	static int mac80211_hwsim_new_radio(struct genl_info *info,
5383:					    struct hwsim_new_radio_params *param)
5384:	{
5385:		int err;
5386:		u8 addr[ETH_ALEN];
5387:		struct mac80211_hwsim_data *data;
5388:		struct ieee80211_hw *hw;
5389:		enum nl80211_band band;
5390:		const struct ieee80211_ops *ops = &mac80211_hwsim_ops;
5391:		struct net *net;
5392:		int idx, i;
5393:		int n_limits = 0;
5394:		int n_bands = 0;
5395:	
5396:		if (WARN_ON(param->channels > 1 && !param->use_chanctx))
5397:			return -EINVAL;
5398:	
5399:		spin_lock_bh(&hwsim_radio_lock);
5400:		idx = hwsim_radio_idx++;
5401:		spin_unlock_bh(&hwsim_radio_lock);
5402:	
5403:		if (param->mlo)
5404:			ops = &mac80211_hwsim_mlo_ops;
5405:		else if (param->use_chanctx)
5406:			ops = &mac80211_hwsim_mchan_ops;
5407:		hw = ieee80211_alloc_hw_nm(sizeof(*data), ops, param->hwname);
5408:		if (!hw) {
5409:			pr_debug("mac80211_hwsim: ieee80211_alloc_hw failed\n");
5410:			err = -ENOMEM;
5411:			goto failed;
5412:		}
5413:	
5414:		/* ieee80211_alloc_hw_nm may have used a default name */
5415:		param->hwname = wiphy_name(hw->wiphy);
5416:	
5417:		if (info)
5418:			net = genl_info_net(info);
5419:		else
5420:			net = &init_net;
5421:		wiphy_net_set(hw->wiphy, net);
5422:	
5423:		data = hw->priv;
5424:		data->hw = hw;
5425:	
5426:		data->dev = device_create(hwsim_class, NULL, 0, hw, "hwsim%d", idx);
5427:		if (IS_ERR(data->dev)) {
5428:			printk(KERN_DEBUG
5429:			       "mac80211_hwsim: device_create failed (%ld)\n",
5430:			       PTR_ERR(data->dev));
5431:			err = -ENOMEM;
5432:			goto failed_drvdata;
5433:		}
5434:		data->dev->driver = &mac80211_hwsim_driver.driver;
5435:		err = device_bind_driver(data->dev);
5436:		if (err != 0) {
5437:			pr_debug("mac80211_hwsim: device_bind_driver failed (%d)\n",
5438:			       err);
5439:			goto failed_bind;
5440:		}
5441:	
5442:		skb_queue_head_init(&data->pending);
5443:	
5444:		SET_IEEE80211_DEV(hw, data->dev);
5445:		if (!param->perm_addr) {
5446:			eth_zero_addr(addr);
5447:			addr[0] = 0x02;
5448:			addr[3] = idx >> 8;
5449:			addr[4] = idx;
5450:			memcpy(data->addresses[0].addr, addr, ETH_ALEN);
5451:			/* Why need here second address ? */
5452:			memcpy(data->addresses[1].addr, addr, ETH_ALEN);
5453:			data->addresses[1].addr[0] |= 0x40;
5454:			memcpy(data->addresses[2].addr, addr, ETH_ALEN);
5455:			data->addresses[2].addr[0] |= 0x50;
5456:	
5457:			hw->wiphy->n_addresses = 3;
5458:			hw->wiphy->addresses = data->addresses;
5459:			/* possible address clash is checked at hash table insertion */
5460:		} else {
5461:			memcpy(data->addresses[0].addr, param->perm_addr, ETH_ALEN);
5462:			/* compatibility with automatically generated mac addr */
5463:			memcpy(data->addresses[1].addr, param->perm_addr, ETH_ALEN);
5464:			memcpy(data->addresses[2].addr, param->perm_addr, ETH_ALEN);
5465:			hw->wiphy->n_addresses = 3;
5466:			hw->wiphy->addresses = data->addresses;
5467:		}
5468:	
5469:		data->channels = param->channels;
5470:		data->use_chanctx = param->use_chanctx;
5471:		data->idx = idx;
5472:		data->destroy_on_close = param->destroy_on_close;
5473:		if (info)
5474:			data->portid = info->snd_portid;
5475:	
5476:		/* setup interface limits, only on interface types we support */
5477:		if (param->iftypes & BIT(NL80211_IFTYPE_ADHOC)) {
5478:			data->if_limits[n_limits].max = 1;
5479:			data->if_limits[n_limits].types = BIT(NL80211_IFTYPE_ADHOC);
5480:			n_limits++;
5481:		}
5482:	
5483:		if (param->iftypes & HWSIM_DEFAULT_IF_LIMIT) {
5484:			data->if_limits[n_limits].max = 2048;
5485:			/*
5486:			 * For this case, we may only support a subset of
5487:			 * HWSIM_DEFAULT_IF_LIMIT, therefore we only want to add the
5488:			 * bits that both param->iftype & HWSIM_DEFAULT_IF_LIMIT have.
5489:			 */
5490:			data->if_limits[n_limits].types =
5491:						HWSIM_DEFAULT_IF_LIMIT & param->iftypes;
5492:			n_limits++;
5493:		}
5494:	
5495:		if (param->iftypes & BIT(NL80211_IFTYPE_P2P_DEVICE)) {
5496:			data->if_limits[n_limits].max = 1;
5497:			data->if_limits[n_limits].types =
5498:							BIT(NL80211_IFTYPE_P2P_DEVICE);
5499:			n_limits++;
5500:		}
5501:	
5502:		if (param->iftypes & BIT(NL80211_IFTYPE_NAN)) {
5503:			data->if_limits[n_limits].max = 1;
5504:			data->if_limits[n_limits].types = BIT(NL80211_IFTYPE_NAN);
5505:			n_limits++;
5506:	
5507:			hw->wiphy->nan_supported_bands = BIT(NL80211_BAND_2GHZ) |
5508:							 BIT(NL80211_BAND_5GHZ);
5509:	
5510:			hw->wiphy->nan_capa.flags = WIPHY_NAN_FLAGS_CONFIGURABLE_SYNC |
5511:						    WIPHY_NAN_FLAGS_USERSPACE_DE;
5512:			hw->wiphy->nan_capa.op_mode = NAN_OP_MODE_PHY_MODE_MASK |
5513:						      NAN_OP_MODE_80P80MHZ |
5514:						      NAN_OP_MODE_160MHZ;
5515:	
5516:			hw->wiphy->nan_capa.n_antennas = 0x22;
5517:			hw->wiphy->nan_capa.max_channel_switch_time = 0;
5518:			hw->wiphy->nan_capa.dev_capabilities =
5519:				NAN_DEV_CAPA_EXT_KEY_ID_SUPPORTED |
5520:				NAN_DEV_CAPA_NDPE_SUPPORTED;
5521:	
5522:			hrtimer_setup(&data->nan_timer, mac80211_hwsim_nan_dw_start,
5523:				      CLOCK_MONOTONIC, HRTIMER_MODE_ABS_SOFT);
5524:		}
5525:	
5526:		data->if_combination.radar_detect_widths =
5527:					BIT(NL80211_CHAN_WIDTH_5) |
5528:					BIT(NL80211_CHAN_WIDTH_10) |
5529:					BIT(NL80211_CHAN_WIDTH_20_NOHT) |
5530:					BIT(NL80211_CHAN_WIDTH_20) |
5531:					BIT(NL80211_CHAN_WIDTH_40) |
5532:					BIT(NL80211_CHAN_WIDTH_80) |
5533:					BIT(NL80211_CHAN_WIDTH_160);
5534:	
5535:		if (data->use_chanctx) {
5536:			hw->wiphy->max_scan_ssids = 255;
5537:			hw->wiphy->max_scan_ie_len = IEEE80211_MAX_DATA_LEN;
5538:			hw->wiphy->max_remain_on_channel_duration = 1000;
5539:			data->if_combination.num_different_channels = data->channels;
5540:		} else {
5541:			data->if_combination.num_different_channels = 1;
5542:		}
5543:	
5544:		if (!n_limits) {
5545:			err = -EINVAL;
5546:			goto failed_hw;
5547:		}
5548:	
5549:		data->if_combination.max_interfaces = 0;
5550:		for (i = 0; i < n_limits; i++)
5551:			data->if_combination.max_interfaces +=
5552:				data->if_limits[i].max;
5553:	
5554:		data->if_combination.n_limits = n_limits;
5555:		data->if_combination.limits = data->if_limits;
5556:	
5557:		/*
5558:		 * If we actually were asked to support combinations,
5559:		 * advertise them - if there's only a single thing like
5560:		 * only IBSS then don't advertise it as combinations.
5561:		 */
5562:		if (data->if_combination.max_interfaces > 1) {
5563:			hw->wiphy->iface_combinations = &data->if_combination;
5564:			hw->wiphy->n_iface_combinations = 1;
5565:		}
5566:	
5567:		if (param->ciphers) {
5568:			memcpy(data->ciphers, param->ciphers,
5569:			       param->n_ciphers * sizeof(u32));
5570:			hw->wiphy->cipher_suites = data->ciphers;
5571:			hw->wiphy->n_cipher_suites = param->n_ciphers;
5572:		}
5573:	
5574:		hw->wiphy->mbssid_max_interfaces = 8;
5575:		hw->wiphy->ema_max_profile_periodicity = 3;
5576:	
5577:		data->rx_rssi = DEFAULT_RX_RSSI;
5578:	
5579:		INIT_DELAYED_WORK(&data->roc_start, hw_roc_start);
5580:		INIT_DELAYED_WORK(&data->roc_done, hw_roc_done);
5581:		INIT_DELAYED_WORK(&data->hw_scan, hw_scan_work);
5582:	
5583:		hw->queues = 5;
5584:		hw->offchannel_tx_hw_queue = 4;
5585:	
5586:		ieee80211_hw_set(hw, SUPPORT_FAST_XMIT);
5587:		ieee80211_hw_set(hw, CHANCTX_STA_CSA);
5588:		ieee80211_hw_set(hw, SUPPORTS_HT_CCK_RATES);
5589:		ieee80211_hw_set(hw, QUEUE_CONTROL);
5590:		ieee80211_hw_set(hw, WANT_MONITOR_VIF);
5591:		ieee80211_hw_set(hw, AMPDU_AGGREGATION);
5592:		ieee80211_hw_set(hw, MFP_CAPABLE);
5593:		ieee80211_hw_set(hw, SIGNAL_DBM);
5594:		ieee80211_hw_set(hw, SUPPORTS_PS);
5595:		ieee80211_hw_set(hw, REPORTS_TX_ACK_STATUS);
5596:		ieee80211_hw_set(hw, TDLS_WIDER_BW);
5597:		ieee80211_hw_set(hw, SUPPORTS_MULTI_BSSID);
5598:		ieee80211_hw_set(hw, STRICT);
5599:	
5600:		if (param->mlo) {
5601:			hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_MLO;
5602:			ieee80211_hw_set(hw, HAS_RATE_CONTROL);
5603:			ieee80211_hw_set(hw, SUPPORTS_DYNAMIC_PS);
5604:			ieee80211_hw_set(hw, CONNECTION_MONITOR);
5605:			ieee80211_hw_set(hw, AP_LINK_PS);
5606:	
5607:			hw->wiphy->iftype_ext_capab = mac80211_hwsim_iftypes_ext_capa;
5608:			hw->wiphy->num_iftype_ext_capab =
5609:				ARRAY_SIZE(mac80211_hwsim_iftypes_ext_capa);
5610:		} else {
5611:			ieee80211_hw_set(hw, HOST_BROADCAST_PS_BUFFERING);
5612:			ieee80211_hw_set(hw, PS_NULLFUNC_STACK);
5613:			if (rctbl)
5614:				ieee80211_hw_set(hw, SUPPORTS_RC_TABLE);
5615:		}
5616:	
5617:		hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
5618:		hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS |
5619:				    WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL |
5620:				    WIPHY_FLAG_AP_UAPSD |
5621:				    WIPHY_FLAG_SUPPORTS_5_10_MHZ |
5622:				    WIPHY_FLAG_HAS_CHANNEL_SWITCH;
5623:		hw->wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR |
5624:				       NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE |
5625:				       NL80211_FEATURE_STATIC_SMPS |
5626:				       NL80211_FEATURE_DYNAMIC_SMPS |
5627:				       NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR |
5628:				       NL80211_FEATURE_AP_SCAN;
5629:		wiphy_ext_feature_set(hw->wiphy, NL80211_EXT_FEATURE_VHT_IBSS);
5630:		wiphy_ext_feature_set(hw->wiphy, NL80211_EXT_FEATURE_BEACON_PROTECTION);
5631:		wiphy_ext_feature_set(hw->wiphy,
5632:				      NL80211_EXT_FEATURE_MULTICAST_REGISTRATIONS);
5633:		wiphy_ext_feature_set(hw->wiphy,
5634:				      NL80211_EXT_FEATURE_BEACON_RATE_LEGACY);
5635:		wiphy_ext_feature_set(hw->wiphy, NL80211_EXT_FEATURE_ENABLE_FTM_RESPONDER);
5636:	
5637:		wiphy_ext_feature_set(hw->wiphy,
5638:				      NL80211_EXT_FEATURE_SCAN_MIN_PREQ_CONTENT);
5639:		wiphy_ext_feature_set(hw->wiphy,
5640:				      NL80211_EXT_FEATURE_BSS_COLOR);
5641:	
5642:		hw->wiphy->interface_modes = param->iftypes;
5643:	
5644:		/* ask mac80211 to reserve space for magic */
5645:		hw->vif_data_size = sizeof(struct hwsim_vif_priv);
5646:		hw->sta_data_size = sizeof(struct hwsim_sta_priv);
5647:		hw->chanctx_data_size = sizeof(struct hwsim_chanctx_priv);
5648:	
5649:		memcpy(data->channels_2ghz, hwsim_channels_2ghz,
5650:			sizeof(hwsim_channels_2ghz));
5651:		memcpy(data->channels_5ghz, hwsim_channels_5ghz,
5652:			sizeof(hwsim_channels_5ghz));
5653:		memcpy(data->channels_6ghz, hwsim_channels_6ghz,
5654:			sizeof(hwsim_channels_6ghz));
5655:		memcpy(data->channels_s1g, hwsim_channels_s1g,
5656:		       sizeof(hwsim_channels_s1g));
5657:		memcpy(data->rates, hwsim_rates, sizeof(hwsim_rates));
5658:	
5659:		for (band = NL80211_BAND_2GHZ; band < NUM_NL80211_BANDS; band++) {
5660:			struct ieee80211_supported_band *sband = &data->bands[band];
5661:			struct wiphy_radio_freq_range *radio_range;
5662:			const struct ieee80211_channel *c;
5663:			struct wiphy_radio *radio;
5664:	
5665:			sband->band = band;
5666:	
5667:			switch (band) {
5668:			case NL80211_BAND_2GHZ:
5669:				sband->channels = data->channels_2ghz;
5670:				sband->n_channels = ARRAY_SIZE(hwsim_channels_2ghz);
5671:				sband->bitrates = data->rates;
5672:				sband->n_bitrates = ARRAY_SIZE(hwsim_rates);
5673:				break;
5674:			case NL80211_BAND_5GHZ:
5675:				sband->channels = data->channels_5ghz;
5676:				sband->n_channels = ARRAY_SIZE(hwsim_channels_5ghz);
5677:				sband->bitrates = data->rates + 4;
5678:				sband->n_bitrates = ARRAY_SIZE(hwsim_rates) - 4;
5679:	
5680:				sband->vht_cap.vht_supported = true;
5681:				sband->vht_cap.cap =
5682:					IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_11454 |
5683:					IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ |
5684:					IEEE80211_VHT_CAP_RXLDPC |
5685:					IEEE80211_VHT_CAP_SHORT_GI_80 |
5686:					IEEE80211_VHT_CAP_SHORT_GI_160 |
5687:					IEEE80211_VHT_CAP_TXSTBC |
5688:					IEEE80211_VHT_CAP_RXSTBC_4 |
5689:					IEEE80211_VHT_CAP_MAX_A_MPDU_LENGTH_EXPONENT_MASK;
5690:				sband->vht_cap.vht_mcs.rx_mcs_map =
5691:					cpu_to_le16(IEEE80211_VHT_MCS_SUPPORT_0_9 << 0 |
5692:						    IEEE80211_VHT_MCS_SUPPORT_0_9 << 2 |
5693:						    IEEE80211_VHT_MCS_SUPPORT_0_9 << 4 |
5694:						    IEEE80211_VHT_MCS_SUPPORT_0_9 << 6 |
5695:						    IEEE80211_VHT_MCS_SUPPORT_0_9 << 8 |
5696:						    IEEE80211_VHT_MCS_SUPPORT_0_9 << 10 |
5697:						    IEEE80211_VHT_MCS_SUPPORT_0_9 << 12 |
5698:						    IEEE80211_VHT_MCS_SUPPORT_0_9 << 14);
5699:				sband->vht_cap.vht_mcs.tx_mcs_map =
5700:					sband->vht_cap.vht_mcs.rx_mcs_map;
5701:				break;
5702:			case NL80211_BAND_6GHZ:
5703:				sband->channels = data->channels_6ghz;
5704:				sband->n_channels = ARRAY_SIZE(hwsim_channels_6ghz);
5705:				sband->bitrates = data->rates + 4;
5706:				sband->n_bitrates = ARRAY_SIZE(hwsim_rates) - 4;
5707:				break;
5708:			case NL80211_BAND_S1GHZ:
5709:				memcpy(&sband->s1g_cap, &hwsim_s1g_cap,
5710:				       sizeof(sband->s1g_cap));
5711:				sband->channels = data->channels_s1g;
5712:				sband->n_channels = ARRAY_SIZE(hwsim_channels_s1g);
5713:				break;
5714:			default:
5715:				continue;
5716:			}
5717:	
5718:			if (band != NL80211_BAND_6GHZ){
5719:				sband->ht_cap.ht_supported = true;
5720:				sband->ht_cap.cap = IEEE80211_HT_CAP_SUP_WIDTH_20_40 |
5721:						    IEEE80211_HT_CAP_GRN_FLD |
5722:						    IEEE80211_HT_CAP_SGI_20 |
5723:						    IEEE80211_HT_CAP_SGI_40 |
5724:						    IEEE80211_HT_CAP_DSSSCCK40;
5725:				sband->ht_cap.ampdu_factor = 0x3;
5726:				sband->ht_cap.ampdu_density = 0x6;
5727:				memset(&sband->ht_cap.mcs, 0,
5728:				       sizeof(sband->ht_cap.mcs));
5729:				sband->ht_cap.mcs.rx_mask[0] = 0xff;
5730:				sband->ht_cap.mcs.rx_mask[1] = 0xff;
5731:				sband->ht_cap.mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED;
5732:			}
5733:	
5734:			mac80211_hwsim_sband_capab(sband);
5735:	
5736:			hw->wiphy->bands[band] = sband;
5737:	
5738:			if (!param->multi_radio)
5739:				continue;
5740:	
5741:			c = sband->channels;
5742:			radio_range = &data->radio_range[n_bands];
5743:			radio_range->start_freq = ieee80211_channel_to_khz(c) - 10000;
5744:	
5745:			c += sband->n_channels - 1;
5746:			radio_range->end_freq = ieee80211_channel_to_khz(c) + 10000;
5747:	
5748:			radio = &data->radio[n_bands++];
5749:			radio->freq_range = radio_range;
5750:			radio->n_freq_range = 1;
5751:			radio->iface_combinations = &data->if_combination_radio;
5752:			radio->n_iface_combinations = 1;
5753:		}
5754:	
5755:		if (param->multi_radio) {
5756:			hw->wiphy->radio = data->radio;
5757:			hw->wiphy->n_radio = n_bands;
5758:	
5759:			memcpy(&data->if_combination_radio, &data->if_combination,
5760:			       sizeof(data->if_combination));
5761:			data->if_combination.num_different_channels *= n_bands;
5762:		}
5763:	
5764:		if (data->use_chanctx)
5765:			data->if_combination.radar_detect_widths = 0;
5766:	
5767:		/* By default all radios belong to the first group */
5768:		data->group = 1;
5769:		mutex_init(&data->mutex);
5770:	
5771:		data->netgroup = hwsim_net_get_netgroup(net);
5772:		data->wmediumd = hwsim_net_get_wmediumd(net);
5773:	
5774:		/* Enable frame retransmissions for lossy channels */
5775:		hw->max_rates = 4;
5776:		hw->max_rate_tries = 11;
5777:	
5778:		hw->wiphy->vendor_commands = mac80211_hwsim_vendor_commands;
5779:		hw->wiphy->n_vendor_commands =
5780:			ARRAY_SIZE(mac80211_hwsim_vendor_commands);
5781:		hw->wiphy->vendor_events = mac80211_hwsim_vendor_events;
5782:		hw->wiphy->n_vendor_events = ARRAY_SIZE(mac80211_hwsim_vendor_events);
5783:	
5784:		if (param->reg_strict)
5785:			hw->wiphy->regulatory_flags |= REGULATORY_STRICT_REG;
5786:		if (param->regd) {
5787:			data->regd = param->regd;
5788:			hw->wiphy->regulatory_flags |= REGULATORY_CUSTOM_REG;
5789:			wiphy_apply_custom_regulatory(hw->wiphy, param->regd);
5790:			/* give the regulatory workqueue a chance to run */
5791:			schedule_timeout_interruptible(1);
5792:		}
5793:	
5794:		wiphy_ext_feature_set(hw->wiphy,
5795:				      NL80211_EXT_FEATURE_DFS_CONCURRENT);
5796:	
5797:		if (param->no_vif)
5798:			ieee80211_hw_set(hw, NO_AUTO_VIF);
5799:	
5800:		wiphy_ext_feature_set(hw->wiphy, NL80211_EXT_FEATURE_CQM_RSSI_LIST);
5801:		wiphy_ext_feature_set(hw->wiphy, NL80211_EXT_FEATURE_PUNCT);
5802:	
5803:		for (i = 0; i < ARRAY_SIZE(data->link_data); i++) {
5804:			hrtimer_setup(&data->link_data[i].beacon_timer, mac80211_hwsim_beacon,
5805:				      CLOCK_MONOTONIC, HRTIMER_MODE_ABS_SOFT);
5806:			data->link_data[i].link_id = i;
5807:		}
5808:	
5809:		err = ieee80211_register_hw(hw);
5810:		if (err < 0) {
5811:			pr_debug("mac80211_hwsim: ieee80211_register_hw failed (%d)\n",
5812:			       err);
5813:			goto failed_hw;
5814:		}
5815:	
5816:		wiphy_dbg(hw->wiphy, "hwaddr %pM registered\n", hw->wiphy->perm_addr);
5817:	
5818:		if (param->reg_alpha2) {
5819:			data->alpha2[0] = param->reg_alpha2[0];
5820:			data->alpha2[1] = param->reg_alpha2[1];
5821:			regulatory_hint(hw->wiphy, param->reg_alpha2);
5822:		}
5823:	
5824:		data->debugfs = debugfs_create_dir("hwsim", hw->wiphy->debugfsdir);
5825:		debugfs_create_file("ps", 0666, data->debugfs, data, &hwsim_fops_ps);
5826:		debugfs_create_file("group", 0666, data->debugfs, data,
5827:				    &hwsim_fops_group);
5828:		debugfs_create_file("rx_rssi", 0666, data->debugfs, data,
5829:				    &hwsim_fops_rx_rssi);
5830:		if (!data->use_chanctx)
5831:			debugfs_create_file("dfs_simulate_radar", 0222,
5832:					    data->debugfs,
5833:					    data, &hwsim_simulate_radar);
5834:	
5835:		if (param->pmsr_capa) {
5836:			data->pmsr_capa = *param->pmsr_capa;
5837:			hw->wiphy->pmsr_capa = &data->pmsr_capa;
5838:		}
5839:	
5840:		spin_lock_bh(&hwsim_radio_lock);
5841:		err = rhashtable_insert_fast(&hwsim_radios_rht, &data->rht,
5842:					     hwsim_rht_params);
5843:		if (err < 0) {
5844:			if (info) {
5845:				GENL_SET_ERR_MSG(info, "perm addr already present");
5846:				NL_SET_BAD_ATTR(info->extack,
5847:						info->attrs[HWSIM_ATTR_PERM_ADDR]);
5848:			}
5849:			spin_unlock_bh(&hwsim_radio_lock);
5850:			goto failed_final_insert;
5851:		}
5852:	
5853:		list_add_tail(&data->list, &hwsim_radios);
5854:		hwsim_radios_generation++;
5855:		spin_unlock_bh(&hwsim_radio_lock);
5856:	
5857:		hwsim_mcast_new_radio(idx, info, param);
5858:	
5859:		return idx;
5860:	
5861:	failed_final_insert:
5862:		debugfs_remove_recursive(data->debugfs);
5863:		ieee80211_unregister_hw(data->hw);
5864:	failed_hw:
5865:		device_release_driver(data->dev);
5866:	failed_bind:
5867:		device_unregister(data->dev);
5868:	failed_drvdata:
5869:		ieee80211_free_hw(hw);
5870:	failed:
5871:		return err;
5872:	}
 SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c]

90/2 2026/03/27 21:00 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 81869
							output: 62
							thoughts: 391
						

Thoughts:
**Analyzing the Channel Context Implementation**

Okay, let's break this down. First, `mac80211_hwsim_new_radio` assigns `ops` to `&mac80211_hwsim_mchan_ops` when `param->use_chanctx` is true. Right, that makes sense. Now, `mac80211_hwsim_mchan_ops` seems to be the crucial structure here, defined with:

```c
static const struct ieee80211_ops mac80211_hwsim_mchan_ops = {
	HWSIM_COMMON_OPS
	HWSIM_NON_MLO_OPS
	HWSIM_CHANCTX_OPS
};
```

This includes `HWSIM_CHANCTX_OPS`, which expands to a specific set of channel context operations. Specifically, these are: `mac80211_hwsim_add_chanctx`, `mac80211_hwsim_remove_chanctx`, `mac80211_hwsim_change_chanctx`, and `mac80211_hwsim_switch_vif_chanctx`.

Now, here's where it gets interesting. I need to be sure. I remember seeing `ieee80211_emulate_add_chanctx` in `mac80211_hwsim_ops`. But, if `use_chanctx` is true, then we're *actually* using `mac80211_hwsim_add_chanctx`, the hardware simulation function. Good, good, that's the key difference. Now, let's take a closer look at `mac80211_hwsim_add_chanctx` to fully grasp what's happening.



91/2 2026/03/27 21:00 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/wireless/virtual/mac80211_hwsim.c IncludeLines:true Name:mac80211_hwsim_add_chanctx]

Results:
map[SourceCode:3207:	static int mac80211_hwsim_add_chanctx(struct ieee80211_hw *hw,
3208:					      struct ieee80211_chanctx_conf *ctx)
3209:	{
3210:		hwsim_set_chanctx_magic(ctx);
3211:		wiphy_dbg(hw->wiphy,
3212:			  "add channel context control: %d MHz/width: %d/cfreqs:%d/%d MHz\n",
3213:			  ctx->def.chan->center_freq, ctx->def.width,
3214:			  ctx->def.center_freq1, ctx->def.center_freq2);
3215:		return 0;
3216:	}
 SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c]

92/2 2026/03/27 21:00 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 82977
							output: 59
							thoughts: 694
						

Thoughts:
**Analyzing the Channel Width Warning in mac80211_hwsim**

Okay, so I'm looking at this warning message and trying to understand why it's triggered. It's related to channel configuration and bandwidth. Initially, I thought `mac80211_hwsim_add_chanctx` was setting `data->bw`, but that's not the case. This means `data->bw` defaults to 0, which corresponds to `NL80211_CHAN_WIDTH_20_NOHT`. But the warning message says "channel config 10 MHz (7)"! That's the part that's throwing me.

Let's break down the warning message: `WARN(bw > hwsim_get_chanwidth(confbw), ...`. If `data->bw` is indeed 0, then `hwsim_get_chanwidth(data->bw)` should be 20. But the message clearly says 10 MHz. This implies `hwsim_get_chanwidth(data->bw)` is 10, meaning `data->bw` *must* be 7!

Now, how can `data->bw` be 7? I'm thinking, is `data->use_chanctx` false? If it is, then `mac80211_hwsim_config` comes into play and sets `data->bw = conf->chandef.width`. And that seems to fit because `conf->chandef.width` is 7, which corresponds to `NL80211_CHAN_WIDTH_10`. So `data->bw` is 7.

Since `confbw` is also `data->bw` (which is 7), `hwsim_get_chanwidth(confbw)` would be 10. And `bw` in the warning is 20, making the condition `20 > 10` true, and the warning gets triggered.

Wait a second, if `data->use_chanctx` is FALSE, then `hwsim_get_chanwidth(data->bw)` is indeed 10 and `data->bw` is 7, and that perfectly explains the warning message! So, that's it: `data->use_chanctx` is FALSE.

Now, let me check the syzkaller reproducer to confirm this theory. The code snippet shows a call to `hwsim_register_socket`.  Does that have anything to do with radio creation? No, it just registers a socket. The reproducer also uses `WIFI_INITIAL_DEVICE_COUNT 2`.  By default, `mac80211_hwsim` *does* create two radios. The key question is, do these default radios use `chanctx`? I think I need to check `mac80211_hwsim_init` now.



93/2 2026/03/27 21:00 tool codesearch-definition-source
0m Error:
requested entity does not exist

Args:
map[ContextFile:drivers/net/wireless/virtual/mac80211_hwsim.c IncludeLines:true Name:mac80211_hwsim_init]

Results:
map[SourceCode: SourceFile:]

94/2 2026/03/27 21:00 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 84375
							output: 17
							thoughts: 36
						

Thoughts:
Okay, here's my take on those thoughts, framed as an expert in the field:

**Digging into the mac80211_hwsim Code**

Alright, I need to get a handle on the initialization process for this `mac80211_hwsim` driver. My initial instinct is to look for the entry point, the place where things kick off. Given that it's a kernel module, `module_init` is the likely candidate. That's the function called when the module is loaded, so it's a good place to start tracing what happens. Alternatively, I might want to search for instances of the word "init" as well. This might give me a broader view of the system initialization procedures. I'll need to open `drivers/net/wireless/virtual/mac80211_hwsim.c` and begin my exploration. I'm expecting to find either a `module_init` call pointing to a specific initialization function or a series of functions related to initialization, perhaps named `hwsim_init` or something similar. Let's get cracking.



95/2 2026/03/27 21:00 tool grepper
0m Args:
map[Expression:module_init]

Results:
map[Output:
Full output is too long, showing 500 out of 21360 lines.
Use more precise expression if possible.

[Documentation/PCI/pci.rst=131=Tips on when/where to use the above attributes:
 Documentation/PCI/pci.rst:132:	- The module_init()/module_exit() functions (and all
 Documentation/PCI/pci.rst-133-	  initialization functions called _only_ from these)
 --
 Documentation/PCI/pciebus-howto.rst=152=driver.
 --
 Documentation/PCI/pciebus-howto.rst-172-
 Documentation/PCI/pciebus-howto.rst:173:  module_init(aerdrv_service_init);
 Documentation/PCI/pciebus-howto.rst-174-  module_exit(aerdrv_service_exit);
 --
 Documentation/admin-guide/reporting-issues.rst=989=the code the kernel was executing when the error occurred::
 Documentation/admin-guide/reporting-issues.rst-990-
 Documentation/admin-guide/reporting-issues.rst:991:       [   68.387301] RIP: 0010:test_module_init+0x5/0xffa [test_module]
 Documentation/admin-guide/reporting-issues.rst-992-
 Documentation/admin-guide/reporting-issues.rst=993=Once decoded, these lines will look like this::
 Documentation/admin-guide/reporting-issues.rst-994-
 Documentation/admin-guide/reporting-issues.rst:995:       [   68.387301] RIP: 0010:test_module_init (/home/username/linux-5.10.5/test-module/test-module.c:16) test_module
 Documentation/admin-guide/reporting-issues.rst-996-
 --
 Documentation/arch/s390/s390dbf.rst=124=Examples
 --
 Documentation/arch/s390/s390dbf.rst-156-
 Documentation/arch/s390/s390dbf.rst:157:  module_init(init);
 Documentation/arch/s390/s390dbf.rst-158-  module_exit(cleanup);
 --
 Documentation/arch/s390/s390dbf.rst-189-
 Documentation/arch/s390/s390dbf.rst:190:  module_init(init);
 Documentation/arch/s390/s390dbf.rst-191-  module_exit(cleanup);
 --
 Documentation/core-api/local_ops.rst=136=Here is a sample module which implements a basic per cpu counter using
 --
 Documentation/core-api/local_ops.rst-196-
 Documentation/core-api/local_ops.rst:197:    module_init(test_init);
 Documentation/core-api/local_ops.rst-198-    module_exit(test_exit);
 --
 Documentation/cpu-freq/cpu-drivers.rst=33=on what is necessary:
 --
 Documentation/cpu-freq/cpu-drivers.rst-38-
 Documentation/cpu-freq/cpu-drivers.rst:39:First of all, in an __initcall level 7 (module_init()) or later
 Documentation/cpu-freq/cpu-drivers.rst-40-function check whether this kernel runs on the right CPU and the right
 --
 Documentation/dev-tools/kunit/architecture.rst=96=When built as a module, the ``kunit_test_suites()`` macro defines a
 Documentation/dev-tools/kunit/architecture.rst:97:``module_init()`` function, which runs all the tests in the compilation
 Documentation/dev-tools/kunit/architecture.rst-98-unit instead of utilizing the executor.
 --
 Documentation/driver-api/driver-model/porting.rst=36=Step 1: Registering the bus driver.
 --
 Documentation/driver-api/driver-model/porting.rst-48-  This should be done in the initialization function for the bus type,
 Documentation/driver-api/driver-model/porting.rst:49:  which is usually the module_init(), or equivalent, function::
 Documentation/driver-api/driver-model/porting.rst-50-
 --
 Documentation/driver-api/isa.rst=25=The usage model this provides is nice, and has been acked from the ALSA
 Documentation/driver-api/isa.rst:26:side by Takashi Iwai and Jaroslav Kysela. The ALSA driver module_init's
 Documentation/driver-api/isa.rst-27-now (for oldisa-only drivers) become::
 --
 Documentation/driver-api/isa.rst=117=boilerplate code. Each module may only use this macro once, and calling
 Documentation/driver-api/isa.rst:118:it replaces module_init and module_exit.
 Documentation/driver-api/isa.rst-119-
 --
 Documentation/driver-api/mei/mei-client-bus.rst=80=The driver init and exit routines for this device would look like:
 --
 Documentation/driver-api/mei/mei-client-bus.rst-119-
 Documentation/driver-api/mei/mei-client-bus.rst:120:        module_init(contact_init);
 Documentation/driver-api/mei/mei-client-bus.rst-121-        module_exit(contact_exit);
 --
 Documentation/driver-api/men-chameleon-bus.rst=160=module at the MCB core::
 --
 Documentation/driver-api/men-chameleon-bus.rst-165-	}
 Documentation/driver-api/men-chameleon-bus.rst:166:	module_init(foo_init);
 Documentation/driver-api/men-chameleon-bus.rst-167-
 --
 Documentation/driver-api/mtdnand.rst=210=necessary information about the device.
 --
 Documentation/driver-api/mtdnand.rst-263-    }
 Documentation/driver-api/mtdnand.rst:264:    module_init(board_init);
 Documentation/driver-api/mtdnand.rst-265-
 --
 Documentation/driver-api/usb/writing_usb_driver.rst=88=usually in the driver's init function, as shown here::
 --
 Documentation/driver-api/usb/writing_usb_driver.rst-103-    }
 Documentation/driver-api/usb/writing_usb_driver.rst:104:    module_init(usb_skel_init);
 Documentation/driver-api/usb/writing_usb_driver.rst-105-
 --
 Documentation/filesystems/configfs.rst=341=struct configfs_subsystem
 --
 Documentation/filesystems/configfs.rst-343-
 Documentation/filesystems/configfs.rst:344:A subsystem must register itself, usually at module_init time.  This
 Documentation/filesystems/configfs.rst-345-tells configfs to make the subsystem appear in the file tree::
 --
 Documentation/filesystems/seq_file.rst=347=code, that is done in the initialization code in the usual way::
 --
 Documentation/filesystems/seq_file.rst-356-
 Documentation/filesystems/seq_file.rst:357:	module_init(ct_init);
 Documentation/filesystems/seq_file.rst-358-
 --
 Documentation/i2c/writing-clients.rst=229=driver module is usually enough.
 --
 Documentation/i2c/writing-clients.rst-236-  }
 Documentation/i2c/writing-clients.rst:237:  module_init(foo_init);
 Documentation/i2c/writing-clients.rst-238-
 --
 Documentation/input/input-programming.rst=10=pressed or released a BUTTON_IRQ happens. The driver could look like::
 --
 Documentation/input/input-programming.rst-67-
 Documentation/input/input-programming.rst:68:    module_init(button_init);
 Documentation/input/input-programming.rst-69-    module_exit(button_exit);
 --
 Documentation/kbuild/makefiles.rst=122=Link order is significant, because certain functions
 Documentation/kbuild/makefiles.rst:123:(module_init() / __initcall) will be called during boot in the
 Documentation/kbuild/makefiles.rst-124-order they appear. So keep in mind that changing the link
 --
 Documentation/kernel-hacking/hacking.rst=437=will break.
 Documentation/kernel-hacking/hacking.rst-438-
 Documentation/kernel-hacking/hacking.rst:439:__initcall()/module_init()
 Documentation/kernel-hacking/hacking.rst-440---------------------------
 --
 Documentation/kernel-hacking/hacking.rst=444=Many parts of the kernel are well served as a module
 Documentation/kernel-hacking/hacking.rst-445-(dynamically-loadable parts of the kernel). Using the
 Documentation/kernel-hacking/hacking.rst:446:module_init() and module_exit() macros it
 Documentation/kernel-hacking/hacking.rst-447-is easy to write code without #ifdefs which can operate both as a module
 Documentation/kernel-hacking/hacking.rst=448=or built into the kernel.
 Documentation/kernel-hacking/hacking.rst-449-
 Documentation/kernel-hacking/hacking.rst:450:The module_init() macro defines which function is to be
 Documentation/kernel-hacking/hacking.rst-451-called at module insertion time (if the file is compiled as a module),
 Documentation/kernel-hacking/hacking.rst=452=or at boot time: if the file is not compiled as a module the
 Documentation/kernel-hacking/hacking.rst:453:module_init() macro becomes equivalent to
 Documentation/kernel-hacking/hacking.rst-454-__initcall(), which through linker magic ensures that
 --
 Documentation/livepatch/cumulative-patches.rst=61=Limitations:
 --
 Documentation/livepatch/cumulative-patches.rst-69-    to that patch. This is safe as long as the livepatches do _not_ do
 Documentation/livepatch/cumulative-patches.rst:70:    extra modifications in (un)patching callbacks or in the module_init()
 Documentation/livepatch/cumulative-patches.rst-71-    or module_exit() functions, see below.
 --
 Documentation/livepatch/livepatch.rst=302=module is being loaded. For this, klp_enable_patch() has to be called
 Documentation/livepatch/livepatch.rst:303:in the module_init() callback. There are two main reasons:
 Documentation/livepatch/livepatch.rst-304-
 --
 Documentation/livepatch/livepatch.rst=314=The livepatch gets enabled by calling klp_enable_patch() from
 Documentation/livepatch/livepatch.rst:315:the module_init() callback. The system will start using the new
 Documentation/livepatch/livepatch.rst-316-implementation of the patched functions at this stage.
 --
 Documentation/locking/spinlocks.rst=150=appropriate::
 --
 Documentation/locking/spinlocks.rst-161-
 Documentation/locking/spinlocks.rst:162:   module_init(xxx_init);
 Documentation/locking/spinlocks.rst-163-
 --
 Documentation/scsi/ChangeLog.lpfc=47=Changes from 20050308 to 20050323
 --
 Documentation/scsi/ChangeLog.lpfc-68-	  a multi-value file which is against the sysfs guidelines).
 Documentation/scsi/ChangeLog.lpfc:69:	* Change pci_module_init to pci_register_module() with appropriate
 Documentation/scsi/ChangeLog.lpfc-70-	  ifdefs.
 --
 Documentation/scsi/ChangeLog.lpfc=425=Changes from 20041207 to 20041213
 --
 Documentation/scsi/ChangeLog.lpfc-434-	* Integrate Christoph Hellwig's patch for 8.0.14: if
 Documentation/scsi/ChangeLog.lpfc:435:	  pci_module_init fails we need to release the transport template.
 Documentation/scsi/ChangeLog.lpfc-436- 	  (also don't print the driver name at startup, linux drivers can
 --
 Documentation/scsi/ChangeLog.lpfc=1275=Changes from 20040507 to 20040515
 --
 Documentation/scsi/ChangeLog.lpfc-1292-	* Remove unnecessary memset to 0 of lpfcDRVR
 Documentation/scsi/ChangeLog.lpfc:1293:	* Attach driver attributes always unless pci_module_init failed
 Documentation/scsi/ChangeLog.lpfc-1294-	* Remove all one-line wrappers from lpfc_mem.
 --
 Documentation/scsi/ChangeLog.megaraid=202=Older Version	: 2.20.4.5 (scsi module), 2.20.2.5 (cmm module)
 --
 Documentation/scsi/ChangeLog.megaraid-215-
 Documentation/scsi/ChangeLog.megaraid:216:3.	Convert pci_module_init to pci_register_driver
 Documentation/scsi/ChangeLog.megaraid:217:	Convert from pci_module_init to pci_register_driver
 Documentation/scsi/ChangeLog.megaraid-218-	(from:http://kernelnewbies.org/KernelJanitors/TODO)
 --
 Documentation/sound/kernel-api/writing-an-alsa-driver.rst=698=destructor and PCI entries. Example code is shown first, below::
 --
 Documentation/sound/kernel-api/writing-an-alsa-driver.rst-819-
 Documentation/sound/kernel-api/writing-an-alsa-driver.rst:820:      module_init(alsa_card_mychip_init)
 Documentation/sound/kernel-api/writing-an-alsa-driver.rst-821-      module_exit(alsa_card_mychip_exit)
 --
 Documentation/sound/kernel-api/writing-an-alsa-driver.rst=1075=And at last, the module entries::
 --
 Documentation/sound/kernel-api/writing-an-alsa-driver.rst-1086-
 Documentation/sound/kernel-api/writing-an-alsa-driver.rst:1087:  module_init(alsa_card_mychip_init)
 Documentation/sound/kernel-api/writing-an-alsa-driver.rst-1088-  module_exit(alsa_card_mychip_exit)
 --
 Documentation/timers/hpet.rst=22=The driver supports detection of HPET driver allocation and initialization
 Documentation/timers/hpet.rst:23:of the HPET before the driver module_init routine is called.  This enables
 Documentation/timers/hpet.rst-24-platform code which uses timer 0 or 1 as the main timer to intercept HPET
 --
 Documentation/translations/it_IT/kernel-hacking/hacking.rst=464=esportata ai moduli utilizzando :c:func:`EXPORT_SYMBOL()` o
 --
 Documentation/translations/it_IT/kernel-hacking/hacking.rst-467-
 Documentation/translations/it_IT/kernel-hacking/hacking.rst:468::c:func:`__initcall()`/:c:func:`module_init()`
 Documentation/translations/it_IT/kernel-hacking/hacking.rst-469-----------------------------------------------
 --
 Documentation/translations/it_IT/kernel-hacking/hacking.rst=473=Molte parti del kernel funzionano bene come moduli (componenti del kernel
 Documentation/translations/it_IT/kernel-hacking/hacking.rst:474:caricabili dinamicamente). L'utilizzo delle macro :c:func:`module_init()`
 Documentation/translations/it_IT/kernel-hacking/hacking.rst-475-e :c:func:`module_exit()` semplifica la scrittura di codice che può funzionare
 Documentation/translations/it_IT/kernel-hacking/hacking.rst=476=sia come modulo, sia come parte del kernel, senza l'ausilio di #ifdef.
 Documentation/translations/it_IT/kernel-hacking/hacking.rst-477-
 Documentation/translations/it_IT/kernel-hacking/hacking.rst:478:La macro :c:func:`module_init()` definisce quale funzione dev'essere
 Documentation/translations/it_IT/kernel-hacking/hacking.rst-479-chiamata quando il modulo viene inserito (se il file è stato compilato come
 Documentation/translations/it_IT/kernel-hacking/hacking.rst=480=tale), o in fase di avvio : se il file non è stato compilato come modulo la
 Documentation/translations/it_IT/kernel-hacking/hacking.rst:481:macro :c:func:`module_init()` diventa equivalente a :c:func:`__initcall()`,
 Documentation/translations/it_IT/kernel-hacking/hacking.rst-482-la quale, tramite qualche magia del linker, s'assicura che la funzione venga
 --
 Documentation/translations/zh_CN/PCI/pci.rst=99=pci_device_id表。
 --
 Documentation/translations/zh_CN/PCI/pci.rst-136-
 Documentation/translations/zh_CN/PCI/pci.rst:137:	- module_init()/module_exit()函数(以及所有仅由这些函数调用的初始化函数)应该被标记
 Documentation/translations/zh_CN/PCI/pci.rst-138-
 --
 Documentation/translations/zh_CN/PCI/pciebus-howto.rst=108=pcie_port_service_unregister取代了Linux驱动模型的pci_unregister_driver。当一
 --
 Documentation/translations/zh_CN/PCI/pciebus-howto.rst-156-
 Documentation/translations/zh_CN/PCI/pciebus-howto.rst:157:  module_init(aerdrv_service_init);
 Documentation/translations/zh_CN/PCI/pciebus-howto.rst-158-  module_exit(aerdrv_service_exit);
 --
 Documentation/translations/zh_CN/admin-guide/reporting-issues.rst=751=CONFIG_DEBUG_INFO 和 CONFIG_KALLSYMS选项时,这种方法才起效。如果已启用此选项,
 --
 Documentation/translations/zh_CN/admin-guide/reporting-issues.rst-768-
 Documentation/translations/zh_CN/admin-guide/reporting-issues.rst:769:	[   68.387301] RIP: 0010:test_module_init+0x5/0xffa [test_module]
 Documentation/translations/zh_CN/admin-guide/reporting-issues.rst-770-
 --
 Documentation/translations/zh_CN/admin-guide/reporting-issues.rst-772-
 Documentation/translations/zh_CN/admin-guide/reporting-issues.rst:773:	[   68.387301] RIP: 0010:test_module_init (/home/username/linux-5.10.5/test-module/test-module.c:16) test_module
 Documentation/translations/zh_CN/admin-guide/reporting-issues.rst-774-
 --
 Documentation/translations/zh_CN/core-api/local_ops.rst=51=UP之间没有不同的行为,在你的架构的 ``local.h`` 中包括 ``asm-generic/local.h``
 --
 Documentation/translations/zh_CN/core-api/local_ops.rst-190-
 Documentation/translations/zh_CN/core-api/local_ops.rst:191:    module_init(test_init);
 Documentation/translations/zh_CN/core-api/local_ops.rst-192-    module_exit(test_exit);
 --
 Documentation/translations/zh_CN/cpu-freq/cpu-drivers.rst-49-
 Documentation/translations/zh_CN/cpu-freq/cpu-drivers.rst:50:首先,在 __initcall level 7 (module_init())或更靠后的函数中检查这个内核是否
 Documentation/translations/zh_CN/cpu-freq/cpu-drivers.rst-51-运行在正确的CPU和正确的芯片组上。如果是,则使用cpufreq_register_driver()向
 --
 Documentation/translations/zh_CN/kernel-hacking/hacking.rst=347=CPU上运行。
 --
 Documentation/translations/zh_CN/kernel-hacking/hacking.rst-373-
 Documentation/translations/zh_CN/kernel-hacking/hacking.rst:374::c:func:`__initcall()`/:c:func:`module_init()`
 Documentation/translations/zh_CN/kernel-hacking/hacking.rst-375-----------------------------------------------
 --
 Documentation/translations/zh_CN/kernel-hacking/hacking.rst-379-内核的许多部分都作为模块(内核的可动态加载部分)良好服务。使用
 Documentation/translations/zh_CN/kernel-hacking/hacking.rst:380::c:func:`module_init()` 和 :c:func:`module_exit()` 宏可以简化代码编写,无需
 Documentation/translations/zh_CN/kernel-hacking/hacking.rst-381-``#ifdef`` ,即可以作为模块运行或内置在内核中。
 Documentation/translations/zh_CN/kernel-hacking/hacking.rst-382-
 Documentation/translations/zh_CN/kernel-hacking/hacking.rst:383::c:func:`module_init()` 宏定义在模块插入时(如果文件编译为模块)或在引导时
 Documentation/translations/zh_CN/kernel-hacking/hacking.rst:384:调用哪个函数:如果文件未编译为模块,:c:func:`module_init()` 宏将等效于
 Documentation/translations/zh_CN/kernel-hacking/hacking.rst-385-:c:func:`__initcall()` ,它通过链接器的魔力确保在引导时调用该函数。
 --
 Documentation/translations/zh_CN/locking/spinlocks.rst-145-
 Documentation/translations/zh_CN/locking/spinlocks.rst:146:   module_init(xxx_init);
 Documentation/translations/zh_CN/locking/spinlocks.rst-147-
 --
 Documentation/translations/zh_TW/admin-guide/reporting-issues.rst=752=CONFIG_DEBUG_INFO 和 CONFIG_KALLSYMS選項時,這種方法才起效。如果已啓用此選項,
 --
 Documentation/translations/zh_TW/admin-guide/reporting-issues.rst-769-
 Documentation/translations/zh_TW/admin-guide/reporting-issues.rst:770:	[   68.387301] RIP: 0010:test_module_init+0x5/0xffa [test_module]
 Documentation/translations/zh_TW/admin-guide/reporting-issues.rst-771-
 --
 Documentation/translations/zh_TW/admin-guide/reporting-issues.rst-773-
 Documentation/translations/zh_TW/admin-guide/reporting-issues.rst:774:	[   68.387301] RIP: 0010:test_module_init (/home/username/linux-5.10.5/test-module/test-module.c:16) test_module
 Documentation/translations/zh_TW/admin-guide/reporting-issues.rst-775-
 --
 Documentation/translations/zh_TW/cpu-freq/cpu-drivers.rst-49-
 Documentation/translations/zh_TW/cpu-freq/cpu-drivers.rst:50:首先,在 __initcall level 7 (module_init())或更靠後的函數中檢查這個內核是否
 Documentation/translations/zh_TW/cpu-freq/cpu-drivers.rst-51-運行在正確的CPU和正確的芯片組上。如果是,則使用cpufreq_register_driver()向
 --
 arch/alpha/kernel/srm_env.c=211=srm_env_exit(void)
 --
 arch/alpha/kernel/srm_env.c-216-
 arch/alpha/kernel/srm_env.c:217:module_init(srm_env_init);
 arch/alpha/kernel/srm_env.c-218-module_exit(srm_env_exit);
 --
 arch/alpha/math-emu/math.c=63=static int alpha_fp_emul_init_module(void)
 --
 arch/alpha/math-emu/math.c-70-}
 arch/alpha/math-emu/math.c:71:module_init(alpha_fp_emul_init_module);
 arch/alpha/math-emu/math.c-72-
 --
 arch/arc/kernel/arc_hostlink.c=50=static int __init arc_hl_init(void)
 --
 arch/arc/kernel/arc_hostlink.c-54-}
 arch/arc/kernel/arc_hostlink.c:55:module_init(arc_hl_init);
 --
 arch/arm/boot/dts/ti/omap/omap4.dtsi=53=		cpu@1 {
 --
 arch/arm/boot/dts/ti/omap/omap4.dtsi-62-	 * Needed early by omap4_sram_init() for barrier, do not move to l3
 arch/arm/boot/dts/ti/omap/omap4.dtsi:63:	 * interconnect as simple-pm-bus probes at module_init() time.
 arch/arm/boot/dts/ti/omap/omap4.dtsi-64-	 */
 --
 arch/arm/boot/dts/ti/omap/omap5.dtsi=103=	pmu {
 --
 arch/arm/boot/dts/ti/omap/omap5.dtsi-110-	 * Needed early by omap4_sram_init() for barrier, do not move to l3
 arch/arm/boot/dts/ti/omap/omap5.dtsi:111:	 * interconnect as simple-pm-bus probes at module_init() time.
 arch/arm/boot/dts/ti/omap/omap5.dtsi-112-	 */
 --
 arch/arm/common/locomo.c=875=static void __exit locomo_exit(void)
 --
 arch/arm/common/locomo.c-880-
 arch/arm/common/locomo.c:881:module_init(locomo_init);
 arch/arm/common/locomo.c-882-module_exit(locomo_exit);
 --
 arch/arm/crypto/aes-neonbs-glue.c=405=static int __init aes_init(void)
 --
 arch/arm/crypto/aes-neonbs-glue.c-412-
 arch/arm/crypto/aes-neonbs-glue.c:413:module_init(aes_init);
 arch/arm/crypto/aes-neonbs-glue.c-414-module_exit(aes_exit);
 --
 arch/arm/crypto/ghash-ce-glue.c=591=static void __exit ghash_ce_mod_exit(void)
 --
 arch/arm/crypto/ghash-ce-glue.c-598-
 arch/arm/crypto/ghash-ce-glue.c:599:module_init(ghash_ce_mod_init);
 arch/arm/crypto/ghash-ce-glue.c-600-module_exit(ghash_ce_mod_exit);
 --
 arch/arm/kernel/module-plts.c=46=u32 get_module_plt(struct module *mod, unsigned long loc, Elf32_Addr val)
 arch/arm/kernel/module-plts.c-47-{
 arch/arm/kernel/module-plts.c:48:	struct mod_plt_sec *pltsec = !within_module_init(loc, mod) ?
 arch/arm/kernel/module-plts.c-49-						&mod->arch.core : &mod->arch.init;
 --
 arch/arm/kernel/module-plts.c=209=int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs,
 --
 arch/arm/kernel/module-plts.c-253-
 arch/arm/kernel/module-plts.c:254:		if (!module_init_layout_section(secstrings + dstsec->sh_name))
 arch/arm/kernel/module-plts.c-255-			core_plts += count_plts(syms, dstsec->sh_addr, rels,
 --
 arch/arm/kernel/module.c-22-
 arch/arm/kernel/module.c:23:bool module_init_section(const char *name)
 arch/arm/kernel/module.c-24-{
 --
 arch/arm/mach-omap1/ocpi.c=96=MODULE_LICENSE("GPL");
 arch/arm/mach-omap1/ocpi.c:97:module_init(omap_ocpi_init);
 arch/arm/mach-omap1/ocpi.c-98-module_exit(omap_ocpi_exit);
 --
 arch/arm/mach-pxa/spitz_pm.c=251=static void spitzpm_exit(void)
 --
 arch/arm/mach-pxa/spitz_pm.c-255-
 arch/arm/mach-pxa/spitz_pm.c:256:module_init(spitzpm_init);
 arch/arm/mach-pxa/spitz_pm.c-257-module_exit(spitzpm_exit);
 --
 arch/arm/mach-sa1100/jornada720_ssp.c=197=static int __init jornada_ssp_init(void)
 --
 arch/arm/mach-sa1100/jornada720_ssp.c-201-
 arch/arm/mach-sa1100/jornada720_ssp.c:202:module_init(jornada_ssp_init);
 --
 arch/arm/nwfpe/fpmodule.c=131=void float_raise(signed char flags)
 --
 arch/arm/nwfpe/fpmodule.c-168-
 arch/arm/nwfpe/fpmodule.c:169:module_init(fpe_init);
 arch/arm/nwfpe/fpmodule.c-170-module_exit(fpe_exit);
 --
 arch/arm/probes/kprobes/test-core.c=1660=static void __exit kprobe_test_exit(void)
 --
 arch/arm/probes/kprobes/test-core.c-1663-
 arch/arm/probes/kprobes/test-core.c:1664:module_init(run_all_tests)
 arch/arm/probes/kprobes/test-core.c-1665-module_exit(kprobe_test_exit)
 --
 arch/arm64/crypto/aes-ce-ccm-glue.c=322=static void __exit aes_mod_exit(void)
 --
 arch/arm64/crypto/aes-ce-ccm-glue.c-326-
 arch/arm64/crypto/aes-ce-ccm-glue.c:327:module_init(aes_mod_init);
 arch/arm64/crypto/aes-ce-ccm-glue.c-328-module_exit(aes_mod_exit);
 --
 arch/arm64/crypto/aes-glue.c=974=EXPORT_SYMBOL_NS(ce_aes_mac_update, "CRYPTO_INTERNAL");
 arch/arm64/crypto/aes-glue.c-975-#else
 arch/arm64/crypto/aes-glue.c:976:module_init(aes_init);
 arch/arm64/crypto/aes-glue.c-977-EXPORT_SYMBOL(neon_aes_ecb_encrypt);
 --
 arch/arm64/crypto/aes-neonbs-glue.c=468=static int __init aes_init(void)
 --
 arch/arm64/crypto/aes-neonbs-glue.c-475-
 arch/arm64/crypto/aes-neonbs-glue.c:476:module_init(aes_init);
 arch/arm64/crypto/aes-neonbs-glue.c-477-module_exit(aes_exit);
 --
 arch/arm64/crypto/ghash-ce-glue.c=529=MODULE_DEVICE_TABLE(cpu, ghash_cpu_feature);
 arch/arm64/crypto/ghash-ce-glue.c-530-
 arch/arm64/crypto/ghash-ce-glue.c:531:module_init(ghash_ce_mod_init);
 arch/arm64/crypto/ghash-ce-glue.c-532-module_exit(ghash_ce_mod_exit);
 --
 arch/arm64/crypto/sm3-neon-glue.c=56=static void __exit sm3_neon_fini(void)
 --
 arch/arm64/crypto/sm3-neon-glue.c-60-
 arch/arm64/crypto/sm3-neon-glue.c:61:module_init(sm3_neon_init);
 arch/arm64/crypto/sm3-neon-glue.c-62-module_exit(sm3_neon_fini);
 --
 arch/arm64/crypto/sm4-neon-glue.c=233=static void __exit sm4_exit(void)
 --
 arch/arm64/crypto/sm4-neon-glue.c-237-
 arch/arm64/crypto/sm4-neon-glue.c:238:module_init(sm4_init);
 arch/arm64/crypto/sm4-neon-glue.c-239-module_exit(sm4_exit);
 --
 arch/arm64/kernel/module-plts.c=69=u64 module_emit_plt_entry(struct module *mod, Elf64_Shdr *sechdrs,
 --
 arch/arm64/kernel/module-plts.c-72-{
 arch/arm64/kernel/module-plts.c:73:	struct mod_plt_sec *pltsec = !within_module_init((unsigned long)loc, mod) ?
 arch/arm64/kernel/module-plts.c-74-						&mod->arch.core : &mod->arch.init;
 --
 arch/arm64/kernel/module-plts.c=101=u64 module_emit_veneer_for_adrp(struct module *mod, Elf64_Shdr *sechdrs,
 --
 arch/arm64/kernel/module-plts.c-103-{
 arch/arm64/kernel/module-plts.c:104:	struct mod_plt_sec *pltsec = !within_module_init((unsigned long)loc, mod) ?
 arch/arm64/kernel/module-plts.c-105-						&mod->arch.core : &mod->arch.init;
 --
 arch/arm64/kernel/module-plts.c=280=int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs,
 --
 arch/arm64/kernel/module-plts.c-337-
 arch/arm64/kernel/module-plts.c:338:		if (!module_init_layout_section(secstrings + dstsec->sh_name))
 arch/arm64/kernel/module-plts.c-339-			core_plts += count_plts(syms, rels, numrels,
 --
 arch/arm64/kernel/module.c=447=static inline void __init_plt(struct plt_entry *plt, unsigned long addr)
 --
 arch/arm64/kernel/module.c-451-
 arch/arm64/kernel/module.c:452:static int module_init_ftrace_plt(const Elf_Ehdr *hdr,
 arch/arm64/kernel/module.c-453-				  const Elf_Shdr *sechdrs,
 --
 arch/arm64/kernel/module.c=484=int module_finalize(const Elf_Ehdr *hdr,
 --
 arch/arm64/kernel/module.c-517-
 arch/arm64/kernel/module.c:518:	return module_init_ftrace_plt(hdr, sechdrs, me);
 arch/arm64/kernel/module.c-519-}
 --
 arch/arm64/kernel/reloc_test_core.c=70=static void __exit reloc_test_exit(void)
 --
 arch/arm64/kernel/reloc_test_core.c-73-
 arch/arm64/kernel/reloc_test_core.c:74:module_init(reloc_test_init);
 arch/arm64/kernel/reloc_test_core.c-75-module_exit(reloc_test_exit);
 --
 arch/arm64/kvm/arm.c=3062=enum kvm_mode kvm_get_mode(void)
 --
 arch/arm64/kvm/arm.c-3066-
 arch/arm64/kvm/arm.c:3067:module_init(kvm_arm_init);
 --
 arch/arm64/lib/xor-neon.c=320=static int __init xor_neon_init(void)
 --
 arch/arm64/lib/xor-neon.c-328-}
 arch/arm64/lib/xor-neon.c:329:module_init(xor_neon_init);
 arch/arm64/lib/xor-neon.c-330-
 --
 arch/arm64/mm/init.c=418=static u64 __init random_bounding_box(u64 size, u64 start, u64 end)
 --
 arch/arm64/mm/init.c-450- */
 arch/arm64/mm/init.c:451:static int __init module_init_limits(void)
 arch/arm64/mm/init.c-452-{
 --
 arch/arm64/mm/init.c=496=struct execmem_info __init *execmem_arch_setup(void)
 --
 arch/arm64/mm/init.c-500-
 arch/arm64/mm/init.c:501:	module_init_limits();
 arch/arm64/mm/init.c-502-
 --
 arch/loongarch/include/asm/unwind.h=91=void unwind_init(void);
 arch/loongarch/include/asm/unwind.h:92:void unwind_module_init(struct module *mod, void *orc_ip, size_t orc_ip_size, void *orc, size_t orc_size);
 arch/loongarch/include/asm/unwind.h-93-#else
 arch/loongarch/include/asm/unwind.h=94=static inline void unwind_init(void) {}
 arch/loongarch/include/asm/unwind.h:95:static inline void unwind_module_init(struct module *mod, void *orc_ip, size_t orc_ip_size, void *orc, size_t orc_size) {}
 arch/loongarch/include/asm/unwind.h-96-#endif
 --
 arch/loongarch/kernel/module.c=473=int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab,
 --
 arch/loongarch/kernel/module.c-588-
 arch/loongarch/kernel/module.c:589:static void module_init_ftrace_plt(const Elf_Ehdr *hdr,
 arch/loongarch/kernel/module.c-590-				   const Elf_Shdr *sechdrs, struct module *mod)
 --
 arch/loongarch/kernel/module.c=606=int module_finalize(const Elf_Ehdr *hdr,
 --
 arch/loongarch/kernel/module.c-626-	if (orc && orc_ip)
 arch/loongarch/kernel/module.c:627:		unwind_module_init(mod, (void *)orc_ip->sh_addr, orc_ip->sh_size, (void *)orc->sh_addr, orc->sh_size);
 arch/loongarch/kernel/module.c-628-
 arch/loongarch/kernel/module.c-629-	if (ftrace)
 arch/loongarch/kernel/module.c:630:		module_init_ftrace_plt(hdr, ftrace, mod);
 arch/loongarch/kernel/module.c-631-
 --
 arch/loongarch/kernel/unwind_orc.c=220=static int orc_sort_cmp(const void *_a, const void *_b)
 --
 arch/loongarch/kernel/unwind_orc.c-242-
 arch/loongarch/kernel/unwind_orc.c:243:void unwind_module_init(struct module *mod, void *_orc_ip, size_t orc_ip_size,
 arch/loongarch/kernel/unwind_orc.c-244-			void *_orc, size_t orc_size)
 --
 arch/loongarch/kvm/main.c=456=static void kvm_loongarch_exit(void)
 --
 arch/loongarch/kvm/main.c-461-
 arch/loongarch/kvm/main.c:462:module_init(kvm_loongarch_init);
 arch/loongarch/kvm/main.c-463-module_exit(kvm_loongarch_exit);
 --
 arch/m68k/bvme6000/rtc.c=167=static int __init rtc_DP8570A_init(void)
 --
 arch/m68k/bvme6000/rtc.c-174-}
 arch/m68k/bvme6000/rtc.c:175:module_init(rtc_DP8570A_init);
 --
 arch/m68k/emu/nfblock.c=181=static void __exit nfhd_exit(void)
 --
 arch/m68k/emu/nfblock.c-193-
 arch/m68k/emu/nfblock.c:194:module_init(nfhd_init);
 arch/m68k/emu/nfblock.c-195-module_exit(nfhd_exit);
 --
 arch/m68k/emu/nfcon.c=165=static void __exit nfcon_exit(void)
 --
 arch/m68k/emu/nfcon.c-172-
]
]

96/2 2026/03/27 21:00 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 95481
							output: 20
							thoughts: 32
						

Thoughts:
Okay, here's my take on those thoughts, framed as an expert's internal monologue:

**Investigating `module_init` in `mac80211_hwsim.c`**

Alright, let's dive in. My immediate thought is to zero in on `module_init` within the `mac80211_hwsim.c` file. Given the context of a virtual wireless driver, `module_init` is going to be the critical function to find. It's the entry point, the hook that gets the whole show started when the module is loaded. I expect it'll set up all the necessary data structures, register the network interfaces, and probably initialize the hardware simulation aspects of the driver. I'm especially interested in how it's integrated with the mac80211 framework - how does it interact with the core wireless stack? Any initialization of shared structures or callbacks is going to be important to find. This should give me a good handle on how the entire driver is structured and how it interfaces with the kernel.



97/2 2026/03/27 21:00 tool grepper
0m Args:
map[Expression:module_init.*hwsim]

Results:
map[Output:drivers/net/ieee802154/mac802154_hwsim.c=1084=static __exit void hwsim_remove_module(void)
--
drivers/net/ieee802154/mac802154_hwsim.c-1090-
drivers/net/ieee802154/mac802154_hwsim.c:1091:module_init(hwsim_init_module);
drivers/net/ieee802154/mac802154_hwsim.c-1092-module_exit(hwsim_remove_module);
--
drivers/net/wireless/virtual/mac80211_hwsim.c=7055=static int __init init_mac80211_hwsim(void)
--
drivers/net/wireless/virtual/mac80211_hwsim.c-7215-}
drivers/net/wireless/virtual/mac80211_hwsim.c:7216:module_init(init_mac80211_hwsim);
drivers/net/wireless/virtual/mac80211_hwsim.c-7217-
--
drivers/net/wwan/wwan_hwsim.c=677=static void __exit wwan_hwsim_exit(void)
--
drivers/net/wwan/wwan_hwsim.c-686-
drivers/net/wwan/wwan_hwsim.c:687:module_init(wwan_hwsim_init);
drivers/net/wwan/wwan_hwsim.c-688-module_exit(wwan_hwsim_exit);
]

98/2 2026/03/27 21:01 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 96200
							output: 59
							thoughts: 17
						

Thoughts:
Okay, let's dive into this. Here's my take on `init_mac80211_hwsim`, as if I were processing this function:

**Analyzing the Initialization of the mac80211 Hardware Simulator**

Alright, so I'm looking at `init_mac80211_hwsim`. Given my expertise, I already know this is crucial for simulating the mac80211 wireless stack. This function *must* be responsible for setting up the virtual hardware environment that the mac80211 code can interact with during testing and development, without relying on real wireless hardware.

I'm expecting to see things like: memory allocation for the simulated devices and their registers, initialization of the virtual PHY layer, setting up the hardware queues, and probably some kind of interrupt handling or polling mechanism to mimic the behavior of a real NIC. I'm also betting it deals with registration of the simulated devices within the Linux kernel's mac80211 framework. It has to hook the simulator into the existing framework, so drivers and higher layers think they're talking to an actual device.

I'll be looking to see if it takes care of resource allocation, checking for potential conflicts, and also initial settings for things like RF capabilities and device parameters. And there are likely checks for various conditions and error handling. I'd need to confirm if there is setup for tracing and debugging and if there is a module paramater configuration function. I will be looking closely at any kind of synchronization mechanisms being used to protect the shared simulation state from concurrency issues, especially if multiple simulated devices are running concurrently.



99/2 2026/03/27 21:01 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/wireless/virtual/mac80211_hwsim.c IncludeLines:true Name:init_mac80211_hwsim]

Results:
map[SourceCode:7055:	static int __init init_mac80211_hwsim(void)
7056:	{
7057:		int i, err;
7058:	
7059:		if (radios < 0 || radios > 100)
7060:			return -EINVAL;
7061:	
7062:		if (channels < 1)
7063:			return -EINVAL;
7064:	
7065:		err = rhashtable_init(&hwsim_radios_rht, &hwsim_rht_params);
7066:		if (err)
7067:			return err;
7068:	
7069:		err = register_pernet_device(&hwsim_net_ops);
7070:		if (err)
7071:			goto out_free_rht;
7072:	
7073:		err = platform_driver_register(&mac80211_hwsim_driver);
7074:		if (err)
7075:			goto out_unregister_pernet;
7076:	
7077:		err = hwsim_init_netlink();
7078:		if (err)
7079:			goto out_unregister_driver;
7080:	
7081:		err = hwsim_register_virtio_driver();
7082:		if (err)
7083:			goto out_exit_netlink;
7084:	
7085:		hwsim_class = class_create("mac80211_hwsim");
7086:		if (IS_ERR(hwsim_class)) {
7087:			err = PTR_ERR(hwsim_class);
7088:			goto out_exit_virtio;
7089:		}
7090:	
7091:		hwsim_init_s1g_channels(hwsim_channels_s1g);
7092:	
7093:		for (i = 0; i < radios; i++) {
7094:			struct hwsim_new_radio_params param = { 0 };
7095:	
7096:			param.channels = channels;
7097:	
7098:			switch (regtest) {
7099:			case HWSIM_REGTEST_DIFF_COUNTRY:
7100:				if (i < ARRAY_SIZE(hwsim_alpha2s))
7101:					param.reg_alpha2 = hwsim_alpha2s[i];
7102:				break;
7103:			case HWSIM_REGTEST_DRIVER_REG_FOLLOW:
7104:				if (!i)
7105:					param.reg_alpha2 = hwsim_alpha2s[0];
7106:				break;
7107:			case HWSIM_REGTEST_STRICT_ALL:
7108:				param.reg_strict = true;
7109:				fallthrough;
7110:			case HWSIM_REGTEST_DRIVER_REG_ALL:
7111:				param.reg_alpha2 = hwsim_alpha2s[0];
7112:				break;
7113:			case HWSIM_REGTEST_WORLD_ROAM:
7114:				if (i == 0)
7115:					param.regd = &hwsim_world_regdom_custom_01;
7116:				break;
7117:			case HWSIM_REGTEST_CUSTOM_WORLD:
7118:				param.regd = &hwsim_world_regdom_custom_03;
7119:				break;
7120:			case HWSIM_REGTEST_CUSTOM_WORLD_2:
7121:				if (i == 0)
7122:					param.regd = &hwsim_world_regdom_custom_03;
7123:				else if (i == 1)
7124:					param.regd = &hwsim_world_regdom_custom_02;
7125:				break;
7126:			case HWSIM_REGTEST_STRICT_FOLLOW:
7127:				if (i == 0) {
7128:					param.reg_strict = true;
7129:					param.reg_alpha2 = hwsim_alpha2s[0];
7130:				}
7131:				break;
7132:			case HWSIM_REGTEST_STRICT_AND_DRIVER_REG:
7133:				if (i == 0) {
7134:					param.reg_strict = true;
7135:					param.reg_alpha2 = hwsim_alpha2s[0];
7136:				} else if (i == 1) {
7137:					param.reg_alpha2 = hwsim_alpha2s[1];
7138:				}
7139:				break;
7140:			case HWSIM_REGTEST_ALL:
7141:				switch (i) {
7142:				case 0:
7143:					param.regd = &hwsim_world_regdom_custom_01;
7144:					break;
7145:				case 1:
7146:					param.regd = &hwsim_world_regdom_custom_02;
7147:					break;
7148:				case 2:
7149:					param.reg_alpha2 = hwsim_alpha2s[0];
7150:					break;
7151:				case 3:
7152:					param.reg_alpha2 = hwsim_alpha2s[1];
7153:					break;
7154:				case 4:
7155:					param.reg_strict = true;
7156:					param.reg_alpha2 = hwsim_alpha2s[2];
7157:					break;
7158:				}
7159:				break;
7160:			default:
7161:				break;
7162:			}
7163:	
7164:			param.p2p_device = support_p2p_device;
7165:			param.mlo = mlo;
7166:			param.multi_radio = multi_radio;
7167:			param.use_chanctx = channels > 1 || mlo || multi_radio;
7168:			param.iftypes = HWSIM_IFTYPE_SUPPORT_MASK;
7169:			if (param.p2p_device)
7170:				param.iftypes |= BIT(NL80211_IFTYPE_P2P_DEVICE);
7171:	
7172:			err = mac80211_hwsim_new_radio(NULL, &param);
7173:			if (err < 0)
7174:				goto out_free_radios;
7175:		}
7176:	
7177:		hwsim_mon = alloc_netdev(0, "hwsim%d", NET_NAME_UNKNOWN,
7178:					 hwsim_mon_setup);
7179:		if (hwsim_mon == NULL) {
7180:			err = -ENOMEM;
7181:			goto out_free_radios;
7182:		}
7183:	
7184:		rtnl_lock();
7185:		err = dev_alloc_name(hwsim_mon, hwsim_mon->name);
7186:		if (err < 0) {
7187:			rtnl_unlock();
7188:			goto out_free_mon;
7189:		}
7190:	
7191:		err = register_netdevice(hwsim_mon);
7192:		if (err < 0) {
7193:			rtnl_unlock();
7194:			goto out_free_mon;
7195:		}
7196:		rtnl_unlock();
7197:	
7198:		return 0;
7199:	
7200:	out_free_mon:
7201:		free_netdev(hwsim_mon);
7202:	out_free_radios:
7203:		mac80211_hwsim_free();
7204:	out_exit_virtio:
7205:		hwsim_unregister_virtio_driver();
7206:	out_exit_netlink:
7207:		hwsim_exit_netlink();
7208:	out_unregister_driver:
7209:		platform_driver_unregister(&mac80211_hwsim_driver);
7210:	out_unregister_pernet:
7211:		unregister_pernet_device(&hwsim_net_ops);
7212:	out_free_rht:
7213:		rhashtable_destroy(&hwsim_radios_rht);
7214:		return err;
7215:	}
 SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c]

100/2 2026/03/27 21:01 llm debugger
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 99069
							output: 974
							thoughts: 5033
						

Thoughts:
**Root Cause Analysis and Proposed Fixes for mac80211_hwsim Warning**

Okay, here's my understanding of the problem and the proposed solution, distilled after thoroughly reviewing the code:

The core issue lies in a warning triggered by `mac80211_hwsim_sta_rc_update` when a station (STA) is added to a channel with a bandwidth less than 20 MHz (e.g., 10 MHz), specifically in the hardware simulation (`hwsim`) module. Let me break it down:

1.  **The False Positive Warning:** The warning condition is: `WARN(bw > hwsim_get_chanwidth(confbw), ...)` where:

    *   `bw`: Represents the STA's *expected* bandwidth. This value is derived from `link_sta->bandwidth`, a variable of type `enum ieee80211_sta_rx_bandwidth`. The problem is that this enum *doesn't* define bandwidths less than 20 MHz. The smallest value is 20 MHz (0). Therefore, whenever the channel configuration bandwidth is less than 20 MHz (like 5 or 10 MHz), the STA's `link_sta->bandwidth` defaults to `IEEE80211_STA_RX_BW_20`. Hence, `bw` is *always* 20.
    *   `confbw`: Represents the *configured* channel bandwidth, obtained from the configuration data.

    Thus, when you have, say, a 10 MHz channel, `bw` is always 20 and `hwsim_get_chanwidth(confbw)` would be 10. The condition `20 > 10` evaluates to true, triggering a misleading warning. It's not a *real* problem, just a limitation of the STA bandwidth enumeration and it causes the warning when the configured channel width is less than 20Mhz.

2.  **Incorrect Warning Message:** The warning message itself is also a bit confusing. It prints the values of `hwsim_get_chanwidth(data->bw)` and `data->bw`. However, if the channel configuration utilizes `use_chanctx`, the value of `data->bw` might not reflect the actual channel bandwidth and causes confusing output. The message should be modified to show `hwsim_get_chanwidth(confbw)` and `confbw`, to be correct and meaningful.

3.  **A Parallel Problem in `mac80211_hwsim_tx`:** A similar condition exists in the `mac80211_hwsim_tx` function. Here, a local variable `bw` is initialized to `data->bw`. In situations with channel contexts and bandwidths less than 20 MHz, `data->bw` is incorrectly used, leading to an incorrect comparison. The fix is to initialize `bw` to `confbw` so that the code correctly handles channel bandwidths when calculating the transmit parameters.

**Proposed Solution (My Plan):**

To fix this, I propose the following:

1.  **In `mac80211_hwsim_sta_rc_update`:**  The condition for the warning should be refined to prevent false positives:
    ```c
    WARN(bw > hwsim_get_chanwidth(confbw) && hwsim_get_chanwidth(confbw) >= 20, ...);
    ```

    I'm adding a check: `hwsim_get_chanwidth(confbw) >= 20`. This ensures that the warning is only triggered when the channel bandwidth is at least 20 MHz, which is a real configuration conflict. This would suppress the false positive warnings we are currently observing.

    I will also change the warning message to:
    ```c
    "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
    vif->addr, link_id, sta->addr, bw, sta->deflink.bandwidth,
    hwsim_get_chanwidth(confbw), confbw);
    ```
    This prints `confbw` (the *actual* configured bandwidth) instead of `data->bw` to make the warning message clear.

2.  **In `mac80211_hwsim_tx`:** Initialize the local variable correctly. The line:
    ```c
    enum nl80211_chan_width bw = data->bw;
    ```
    should be changed to:
    ```c
    enum nl80211_chan_width bw = confbw;
    ```

    


101/1 2026/03/27 21:01 action kernel-scratch-checkouter
0m Results:
map[KernelScratchSrc:/app/workdir/cache/tmp/tmp731282983]

102/1 2026/03/27 21:02 loop
37m
103/2 2026/03/27 21:02 iteration 0
37m
104/3 2026/03/27 21:02 agent patch-generator
3m Model:
gemini-3.1-pro-preview

Instruction:
You are an experienced Linux kernel developer tasked with creating a fix for a kernel bug.
You will be given a crash report, and an initial explanation of the root cause done by another
kernel expert.

Use the codeedit tool to do code edits.
Note: you will not see your changes when looking at the code using codesearch tools.

Your final reply should contain explanation of what you did in the patch and why
(details not present in the initial explanation of the bug).

Your fix must not just prevent the given crash, but also be the best fix for the underlying
root cause from the software engineering point of view. There can be several ways to fix the
same bug. Consider alternatives, and pick the best one. For example, additional checks may be
added at different locations/functions, it's usually better to place them earlier in the
execution to avoid multiple checks at various locations later.

Frequently the same coding mistake is done in several locations in the source code.
Check if your fix should be extended/applied to similar cases around to fix other similar bugs.
But don't go too wide, don't try to fix problems kernel-wide, fix similar issues
in the same file only.

If you are changing post-conditions of a function, consider all callers of the functions,
and if they need to be updated to handle new post-conditions. For example, if you make
a function that previously never returned a NULL, return NULL, consider if callers
need to be updated to handle NULL return value.


If you will end up removing the WARN_ON macro because the condition can legitimately happen,
add a pr_err call that logs that the unlikely condition has happened. The pr_err message
must not include "WARNING" string.


Prefer calling several tools at the same time to save round-trips.

Prompt:
The crash that corresponds to the bug is:

------------[ cut here ]------------
intf 08:02:11:00:00:01 [link=0]: bad STA 00:00:00:ff:ff:ff bandwidth 20 MHz (0) > channel config 10 MHz (7)
WARNING: drivers/net/wireless/virtual/mac80211_hwsim.c:2696 at mac80211_hwsim_sta_rc_update+0x696/0x860 drivers/net/wireless/virtual/mac80211_hwsim.c:2693, CPU#0: kworker/u9:2/53
Modules linked in:
CPU: 0 UID: 0 PID: 53 Comm: kworker/u9:2 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Workqueue: events_unbound cfg80211_wiphy_work
RIP: 0010:mac80211_hwsim_sta_rc_update+0x6f4/0x860 drivers/net/wireless/virtual/mac80211_hwsim.c:2693
Code: 85 d2 00 00 00 45 8b 36 44 89 f7 e8 a6 20 00 00 48 8b 7c 24 28 48 8b 74 24 30 89 ea 48 8b 4c 24 10 41 89 d8 45 89 f9 41 56 50 <67> 48 0f b9 3a 48 83 c4 10 e9 08 ff ff ff e8 89 ef cc fa 90 0f 0b
RSP: 0018:ffffc9000069f738 EFLAGS: 00010293
RAX: 000000000000000a RBX: 0000000000000014 RCX: ffff888029d4cec0
RDX: 0000000000000000 RSI: ffff88801fb37042 RDI: ffffffff90278400
RBP: 0000000000000000 R08: 0000000000000014 R09: 0000000000000000
R10: 000000000000000d R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000007 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880985f2000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2c2e6720c0 CR3: 00000000295ee000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 mac80211_hwsim_sta_add+0xa4/0x350 drivers/net/wireless/virtual/mac80211_hwsim.c:2713
 drv_sta_add net/mac80211/driver-ops.h:470 [inline]
 drv_sta_state+0x86a/0x1880 net/mac80211/driver-ops.c:155
 sta_info_insert_drv_state net/mac80211/sta_info.c:836 [inline]
 sta_info_insert_finish net/mac80211/sta_info.c:944 [inline]
 sta_info_insert_rcu+0x1985/0x2730 net/mac80211/sta_info.c:1021
 ieee80211_ocb_finish_sta net/mac80211/ocb.c:105 [inline]
 ieee80211_ocb_work+0x324/0x590 net/mac80211/ocb.c:139
 cfg80211_wiphy_work+0x2ab/0x4a0 net/wireless/core.c:440
 process_one_work kernel/workqueue.c:3276 [inline]
 process_scheduled_works+0xb6e/0x18c0 kernel/workqueue.c:3359
 worker_thread+0x8a2/0xda0 kernel/workqueue.c:3440
 kthread+0x388/0x470 kernel/kthread.c:436
 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
----------------
Code disassembly (best guess):
   0:	85 d2                	test   %edx,%edx
   2:	00 00                	add    %al,(%rax)
   4:	00 45 8b             	add    %al,-0x75(%rbp)
   7:	36 44 89 f7          	ss mov %r14d,%edi
   b:	e8 a6 20 00 00       	call   0x20b6
  10:	48 8b 7c 24 28       	mov    0x28(%rsp),%rdi
  15:	48 8b 74 24 30       	mov    0x30(%rsp),%rsi
  1a:	89 ea                	mov    %ebp,%edx
  1c:	48 8b 4c 24 10       	mov    0x10(%rsp),%rcx
  21:	41 89 d8             	mov    %ebx,%r8d
  24:	45 89 f9             	mov    %r15d,%r9d
  27:	41 56                	push   %r14
  29:	50                   	push   %rax
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 83 c4 10          	add    $0x10,%rsp
  33:	e9 08 ff ff ff       	jmp    0xffffff40
  38:	e8 89 ef cc fa       	call   0xfaccefc6
  3d:	90                   	nop
  3e:	0f 0b                	ud2


The explanation of the root cause of the bug is:

The crash is caused by a false positive `WARN` in `mac80211_hwsim_sta_rc_update` when a station is added to an interface operating on a channel with a bandwidth smaller than 20 MHz (e.g., 10 MHz or 5 MHz).

### Root Cause Analysis

1. **False Positive Warning in `mac80211_hwsim_sta_rc_update`:**
   The function checks if the station's RX bandwidth (`bw`) is greater than the configured channel bandwidth (`confbw`):
   ```c
   WARN(bw > hwsim_get_chanwidth(confbw), ...)
   ```
   The station's RX bandwidth `bw` is derived from `link_sta->bandwidth`, which is of type `enum ieee80211_sta_rx_bandwidth`. This enum only defines bandwidths of 20 MHz and above (`IEEE80211_STA_RX_BW_20` is 0).
   
   For channels with a bandwidth less than 20 MHz (like 5 MHz or 10 MHz), HT/VHT/HE are not supported, and `link_sta->bandwidth` naturally defaults to `IEEE80211_STA_RX_BW_20`. Consequently, `bw` is evaluated as 20. 
   
   When the channel is configured for 10 MHz (`confbw` = `NL80211_CHAN_WIDTH_10`), `hwsim_get_chanwidth(confbw)` returns 10. The condition `20 > 10` evaluates to true, triggering the warning. Since the minimum representable STA RX bandwidth is 20 MHz, the warning should be suppressed for channel bandwidths smaller than 20 MHz.

2. **Incorrect Warning Message:**
   The warning message prints `data->bw` instead of `confbw`:
   ```c
   hwsim_get_chanwidth(data->bw), data->bw
   ```
   If `data->use_chanctx` is true, `data->bw` is not updated with the channel context bandwidth and remains 0 (`NL80211_CHAN_WIDTH_20_NOHT`), which leads to confusing output. It should print `confbw`.

3. **Similar Bug in `mac80211_hwsim_tx`:**
   In `mac80211_hwsim_tx`, there is a similar check:
   ```c
   enum nl80211_chan_width bw = data->bw;
   ...
   if (WARN_ON(hwsim_get_chanwidth(bw) > hwsim_get_chanwidth(confbw)))
       return;
   ```
   Here, `bw` is initialized to `data->bw` instead of `confbw`. If `data->use_chanctx` is true, `data->bw` is 0 (20 MHz). If the channel is 10 MHz, `confbw` is 10 MHz. The condition `20 > 10` will evaluate to true, triggering a warning and dropping the frame. It should be initialized to `confbw`.

### Proposed Fix

1. In `drivers/net/wireless/virtual/mac80211_hwsim.c`, update the warning condition in `mac80211_hwsim_sta_rc_update` to only trigger if the channel bandwidth is at least 20 MHz, and fix the printed variables:
   ```c
   WARN(bw > hwsim_get_chanwidth(confbw) && hwsim_get_chanwidth(confbw) >= 20,
        "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
        vif->addr, link_id, sta->addr, bw, sta->deflink.bandwidth,
        hwsim_get_chanwidth(confbw), confbw);
   ```

2. In `mac80211_hwsim_tx`, initialize `bw` to `confbw` instead of `data->bw`:
   ```c
   /* initialize to confbw for 5/10 MHz handling */
   enum nl80211_chan_width bw = confbw;
   ```



Reply:
The crash is caused by a false positive `WARN` in `mac80211_hwsim_sta_rc_update` when a station is added to an interface operating on a channel with a bandwidth smaller than 20 MHz (e.g., 10 MHz or 5 MHz).

### Root Cause Analysis

1. **False Positive Warning in `mac80211_hwsim_sta_rc_update`:**
   The function checks if the station's RX bandwidth (`bw`) is greater than the configured channel bandwidth (`confbw`). The station's RX bandwidth `bw` is derived from `link_sta->bandwidth`, which is of type `enum ieee80211_sta_rx_bandwidth`. This enum only defines bandwidths of 20 MHz and above (`IEEE80211_STA_RX_BW_20` is 0).
   
   For channels with a bandwidth less than 20 MHz (like 5 MHz or 10 MHz), HT/VHT/HE are not supported, and `link_sta->bandwidth` naturally defaults to `IEEE80211_STA_RX_BW_20`. Consequently, `bw` is evaluated as 20. 
   
   When the channel is configured for 10 MHz (`confbw` = `NL80211_CHAN_WIDTH_10`), `hwsim_get_chanwidth(confbw)` returns 10. The condition `20 > 10` evaluates to true, triggering the warning. Since the minimum representable STA RX bandwidth is 20 MHz, the warning should be suppressed for channel bandwidths smaller than 20 MHz.

2. **Incorrect Warning Message:**
   The warning message prints `data->bw` instead of `confbw`. If `data->use_chanctx` is true, `data->bw` is not updated with the channel context bandwidth and remains 0 (`NL80211_CHAN_WIDTH_20_NOHT`), which leads to confusing output. It should print `confbw`. Additionally, the warning message incorrectly prints `sta->deflink.bandwidth` instead of `link_sta->bandwidth`, which is the actual bandwidth being evaluated in the loop over the station links.

3. **Similar Bug in `mac80211_hwsim_tx`:**
   In `mac80211_hwsim_tx`, there is a similar check where `bw` is initialized to `data->bw` instead of `confbw`. If `data->use_chanctx` is true, `data->bw` is 0 (20 MHz). If the channel is 10 MHz, `confbw` is 10 MHz. The condition `20 > 10` will evaluate to true, triggering a warning and dropping the frame. It should be initialized to `confbw`.

### Fix

I have applied the following fixes:

1. In `drivers/net/wireless/virtual/mac80211_hwsim.c`, updated the warning condition in `mac80211_hwsim_sta_rc_update` to only trigger if the channel bandwidth is at least 20 MHz, and fixed the printed variables to use `confbw` and `link_sta->bandwidth`:
   ```c
   WARN(bw > hwsim_get_chanwidth(confbw) &&
        hwsim_get_chanwidth(confbw) >= 20,
        "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
        vif->addr, link_id, sta->addr, bw, link_sta->bandwidth,
        hwsim_get_chanwidth(confbw), confbw);
   ```

2. In `mac80211_hwsim_tx`, initialized `bw` to `confbw` instead of `data->bw` to prevent a similar false positive warning and frame drop when transmitting on 5/10 MHz channels:
   ```c
   /* initialize to confbw for 5/10 MHz handling */
   enum nl80211_chan_width bw = confbw;
   ```

105/4 2026/03/27 21:02 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 6158
							output: 63
							thoughts: 89
						

Thoughts:
Okay, let's dive into this. Here's what I'm thinking about the bug report:

**Dissecting a False Positive in mac80211_hwsim_sta_rc_update**

Alright, a false positive WARN in `mac80211_hwsim_sta_rc_update`? Interesting. I've seen that function plenty of times. It looks like the issue is originating within the mac80211 hardware simulator, specifically at line 2696 of `drivers/net/wireless/virtual/mac80211_hwsim.c`. That gives me a very specific point to start with. Let's pull up that file and that line and see what's happening. I'll need to understand the control flow around that line, see what conditions are leading to the warning, and then figure out why it's a false positive. My first step will be to confirm the call stack. Let's see if we can reproduce this reliably, as that will be key to understanding the root cause.



106/4 2026/03/27 21:02 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/wireless/virtual/mac80211_hwsim.c IncludeLines:true Name:mac80211_hwsim_sta_rc_update]

Results:
map[SourceCode:2645:	static void
2646:	mac80211_hwsim_sta_rc_update(struct ieee80211_hw *hw,
2647:				     struct ieee80211_vif *vif,
2648:				     struct ieee80211_link_sta *link_sta,
2649:				     u32 changed)
2650:	{
2651:		struct mac80211_hwsim_data *data = hw->priv;
2652:		struct ieee80211_sta *sta = link_sta->sta;
2653:		u32 bw = U32_MAX;
2654:		int link_id;
2655:	
2656:		rcu_read_lock();
2657:		for (link_id = 0;
2658:		     link_id < ARRAY_SIZE(vif->link_conf);
2659:		     link_id++) {
2660:			enum nl80211_chan_width confbw = NL80211_CHAN_WIDTH_20_NOHT;
2661:			struct ieee80211_bss_conf *vif_conf;
2662:	
2663:			link_sta = rcu_dereference(sta->link[link_id]);
2664:	
2665:			if (!link_sta)
2666:				continue;
2667:	
2668:			switch (link_sta->bandwidth) {
2669:	#define C(_bw) case IEEE80211_STA_RX_BW_##_bw: bw = _bw; break
2670:			C(20);
2671:			C(40);
2672:			C(80);
2673:			C(160);
2674:			C(320);
2675:	#undef C
2676:			}
2677:	
2678:			if (!data->use_chanctx) {
2679:				confbw = data->bw;
2680:			} else {
2681:				struct ieee80211_chanctx_conf *chanctx_conf;
2682:	
2683:				vif_conf = rcu_dereference(vif->link_conf[link_id]);
2684:				if (WARN_ON(!vif_conf))
2685:					continue;
2686:	
2687:				chanctx_conf = rcu_dereference(vif_conf->chanctx_conf);
2688:	
2689:				if (!WARN_ON(!chanctx_conf))
2690:					confbw = chanctx_conf->def.width;
2691:			}
2692:	
2693:			WARN(bw > hwsim_get_chanwidth(confbw),
2694:			     "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
2695:			     vif->addr, link_id, sta->addr, bw, sta->deflink.bandwidth,
2696:			     hwsim_get_chanwidth(data->bw), data->bw);
2697:	
2698:	
2699:		}
2700:		rcu_read_unlock();
2701:	
2702:	
2703:	}
 SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c]

107/4 2026/03/27 21:02 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 7522
							output: 59
							thoughts: 597
						

Thoughts:
**Analyzing a Bandwidth Warning in the MAC80211 HWSIM**

Okay, so I'm digging into this bandwidth mismatch warning in the HWSIM code. The core issue is that the variable `bw` is being derived from `link_sta->bandwidth`, which, in the case of 20MHz or lower, is always `IEEE80211_STA_RX_BW_20` (0), resulting in `bw` being set to 20.

The problem arises when `confbw` (configured bandwidth) is, say, 10MHz or 5MHz. The function `hwsim_get_chanwidth(confbw)` correctly returns 10 or 5 in these cases.  This leads to the comparison `bw > hwsim_get_chanwidth(confbw)` evaluating to `20 > 10`, which is true, triggering the warning even though it may be a valid configuration. My initial thought is we need to suppress the warning if `hwsim_get_chanwidth(confbw)` is less than 20.

I noticed the warning message is printing `hwsim_get_chanwidth(data->bw), data->bw` instead of `hwsim_get_chanwidth(confbw), confbw`. That needs a fix. Furthermore, I was wondering if `sta->deflink.bandwidth` should have been `link_sta->bandwidth`, however, I should check the crash report.

The crash report confirms that, it shows a "bad STA" reporting 20MHz when the channel config is 10MHz.  The proposed fix provides this:
```c
WARN(bw > hwsim_get_chanwidth(confbw) && hwsim_get_chanwidth(confbw) >= 20,
     "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
     vif->addr, link_id, sta->addr, bw, link_sta->bandwidth,
     hwsim_get_chanwidth(confbw), confbw);
```

Wait, it's printing `link_sta->bandwidth`, but the proposed fix in the code still reads `sta->deflink.bandwidth`. I need to ensure the correct variable is being used here. However, I should compare with the original code.

Ah, the original code *does* use `sta->deflink.bandwidth`. So that's the correct variable.

Now, let me just quickly check `mac80211_hwsim_tx` to see if there's anything related I should consider.



108/4 2026/03/27 21:02 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/wireless/virtual/mac80211_hwsim.c IncludeLines:true Name:mac80211_hwsim_tx]

Results:
map[SourceCode:1958:	static void mac80211_hwsim_tx(struct ieee80211_hw *hw,
1959:				      struct ieee80211_tx_control *control,
1960:				      struct sk_buff *skb)
1961:	{
1962:		struct mac80211_hwsim_data *data = hw->priv;
1963:		struct ieee80211_tx_info *txi = IEEE80211_SKB_CB(skb);
1964:		struct ieee80211_hdr *hdr = (void *)skb->data;
1965:		struct ieee80211_chanctx_conf *chanctx_conf;
1966:		struct ieee80211_channel *channel;
1967:		struct ieee80211_vif *vif = txi->control.vif;
1968:		bool ack;
1969:		enum nl80211_chan_width confbw = NL80211_CHAN_WIDTH_20_NOHT;
1970:		u32 _portid, i;
1971:	
1972:		if (WARN_ON(skb->len < 10)) {
1973:			/* Should not happen; just a sanity check for addr1 use */
1974:			ieee80211_free_txskb(hw, skb);
1975:			return;
1976:		}
1977:	
1978:		if (vif && vif->type == NL80211_IFTYPE_NAN && !data->tmp_chan) {
1979:			/* For NAN Device simulation purposes, assume that NAN is always
1980:			 * on channel 6 or channel 149, unless a ROC is in progress (for
1981:			 * USD use cases).
1982:			 */
1983:			if (data->nan_curr_dw_band == NL80211_BAND_2GHZ)
1984:				channel = ieee80211_get_channel(hw->wiphy, 2437);
1985:			else if (data->nan_curr_dw_band == NL80211_BAND_5GHZ)
1986:				channel = ieee80211_get_channel(hw->wiphy, 5745);
1987:			else
1988:				channel = NULL;
1989:	
1990:			if (WARN_ON(!channel)) {
1991:				ieee80211_free_txskb(hw, skb);
1992:				return;
1993:			}
1994:		} else if (!data->use_chanctx) {
1995:			channel = data->channel;
1996:			confbw = data->bw;
1997:		} else if (txi->hw_queue == 4) {
1998:			channel = data->tmp_chan;
1999:		} else {
2000:			u8 link = u32_get_bits(IEEE80211_SKB_CB(skb)->control.flags,
2001:					       IEEE80211_TX_CTRL_MLO_LINK);
2002:			struct ieee80211_link_sta *link_sta = NULL;
2003:			struct ieee80211_sta *sta = control->sta;
2004:			struct ieee80211_bss_conf *bss_conf;
2005:	
2006:			/* This can happen in case of monitor injection */
2007:			if (!vif) {
2008:				ieee80211_free_txskb(hw, skb);
2009:				return;
2010:			}
2011:	
2012:			if (link != IEEE80211_LINK_UNSPECIFIED) {
2013:				bss_conf = rcu_dereference(vif->link_conf[link]);
2014:				if (sta)
2015:					link_sta = rcu_dereference(sta->link[link]);
2016:			} else {
2017:				bss_conf = mac80211_hwsim_select_tx_link(data, vif, sta,
2018:									 hdr, &link_sta);
2019:			}
2020:	
2021:			if (unlikely(!bss_conf)) {
2022:				/* if it's an MLO STA, it might have deactivated all
2023:				 * links temporarily - but we don't handle real PS in
2024:				 * this code yet, so just drop the frame in that case
2025:				 */
2026:				WARN(link != IEEE80211_LINK_UNSPECIFIED || !sta || !sta->mlo,
2027:				     "link:%d, sta:%pM, sta->mlo:%d\n",
2028:				     link, sta ? sta->addr : NULL, sta ? sta->mlo : -1);
2029:				ieee80211_free_txskb(hw, skb);
2030:				return;
2031:			}
2032:	
2033:			/* Do address translations only between shared links. It is
2034:			 * possible that while an non-AP MLD station and an AP MLD
2035:			 * station have shared links, the frame is intended to be sent
2036:			 * on a link which is not shared (for example when sending a
2037:			 * probe response).
2038:			 */
2039:			if (sta && sta->mlo && link_sta) {
2040:				/* address translation to link addresses on TX */
2041:				ether_addr_copy(hdr->addr1, link_sta->addr);
2042:				ether_addr_copy(hdr->addr2, bss_conf->addr);
2043:				/* translate A3 only if it's the BSSID */
2044:				if (!ieee80211_has_tods(hdr->frame_control) &&
2045:				    !ieee80211_has_fromds(hdr->frame_control)) {
2046:					if (ether_addr_equal(hdr->addr3, sta->addr))
2047:						ether_addr_copy(hdr->addr3, link_sta->addr);
2048:					else if (ether_addr_equal(hdr->addr3, vif->addr))
2049:						ether_addr_copy(hdr->addr3, bss_conf->addr);
2050:				}
2051:				/* no need to look at A4, if present it's SA */
2052:			}
2053:	
2054:			chanctx_conf = rcu_dereference(bss_conf->chanctx_conf);
2055:			if (chanctx_conf) {
2056:				channel = chanctx_conf->def.chan;
2057:				confbw = chanctx_conf->def.width;
2058:			} else {
2059:				channel = NULL;
2060:			}
2061:		}
2062:	
2063:		if (WARN(!channel, "TX w/o channel - queue = %d\n", txi->hw_queue)) {
2064:			ieee80211_free_txskb(hw, skb);
2065:			return;
2066:		}
2067:	
2068:		if (data->idle && !data->tmp_chan) {
2069:			wiphy_dbg(hw->wiphy, "Trying to TX when idle - reject\n");
2070:			ieee80211_free_txskb(hw, skb);
2071:			return;
2072:		}
2073:	
2074:		if (vif)
2075:			hwsim_check_magic(vif);
2076:		if (control->sta)
2077:			hwsim_check_sta_magic(control->sta);
2078:	
2079:		if (ieee80211_hw_check(hw, SUPPORTS_RC_TABLE))
2080:			ieee80211_get_tx_rates(vif, control->sta, skb,
2081:					       txi->control.rates,
2082:					       ARRAY_SIZE(txi->control.rates));
2083:	
2084:		for (i = 0; i < ARRAY_SIZE(txi->control.rates); i++) {
2085:			u16 rflags = txi->control.rates[i].flags;
2086:			/* initialize to data->bw for 5/10 MHz handling */
2087:			enum nl80211_chan_width bw = data->bw;
2088:	
2089:			if (txi->control.rates[i].idx == -1)
2090:				break;
2091:	
2092:			if (rflags & IEEE80211_TX_RC_40_MHZ_WIDTH)
2093:				bw = NL80211_CHAN_WIDTH_40;
2094:			else if (rflags & IEEE80211_TX_RC_80_MHZ_WIDTH)
2095:				bw = NL80211_CHAN_WIDTH_80;
2096:			else if (rflags & IEEE80211_TX_RC_160_MHZ_WIDTH)
2097:				bw = NL80211_CHAN_WIDTH_160;
2098:	
2099:			if (WARN_ON(hwsim_get_chanwidth(bw) > hwsim_get_chanwidth(confbw)))
2100:				return;
2101:		}
2102:	
2103:		if (skb->len >= 24 + 8 &&
2104:		    ieee80211_is_probe_resp(hdr->frame_control)) {
2105:			/* fake header transmission time */
2106:			struct ieee80211_mgmt *mgmt;
2107:			struct ieee80211_rate *txrate;
2108:			/* TODO: get MCS */
2109:			int bitrate = 100;
2110:			u64 ts;
2111:	
2112:			mgmt = (struct ieee80211_mgmt *)skb->data;
2113:			txrate = ieee80211_get_tx_rate(hw, txi);
2114:			if (txrate)
2115:				bitrate = txrate->bitrate;
2116:			ts = mac80211_hwsim_get_tsf_raw();
2117:			mgmt->u.probe_resp.timestamp =
2118:				cpu_to_le64(ts + data->tsf_offset +
2119:					    24 * 8 * 10 / bitrate);
2120:		}
2121:	
2122:		mac80211_hwsim_monitor_rx(hw, skb, channel);
2123:	
2124:		/* wmediumd mode check */
2125:		_portid = READ_ONCE(data->wmediumd);
2126:	
2127:		if (_portid || hwsim_virtio_enabled)
2128:			return mac80211_hwsim_tx_frame_nl(hw, skb, _portid, channel);
2129:	
2130:		/* NO wmediumd detected, perfect medium simulation */
2131:		data->tx_pkts++;
2132:		data->tx_bytes += skb->len;
2133:		ack = mac80211_hwsim_tx_frame_no_nl(hw, skb, channel);
2134:	
2135:		if (ack && skb->len >= 16)
2136:			mac80211_hwsim_monitor_ack(channel, hdr->addr2);
2137:	
2138:		ieee80211_tx_info_clear_status(txi);
2139:	
2140:		/* frame was transmitted at most favorable rate at first attempt */
2141:		txi->control.rates[0].count = 1;
2142:		txi->control.rates[1].idx = -1;
2143:	
2144:		if (!(txi->flags & IEEE80211_TX_CTL_NO_ACK) && ack)
2145:			txi->flags |= IEEE80211_TX_STAT_ACK;
2146:		ieee80211_tx_status_irqsafe(hw, skb);
2147:	}
 SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c]

109/4 2026/03/27 21:02 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 12306
							output: 257
							thoughts: 707
						

Thoughts:
**Analyzing and Correcting Channel Width Handling in mac80211_hwsim**

Okay, so I'm looking at this `mac80211_hwsim_tx` function. The key here is the handling of channel width based on rate control flags. It looks like the original code initializes `bw` with `data->bw`, which might be incorrect. The issue is that the code iterates through different rates and adjusts the `bw` based on rate control flags, but it *seems* like it should be starting from the *configured* bandwidth, `confbw`, instead of `data->bw`. This initial value of `data->bw` could be skewing the comparison later on, and my instinct is that changing `enum nl80211_chan_width bw = data->bw;` to `enum nl80211_chan_width bw = confbw;` will likely resolve the issue.

Now, let's dive into `mac80211_hwsim_sta_rc_update`. Ah, here's where the problem is manifesting. The WARN message here checks if the bandwidth (`bw`) is greater than the configured channel width (`hwsim_get_chanwidth(data->bw)`). But wait, it uses `data->bw`! That's not right. We are iterating through `link_id`, so it should be looking at the bandwidth associated with the *link* of that STA. I need to make some changes.

So I need to double-check that `link_sta->bandwidth` is the correct one to use. It *looks* correct because it's associated with `link_id`. Let's confirm. Yes, it is used in the code. And I see that the `hwsim_get_chanwidth(data->bw), data->bw` part of the WARN message should be updated to `hwsim_get_chanwidth(confbw), confbw` to be consistent with my earlier change in `mac80211_hwsim_tx`.

I also realize that the condition should be strengthened slightly. We only care if the bandwidth is greater than `confbw` if `confbw` is at least 20 MHz, so I'll adjust the condition to `bw > hwsim_get_chanwidth(confbw) && hwsim_get_chanwidth(confbw) >= 20`.

So, I will edit `mac80211_hwsim_sta_rc_update` to reflect these changes. I think this will fix the root cause.



110/4 2026/03/27 21:03 tool codeeditor
0m Args:
map[CurrentCode:		WARN(bw > hwsim_get_chanwidth(confbw),
		     "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
		     vif->addr, link_id, sta->addr, bw, sta->deflink.bandwidth,
		     hwsim_get_chanwidth(data->bw), data->bw); NewCode:		WARN(bw > hwsim_get_chanwidth(confbw) &&
		     hwsim_get_chanwidth(confbw) >= 20,
		     "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
		     vif->addr, link_id, sta->addr, bw, link_sta->bandwidth,
		     hwsim_get_chanwidth(confbw), confbw); SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c]

Results:
map[]

111/4 2026/03/27 21:03 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 13831
							output: 246
							thoughts: 21
						

Thoughts:
Here's my attempt at summarizing the thought process, tailored for an expert audience:

**Analyzing the `mac80211_hwsim_tx` Edit**

Okay, time to dive into this `mac80211_hwsim_tx` edit. First, I need to understand the *why* behind this change. What specific problem are we trying to solve or functionality are we trying to improve in the hardware simulation layer? I'll need to carefully review the patch description and commit message to get the broader context. Is it related to performance, correctness, debugging capabilities, or perhaps adding support for a new 802.11 feature?

Next, I'll zero in on the code itself. I'll need to trace the execution path of `mac80211_hwsim_tx` to get a precise understanding of its role within the larger framework. I'll be looking for potential side effects and interactions with other parts of the mac80211 stack, the hardware simulation module and the kernel's network stack. Are there any data structures being modified, and are those modifications thread-safe? Have all possible error conditions been considered and handled? I'll probably start with the entry point, the arguments being passed, and the key functions being called. I'm especially interested in how the simulated hardware is represented and manipulated.

After that, I will check if the edit is compatible with the latest version of the mainline kernel. Were there any changes to the core mac80211 interfaces that this patch might need to account for? I also want to determine if the changes introduce new dependencies or increase complexity.

Of course, a thorough analysis will involve reviewing the code's style and readability. Is it clear, concise, and well-documented? Are the variable names meaningful? Are the comments helpful? I will have to ensure that the code follows established coding conventions and maintainability best practices.

Finally, I'll need to think about testing. What tests were performed to validate this change? Are there any new test cases needed? Will existing test suites be sufficient to cover the new code path? I need to think about different scenarios and edge cases to ensure the edit is robust and doesn't introduce regressions.

Ultimately, I need to make an informed judgement about the quality, correctness, and maintainability of this edit. It's a key piece, and a misstep here could have far reaching consequences down the road.



112/4 2026/03/27 21:03 tool codeeditor
0m Args:
map[CurrentCode:	for (i = 0; i < ARRAY_SIZE(txi->control.rates); i++) {
		u16 rflags = txi->control.rates[i].flags;
		/* initialize to data->bw for 5/10 MHz handling */
		enum nl80211_chan_width bw = data->bw;

		if (txi->control.rates[i].idx == -1)
			break; NewCode:	for (i = 0; i < ARRAY_SIZE(txi->control.rates); i++) {
		u16 rflags = txi->control.rates[i].flags;
		/* initialize to confbw for 5/10 MHz handling */
		enum nl80211_chan_width bw = confbw;

		if (txi->control.rates[i].idx == -1)
			break; SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c]

Results:
map[]

113/4 2026/03/27 21:03 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 14620
							output: 21
							thoughts: 13
						

Thoughts:
Okay, here's my attempt at summarizing that thought process, keeping in mind I'm speaking to a fellow expert and I'm treating the thought as my own:

**Probing for Breadcrumbs**

Alright, before we get too deep into this particular anomaly, I need to make absolutely sure we haven't seen a variant of this before. My initial instinct is to dig deeper. I'm wondering, are there any other bugs out there that might be sharing some genetic code with this one? This particular issue seems unique, but I know better than to assume that it's the only one of its kind. Let's see if there are related reports, similar symptoms, or maybe even shared root causes lurking in the system somewhere. Time to dust off the bug database and do a little reconnaissance. Gotta make sure we're not just treating the symptom here, we want to address the true underlying problem.



114/4 2026/03/27 21:03 tool grepper
0m Args:
map[Expression:hwsim_get_chanwidth]

Results:
map[Output:drivers/net/wireless/virtual/mac80211_hwsim.c=980=extern int hwsim_tx_virtio(struct mac80211_hwsim_data *data,
--
drivers/net/wireless/virtual/mac80211_hwsim.c-984-
drivers/net/wireless/virtual/mac80211_hwsim.c:985:static int hwsim_get_chanwidth(enum nl80211_chan_width bw)
drivers/net/wireless/virtual/mac80211_hwsim.c-986-{
--
drivers/net/wireless/virtual/mac80211_hwsim.c=1958=static void mac80211_hwsim_tx(struct ieee80211_hw *hw,
--
drivers/net/wireless/virtual/mac80211_hwsim.c-2098-
drivers/net/wireless/virtual/mac80211_hwsim.c:2099:		if (WARN_ON(hwsim_get_chanwidth(bw) > hwsim_get_chanwidth(confbw)))
drivers/net/wireless/virtual/mac80211_hwsim.c-2100-			return;
--
drivers/net/wireless/virtual/mac80211_hwsim.c=2646=mac80211_hwsim_sta_rc_update(struct ieee80211_hw *hw,
--
drivers/net/wireless/virtual/mac80211_hwsim.c-2692-
drivers/net/wireless/virtual/mac80211_hwsim.c:2693:		WARN(bw > hwsim_get_chanwidth(confbw),
drivers/net/wireless/virtual/mac80211_hwsim.c-2694-		     "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
drivers/net/wireless/virtual/mac80211_hwsim.c-2695-		     vif->addr, link_id, sta->addr, bw, sta->deflink.bandwidth,
drivers/net/wireless/virtual/mac80211_hwsim.c:2696:		     hwsim_get_chanwidth(data->bw), data->bw);
drivers/net/wireless/virtual/mac80211_hwsim.c-2697-
]

115/4 2026/03/27 21:03 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 15481
							output: 17
							thoughts: 272
						

Thoughts:
**Analyzing Channel Width in `mac80211_hwsim_tx`**

Okay, let's break this down. In the `mac80211_hwsim_tx` function, I'm seeing this check: `if (WARN_ON(hwsim_get_chanwidth(bw) > hwsim_get_chanwidth(confbw))) return;`. It seems like a guard against transmitting a wider channel width on a narrower configured channel.

Initially, `bw` is set to `confbw`, which makes perfect sense. If `confbw` is, say, 10MHz, then both `hwsim_get_chanwidth(bw)` and `hwsim_get_chanwidth(confbw)` would be 10. The check `10 > 10` is false, so it doesn't trigger the warning. That makes intuitive sense.

But then, the code considers the case where `rflags` has the `IEEE80211_TX_RC_40_MHZ_WIDTH` flag set. If it is set, then `bw` gets updated to `NL80211_CHAN_WIDTH_40`, effectively 40MHz. Now the check looks at `hwsim_get_chanwidth(bw)` which is 40 versus `hwsim_get_chanwidth(confbw)` which is still 10. In this case, `40 > 10` is true and the return happens, which is precisely the behavior we want - preventing a 40MHz transmission on a 10MHz channel, as expected. So far, initializing `bw` to `confbw` seems right on the money.

Now, a crucial question arises. Is `data->bw` used anywhere else in the code besides where we want to ensure it isn't wider than `confbw`? If it is used, and in those places the `confbw` would be the more appropriate variable, that is an issue. I need to scan for any other usages of `data->bw` and verify that the correct channel width is always being considered.



116/4 2026/03/27 21:03 tool grepper
0m Args:
map[Expression:data->bw]

Results:
map[Output:drivers/clk/st/clkgen-fsyn.c=252=static int quadfs_pll_enable(struct clk_hw *hw)
--
drivers/clk/st/clkgen-fsyn.c-268-	 */
drivers/clk/st/clkgen-fsyn.c:269:	if (pll->data->bwfilter_present)
drivers/clk/st/clkgen-fsyn.c-270-		CLKGEN_WRITE(pll, ref_bw, PLL_BW_GOODREF);
--
drivers/crypto/intel/qat/qat_common/adf_gen4_tl.c=135=void adf_gen4_init_tl_data(struct adf_tl_hw_data *tl_data)
--
drivers/crypto/intel/qat/qat_common/adf_gen4_tl.c-143-	tl_data->cpp_ns_per_cycle = ADF_GEN4_CPP_NS_PER_CYCLE;
drivers/crypto/intel/qat/qat_common/adf_gen4_tl.c:144:	tl_data->bw_units_to_bytes = ADF_GEN4_TL_BW_HW_UNITS_TO_BYTES;
drivers/crypto/intel/qat/qat_common/adf_gen4_tl.c-145-
--
drivers/crypto/intel/qat/qat_common/adf_gen6_tl.c=228=void adf_gen6_init_tl_data(struct adf_tl_hw_data *tl_data)
--
drivers/crypto/intel/qat/qat_common/adf_gen6_tl.c-237-	tl_data->cpp_ns_per_cycle = ADF_GEN6_CPP_NS_PER_CYCLE;
drivers/crypto/intel/qat/qat_common/adf_gen6_tl.c:238:	tl_data->bw_units_to_bytes = ADF_GEN6_TL_BW_HW_UNITS_TO_BYTES;
drivers/crypto/intel/qat/qat_common/adf_gen6_tl.c-239-
--
drivers/crypto/intel/qat/qat_common/adf_tl_debugfs.c=213=static int tl_bw_hw_units_to_mbps(struct adf_telemetry *telemetry,
--
drivers/crypto/intel/qat/qat_common/adf_tl_debugfs.c-217-	struct adf_tl_hw_data *tl_data = &GET_TL_DATA(telemetry->accel_dev);
drivers/crypto/intel/qat/qat_common/adf_tl_debugfs.c:218:	u16 bw_hw_2_bits = tl_data->bw_units_to_bytes * BITS_PER_BYTE;
drivers/crypto/intel/qat/qat_common/adf_tl_debugfs.c-219-	u64 *hist_vals;
--
drivers/iio/accel/bma180.c=252=static int bma180_set_bw(struct bma180_data *data, int val)
--
drivers/iio/accel/bma180.c-268-			}
drivers/iio/accel/bma180.c:269:			data->bw = val;
drivers/iio/accel/bma180.c-270-			return 0;
--
drivers/iio/accel/bma180.c=526=static int bma180_read_raw(struct iio_dev *indio_dev,
--
drivers/iio/accel/bma180.c-551-	case IIO_CHAN_INFO_LOW_PASS_FILTER_3DB_FREQUENCY:
drivers/iio/accel/bma180.c:552:		*val = data->bw;
drivers/iio/accel/bma180.c-553-		return IIO_VAL_INT;
--
drivers/iio/accel/bmc150-accel-core.c=244=static int bmc150_accel_set_bw(struct bmc150_accel_data *data, int val,
--
drivers/iio/accel/bmc150-accel-core.c-258-
drivers/iio/accel/bmc150-accel-core.c:259:			data->bw_bits =
drivers/iio/accel/bmc150-accel-core.c-260-				bmc150_accel_samp_freq_table[i].bw_bits;
--
drivers/iio/accel/bmc150-accel-core.c=301=static int bmc150_accel_get_bw(struct bmc150_accel_data *data, int *val,
--
drivers/iio/accel/bmc150-accel-core.c-306-	for (i = 0; i < ARRAY_SIZE(bmc150_accel_samp_freq_table); ++i) {
drivers/iio/accel/bmc150-accel-core.c:307:		if (bmc150_accel_samp_freq_table[i].bw_bits == data->bw_bits) {
drivers/iio/accel/bmc150-accel-core.c-308-			*val = bmc150_accel_samp_freq_table[i].val;
--
drivers/iio/accel/bmc150-accel-core.c=318=static int bmc150_accel_get_startup_times(struct bmc150_accel_data *data)
--
drivers/iio/accel/bmc150-accel-core.c-322-	for (i = 0; i < ARRAY_SIZE(bmc150_accel_sample_upd_time); ++i) {
drivers/iio/accel/bmc150-accel-core.c:323:		if (bmc150_accel_sample_upd_time[i].bw_bits == data->bw_bits)
drivers/iio/accel/bmc150-accel-core.c-324-			return bmc150_accel_sample_upd_time[i].msec;
--
drivers/media/platform/qcom/iris/iris_power.c=16=static u32 iris_calc_bw(struct iris_inst *inst, struct icc_vote_data *data)
--
drivers/media/platform/qcom/iris/iris_power.c-27-
drivers/media/platform/qcom/iris/iris_power.c:28:	bw_tbl = core->iris_platform_data->bw_tbl_dec;
drivers/media/platform/qcom/iris/iris_power.c:29:	num_rows = core->iris_platform_data->bw_tbl_dec_size;
drivers/media/platform/qcom/iris/iris_power.c-30-
--
drivers/net/wireless/ath/ath12k/wifi7/hal_qcc2072.c=383=static void ath12k_hal_extract_rx_desc_data_qcc2072(struct hal_rx_desc_data *rx_desc_data,
--
drivers/net/wireless/ath/ath12k/wifi7/hal_qcc2072.c-400-	rx_desc_data->rate_mcs = ath12k_hal_rx_desc_get_msdu_rate_mcs_qcc2072(rx_desc);
drivers/net/wireless/ath/ath12k/wifi7/hal_qcc2072.c:401:	rx_desc_data->bw = ath12k_hal_rx_desc_get_msdu_rx_bw_qcc2072(rx_desc);
drivers/net/wireless/ath/ath12k/wifi7/hal_qcc2072.c-402-	rx_desc_data->phy_meta_data = ath12k_hal_rx_desc_get_msdu_freq_qcc2072(rx_desc);
--
drivers/net/wireless/ath/ath12k/wifi7/hal_qcn9274.c=815=void ath12k_hal_extract_rx_desc_data_qcn9274(struct hal_rx_desc_data *rx_desc_data,
--
drivers/net/wireless/ath/ath12k/wifi7/hal_qcn9274.c-832-	rx_desc_data->rate_mcs = ath12k_hal_rx_desc_get_msdu_rate_mcs_qcn9274(rx_desc);
drivers/net/wireless/ath/ath12k/wifi7/hal_qcn9274.c:833:	rx_desc_data->bw = ath12k_hal_rx_desc_get_msdu_rx_bw_qcn9274(rx_desc);
drivers/net/wireless/ath/ath12k/wifi7/hal_qcn9274.c-834-	rx_desc_data->phy_meta_data = ath12k_hal_rx_desc_get_msdu_freq_qcn9274(rx_desc);
--
drivers/net/wireless/ath/ath12k/wifi7/hal_wcn7850.c=585=void ath12k_hal_extract_rx_desc_data_wcn7850(struct hal_rx_desc_data *rx_desc_data,
--
drivers/net/wireless/ath/ath12k/wifi7/hal_wcn7850.c-602-	rx_desc_data->rate_mcs = ath12k_hal_rx_desc_get_msdu_rate_mcs_wcn7850(rx_desc);
drivers/net/wireless/ath/ath12k/wifi7/hal_wcn7850.c:603:	rx_desc_data->bw = ath12k_hal_rx_desc_get_msdu_rx_bw_wcn7850(rx_desc);
drivers/net/wireless/ath/ath12k/wifi7/hal_wcn7850.c-604-	rx_desc_data->phy_meta_data = ath12k_hal_rx_desc_get_msdu_freq_wcn7850(rx_desc);
--
drivers/net/wireless/virtual/mac80211_hwsim.c=1958=static void mac80211_hwsim_tx(struct ieee80211_hw *hw,
--
drivers/net/wireless/virtual/mac80211_hwsim.c-1995-		channel = data->channel;
drivers/net/wireless/virtual/mac80211_hwsim.c:1996:		confbw = data->bw;
drivers/net/wireless/virtual/mac80211_hwsim.c-1997-	} else if (txi->hw_queue == 4) {
--
drivers/net/wireless/virtual/mac80211_hwsim.c-2085-		u16 rflags = txi->control.rates[i].flags;
drivers/net/wireless/virtual/mac80211_hwsim.c:2086:		/* initialize to data->bw for 5/10 MHz handling */
drivers/net/wireless/virtual/mac80211_hwsim.c:2087:		enum nl80211_chan_width bw = data->bw;
drivers/net/wireless/virtual/mac80211_hwsim.c-2088-
--
drivers/net/wireless/virtual/mac80211_hwsim.c=2426=static int mac80211_hwsim_config(struct ieee80211_hw *hw, int radio_idx,
--
drivers/net/wireless/virtual/mac80211_hwsim.c-2473-		data->channel = conf->chandef.chan;
drivers/net/wireless/virtual/mac80211_hwsim.c:2474:		data->bw = conf->chandef.width;
drivers/net/wireless/virtual/mac80211_hwsim.c-2475-
--
drivers/net/wireless/virtual/mac80211_hwsim.c-2485-		data->channel = conf->chandef.chan;
drivers/net/wireless/virtual/mac80211_hwsim.c:2486:		data->bw = conf->chandef.width;
drivers/net/wireless/virtual/mac80211_hwsim.c-2487-	}
--
drivers/net/wireless/virtual/mac80211_hwsim.c=2646=mac80211_hwsim_sta_rc_update(struct ieee80211_hw *hw,
--
drivers/net/wireless/virtual/mac80211_hwsim.c-2678-		if (!data->use_chanctx) {
drivers/net/wireless/virtual/mac80211_hwsim.c:2679:			confbw = data->bw;
drivers/net/wireless/virtual/mac80211_hwsim.c-2680-		} else {
--
drivers/net/wireless/virtual/mac80211_hwsim.c-2695-		     vif->addr, link_id, sta->addr, bw, sta->deflink.bandwidth,
drivers/net/wireless/virtual/mac80211_hwsim.c:2696:		     hwsim_get_chanwidth(data->bw), data->bw);
drivers/net/wireless/virtual/mac80211_hwsim.c-2697-
]

117/4 2026/03/27 21:03 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 19776
							output: 59
							thoughts: 54
						

Thoughts:
Okay, here's my take on those thoughts, framed as my own:

**Revisiting mac80211_hwsim_tx and related areas**

Alright, I've had a look at the code and already patched the `mac80211_hwsim_tx` and `mac80211_hwsim_sta_rc_update` modules, but let's go back and double-check `mac80211_hwsim_tx` once more. I want to make absolutely certain that no subtle regressions have snuck in or that I've missed an edge case during my initial review. Time for a fresh look, focusing on the interactions I suspected were problematic. It's always wise to re-examine work, especially when it involves core wireless networking functions, no matter how confident I feel.



118/4 2026/03/27 21:03 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/wireless/virtual/mac80211_hwsim.c IncludeLines:true Name:mac80211_hwsim_tx]

Results:
map[SourceCode:1958:	static void mac80211_hwsim_tx(struct ieee80211_hw *hw,
1959:				      struct ieee80211_tx_control *control,
1960:				      struct sk_buff *skb)
1961:	{
1962:		struct mac80211_hwsim_data *data = hw->priv;
1963:		struct ieee80211_tx_info *txi = IEEE80211_SKB_CB(skb);
1964:		struct ieee80211_hdr *hdr = (void *)skb->data;
1965:		struct ieee80211_chanctx_conf *chanctx_conf;
1966:		struct ieee80211_channel *channel;
1967:		struct ieee80211_vif *vif = txi->control.vif;
1968:		bool ack;
1969:		enum nl80211_chan_width confbw = NL80211_CHAN_WIDTH_20_NOHT;
1970:		u32 _portid, i;
1971:	
1972:		if (WARN_ON(skb->len < 10)) {
1973:			/* Should not happen; just a sanity check for addr1 use */
1974:			ieee80211_free_txskb(hw, skb);
1975:			return;
1976:		}
1977:	
1978:		if (vif && vif->type == NL80211_IFTYPE_NAN && !data->tmp_chan) {
1979:			/* For NAN Device simulation purposes, assume that NAN is always
1980:			 * on channel 6 or channel 149, unless a ROC is in progress (for
1981:			 * USD use cases).
1982:			 */
1983:			if (data->nan_curr_dw_band == NL80211_BAND_2GHZ)
1984:				channel = ieee80211_get_channel(hw->wiphy, 2437);
1985:			else if (data->nan_curr_dw_band == NL80211_BAND_5GHZ)
1986:				channel = ieee80211_get_channel(hw->wiphy, 5745);
1987:			else
1988:				channel = NULL;
1989:	
1990:			if (WARN_ON(!channel)) {
1991:				ieee80211_free_txskb(hw, skb);
1992:				return;
1993:			}
1994:		} else if (!data->use_chanctx) {
1995:			channel = data->channel;
1996:			confbw = data->bw;
1997:		} else if (txi->hw_queue == 4) {
1998:			channel = data->tmp_chan;
1999:		} else {
2000:			u8 link = u32_get_bits(IEEE80211_SKB_CB(skb)->control.flags,
2001:					       IEEE80211_TX_CTRL_MLO_LINK);
2002:			struct ieee80211_link_sta *link_sta = NULL;
2003:			struct ieee80211_sta *sta = control->sta;
2004:			struct ieee80211_bss_conf *bss_conf;
2005:	
2006:			/* This can happen in case of monitor injection */
2007:			if (!vif) {
2008:				ieee80211_free_txskb(hw, skb);
2009:				return;
2010:			}
2011:	
2012:			if (link != IEEE80211_LINK_UNSPECIFIED) {
2013:				bss_conf = rcu_dereference(vif->link_conf[link]);
2014:				if (sta)
2015:					link_sta = rcu_dereference(sta->link[link]);
2016:			} else {
2017:				bss_conf = mac80211_hwsim_select_tx_link(data, vif, sta,
2018:									 hdr, &link_sta);
2019:			}
2020:	
2021:			if (unlikely(!bss_conf)) {
2022:				/* if it's an MLO STA, it might have deactivated all
2023:				 * links temporarily - but we don't handle real PS in
2024:				 * this code yet, so just drop the frame in that case
2025:				 */
2026:				WARN(link != IEEE80211_LINK_UNSPECIFIED || !sta || !sta->mlo,
2027:				     "link:%d, sta:%pM, sta->mlo:%d\n",
2028:				     link, sta ? sta->addr : NULL, sta ? sta->mlo : -1);
2029:				ieee80211_free_txskb(hw, skb);
2030:				return;
2031:			}
2032:	
2033:			/* Do address translations only between shared links. It is
2034:			 * possible that while an non-AP MLD station and an AP MLD
2035:			 * station have shared links, the frame is intended to be sent
2036:			 * on a link which is not shared (for example when sending a
2037:			 * probe response).
2038:			 */
2039:			if (sta && sta->mlo && link_sta) {
2040:				/* address translation to link addresses on TX */
2041:				ether_addr_copy(hdr->addr1, link_sta->addr);
2042:				ether_addr_copy(hdr->addr2, bss_conf->addr);
2043:				/* translate A3 only if it's the BSSID */
2044:				if (!ieee80211_has_tods(hdr->frame_control) &&
2045:				    !ieee80211_has_fromds(hdr->frame_control)) {
2046:					if (ether_addr_equal(hdr->addr3, sta->addr))
2047:						ether_addr_copy(hdr->addr3, link_sta->addr);
2048:					else if (ether_addr_equal(hdr->addr3, vif->addr))
2049:						ether_addr_copy(hdr->addr3, bss_conf->addr);
2050:				}
2051:				/* no need to look at A4, if present it's SA */
2052:			}
2053:	
2054:			chanctx_conf = rcu_dereference(bss_conf->chanctx_conf);
2055:			if (chanctx_conf) {
2056:				channel = chanctx_conf->def.chan;
2057:				confbw = chanctx_conf->def.width;
2058:			} else {
2059:				channel = NULL;
2060:			}
2061:		}
2062:	
2063:		if (WARN(!channel, "TX w/o channel - queue = %d\n", txi->hw_queue)) {
2064:			ieee80211_free_txskb(hw, skb);
2065:			return;
2066:		}
2067:	
2068:		if (data->idle && !data->tmp_chan) {
2069:			wiphy_dbg(hw->wiphy, "Trying to TX when idle - reject\n");
2070:			ieee80211_free_txskb(hw, skb);
2071:			return;
2072:		}
2073:	
2074:		if (vif)
2075:			hwsim_check_magic(vif);
2076:		if (control->sta)
2077:			hwsim_check_sta_magic(control->sta);
2078:	
2079:		if (ieee80211_hw_check(hw, SUPPORTS_RC_TABLE))
2080:			ieee80211_get_tx_rates(vif, control->sta, skb,
2081:					       txi->control.rates,
2082:					       ARRAY_SIZE(txi->control.rates));
2083:	
2084:		for (i = 0; i < ARRAY_SIZE(txi->control.rates); i++) {
2085:			u16 rflags = txi->control.rates[i].flags;
2086:			/* initialize to data->bw for 5/10 MHz handling */
2087:			enum nl80211_chan_width bw = data->bw;
2088:	
2089:			if (txi->control.rates[i].idx == -1)
2090:				break;
2091:	
2092:			if (rflags & IEEE80211_TX_RC_40_MHZ_WIDTH)
2093:				bw = NL80211_CHAN_WIDTH_40;
2094:			else if (rflags & IEEE80211_TX_RC_80_MHZ_WIDTH)
2095:				bw = NL80211_CHAN_WIDTH_80;
2096:			else if (rflags & IEEE80211_TX_RC_160_MHZ_WIDTH)
2097:				bw = NL80211_CHAN_WIDTH_160;
2098:	
2099:			if (WARN_ON(hwsim_get_chanwidth(bw) > hwsim_get_chanwidth(confbw)))
2100:				return;
2101:		}
2102:	
2103:		if (skb->len >= 24 + 8 &&
2104:		    ieee80211_is_probe_resp(hdr->frame_control)) {
2105:			/* fake header transmission time */
2106:			struct ieee80211_mgmt *mgmt;
2107:			struct ieee80211_rate *txrate;
2108:			/* TODO: get MCS */
2109:			int bitrate = 100;
2110:			u64 ts;
2111:	
2112:			mgmt = (struct ieee80211_mgmt *)skb->data;
2113:			txrate = ieee80211_get_tx_rate(hw, txi);
2114:			if (txrate)
2115:				bitrate = txrate->bitrate;
2116:			ts = mac80211_hwsim_get_tsf_raw();
2117:			mgmt->u.probe_resp.timestamp =
2118:				cpu_to_le64(ts + data->tsf_offset +
2119:					    24 * 8 * 10 / bitrate);
2120:		}
2121:	
2122:		mac80211_hwsim_monitor_rx(hw, skb, channel);
2123:	
2124:		/* wmediumd mode check */
2125:		_portid = READ_ONCE(data->wmediumd);
2126:	
2127:		if (_portid || hwsim_virtio_enabled)
2128:			return mac80211_hwsim_tx_frame_nl(hw, skb, _portid, channel);
2129:	
2130:		/* NO wmediumd detected, perfect medium simulation */
2131:		data->tx_pkts++;
2132:		data->tx_bytes += skb->len;
2133:		ack = mac80211_hwsim_tx_frame_no_nl(hw, skb, channel);
2134:	
2135:		if (ack && skb->len >= 16)
2136:			mac80211_hwsim_monitor_ack(channel, hdr->addr2);
2137:	
2138:		ieee80211_tx_info_clear_status(txi);
2139:	
2140:		/* frame was transmitted at most favorable rate at first attempt */
2141:		txi->control.rates[0].count = 1;
2142:		txi->control.rates[1].idx = -1;
2143:	
2144:		if (!(txi->flags & IEEE80211_TX_CTL_NO_ACK) && ack)
2145:			txi->flags |= IEEE80211_TX_STAT_ACK;
2146:		ieee80211_tx_status_irqsafe(hw, skb);
2147:	}
 SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c]

119/4 2026/03/27 21:03 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 23623
							output: 65
							thoughts: 212
						

Thoughts:
**Checking for Bandwidth Usage Consistency in mac80211_hwsim**

Okay, so I just confirmed successful edits to `mac80211_hwsim_tx` and `mac80211_hwsim_sta_rc_update`. Now, I need to methodically ensure that I haven't introduced any new issues related to `data->bw` usage. This is where things can get tricky if I'm not careful.

Let's start by revisiting `mac80211_hwsim_tx` and confirm my previous assessment:

```c
	} else if (!data->use_chanctx) {
		channel = data->channel;
		confbw = data->bw;
	} else if (txi->hw_queue == 4) {
```

Yup, that checks out. The bandwidth (`data->bw`) is correctly assigned when we're *not* using a channel context. Moving on to `mac80211_hwsim_sta_rc_update`:

```c
		if (!data->use_chanctx) {
			confbw = data->bw;
		} else {
```

That's also correct. Bandwidth (`data->bw`) is correctly assigned in the absence of a channel context here as well. I'm satisfied with the edits in these two functions. Now, let's turn our attention to `mac80211_hwsim_tx_frame_no_nl`. Let's dig in.



120/4 2026/03/27 21:03 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/wireless/virtual/mac80211_hwsim.c IncludeLines:true Name:mac80211_hwsim_tx_frame_no_nl]

Results:
map[SourceCode:1774:	static bool mac80211_hwsim_tx_frame_no_nl(struct ieee80211_hw *hw,
1775:						  struct sk_buff *skb,
1776:						  struct ieee80211_channel *chan)
1777:	{
1778:		struct mac80211_hwsim_data *data = hw->priv, *data2;
1779:		bool ack = false;
1780:		struct ieee80211_hdr *hdr = (struct ieee80211_hdr *) skb->data;
1781:		struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
1782:		struct ieee80211_rx_status rx_status;
1783:		u64 now;
1784:	
1785:		memset(&rx_status, 0, sizeof(rx_status));
1786:		rx_status.flag |= RX_FLAG_MACTIME_START;
1787:		rx_status.freq = chan->center_freq;
1788:		rx_status.freq_offset = chan->freq_offset ? 1 : 0;
1789:		rx_status.band = chan->band;
1790:		if (info->control.rates[0].flags & IEEE80211_TX_RC_VHT_MCS) {
1791:			rx_status.rate_idx =
1792:				ieee80211_rate_get_vht_mcs(&info->control.rates[0]);
1793:			rx_status.nss =
1794:				ieee80211_rate_get_vht_nss(&info->control.rates[0]);
1795:			rx_status.encoding = RX_ENC_VHT;
1796:		} else {
1797:			rx_status.rate_idx = info->control.rates[0].idx;
1798:			if (info->control.rates[0].flags & IEEE80211_TX_RC_MCS)
1799:				rx_status.encoding = RX_ENC_HT;
1800:		}
1801:		if (info->control.rates[0].flags & IEEE80211_TX_RC_40_MHZ_WIDTH)
1802:			rx_status.bw = RATE_INFO_BW_40;
1803:		else if (info->control.rates[0].flags & IEEE80211_TX_RC_80_MHZ_WIDTH)
1804:			rx_status.bw = RATE_INFO_BW_80;
1805:		else if (info->control.rates[0].flags & IEEE80211_TX_RC_160_MHZ_WIDTH)
1806:			rx_status.bw = RATE_INFO_BW_160;
1807:		else
1808:			rx_status.bw = RATE_INFO_BW_20;
1809:		if (info->control.rates[0].flags & IEEE80211_TX_RC_SHORT_GI)
1810:			rx_status.enc_flags |= RX_ENC_FLAG_SHORT_GI;
1811:		/* TODO: simulate optional packet loss */
1812:		rx_status.signal = data->rx_rssi;
1813:		if (info->control.vif)
1814:			rx_status.signal += info->control.vif->bss_conf.txpower;
1815:	
1816:		if (data->ps != PS_DISABLED)
1817:			hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_PM);
1818:	
1819:		/* release the skb's source info */
1820:		skb_orphan(skb);
1821:		skb_dst_drop(skb);
1822:		skb->mark = 0;
1823:		skb_ext_reset(skb);
1824:		nf_reset_ct(skb);
1825:	
1826:		/*
1827:		 * Get absolute mactime here so all HWs RX at the "same time", and
1828:		 * absolute TX time for beacon mactime so the timestamp matches.
1829:		 * Giving beacons a different mactime than non-beacons looks messy, but
1830:		 * it helps the Toffset be exact and a ~10us mactime discrepancy
1831:		 * probably doesn't really matter.
1832:		 */
1833:		if (ieee80211_is_beacon(hdr->frame_control) ||
1834:		    ieee80211_is_probe_resp(hdr->frame_control)) {
1835:			rx_status.boottime_ns = ktime_get_boottime_ns();
1836:			now = data->abs_bcn_ts;
1837:		} else {
1838:			now = mac80211_hwsim_get_tsf_raw();
1839:		}
1840:	
1841:		/* Copy skb to all enabled radios that are on the current frequency */
1842:		spin_lock(&hwsim_radio_lock);
1843:		list_for_each_entry(data2, &hwsim_radios, list) {
1844:			struct sk_buff *nskb;
1845:			struct tx_iter_data tx_iter_data = {
1846:				.receive = false,
1847:				.channel = chan,
1848:			};
1849:	
1850:			if (data == data2)
1851:				continue;
1852:	
1853:			if (!data2->started || (data2->idle && !data2->tmp_chan) ||
1854:			    !hwsim_ps_rx_ok(data2, skb))
1855:				continue;
1856:	
1857:			if (!(data->group & data2->group))
1858:				continue;
1859:	
1860:			if (data->netgroup != data2->netgroup)
1861:				continue;
1862:	
1863:			if (!hwsim_chans_compat(chan, data2->tmp_chan) &&
1864:			    !hwsim_chans_compat(chan, data2->channel)) {
1865:				ieee80211_iterate_active_interfaces_atomic(
1866:					data2->hw, IEEE80211_IFACE_ITER_NORMAL,
1867:					mac80211_hwsim_tx_iter, &tx_iter_data);
1868:				if (!tx_iter_data.receive)
1869:					continue;
1870:			}
1871:	
1872:			/*
1873:			 * reserve some space for our vendor and the normal
1874:			 * radiotap header, since we're copying anyway
1875:			 */
1876:			if (skb->len < PAGE_SIZE && paged_rx) {
1877:				struct page *page = alloc_page(GFP_ATOMIC);
1878:	
1879:				if (!page)
1880:					continue;
1881:	
1882:				nskb = dev_alloc_skb(128);
1883:				if (!nskb) {
1884:					__free_page(page);
1885:					continue;
1886:				}
1887:	
1888:				memcpy(page_address(page), skb->data, skb->len);
1889:				skb_add_rx_frag(nskb, 0, page, 0, skb->len, skb->len);
1890:			} else {
1891:				nskb = skb_copy(skb, GFP_ATOMIC);
1892:				if (!nskb)
1893:					continue;
1894:			}
1895:	
1896:			if (mac80211_hwsim_addr_match(data2, hdr->addr1))
1897:				ack = true;
1898:	
1899:			rx_status.mactime = now + data2->tsf_offset;
1900:	
1901:			mac80211_hwsim_rx(data2, &rx_status, nskb);
1902:		}
1903:		spin_unlock(&hwsim_radio_lock);
1904:	
1905:		return ack;
1906:	}
 SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c]

121/4 2026/03/27 21:03 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 26649
							output: 63
							thoughts: 249
						

Thoughts:
**Analyzing Bandwidth Determination in mac80211_hwsim**

Okay, so I'm looking at how bandwidth is determined in the `mac80211_hwsim` module, specifically within the `mac80211_hwsim_tx_frame_no_nl` function. From what I see here, it's pretty straightforward. It's using the flags within `info->control.rates[0]` to check for the bandwidth width. If the `IEEE80211_TX_RC_40_MHZ_WIDTH` flag is set, the bandwidth is set to `RATE_INFO_BW_40`. Similarly, for 80 MHz and 160 MHz. If none of these flags are present, it defaults to `RATE_INFO_BW_20`. Which is correct, especially for any legacy 20MHz or lower frame. No obvious issues here. Now, let me move on and check how the bandwidth determination is handled in the `mac80211_hwsim_tx_frame_nl` function. I wonder if it employs the same logic or has a different approach.



122/4 2026/03/27 21:03 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/wireless/virtual/mac80211_hwsim.c IncludeLines:true Name:mac80211_hwsim_tx_frame_nl]

Results:
map[SourceCode:1525:	static void mac80211_hwsim_tx_frame_nl(struct ieee80211_hw *hw,
1526:					       struct sk_buff *my_skb,
1527:					       int dst_portid,
1528:					       struct ieee80211_channel *channel)
1529:	{
1530:		struct sk_buff *skb;
1531:		struct mac80211_hwsim_data *data = hw->priv;
1532:		struct ieee80211_hdr *hdr = (struct ieee80211_hdr *) my_skb->data;
1533:		struct ieee80211_tx_info *info = IEEE80211_SKB_CB(my_skb);
1534:		void *msg_head;
1535:		unsigned int hwsim_flags = 0;
1536:		int i;
1537:		struct hwsim_tx_rate tx_attempts[IEEE80211_TX_MAX_RATES];
1538:		struct hwsim_tx_rate_flag tx_attempts_flags[IEEE80211_TX_MAX_RATES];
1539:		uintptr_t cookie;
1540:	
1541:		if (data->ps != PS_DISABLED)
1542:			hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_PM);
1543:		/* If the queue contains MAX_QUEUE skb's drop some */
1544:		if (skb_queue_len(&data->pending) >= MAX_QUEUE) {
1545:			/* Dropping until WARN_QUEUE level */
1546:			while (skb_queue_len(&data->pending) >= WARN_QUEUE) {
1547:				ieee80211_free_txskb(hw, skb_dequeue(&data->pending));
1548:				data->tx_dropped++;
1549:			}
1550:		}
1551:	
1552:		skb = genlmsg_new(GENLMSG_DEFAULT_SIZE, GFP_ATOMIC);
1553:		if (skb == NULL)
1554:			goto nla_put_failure;
1555:	
1556:		msg_head = genlmsg_put(skb, 0, 0, &hwsim_genl_family, 0,
1557:				       HWSIM_CMD_FRAME);
1558:		if (msg_head == NULL) {
1559:			pr_debug("mac80211_hwsim: problem with msg_head\n");
1560:			goto nla_put_failure;
1561:		}
1562:	
1563:		if (nla_put(skb, HWSIM_ATTR_ADDR_TRANSMITTER,
1564:			    ETH_ALEN, data->addresses[1].addr))
1565:			goto nla_put_failure;
1566:	
1567:		/* We get the skb->data */
1568:		if (nla_put(skb, HWSIM_ATTR_FRAME, my_skb->len, my_skb->data))
1569:			goto nla_put_failure;
1570:	
1571:		/* We get the flags for this transmission, and we translate them to
1572:		   wmediumd flags  */
1573:	
1574:		if (info->flags & IEEE80211_TX_CTL_REQ_TX_STATUS)
1575:			hwsim_flags |= HWSIM_TX_CTL_REQ_TX_STATUS;
1576:	
1577:		if (info->flags & IEEE80211_TX_CTL_NO_ACK)
1578:			hwsim_flags |= HWSIM_TX_CTL_NO_ACK;
1579:	
1580:		if (nla_put_u32(skb, HWSIM_ATTR_FLAGS, hwsim_flags))
1581:			goto nla_put_failure;
1582:	
1583:		if (nla_put_u32(skb, HWSIM_ATTR_FREQ, channel->center_freq))
1584:			goto nla_put_failure;
1585:	
1586:		/* We get the tx control (rate and retries) info*/
1587:	
1588:		for (i = 0; i < IEEE80211_TX_MAX_RATES; i++) {
1589:			tx_attempts[i].idx = info->status.rates[i].idx;
1590:			tx_attempts_flags[i].idx = info->status.rates[i].idx;
1591:			tx_attempts[i].count = info->status.rates[i].count;
1592:			tx_attempts_flags[i].flags =
1593:					trans_tx_rate_flags_ieee2hwsim(
1594:							&info->status.rates[i]);
1595:		}
1596:	
1597:		if (nla_put(skb, HWSIM_ATTR_TX_INFO,
1598:			    sizeof(struct hwsim_tx_rate)*IEEE80211_TX_MAX_RATES,
1599:			    tx_attempts))
1600:			goto nla_put_failure;
1601:	
1602:		if (nla_put(skb, HWSIM_ATTR_TX_INFO_FLAGS,
1603:			    sizeof(struct hwsim_tx_rate_flag) * IEEE80211_TX_MAX_RATES,
1604:			    tx_attempts_flags))
1605:			goto nla_put_failure;
1606:	
1607:		/* We create a cookie to identify this skb */
1608:		cookie = atomic_inc_return(&data->pending_cookie);
1609:		info->rate_driver_data[0] = (void *)cookie;
1610:		if (nla_put_u64_64bit(skb, HWSIM_ATTR_COOKIE, cookie, HWSIM_ATTR_PAD))
1611:			goto nla_put_failure;
1612:	
1613:		genlmsg_end(skb, msg_head);
1614:	
1615:		if (hwsim_virtio_enabled) {
1616:			if (hwsim_tx_virtio(data, skb))
1617:				goto err_free_txskb;
1618:		} else {
1619:			if (hwsim_unicast_netgroup(data, skb, dst_portid))
1620:				goto err_free_txskb;
1621:		}
1622:	
1623:		/* Enqueue the packet */
1624:		skb_queue_tail(&data->pending, my_skb);
1625:		data->tx_pkts++;
1626:		data->tx_bytes += my_skb->len;
1627:		return;
1628:	
1629:	nla_put_failure:
1630:		nlmsg_free(skb);
1631:	err_free_txskb:
1632:		pr_debug("mac80211_hwsim: error occurred in %s\n", __func__);
1633:		ieee80211_free_txskb(hw, my_skb);
1634:		data->tx_failed++;
1635:	}
 SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c]

123/4 2026/03/27 21:03 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 29319
							output: 59
							thoughts: 28
						

Thoughts:
Okay, here's my interpretation of those thoughts, presented as a personal thought process, as requested:

**Assessing a Code Snippet**

Hmm, this code snippet... it doesn't appear to be touching or referencing the `data->bw` variable. That's a bit odd, I would have expected to see it used somewhere, especially given the context I'm in. Let me quickly check the configuration structure related to this part of the code. Let's dig into `mac80211_hwsim_config` and see if there's anything relevant in there that might explain why `data->bw` isn't being used, or if its absence signifies something significant. It’s possible it’s implicitly handled, or maybe a potential bug is lurking… time to investigate.



124/4 2026/03/27 21:03 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/wireless/virtual/mac80211_hwsim.c IncludeLines:true Name:mac80211_hwsim_config]

Results:
map[SourceCode:2426:	static int mac80211_hwsim_config(struct ieee80211_hw *hw, int radio_idx,
2427:					 u32 changed)
2428:	{
2429:		struct mac80211_hwsim_data *data = hw->priv;
2430:		struct ieee80211_conf *conf = &hw->conf;
2431:		static const char *smps_modes[IEEE80211_SMPS_NUM_MODES] = {
2432:			[IEEE80211_SMPS_AUTOMATIC] = "auto",
2433:			[IEEE80211_SMPS_OFF] = "off",
2434:			[IEEE80211_SMPS_STATIC] = "static",
2435:			[IEEE80211_SMPS_DYNAMIC] = "dynamic",
2436:		};
2437:		int idx;
2438:	
2439:		if (conf->chandef.chan)
2440:			wiphy_dbg(hw->wiphy,
2441:				  "%s (freq=%d(%d - %d)/%s idle=%d ps=%d smps=%s)\n",
2442:				  __func__,
2443:				  conf->chandef.chan->center_freq,
2444:				  conf->chandef.center_freq1,
2445:				  conf->chandef.center_freq2,
2446:				  hwsim_chanwidths[conf->chandef.width],
2447:				  !!(conf->flags & IEEE80211_CONF_IDLE),
2448:				  !!(conf->flags & IEEE80211_CONF_PS),
2449:				  smps_modes[conf->smps_mode]);
2450:		else
2451:			wiphy_dbg(hw->wiphy,
2452:				  "%s (freq=0 idle=%d ps=%d smps=%s)\n",
2453:				  __func__,
2454:				  !!(conf->flags & IEEE80211_CONF_IDLE),
2455:				  !!(conf->flags & IEEE80211_CONF_PS),
2456:				  smps_modes[conf->smps_mode]);
2457:	
2458:		data->idle = !!(conf->flags & IEEE80211_CONF_IDLE);
2459:	
2460:		WARN_ON(conf->chandef.chan && data->use_chanctx);
2461:	
2462:		mutex_lock(&data->mutex);
2463:		if (data->scanning && conf->chandef.chan) {
2464:			for (idx = 0; idx < ARRAY_SIZE(data->survey_data); idx++) {
2465:				if (data->survey_data[idx].channel == data->channel) {
2466:					data->survey_data[idx].start =
2467:						data->survey_data[idx].next_start;
2468:					data->survey_data[idx].end = jiffies;
2469:					break;
2470:				}
2471:			}
2472:	
2473:			data->channel = conf->chandef.chan;
2474:			data->bw = conf->chandef.width;
2475:	
2476:			for (idx = 0; idx < ARRAY_SIZE(data->survey_data); idx++) {
2477:				if (data->survey_data[idx].channel &&
2478:				    data->survey_data[idx].channel != data->channel)
2479:					continue;
2480:				data->survey_data[idx].channel = data->channel;
2481:				data->survey_data[idx].next_start = jiffies;
2482:				break;
2483:			}
2484:		} else {
2485:			data->channel = conf->chandef.chan;
2486:			data->bw = conf->chandef.width;
2487:		}
2488:		mutex_unlock(&data->mutex);
2489:	
2490:		for (idx = 0; idx < ARRAY_SIZE(data->link_data); idx++) {
2491:			struct mac80211_hwsim_link_data *link_data =
2492:				&data->link_data[idx];
2493:	
2494:			if (!data->started || !link_data->beacon_int) {
2495:				hrtimer_cancel(&link_data->beacon_timer);
2496:			} else if (!hrtimer_active(&link_data->beacon_timer)) {
2497:				u64 tsf = mac80211_hwsim_get_tsf(hw, NULL);
2498:				u32 bcn_int = link_data->beacon_int;
2499:				u64 until_tbtt = bcn_int - do_div(tsf, bcn_int);
2500:	
2501:				hrtimer_start(&link_data->beacon_timer,
2502:					      ns_to_ktime(until_tbtt * NSEC_PER_USEC),
2503:					      HRTIMER_MODE_REL_SOFT);
2504:			}
2505:		}
2506:	
2507:		return 0;
2508:	}
 SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c]

125/4 2026/03/27 21:03 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 31102
							output: 57
							thoughts: 329
						

Thoughts:
**Analyzing a Bandwidth Update**

Okay, so I'm looking at this line of code: `data->bw = conf->chandef.width;` Seems straightforward enough, just setting the bandwidth. But let's rewind and see the bigger picture of what's going on. I'm focusing on the changes made to `mac80211_hwsim_sta_rc_update`.

Right, this warning check is the one that triggered my review. The new code has:
```c
WARN(bw > hwsim_get_chanwidth(confbw) &&
     hwsim_get_chanwidth(confbw) >= 20,
     "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
     vif->addr, link_id, sta->addr, bw, link_sta->bandwidth,
     hwsim_get_chanwidth(confbw), confbw);
```

Hold on... I'm pretty sure the original code used something different! It was:
```c
WARN(bw > hwsim_get_chanwidth(confbw),
     "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
     vif->addr, link_id, sta->addr, bw, sta->deflink.bandwidth,
     hwsim_get_chanwidth(data->bw), data->bw);
```

Ah, I see it! I changed `sta->deflink.bandwidth` to `link_sta->bandwidth`. Now, the question is, why? Was there an issue? Or just a misunderstanding on my part? The potential problem, now that I think about it, is that `sta->deflink.bandwidth` is likely an enum. I need to make sure I'm not messing with the data type here. I need to go look at the definition of `sta->deflink.bandwidth` and make sure my change is valid, and hasn't introduced an error.



126/4 2026/03/27 21:04 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/wireless/virtual/mac80211_hwsim.c IncludeLines:true Name:ieee80211_sta]

Results:
map[SourceCode:2511:	/**
2512:	 * struct ieee80211_sta - station table entry
2513:	 *
2514:	 * A station table entry represents a station we are possibly
2515:	 * communicating with. Since stations are RCU-managed in
2516:	 * mac80211, any ieee80211_sta pointer you get access to must
2517:	 * either be protected by rcu_read_lock() explicitly or implicitly,
2518:	 * or you must take good care to not use such a pointer after a
2519:	 * call to your sta_remove callback that removed it.
2520:	 * This also represents the MLD STA in case of MLO association
2521:	 * and holds pointers to various link STA's
2522:	 *
2523:	 * @addr: MAC address
2524:	 * @aid: AID we assigned to the station if we're an AP
2525:	 * @max_rx_aggregation_subframes: maximal amount of frames in a single AMPDU
2526:	 *	that this station is allowed to transmit to us.
2527:	 *	Can be modified by driver.
2528:	 * @wme: indicates whether the STA supports QoS/WME (if local devices does,
2529:	 *	otherwise always false)
2530:	 * @drv_priv: data area for driver use, will always be aligned to
2531:	 *	sizeof(void \*), size is determined in hw information.
2532:	 * @uapsd_queues: bitmap of queues configured for uapsd. Only valid
2533:	 *	if wme is supported. The bits order is like in
2534:	 *	IEEE80211_WMM_IE_STA_QOSINFO_AC_*.
2535:	 * @max_sp: max Service Period. Only valid if wme is supported.
2536:	 * @rates: rate control selection table
2537:	 * @tdls: indicates whether the STA is a TDLS peer
2538:	 * @tdls_initiator: indicates the STA is an initiator of the TDLS link. Only
2539:	 *	valid if the STA is a TDLS peer in the first place.
2540:	 * @mfp: indicates whether the STA uses management frame protection or not.
2541:	 * @mlo: indicates whether the STA is MLO station.
2542:	 * @max_amsdu_subframes: indicates the maximal number of MSDUs in a single
2543:	 *	A-MSDU. Taken from the Extended Capabilities element. 0 means
2544:	 *	unlimited.
2545:	 * @eml_cap: EML capabilities of this MLO station
2546:	 * @cur: currently valid data as aggregated from the active links
2547:	 *	For non MLO STA it will point to the deflink data. For MLO STA
2548:	 *	ieee80211_sta_recalc_aggregates() must be called to update it.
2549:	 * @support_p2p_ps: indicates whether the STA supports P2P PS mechanism or not.
2550:	 * @txq: per-TID data TX queues; note that the last entry (%IEEE80211_NUM_TIDS)
2551:	 *	is used for non-data frames
2552:	 * @deflink: This holds the default link STA information, for non MLO STA all link
2553:	 *	specific STA information is accessed through @deflink or through
2554:	 *	link[0] which points to address of @deflink. For MLO Link STA
2555:	 *	the first added link STA will point to deflink.
2556:	 * @link: reference to Link Sta entries. For Non MLO STA, except 1st link,
2557:	 *	i.e link[0] all links would be assigned to NULL by default and
2558:	 *	would access link information via @deflink or link[0]. For MLO
2559:	 *	STA, first link STA being added will point its link pointer to
2560:	 *	@deflink address and remaining would be allocated and the address
2561:	 *	would be assigned to link[link_id] where link_id is the id assigned
2562:	 *	by the AP.
2563:	 * @valid_links: bitmap of valid links, or 0 for non-MLO
2564:	 * @spp_amsdu: indicates whether the STA uses SPP A-MSDU or not.
2565:	 * @epp_peer: indicates that the peer is an EPP peer.
2566:	 */
2567:	struct ieee80211_sta {
2568:		u8 addr[ETH_ALEN] __aligned(2);
2569:		u16 aid;
2570:		u16 max_rx_aggregation_subframes;
2571:		bool wme;
2572:		u8 uapsd_queues;
2573:		u8 max_sp;
2574:		struct ieee80211_sta_rates __rcu *rates;
2575:		bool tdls;
2576:		bool tdls_initiator;
2577:		bool mfp;
2578:		bool mlo;
2579:		bool spp_amsdu;
2580:		u8 max_amsdu_subframes;
2581:		u16 eml_cap;
2582:	
2583:		struct ieee80211_sta_aggregates *cur;
2584:	
2585:		bool support_p2p_ps;
2586:	
2587:		struct ieee80211_txq *txq[IEEE80211_NUM_TIDS + 1];
2588:	
2589:		u16 valid_links;
2590:		bool epp_peer;
2591:		struct ieee80211_link_sta deflink;
2592:		struct ieee80211_link_sta __rcu *link[IEEE80211_MLD_MAX_NUM_LINKS];
2593:	
2594:		/* must be last */
2595:		u8 drv_priv[] __aligned(sizeof(void *));
2596:	};
 SourceFile:include/net/mac80211.h]

127/4 2026/03/27 21:04 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 33678
							output: 20
							thoughts: 362
						

Thoughts:
**Analyzing Bandwidth Calculation in the Code**

Okay, so I'm looking at this code and it seems like there might be a subtle error in how the bandwidth is being reported. My initial thought was that `sta->deflink.bandwidth` is the bandwidth of the *default* link, but we are actually iterating through specific `link_id`s and using `link_sta = rcu_dereference(sta->link[link_id]);`. That raises a flag. Shouldn't we be using `link_sta->bandwidth` instead? That makes more sense, given we are in the context of a specific link.

Hold on, let's back up and verify the author's original intent. Examining the code snippet:

```c
		WARN(bw > hwsim_get_chanwidth(confbw),
		     "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
		     vif->addr, link_id, sta->addr, bw, sta->deflink.bandwidth,
		     hwsim_get_chanwidth(data->bw), data->bw);
```

...yes, the original code indeed used `sta->deflink.bandwidth`. However, the calculation of `bw` later is *derived* from `link_sta->bandwidth`:

```c
		switch (link_sta->bandwidth) {
#define C(_bw) case IEEE80211_STA_RX_BW_##_bw: bw = _bw; break
		C(20);
		C(40);
		C(80);
		C(160);
		C(320);
#undef C
		}
```

Okay, it's clear now. The calculation uses `link_sta->bandwidth`, so printing `link_sta->bandwidth` in the warning is the correct approach. The original use of `sta->deflink.bandwidth` seems like a potential bug. It's a mismatch between the variable used in deriving `bw` and that which is reported in the log. This is something that needs to be fixed.

Now, let's broaden the search a little. I need to scan the codebase for any other instances where `sta->deflink.bandwidth` might be used incorrectly. I need to make sure this isn't a systemic issue.



128/4 2026/03/27 21:04 tool grepper
0m Args:
map[Expression:sta->deflink.bandwidth]

Results:
map[Output:drivers/net/wireless/ath/ath10k/mac.c=2325=static void ath10k_peer_assoc_h_ht(struct ath10k *ar,
--
drivers/net/wireless/ath/ath10k/mac.c-2368-
drivers/net/wireless/ath/ath10k/mac.c:2369:	if (sta->deflink.bandwidth >= IEEE80211_STA_RX_BW_40) {
drivers/net/wireless/ath/ath10k/mac.c-2370-		arg->peer_flags |= ar->wmi.peer_flags->bw40;
--
drivers/net/wireless/ath/ath10k/mac.c=2575=static void ath10k_peer_assoc_h_vht(struct ath10k *ar,
--
drivers/net/wireless/ath/ath10k/mac.c-2621-
drivers/net/wireless/ath/ath10k/mac.c:2622:	if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_80)
drivers/net/wireless/ath/ath10k/mac.c-2623-		arg->peer_flags |= ar->wmi.peer_flags->bw80;
drivers/net/wireless/ath/ath10k/mac.c-2624-
drivers/net/wireless/ath/ath10k/mac.c:2625:	if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_160)
drivers/net/wireless/ath/ath10k/mac.c-2626-		arg->peer_flags |= ar->wmi.peer_flags->bw160;
--
drivers/net/wireless/ath/ath10k/mac.c=2723=static enum wmi_phy_mode ath10k_mac_get_phymode_vht(struct ath10k *ar,
--
drivers/net/wireless/ath/ath10k/mac.c-2727-
drivers/net/wireless/ath/ath10k/mac.c:2728:	if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_160) {
drivers/net/wireless/ath/ath10k/mac.c-2729-		switch (vht_cap->cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK) {
--
drivers/net/wireless/ath/ath10k/mac.c-2739-
drivers/net/wireless/ath/ath10k/mac.c:2740:	if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_80)
drivers/net/wireless/ath/ath10k/mac.c-2741-		return MODE_11AC_VHT80;
drivers/net/wireless/ath/ath10k/mac.c-2742-
drivers/net/wireless/ath/ath10k/mac.c:2743:	if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_40)
drivers/net/wireless/ath/ath10k/mac.c-2744-		return MODE_11AC_VHT40;
drivers/net/wireless/ath/ath10k/mac.c-2745-
drivers/net/wireless/ath/ath10k/mac.c:2746:	if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_20)
drivers/net/wireless/ath/ath10k/mac.c-2747-		return MODE_11AC_VHT20;
--
drivers/net/wireless/ath/ath10k/mac.c=2752=static void ath10k_peer_assoc_h_phymode(struct ath10k *ar,
--
drivers/net/wireless/ath/ath10k/mac.c-2774-		    !ath10k_peer_assoc_h_vht_masked(vht_mcs_mask)) {
drivers/net/wireless/ath/ath10k/mac.c:2775:			if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_40)
drivers/net/wireless/ath/ath10k/mac.c-2776-				phymode = MODE_11AC_VHT40;
--
drivers/net/wireless/ath/ath10k/mac.c-2780-			   !ath10k_peer_assoc_h_ht_masked(ht_mcs_mask)) {
drivers/net/wireless/ath/ath10k/mac.c:2781:			if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_40)
drivers/net/wireless/ath/ath10k/mac.c-2782-				phymode = MODE_11NG_HT40;
--
drivers/net/wireless/ath/ath10k/mac.c-2800-			   !ath10k_peer_assoc_h_ht_masked(ht_mcs_mask)) {
drivers/net/wireless/ath/ath10k/mac.c:2801:			if (sta->deflink.bandwidth >= IEEE80211_STA_RX_BW_40)
drivers/net/wireless/ath/ath10k/mac.c-2802-				phymode = MODE_11NA_HT40;
--
drivers/net/wireless/ath/ath10k/mac.c=8557=static void ath10k_sta_rc_update(struct ieee80211_hw *hw,
--
drivers/net/wireless/ath/ath10k/mac.c-8580-		   "mac sta rc update for %pM changed %08x bw %d nss %d smps %d\n",
drivers/net/wireless/ath/ath10k/mac.c:8581:		   sta->addr, changed, sta->deflink.bandwidth,
drivers/net/wireless/ath/ath10k/mac.c-8582-		   sta->deflink.rx_nss,
--
drivers/net/wireless/ath/ath10k/mac.c-8587-
drivers/net/wireless/ath/ath10k/mac.c:8588:		switch (sta->deflink.bandwidth) {
drivers/net/wireless/ath/ath10k/mac.c-8589-		case IEEE80211_STA_RX_BW_20:
--
drivers/net/wireless/ath/ath10k/mac.c-8602-			ath10k_warn(ar, "Invalid bandwidth %d in rc update for %pM\n",
drivers/net/wireless/ath/ath10k/mac.c:8603:				    sta->deflink.bandwidth, sta->addr);
drivers/net/wireless/ath/ath10k/mac.c-8604-			bw = WMI_PEER_CHWIDTH_20MHZ;
--
drivers/net/wireless/ath/ath11k/mac.c=1952=static void ath11k_peer_assoc_h_ht(struct ath11k *ar,
--
drivers/net/wireless/ath/ath11k/mac.c-1993-
drivers/net/wireless/ath/ath11k/mac.c:1994:	if (sta->deflink.bandwidth >= IEEE80211_STA_RX_BW_40) {
drivers/net/wireless/ath/ath11k/mac.c-1995-		arg->bw_40 = true;
--
drivers/net/wireless/ath/ath11k/mac.c=2149=static void ath11k_peer_assoc_h_vht(struct ath11k *ar,
--
drivers/net/wireless/ath/ath11k/mac.c-2199-
drivers/net/wireless/ath/ath11k/mac.c:2200:	if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_80)
drivers/net/wireless/ath/ath11k/mac.c-2201-		arg->bw_80 = true;
drivers/net/wireless/ath/ath11k/mac.c-2202-
drivers/net/wireless/ath/ath11k/mac.c:2203:	if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_160)
drivers/net/wireless/ath/ath11k/mac.c-2204-		arg->bw_160 = true;
--
drivers/net/wireless/ath/ath11k/mac.c=2347=static void ath11k_peer_assoc_h_he(struct ath11k *ar,
--
drivers/net/wireless/ath/ath11k/mac.c-2509-
drivers/net/wireless/ath/ath11k/mac.c:2510:	switch (sta->deflink.bandwidth) {
drivers/net/wireless/ath/ath11k/mac.c-2511-	case IEEE80211_STA_RX_BW_160:
--
drivers/net/wireless/ath/ath11k/mac.c=2592=static void ath11k_peer_assoc_h_he_6ghz(struct ath11k *ar,
--
drivers/net/wireless/ath/ath11k/mac.c-2609-
drivers/net/wireless/ath/ath11k/mac.c:2610:	if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_40)
drivers/net/wireless/ath/ath11k/mac.c-2611-		arg->bw_40 = true;
drivers/net/wireless/ath/ath11k/mac.c-2612-
drivers/net/wireless/ath/ath11k/mac.c:2613:	if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_80)
drivers/net/wireless/ath/ath11k/mac.c-2614-		arg->bw_80 = true;
drivers/net/wireless/ath/ath11k/mac.c-2615-
drivers/net/wireless/ath/ath11k/mac.c:2616:	if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_160)
drivers/net/wireless/ath/ath11k/mac.c-2617-		arg->bw_160 = true;
--
drivers/net/wireless/ath/ath11k/mac.c=2783=static enum wmi_phy_mode ath11k_mac_get_phymode_vht(struct ath11k *ar,
--
drivers/net/wireless/ath/ath11k/mac.c-2785-{
drivers/net/wireless/ath/ath11k/mac.c:2786:	if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_160) {
drivers/net/wireless/ath/ath11k/mac.c-2787-		switch (sta->deflink.vht_cap.cap &
--
drivers/net/wireless/ath/ath11k/mac.c-2798-
drivers/net/wireless/ath/ath11k/mac.c:2799:	if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_80)
drivers/net/wireless/ath/ath11k/mac.c-2800-		return MODE_11AC_VHT80;
drivers/net/wireless/ath/ath11k/mac.c-2801-
drivers/net/wireless/ath/ath11k/mac.c:2802:	if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_40)
drivers/net/wireless/ath/ath11k/mac.c-2803-		return MODE_11AC_VHT40;
drivers/net/wireless/ath/ath11k/mac.c-2804-
drivers/net/wireless/ath/ath11k/mac.c:2805:	if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_20)
drivers/net/wireless/ath/ath11k/mac.c-2806-		return MODE_11AC_VHT20;
--
drivers/net/wireless/ath/ath11k/mac.c=2811=static enum wmi_phy_mode ath11k_mac_get_phymode_he(struct ath11k *ar,
--
drivers/net/wireless/ath/ath11k/mac.c-2813-{
drivers/net/wireless/ath/ath11k/mac.c:2814:	if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_160) {
drivers/net/wireless/ath/ath11k/mac.c-2815-		if (sta->deflink.he_cap.he_cap_elem.phy_cap_info[0] &
--
drivers/net/wireless/ath/ath11k/mac.c-2824-
drivers/net/wireless/ath/ath11k/mac.c:2825:	if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_80)
drivers/net/wireless/ath/ath11k/mac.c-2826-		return MODE_11AX_HE80;
drivers/net/wireless/ath/ath11k/mac.c-2827-
drivers/net/wireless/ath/ath11k/mac.c:2828:	if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_40)
drivers/net/wireless/ath/ath11k/mac.c-2829-		return MODE_11AX_HE40;
drivers/net/wireless/ath/ath11k/mac.c-2830-
drivers/net/wireless/ath/ath11k/mac.c:2831:	if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_20)
drivers/net/wireless/ath/ath11k/mac.c-2832-		return MODE_11AX_HE20;
--
drivers/net/wireless/ath/ath11k/mac.c=2837=static void ath11k_peer_assoc_h_phymode(struct ath11k *ar,
--
drivers/net/wireless/ath/ath11k/mac.c-2861-		    !ath11k_peer_assoc_h_he_masked(he_mcs_mask)) {
drivers/net/wireless/ath/ath11k/mac.c:2862:			if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_80)
drivers/net/wireless/ath/ath11k/mac.c-2863-				phymode = MODE_11AX_HE80_2G;
drivers/net/wireless/ath/ath11k/mac.c:2864:			else if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_40)
drivers/net/wireless/ath/ath11k/mac.c-2865-				phymode = MODE_11AX_HE40_2G;
--
drivers/net/wireless/ath/ath11k/mac.c-2869-			   !ath11k_peer_assoc_h_vht_masked(vht_mcs_mask)) {
drivers/net/wireless/ath/ath11k/mac.c:2870:			if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_40)
drivers/net/wireless/ath/ath11k/mac.c-2871-				phymode = MODE_11AC_VHT40;
--
drivers/net/wireless/ath/ath11k/mac.c-2875-			   !ath11k_peer_assoc_h_ht_masked(ht_mcs_mask)) {
drivers/net/wireless/ath/ath11k/mac.c:2876:			if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_40)
drivers/net/wireless/ath/ath11k/mac.c-2877-				phymode = MODE_11NG_HT40;
--
drivers/net/wireless/ath/ath11k/mac.c-2896-			   !ath11k_peer_assoc_h_ht_masked(ht_mcs_mask)) {
drivers/net/wireless/ath/ath11k/mac.c:2897:			if (sta->deflink.bandwidth >= IEEE80211_STA_RX_BW_40)
drivers/net/wireless/ath/ath11k/mac.c-2898-				phymode = MODE_11NA_HT40;
--
drivers/net/wireless/ath/ath11k/mac.c=5238=static u32 ath11k_mac_ieee80211_sta_bw_to_wmi(struct ath11k *ar,
--
drivers/net/wireless/ath/ath11k/mac.c-5242-
drivers/net/wireless/ath/ath11k/mac.c:5243:	switch (sta->deflink.bandwidth) {
drivers/net/wireless/ath/ath11k/mac.c-5244-	case IEEE80211_STA_RX_BW_20:
--
drivers/net/wireless/ath/ath11k/mac.c-5257-		ath11k_warn(ar->ab, "Invalid bandwidth %d for %pM\n",
drivers/net/wireless/ath/ath11k/mac.c:5258:			    sta->deflink.bandwidth, sta->addr);
drivers/net/wireless/ath/ath11k/mac.c-5259-		bw = WMI_PEER_CHWIDTH_20MHZ;
--
drivers/net/wireless/ath/ath11k/mac.c=5314=static void ath11k_mac_op_sta_rc_update(struct ieee80211_hw *hw,
--
drivers/net/wireless/ath/ath11k/mac.c-5339-		   "sta rc update for %pM changed %08x bw %d nss %d smps %d\n",
drivers/net/wireless/ath/ath11k/mac.c:5340:		   sta->addr, changed, sta->deflink.bandwidth,
drivers/net/wireless/ath/ath11k/mac.c-5341-		   sta->deflink.rx_nss,
--
drivers/net/wireless/intel/iwlwifi/dvm/sta.c=126=bool iwl_is_ht40_tx_allowed(struct iwl_priv *priv,
--
drivers/net/wireless/intel/iwlwifi/dvm/sta.c-141-
drivers/net/wireless/intel/iwlwifi/dvm/sta.c:142:	return sta->deflink.bandwidth >= IEEE80211_STA_RX_BW_40;
drivers/net/wireless/intel/iwlwifi/dvm/sta.c-143-}
--
drivers/net/wireless/intel/iwlwifi/mvm/rs.c=1372=static u32 rs_bw_from_sta_bw(struct ieee80211_sta *sta)
--
drivers/net/wireless/intel/iwlwifi/mvm/rs.c-1379-
drivers/net/wireless/intel/iwlwifi/mvm/rs.c:1380:	switch (sta->deflink.bandwidth) {
drivers/net/wireless/intel/iwlwifi/mvm/rs.c-1381-	case IEEE80211_STA_RX_BW_160:
--
drivers/net/wireless/intel/iwlwifi/mvm/rs.c=2488=static void rs_get_initial_rate(struct iwl_mvm *mvm,
--
drivers/net/wireless/intel/iwlwifi/mvm/rs.c-2571-			IWL_ERR(mvm, "Invalid BW %d\n",
drivers/net/wireless/intel/iwlwifi/mvm/rs.c:2572:				sta->deflink.bandwidth);
drivers/net/wireless/intel/iwlwifi/mvm/rs.c-2573-			goto out;
--
drivers/net/wireless/intel/iwlwifi/mvm/rs.c=2764=static void rs_vht_set_enabled_rates(struct ieee80211_sta *sta,
--
drivers/net/wireless/intel/iwlwifi/mvm/rs.c-2777-			if (i == IWL_RATE_MCS_9_INDEX &&
drivers/net/wireless/intel/iwlwifi/mvm/rs.c:2778:			    sta->deflink.bandwidth == IEEE80211_STA_RX_BW_20)
drivers/net/wireless/intel/iwlwifi/mvm/rs.c-2779-				continue;
--
drivers/net/wireless/intel/iwlwifi/mvm/rs.c-2795-			if (i == IWL_RATE_MCS_9_INDEX &&
drivers/net/wireless/intel/iwlwifi/mvm/rs.c:2796:			    sta->deflink.bandwidth == IEEE80211_STA_RX_BW_20)
drivers/net/wireless/intel/iwlwifi/mvm/rs.c-2797-				continue;
--
drivers/net/wireless/intel/iwlwifi/mvm/sta.c=128=int iwl_mvm_sta_send_to_fw(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
--
drivers/net/wireless/intel/iwlwifi/mvm/sta.c-161-
drivers/net/wireless/intel/iwlwifi/mvm/sta.c:162:	switch (sta->deflink.bandwidth) {
drivers/net/wireless/intel/iwlwifi/mvm/sta.c-163-	case IEEE80211_STA_RX_BW_320:
--
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c=624=mt76_connac_mcu_sta_he_tlv(struct sk_buff *skb, struct ieee80211_sta *sta)
--
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c-713-
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c:714:	switch (sta->deflink.bandwidth) {
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c-715-	case IEEE80211_STA_RX_BW_160:
--
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c=757=mt76_connac_mcu_sta_he_tlv_v2(struct sk_buff *skb, struct ieee80211_sta *sta)
--
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c-769-
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c:770:	switch (sta->deflink.bandwidth) {
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c-771-	case IEEE80211_STA_RX_BW_160:
--
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c=847=void mt76_connac_mcu_sta_tlv(struct mt76_phy *mphy, struct sk_buff *skb,
--
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c-941-	if (sta->deflink.vht_cap.vht_supported) {
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c:942:		state->vht_opmode = sta->deflink.bandwidth;
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c-943-		state->vht_opmode |= (sta->deflink.rx_nss - 1) <<
--
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c=58=mt7915_mcu_set_sta_he_mcs(struct ieee80211_sta *sta, __le16 *he_mcs,
--
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c-104-		if (is_mt7915(&dev->mt76) && nss > 1 &&
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:105:		    sta->deflink.bandwidth == IEEE80211_STA_RX_BW_160)
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c-106-			break;
--
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c=113=mt7915_mcu_set_sta_vht_mcs(struct ieee80211_sta *sta, __le16 *vht_mcs,
--
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c-140-		if (is_mt7915(&dev->mt76) && nss > 1 &&
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:141:		    sta->deflink.bandwidth == IEEE80211_STA_RX_BW_160)
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c-142-			break;
--
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c=767=mt7915_mcu_sta_he_tlv(struct sk_buff *skb, struct ieee80211_sta *sta,
--
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c-863-	mcs_map = sta->deflink.he_cap.he_mcs_nss_supp;
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:864:	switch (sta->deflink.bandwidth) {
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c-865-	case IEEE80211_STA_RX_BW_160:
--
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c=1143=mt7915_mcu_sta_bfer_vht(struct ieee80211_sta *sta, struct mt7915_phy *phy,
--
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c-1166-
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:1167:		if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_160)
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c-1168-			bf->nrow = 1;
--
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c-1173-
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:1174:		if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_160)
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c-1175-			bf->ibf_nrow = 1;
--
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c=1180=mt7915_mcu_sta_bfer_he(struct ieee80211_sta *sta, struct ieee80211_vif *vif,
--
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c-1207-
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:1208:	if (sta->deflink.bandwidth != IEEE80211_STA_RX_BW_160)
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c-1209-		return;
--
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c=1240=mt7915_mcu_sta_bfer_tlv(struct mt7915_dev *dev, struct sk_buff *skb,
--
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c-1279-	bf->bf_cap = ebf ? ebf : dev->ibf << 1;
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:1280:	bf->bw = sta->deflink.bandwidth;
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:1281:	bf->ibf_dbw = sta->deflink.bandwidth;
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c-1282-	bf->ibf_nrow = tx_ant;
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c-1283-
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:1284:	if (!ebf && sta->deflink.bandwidth <= IEEE80211_STA_RX_BW_40 && !bf->ncol)
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c-1285-		bf->ibf_timeout = 0x48;
--
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c-1293-
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:1294:	switch (sta->deflink.bandwidth) {
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c-1295-	case IEEE80211_STA_RX_BW_160:
--
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c=1450=mt7915_mcu_add_rate_ctrl_fixed(struct mt7915_dev *dev,
--
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c-1464-		gi = (_he) ? gi : gi == NL80211_TXRATE_FORCE_SGI;		\
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:1465:		for (i = 0; i <= sta->deflink.bandwidth; i++) {			\
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c-1466-			phy.sgi |= gi << (i << (_he));				\
--
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c=1540=mt7915_mcu_sta_rate_ctrl_tlv(struct sk_buff *skb, struct mt7915_dev *dev,
--
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c-1559-	ra->channel = chandef->chan->hw_value;
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:1560:	ra->bw = sta->deflink.bandwidth;
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:1561:	ra->phy.bw = sta->deflink.bandwidth;
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c-1562-	ra->mmps_mode = mt7915_mcu_get_mmps_mode(sta->deflink.smps_mode);
--
drivers/net/wireless/realtek/rtlwifi/rc.c=15=static u8 _rtl_rc_get_highest_rix(struct rtl_priv *rtlpriv,
--
drivers/net/wireless/realtek/rtlwifi/rc.c-68-			} else if (wireless_mode == WIRELESS_MODE_AC_24G) {
drivers/net/wireless/realtek/rtlwifi/rc.c:69:				if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_20) {
drivers/net/wireless/realtek/rtlwifi/rc.c-70-					ieee80211_rate_set_vht(&rate,
--
drivers/net/wireless/realtek/rtlwifi/rc.c-90-			} else if (wireless_mode == WIRELESS_MODE_AC_5G) {
drivers/net/wireless/realtek/rtlwifi/rc.c:91:				if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_20) {
drivers/net/wireless/realtek/rtlwifi/rc.c-92-					ieee80211_rate_set_vht(&rate,
--
drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c=342=void rtl92ce_tx_fill_desc(struct ieee80211_hw *hw,
--
drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c-380-		if (sta)
drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c:381:			bw_40 = sta->deflink.bandwidth >= IEEE80211_STA_RX_BW_40;
drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c-382-	}
--
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c=1893=static void rtl92cu_update_hal_rate_mask(struct ieee80211_hw *hw,
--
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c-1903-	u8 ratr_index;
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c:1904:	u8 curtxbw_40mhz = (sta->deflink.bandwidth >= IEEE80211_STA_RX_BW_40) ? 1 : 0;
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c-1905-	u8 curshortgi_40mhz = curtxbw_40mhz &&
--
drivers/net/wireless/realtek/rtlwifi/rtl8192d/hw_common.c=854=static void rtl92d_update_hal_rate_mask(struct ieee80211_hw *hw,
--
drivers/net/wireless/realtek/rtlwifi/rtl8192d/hw_common.c-873-
drivers/net/wireless/realtek/rtlwifi/rtl8192d/hw_common.c:874:	curtxbw_40mhz = sta->deflink.bandwidth >= IEEE80211_STA_RX_BW_40;
drivers/net/wireless/realtek/rtlwifi/rtl8192d/hw_common.c-875-	curshortgi_40mhz = !!(sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_40);
--
drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c=44=void rtl92de_tx_fill_desc(struct ieee80211_hw *hw,
--
drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c-73-		if (sta)
drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c:74:			bw_40 = sta->deflink.bandwidth >= IEEE80211_STA_RX_BW_40;
drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c-75-	}
--
drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c=2098=static void rtl92se_update_hal_rate_mask(struct ieee80211_hw *hw,
--
drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c-2108-	u8 ratr_index = 0;
drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c:2109:	u8 curtxbw_40mhz = (sta->deflink.bandwidth >= IEEE80211_STA_RX_BW_40) ? 1 : 0;
drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c-2110-	u8 curshortgi_40mhz = (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ?
--
drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c=312=void rtl92se_tx_fill_desc(struct ieee80211_hw *hw,
--
drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c-344-		if (sta)
drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c:345:			bw_40 = sta->deflink.bandwidth >= IEEE80211_STA_RX_BW_40;
drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c-346-	}
--
drivers/net/wireless/realtek/rtw88/main.c=1212=void rtw_update_sta_info(struct rtw_dev *rtwdev, struct rtw_sta_info *si,
--
drivers/net/wireless/realtek/rtw88/main.c-1292-
drivers/net/wireless/realtek/rtw88/main.c:1293:	switch (sta->deflink.bandwidth) {
drivers/net/wireless/realtek/rtw88/main.c-1294-	case IEEE80211_STA_RX_BW_80:
--
drivers/net/wireless/ti/wlcore/main.c=5766=static void wlcore_op_sta_rc_update(struct ieee80211_hw *hw,
--
drivers/net/wireless/ti/wlcore/main.c-5779-	/* this callback is atomic, so schedule a new work */
drivers/net/wireless/ti/wlcore/main.c:5780:	wlvif->rc_update_bw = sta->deflink.bandwidth;
drivers/net/wireless/ti/wlcore/main.c-5781-	memcpy(&wlvif->rc_ht_cap, &sta->deflink.ht_cap,
--
drivers/net/wireless/virtual/mac80211_hwsim.c=2646=mac80211_hwsim_sta_rc_update(struct ieee80211_hw *hw,
--
drivers/net/wireless/virtual/mac80211_hwsim.c-2694-		     "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
drivers/net/wireless/virtual/mac80211_hwsim.c:2695:		     vif->addr, link_id, sta->addr, bw, sta->deflink.bandwidth,
drivers/net/wireless/virtual/mac80211_hwsim.c-2696-		     hwsim_get_chanwidth(data->bw), data->bw);
--
net/mac80211/rc80211_minstrel_ht.c=1698=minstrel_ht_update_caps(void *priv, struct ieee80211_supported_band *sband,
--
net/mac80211/rc80211_minstrel_ht.c-1776-		if (gflags & IEEE80211_TX_RC_40_MHZ_WIDTH &&
net/mac80211/rc80211_minstrel_ht.c:1777:		    sta->deflink.bandwidth < IEEE80211_STA_RX_BW_40)
net/mac80211/rc80211_minstrel_ht.c-1778-			continue;
--
net/mac80211/rc80211_minstrel_ht.c-1801-		if (gflags & IEEE80211_TX_RC_80_MHZ_WIDTH) {
net/mac80211/rc80211_minstrel_ht.c:1802:			if (sta->deflink.bandwidth < IEEE80211_STA_RX_BW_80 ||
net/mac80211/rc80211_minstrel_ht.c-1803-			    ((gflags & IEEE80211_TX_RC_SHORT_GI) &&
]

129/4 2026/03/27 21:04 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 45667
							output: 29
							thoughts: 3717
						

Thoughts:
**Analysis of Proposed MAC80211 HWSim Bandwidth Fixes**

Okay, so I've been digging into these bandwidth-related warnings in the mac80211_hwsim code. The first thing I noticed was a potential false positive in `mac80211_hwsim_sta_rc_update`. The original code, as I saw it, used this `WARN` statement:

```c
WARN(bw > hwsim_get_chanwidth(confbw), ...);
```

I determined that the fix addresses a scenario where the comparison *could* incorrectly trigger a warning, especially when dealing with channel widths and the potentially incorrect usage of variables. Specifically, I realized that we need an additional check to ensure `confbw` is at least 20MHz. The fix looked like this:

```c
WARN(bw > hwsim_get_chanwidth(confbw) && hwsim_get_chanwidth(confbw) >= 20, ...);
```

This prevents the warning from firing on 5/10MHz channels. The key issue was with how bandwidth values are compared, which, under the old conditional, might've triggered a false positive when a smaller bandwidth (e.g., 20MHz) was configured and compared to a wider channel configuration. I was pretty meticulous about this, so I triple-checked the data flow.

Then, there was the matter of correcting the printed variables in the `WARN` statement itself. The variable `sta->deflink.bandwidth` which was originally used to print the bandwidth of the STA was substituted for the variable `link_sta->bandwidth` after an evaluation, because the current function is iterating over the links and the value of `bw` is derived from `link_sta->bandwidth`.

After that, I moved on to `mac80211_hwsim_tx`. Here, the code was initializing the `bw` variable to `data->bw` which can cause incorrect comparisons, specifically where a channel is configured at a lower bandwidth than it's expected rate. It was comparing `hwsim_get_chanwidth(bw)` to `hwsim_get_chanwidth(confbw)`. The logic initialized `bw` as the current rate of the transmission *then* comparing that. The fix involved initializing `bw` directly to `confbw` instead of `data->bw`, which ensures that the comparison is based on the configured channel width.

The logic in `mac80211_hwsim_tx` and its interaction with rate flags (specifically the absence of width flags for 20MHz rates on 10MHz channels) required a more thorough examination. I concluded initializing `bw` to `confbw` would resolve any edge cases, like the case where a higher rate is used on a narrower channel and the rate isn't properly detected based on channel flags.

In short, the patch looks clean and correct. The changes to the `mac80211_hwsim_tx` and `mac80211_hwsim_sta_rc_update` functions address some potential false positive warnings and ensure the correct bandwidth values are used and compared.



130/4 2026/03/27 21:05 tool grepper
0m Args:
map[Expression:mac80211_hwsim_sta_rc_update]

Results:
map[Output:drivers/net/wireless/virtual/mac80211_hwsim.c=2645=static void
drivers/net/wireless/virtual/mac80211_hwsim.c:2646:mac80211_hwsim_sta_rc_update(struct ieee80211_hw *hw,
drivers/net/wireless/virtual/mac80211_hwsim.c-2647-			     struct ieee80211_vif *vif,
--
drivers/net/wireless/virtual/mac80211_hwsim.c=2705=static int mac80211_hwsim_sta_add(struct ieee80211_hw *hw,
--
drivers/net/wireless/virtual/mac80211_hwsim.c-2712-	hwsim_set_sta_magic(sta);
drivers/net/wireless/virtual/mac80211_hwsim.c:2713:	mac80211_hwsim_sta_rc_update(hw, vif, &sta->deflink, 0);
drivers/net/wireless/virtual/mac80211_hwsim.c-2714-
--
drivers/net/wireless/virtual/mac80211_hwsim.c=4129=static int mac80211_hwsim_change_nan_config(struct ieee80211_hw *hw,
--
drivers/net/wireless/virtual/mac80211_hwsim.c-4176-	.sta_notify = mac80211_hwsim_sta_notify,		\
drivers/net/wireless/virtual/mac80211_hwsim.c:4177:	.link_sta_rc_update = mac80211_hwsim_sta_rc_update,	\
drivers/net/wireless/virtual/mac80211_hwsim.c-4178-	.conf_tx = mac80211_hwsim_conf_tx,			\
]

131/4 2026/03/27 21:05 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 50619
							output: 63
							thoughts: 303
						

Thoughts:
**Digging into mac80211_hwsim_sta_add and mac80211_hwsim_sta_rc_update**

Okay, hold on a second. I'm looking at `mac80211_hwsim_sta_add` and specifically this line:

```c
	mac80211_hwsim_sta_rc_update(hw, vif, &sta->deflink, 0);
```

I see that `&sta->deflink` is being passed as the `link_sta` argument to `mac80211_hwsim_sta_rc_update`. That seems reasonable on the surface. But, let me double-check what's happening inside `mac80211_hwsim_sta_rc_update`:

```c
	for (link_id = 0;
	     link_id < ARRAY_SIZE(vif->link_conf);
	     link_id++) {
		enum nl80211_chan_width confbw = NL80211_CHAN_WIDTH_20_NOHT;
		struct ieee80211_bss_conf *vif_conf;

		link_sta = rcu_dereference(sta->link[link_id]);

		if (!link_sta)
			continue;
```

Wait a minute... the `link_sta` argument that was passed in is *completely* ignored! It's immediately overwritten inside the loop with `link_sta = rcu_dereference(sta->link[link_id]);`. The `sta->deflink` that was passed into the function call is effectively unused. That's... not right. This deserves a closer look. I'm going to have to backtrace and see what the intent was with the code.



132/4 2026/03/27 21:05 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/wireless/virtual/mac80211_hwsim.c IncludeLines:true Name:mac80211_hwsim_sta_rc_update]

Results:
map[SourceCode:2645:	static void
2646:	mac80211_hwsim_sta_rc_update(struct ieee80211_hw *hw,
2647:				     struct ieee80211_vif *vif,
2648:				     struct ieee80211_link_sta *link_sta,
2649:				     u32 changed)
2650:	{
2651:		struct mac80211_hwsim_data *data = hw->priv;
2652:		struct ieee80211_sta *sta = link_sta->sta;
2653:		u32 bw = U32_MAX;
2654:		int link_id;
2655:	
2656:		rcu_read_lock();
2657:		for (link_id = 0;
2658:		     link_id < ARRAY_SIZE(vif->link_conf);
2659:		     link_id++) {
2660:			enum nl80211_chan_width confbw = NL80211_CHAN_WIDTH_20_NOHT;
2661:			struct ieee80211_bss_conf *vif_conf;
2662:	
2663:			link_sta = rcu_dereference(sta->link[link_id]);
2664:	
2665:			if (!link_sta)
2666:				continue;
2667:	
2668:			switch (link_sta->bandwidth) {
2669:	#define C(_bw) case IEEE80211_STA_RX_BW_##_bw: bw = _bw; break
2670:			C(20);
2671:			C(40);
2672:			C(80);
2673:			C(160);
2674:			C(320);
2675:	#undef C
2676:			}
2677:	
2678:			if (!data->use_chanctx) {
2679:				confbw = data->bw;
2680:			} else {
2681:				struct ieee80211_chanctx_conf *chanctx_conf;
2682:	
2683:				vif_conf = rcu_dereference(vif->link_conf[link_id]);
2684:				if (WARN_ON(!vif_conf))
2685:					continue;
2686:	
2687:				chanctx_conf = rcu_dereference(vif_conf->chanctx_conf);
2688:	
2689:				if (!WARN_ON(!chanctx_conf))
2690:					confbw = chanctx_conf->def.width;
2691:			}
2692:	
2693:			WARN(bw > hwsim_get_chanwidth(confbw),
2694:			     "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
2695:			     vif->addr, link_id, sta->addr, bw, sta->deflink.bandwidth,
2696:			     hwsim_get_chanwidth(data->bw), data->bw);
2697:	
2698:	
2699:		}
2700:		rcu_read_unlock();
2701:	
2702:	
2703:	}
 SourceFile:drivers/net/wireless/virtual/mac80211_hwsim.c]

133/4 2026/03/27 21:05 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 52375
							output: 29
							thoughts: 812
						

Thoughts:
**Analyzing the mac80211 Rate Control Update Function**

Okay, so I'm looking at this `link_sta_rc_update` function and something initially jumped out at me. The `link_sta` argument is passed in, but then immediately overwritten with `rcu_dereference(sta->link[link_id])`. That seems a bit odd, right? My initial thought was, "Is this intentional? If it's passed as an argument, shouldn't it be *used* directly?". It looks like the intention is to update the rate control parameters for *that specific* link passed in. But then the function seems to be iterating over *all* links associated with the virtual interface (`vif`), and updating each one.

I'd better back up and look at the context. The function name *is* `link_sta_rc_update`, so the initial assumption might be wrong. Let's see who calls `mac80211_hwsim_sta_rc_update`. Ah, it's assigned to `.link_sta_rc_update` in the hardware simulation code. And in `mac80211_hwsim_sta_add`, it's called with `&sta->deflink` as the `link_sta` argument. If the initial assumption was correct, it seems like the function might be doing more than it should, iterating over *all* links instead of a specific one.

Wait, looking closer at the implementation, `sta->link[link_id]` might be the *only* way to retrieve the links, which is why it iterates over all links. This makes more sense. The argument `link_sta` is used to get the base `sta` object, but then the function iterates over all of the `sta`'s links, updating the rate control for each one. That *still* seems a little redundant to me. If we're just after the `sta` object, why bother passing `link_sta` in the first place? But wait, the mac80211 callback is actually defined as `.link_sta_rc_update(hw, vif, link_sta, changed)`, so there's no way to pass the sta directly. This means the design *requires* `link_sta` to be passed, which is then used to retrieve the STA and iterate through the other links. So, the design is fine, and this is intentional, although I could probably pass sta as an argument to make it clearer what's going on.

Okay, let's look at the bandwidth check. I've updated the `WARN` message. Initially I had an older version. It looks like `link_sta->bandwidth` is used in the `WARN` statement, but that's correct because the inner loop variable, `link_sta`, is the specific link we're currently checking. This makes sense. I'm verifying the configuration of the *specific* link being considered against what's being configured by the channel. So printing out `link_sta->bandwidth` is, in fact, correct.

Alright, time to give this another double-check.



134/4 2026/03/27 21:05 tool grepper
0m Args:
map[Expression:mac80211_hwsim_sta_rc_update]

Results:
map[Output:drivers/net/wireless/virtual/mac80211_hwsim.c=2645=static void
drivers/net/wireless/virtual/mac80211_hwsim.c:2646:mac80211_hwsim_sta_rc_update(struct ieee80211_hw *hw,
drivers/net/wireless/virtual/mac80211_hwsim.c-2647-			     struct ieee80211_vif *vif,
--
drivers/net/wireless/virtual/mac80211_hwsim.c=2705=static int mac80211_hwsim_sta_add(struct ieee80211_hw *hw,
--
drivers/net/wireless/virtual/mac80211_hwsim.c-2712-	hwsim_set_sta_magic(sta);
drivers/net/wireless/virtual/mac80211_hwsim.c:2713:	mac80211_hwsim_sta_rc_update(hw, vif, &sta->deflink, 0);
drivers/net/wireless/virtual/mac80211_hwsim.c-2714-
--
drivers/net/wireless/virtual/mac80211_hwsim.c=4129=static int mac80211_hwsim_change_nan_config(struct ieee80211_hw *hw,
--
drivers/net/wireless/virtual/mac80211_hwsim.c-4176-	.sta_notify = mac80211_hwsim_sta_notify,		\
drivers/net/wireless/virtual/mac80211_hwsim.c:4177:	.link_sta_rc_update = mac80211_hwsim_sta_rc_update,	\
drivers/net/wireless/virtual/mac80211_hwsim.c-4178-	.conf_tx = mac80211_hwsim_conf_tx,			\
]

135/4 2026/03/27 21:05 llm patch-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 54416
							output: 935
							thoughts: 12
						

Thoughts:
Okay, here's my take on those thoughts, tailored for an expert audience:

**Finalizing the Response: Solid State**

Alright, the analysis is complete, the nuances have been considered, and the underlying principles are sound. The data, the methodologies, and the conclusions all align, forming a coherent and defensible position. There's no further need for deep dives or second-guessing here. It's time to solidify the final response, to articulate the synthesis of this understanding. This is a robust foundation, a solid state of knowledge ready for distillation into clear communication.



136/3 2026/03/27 21:05 action test-patch
34m Results:
map[PatchDiff:diff --git a/drivers/net/wireless/virtual/mac80211_hwsim.c b/drivers/net/wireless/virtual/mac80211_hwsim.c
index 1b6e55eb8..edc77634c 100644
--- a/drivers/net/wireless/virtual/mac80211_hwsim.c
+++ b/drivers/net/wireless/virtual/mac80211_hwsim.c
@@ -2083,8 +2083,8 @@ static void mac80211_hwsim_tx(struct ieee80211_hw *hw,
 
 	for (i = 0; i < ARRAY_SIZE(txi->control.rates); i++) {
 		u16 rflags = txi->control.rates[i].flags;
-		/* initialize to data->bw for 5/10 MHz handling */
-		enum nl80211_chan_width bw = data->bw;
+		/* initialize to confbw for 5/10 MHz handling */
+		enum nl80211_chan_width bw = confbw;
 
 		if (txi->control.rates[i].idx == -1)
 			break;
@@ -2690,12 +2690,11 @@ mac80211_hwsim_sta_rc_update(struct ieee80211_hw *hw,
 				confbw = chanctx_conf->def.width;
 		}
 
-		WARN(bw > hwsim_get_chanwidth(confbw),
+		WARN(bw > hwsim_get_chanwidth(confbw) &&
+			     hwsim_get_chanwidth(confbw) >= 20,
 		     "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
-		     vif->addr, link_id, sta->addr, bw, sta->deflink.bandwidth,
-		     hwsim_get_chanwidth(data->bw), data->bw);
-
-
+		     vif->addr, link_id, sta->addr, bw, link_sta->bandwidth,
+		     hwsim_get_chanwidth(confbw), confbw);
 	}
 	rcu_read_unlock();
 
 TestError:]

137/1 2026/03/27 21:40 action get-maintainers
0m Results:
map[Recipients:[map[Email:johannes@sipsolutions.net Name:Johannes Berg To:true] map[Email:linux-kernel@vger.kernel.org Name: To:false] map[Email:linux-wireless@vger.kernel.org Name: To:true]]]

138/1 2026/03/27 21:40 action get-recent-commits
0m Results:
map[RecentCommits:wifi: mac80211: always free skb on ieee80211_tx_prepare_skb() failure
wifi: mac80211_hwsim: fully initialise PMSR capabilities
Convert 'alloc_obj' family to use the new default GFP_KERNEL argument
treewide: Replace kmalloc with kmalloc_obj for non-scalar types
wifi: mac80211_hwsim: remove NAN by default
wifi: mac80211_hwsim: disable BHs for hwsim_radio_lock
wifi: mac80211_hwsim: fix typo in frequency notification
wifi: mac80211_hwsim: Fix possible NULL dereference
wifi: mac80211_hwsim: Limit destroy_on_close radio removal to netgroup
wifi: mac80211_hwsim: advertise puncturing feature support
wifi: mac80211_hwsim: Add simulation support for NAN device
wifi: mac80211_hwsim: Declare support for AP scanning
wifi: cfg80211/mac80211: Add support to get radio index
wifi: mac80211_hwsim: Prevent tsf from setting if beacon is disabled
wifi: mac80211: restructure tx profile retrieval for MLO MBSSID
wifi: mac80211_hwsim: Fix MLD address translation
wifi: Switch to use hrtimer_setup()
wifi: mac80211_hwsim: enable strict mode
wifi: mac80211_hwsim: add 6 GHz EHT Mesh capabilities
wifi: mac80211_hwsim: use hrtimer_active()
]

139/1 2026/03/27 21:40 agent description-generator
0m Model:
gemini-3.1-pro-preview

Instruction:
You are an experienced Linux kernel developer tasked with writing a commit description for
a kernel bug fixing commit. The description should start with a one-line summary,
and then include description of the bug being fixed, and how it's fixed by the provided patch.

Your final reply should contain only the text of the commit description.
Phrase the one-line summary so that it is not longer than 72 characters.

Prefer calling several tools at the same time to save round-trips.

Prompt:
The crash that corresponds to the bug is:

------------[ cut here ]------------
intf 08:02:11:00:00:01 [link=0]: bad STA 00:00:00:ff:ff:ff bandwidth 20 MHz (0) > channel config 10 MHz (7)
WARNING: drivers/net/wireless/virtual/mac80211_hwsim.c:2696 at mac80211_hwsim_sta_rc_update+0x696/0x860 drivers/net/wireless/virtual/mac80211_hwsim.c:2693, CPU#0: kworker/u9:2/53
Modules linked in:
CPU: 0 UID: 0 PID: 53 Comm: kworker/u9:2 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Workqueue: events_unbound cfg80211_wiphy_work
RIP: 0010:mac80211_hwsim_sta_rc_update+0x6f4/0x860 drivers/net/wireless/virtual/mac80211_hwsim.c:2693
Code: 85 d2 00 00 00 45 8b 36 44 89 f7 e8 a6 20 00 00 48 8b 7c 24 28 48 8b 74 24 30 89 ea 48 8b 4c 24 10 41 89 d8 45 89 f9 41 56 50 <67> 48 0f b9 3a 48 83 c4 10 e9 08 ff ff ff e8 89 ef cc fa 90 0f 0b
RSP: 0018:ffffc9000069f738 EFLAGS: 00010293
RAX: 000000000000000a RBX: 0000000000000014 RCX: ffff888029d4cec0
RDX: 0000000000000000 RSI: ffff88801fb37042 RDI: ffffffff90278400
RBP: 0000000000000000 R08: 0000000000000014 R09: 0000000000000000
R10: 000000000000000d R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000007 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880985f2000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2c2e6720c0 CR3: 00000000295ee000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 mac80211_hwsim_sta_add+0xa4/0x350 drivers/net/wireless/virtual/mac80211_hwsim.c:2713
 drv_sta_add net/mac80211/driver-ops.h:470 [inline]
 drv_sta_state+0x86a/0x1880 net/mac80211/driver-ops.c:155
 sta_info_insert_drv_state net/mac80211/sta_info.c:836 [inline]
 sta_info_insert_finish net/mac80211/sta_info.c:944 [inline]
 sta_info_insert_rcu+0x1985/0x2730 net/mac80211/sta_info.c:1021
 ieee80211_ocb_finish_sta net/mac80211/ocb.c:105 [inline]
 ieee80211_ocb_work+0x324/0x590 net/mac80211/ocb.c:139
 cfg80211_wiphy_work+0x2ab/0x4a0 net/wireless/core.c:440
 process_one_work kernel/workqueue.c:3276 [inline]
 process_scheduled_works+0xb6e/0x18c0 kernel/workqueue.c:3359
 worker_thread+0x8a2/0xda0 kernel/workqueue.c:3440
 kthread+0x388/0x470 kernel/kthread.c:436
 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
----------------
Code disassembly (best guess):
   0:	85 d2                	test   %edx,%edx
   2:	00 00                	add    %al,(%rax)
   4:	00 45 8b             	add    %al,-0x75(%rbp)
   7:	36 44 89 f7          	ss mov %r14d,%edi
   b:	e8 a6 20 00 00       	call   0x20b6
  10:	48 8b 7c 24 28       	mov    0x28(%rsp),%rdi
  15:	48 8b 74 24 30       	mov    0x30(%rsp),%rsi
  1a:	89 ea                	mov    %ebp,%edx
  1c:	48 8b 4c 24 10       	mov    0x10(%rsp),%rcx
  21:	41 89 d8             	mov    %ebx,%r8d
  24:	45 89 f9             	mov    %r15d,%r9d
  27:	41 56                	push   %r14
  29:	50                   	push   %rax
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 83 c4 10          	add    $0x10,%rsp
  33:	e9 08 ff ff ff       	jmp    0xffffff40
  38:	e8 89 ef cc fa       	call   0xfaccefc6
  3d:	90                   	nop
  3e:	0f 0b                	ud2


The explanation of the root cause of the bug is:

The crash is caused by a false positive `WARN` in `mac80211_hwsim_sta_rc_update` when a station is added to an interface operating on a channel with a bandwidth smaller than 20 MHz (e.g., 10 MHz or 5 MHz).

### Root Cause Analysis

1. **False Positive Warning in `mac80211_hwsim_sta_rc_update`:**
   The function checks if the station's RX bandwidth (`bw`) is greater than the configured channel bandwidth (`confbw`):
   ```c
   WARN(bw > hwsim_get_chanwidth(confbw), ...)
   ```
   The station's RX bandwidth `bw` is derived from `link_sta->bandwidth`, which is of type `enum ieee80211_sta_rx_bandwidth`. This enum only defines bandwidths of 20 MHz and above (`IEEE80211_STA_RX_BW_20` is 0).
   
   For channels with a bandwidth less than 20 MHz (like 5 MHz or 10 MHz), HT/VHT/HE are not supported, and `link_sta->bandwidth` naturally defaults to `IEEE80211_STA_RX_BW_20`. Consequently, `bw` is evaluated as 20. 
   
   When the channel is configured for 10 MHz (`confbw` = `NL80211_CHAN_WIDTH_10`), `hwsim_get_chanwidth(confbw)` returns 10. The condition `20 > 10` evaluates to true, triggering the warning. Since the minimum representable STA RX bandwidth is 20 MHz, the warning should be suppressed for channel bandwidths smaller than 20 MHz.

2. **Incorrect Warning Message:**
   The warning message prints `data->bw` instead of `confbw`:
   ```c
   hwsim_get_chanwidth(data->bw), data->bw
   ```
   If `data->use_chanctx` is true, `data->bw` is not updated with the channel context bandwidth and remains 0 (`NL80211_CHAN_WIDTH_20_NOHT`), which leads to confusing output. It should print `confbw`.

3. **Similar Bug in `mac80211_hwsim_tx`:**
   In `mac80211_hwsim_tx`, there is a similar check:
   ```c
   enum nl80211_chan_width bw = data->bw;
   ...
   if (WARN_ON(hwsim_get_chanwidth(bw) > hwsim_get_chanwidth(confbw)))
       return;
   ```
   Here, `bw` is initialized to `data->bw` instead of `confbw`. If `data->use_chanctx` is true, `data->bw` is 0 (20 MHz). If the channel is 10 MHz, `confbw` is 10 MHz. The condition `20 > 10` will evaluate to true, triggering a warning and dropping the frame. It should be initialized to `confbw`.

### Proposed Fix

1. In `drivers/net/wireless/virtual/mac80211_hwsim.c`, update the warning condition in `mac80211_hwsim_sta_rc_update` to only trigger if the channel bandwidth is at least 20 MHz, and fix the printed variables:
   ```c
   WARN(bw > hwsim_get_chanwidth(confbw) && hwsim_get_chanwidth(confbw) >= 20,
        "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
        vif->addr, link_id, sta->addr, bw, sta->deflink.bandwidth,
        hwsim_get_chanwidth(confbw), confbw);
   ```

2. In `mac80211_hwsim_tx`, initialize `bw` to `confbw` instead of `data->bw`:
   ```c
   /* initialize to confbw for 5/10 MHz handling */
   enum nl80211_chan_width bw = confbw;
   ```

The diff of the bug fix is:

diff --git a/drivers/net/wireless/virtual/mac80211_hwsim.c b/drivers/net/wireless/virtual/mac80211_hwsim.c
index 1b6e55eb8..edc77634c 100644
--- a/drivers/net/wireless/virtual/mac80211_hwsim.c
+++ b/drivers/net/wireless/virtual/mac80211_hwsim.c
@@ -2083,8 +2083,8 @@ static void mac80211_hwsim_tx(struct ieee80211_hw *hw,
 
 	for (i = 0; i < ARRAY_SIZE(txi->control.rates); i++) {
 		u16 rflags = txi->control.rates[i].flags;
-		/* initialize to data->bw for 5/10 MHz handling */
-		enum nl80211_chan_width bw = data->bw;
+		/* initialize to confbw for 5/10 MHz handling */
+		enum nl80211_chan_width bw = confbw;
 
 		if (txi->control.rates[i].idx == -1)
 			break;
@@ -2690,12 +2690,11 @@ mac80211_hwsim_sta_rc_update(struct ieee80211_hw *hw,
 				confbw = chanctx_conf->def.width;
 		}
 
-		WARN(bw > hwsim_get_chanwidth(confbw),
+		WARN(bw > hwsim_get_chanwidth(confbw) &&
+			     hwsim_get_chanwidth(confbw) >= 20,
 		     "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
-		     vif->addr, link_id, sta->addr, bw, sta->deflink.bandwidth,
-		     hwsim_get_chanwidth(data->bw), data->bw);
-
-
+		     vif->addr, link_id, sta->addr, bw, link_sta->bandwidth,
+		     hwsim_get_chanwidth(confbw), confbw);
 	}
 	rcu_read_unlock();
 


Additional description of the patch:

The crash is caused by a false positive `WARN` in `mac80211_hwsim_sta_rc_update` when a station is added to an interface operating on a channel with a bandwidth smaller than 20 MHz (e.g., 10 MHz or 5 MHz).

### Root Cause Analysis

1. **False Positive Warning in `mac80211_hwsim_sta_rc_update`:**
   The function checks if the station's RX bandwidth (`bw`) is greater than the configured channel bandwidth (`confbw`). The station's RX bandwidth `bw` is derived from `link_sta->bandwidth`, which is of type `enum ieee80211_sta_rx_bandwidth`. This enum only defines bandwidths of 20 MHz and above (`IEEE80211_STA_RX_BW_20` is 0).
   
   For channels with a bandwidth less than 20 MHz (like 5 MHz or 10 MHz), HT/VHT/HE are not supported, and `link_sta->bandwidth` naturally defaults to `IEEE80211_STA_RX_BW_20`. Consequently, `bw` is evaluated as 20. 
   
   When the channel is configured for 10 MHz (`confbw` = `NL80211_CHAN_WIDTH_10`), `hwsim_get_chanwidth(confbw)` returns 10. The condition `20 > 10` evaluates to true, triggering the warning. Since the minimum representable STA RX bandwidth is 20 MHz, the warning should be suppressed for channel bandwidths smaller than 20 MHz.

2. **Incorrect Warning Message:**
   The warning message prints `data->bw` instead of `confbw`. If `data->use_chanctx` is true, `data->bw` is not updated with the channel context bandwidth and remains 0 (`NL80211_CHAN_WIDTH_20_NOHT`), which leads to confusing output. It should print `confbw`. Additionally, the warning message incorrectly prints `sta->deflink.bandwidth` instead of `link_sta->bandwidth`, which is the actual bandwidth being evaluated in the loop over the station links.

3. **Similar Bug in `mac80211_hwsim_tx`:**
   In `mac80211_hwsim_tx`, there is a similar check where `bw` is initialized to `data->bw` instead of `confbw`. If `data->use_chanctx` is true, `data->bw` is 0 (20 MHz). If the channel is 10 MHz, `confbw` is 10 MHz. The condition `20 > 10` will evaluate to true, triggering a warning and dropping the frame. It should be initialized to `confbw`.

### Fix

I have applied the following fixes:

1. In `drivers/net/wireless/virtual/mac80211_hwsim.c`, updated the warning condition in `mac80211_hwsim_sta_rc_update` to only trigger if the channel bandwidth is at least 20 MHz, and fixed the printed variables to use `confbw` and `link_sta->bandwidth`:
   ```c
   WARN(bw > hwsim_get_chanwidth(confbw) &&
        hwsim_get_chanwidth(confbw) >= 20,
        "intf %pM [link=%d]: bad STA %pM bandwidth %d MHz (%d) > channel config %d MHz (%d)\n",
        vif->addr, link_id, sta->addr, bw, link_sta->bandwidth,
        hwsim_get_chanwidth(confbw), confbw);
   ```

2. In `mac80211_hwsim_tx`, initialized `bw` to `confbw` instead of `data->bw` to prevent a similar false positive warning and frame drop when transmitting on 5/10 MHz channels:
   ```c
   /* initialize to confbw for 5/10 MHz handling */
   enum nl80211_chan_width bw = confbw;
   ```

Here are summaries of recent commits that touched the same files.
Format the summary line consistently with these, look how prefixes
are specified, letter capitalization, style, etc. 

wifi: mac80211: always free skb on ieee80211_tx_prepare_skb() failure
wifi: mac80211_hwsim: fully initialise PMSR capabilities
Convert 'alloc_obj' family to use the new default GFP_KERNEL argument
treewide: Replace kmalloc with kmalloc_obj for non-scalar types
wifi: mac80211_hwsim: remove NAN by default
wifi: mac80211_hwsim: disable BHs for hwsim_radio_lock
wifi: mac80211_hwsim: fix typo in frequency notification
wifi: mac80211_hwsim: Fix possible NULL dereference
wifi: mac80211_hwsim: Limit destroy_on_close radio removal to netgroup
wifi: mac80211_hwsim: advertise puncturing feature support
wifi: mac80211_hwsim: Add simulation support for NAN device
wifi: mac80211_hwsim: Declare support for AP scanning
wifi: cfg80211/mac80211: Add support to get radio index
wifi: mac80211_hwsim: Prevent tsf from setting if beacon is disabled
wifi: mac80211: restructure tx profile retrieval for MLO MBSSID
wifi: mac80211_hwsim: Fix MLD address translation
wifi: Switch to use hrtimer_setup()
wifi: mac80211_hwsim: enable strict mode
wifi: mac80211_hwsim: add 6 GHz EHT Mesh capabilities
wifi: mac80211_hwsim: use hrtimer_active()



If the patch removes the WARN_ON macro, refer to the fact that WARN_ON
must not be used for conditions that can legitimately happen, and that pr_err
should be used instead if necessary.


Reply:
wifi: mac80211_hwsim: fix false positive warning for 5/10 MHz channels

A false positive WARN is triggered in mac80211_hwsim_sta_rc_update()
when a station is added to an interface operating on a channel with a
bandwidth smaller than 20 MHz (e.g., 10 MHz or 5 MHz).

The function checks if the station's RX bandwidth (bw) is greater than
the configured channel bandwidth (confbw). The station's RX bandwidth bw
is derived from link_sta->bandwidth, which is of type
enum ieee80211_sta_rx_bandwidth. This enum only defines bandwidths of
20 MHz and above (IEEE80211_STA_RX_BW_20 is 0).

For channels with a bandwidth less than 20 MHz (like 5 MHz or 10 MHz),
HT/VHT/HE are not supported, and link_sta->bandwidth naturally defaults
to IEEE80211_STA_RX_BW_20. Consequently, bw is evaluated as 20.

When the channel is configured for 10 MHz (confbw = NL80211_CHAN_WIDTH_10),
hwsim_get_chanwidth(confbw) returns 10. The condition 20 > 10 evaluates
to true, triggering the warning. Since the minimum representable STA RX
bandwidth is 20 MHz, the warning should be suppressed for channel
bandwidths smaller than 20 MHz.

Additionally, the warning message incorrectly prints data->bw instead of
confbw. If data->use_chanctx is true, data->bw is not updated with the
channel context bandwidth and remains 0 (NL80211_CHAN_WIDTH_20_NOHT),
which leads to confusing output. The warning message also incorrectly
prints sta->deflink.bandwidth instead of link_sta->bandwidth, which is
the actual bandwidth being evaluated in the loop over the station links.

In mac80211_hwsim_tx(), there is a similar check where bw is initialized
to data->bw instead of confbw. If data->use_chanctx is true, data->bw is
0 (20 MHz). If the channel is 10 MHz, confbw is 10 MHz. The condition
20 > 10 will evaluate to true, triggering a warning and dropping the
frame. It should be initialized to confbw.

Fix these issues by updating the warning condition in
mac80211_hwsim_sta_rc_update() to only trigger if the channel bandwidth
is at least 20 MHz, and fix the printed variables to use confbw and
link_sta->bandwidth. Also, initialize bw to confbw instead of data->bw
in mac80211_hwsim_tx() to prevent a similar false positive warning and
frame drop when transmitting on 5/10 MHz channels.

140/2 2026/03/27 21:40 llm description-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 7664
							output: 663
							thoughts: 2267
						

Thoughts:
**Fixing a False Positive Warning in mac80211_hwsim for 5/10 MHz Channels**

Okay, so I've been digging into this `mac80211_hwsim` code, and I've found a frustrating false positive warning.  It pops up in `mac80211_hwsim_sta_rc_update()` whenever a station is added to an interface that's using a channel narrower than 20 MHz – think 10 MHz or even 5 MHz. The code's making a comparison: it checks if the station's received bandwidth (`bw`) is *greater* than the configured channel bandwidth (`confbw`).  The `bw` value is pulled from `link_sta->bandwidth`, which is an `enum ieee80211_sta_rx_bandwidth`. The thing is, this enum *only* defines bandwidths of 20 MHz and higher. So, when you're on a narrower channel, `link_sta->bandwidth` defaults to `IEEE80211_STA_RX_BW_20`, meaning `bw` is effectively 20.

So, when the channel is configured for 10 MHz, `hwsim_get_chanwidth(confbw)` returns 10. The warning triggers because the code thinks 20 is greater than 10. The station bandwidth can't be less than 20MHz, so this whole comparison is meaningless and it creates a false alarm.

I also noticed some other issues in the warning message itself. It prints `data->bw` when it should be printing `confbw`.  Also, if `data->use_chanctx` is true, `data->bw` doesn't get updated with the channel context bandwidth and stays at 0 (representing 20 MHz with no HT/VHT features), leading to confusing output. And finally, it prints `sta->deflink.bandwidth` instead of `link_sta->bandwidth`, which is the one being used to evaluate the bandwidth.

Now, there's a similar problem in `mac80211_hwsim_tx()`.  Here, `bw` gets initialized to `data->bw` instead of `confbw`.  So again, if we're on a 10 MHz channel, and `data->use_chanctx` is true, we get a situation where 20 > 10, which wrongly triggers a warning and, worse, drops the frame.

The fix I'm proposing is pretty straightforward. First, I need to adjust the warning condition in `mac80211_hwsim_sta_rc_update()` so it *only* activates if the channel bandwidth is at least 20 MHz, avoiding these false positives.  Second, I'll correct the variables used in the warning messages to ensure they're showing the correct values: the channel bandwidth (`confbw`) and the link's bandwidth (`link_sta->bandwidth`). Finally, in `mac80211_hwsim_tx()`, I'm initializing `bw` to `confbw` instead of `data->bw` to prevent the same issue from causing a frame drop.



141/1 2026/03/27 21:40 action format-patch-description
0m Results:
map[PatchDescription:wifi: mac80211_hwsim: fix false positive warning for 5/10 MHz channels

A false positive WARN is triggered in mac80211_hwsim_sta_rc_update()
when a station is added to an interface operating on a channel with a
bandwidth smaller than 20 MHz (e.g., 10 MHz or 5 MHz).

The function checks if the station's RX bandwidth (bw) is greater than
the configured channel bandwidth (confbw). The station's RX bandwidth bw
is derived from link_sta->bandwidth, which is of type enum
ieee80211_sta_rx_bandwidth. This enum only defines bandwidths of 20 MHz
and above (IEEE80211_STA_RX_BW_20 is 0).

For channels with a bandwidth less than 20 MHz (like 5 MHz or 10 MHz),
HT/VHT/HE are not supported, and link_sta->bandwidth naturally defaults
to IEEE80211_STA_RX_BW_20. Consequently, bw is evaluated as 20.

When the channel is configured for 10 MHz (confbw =
NL80211_CHAN_WIDTH_10), hwsim_get_chanwidth(confbw) returns 10. The
condition 20 > 10 evaluates to true, triggering the warning. Since the
minimum representable STA RX bandwidth is 20 MHz, the warning should be
suppressed for channel bandwidths smaller than 20 MHz.

Additionally, the warning message incorrectly prints data->bw instead of
confbw. If data->use_chanctx is true, data->bw is not updated with the
channel context bandwidth and remains 0 (NL80211_CHAN_WIDTH_20_NOHT),
which leads to confusing output. The warning message also incorrectly
prints sta->deflink.bandwidth instead of link_sta->bandwidth, which is
the actual bandwidth being evaluated in the loop over the station links.

In mac80211_hwsim_tx(), there is a similar check where bw is initialized
to data->bw instead of confbw. If data->use_chanctx is true, data->bw is
0 (20 MHz). If the channel is 10 MHz, confbw is 10 MHz. The condition 20
> 10 will evaluate to true, triggering a warning and dropping the frame.
It should be initialized to confbw.

Fix these issues by updating the warning condition in
mac80211_hwsim_sta_rc_update() to only trigger if the channel bandwidth
is at least 20 MHz, and fix the printed variables to use confbw and
link_sta->bandwidth. Also, initialize bw to confbw instead of data->bw
in mac80211_hwsim_tx() to prevent a similar false positive warning and
frame drop when transmitting on 5/10 MHz channels.]

LLM Calls Summary:
Total Calls Total Tokens Avg Tokens Total Duration (Seconds) Avg Duration (Seconds)
Tool Calls Summary:
Total Calls Total Duration (Seconds) Avg Duration (Seconds)