freebsd-dev/sys
Bjoern A. Zeeb dd4f32ae62 ath11k: import ath11k driver
Import BSD-3-Clause-Clear ath11k driver assumed to be
based on Linux kvalo/ath.git master at
6bae9de622d3ef4805aba40e763eb4b0975c4f6d.

Complement the driver to make compile on FreeBSD
using LinuxKPI with changes covered by #ifdef (__FreeBSD__).
Further select updates were applied since the initial import
in order to keep compiling along with other LinuxKPI based
drivers.

Add the module build framework but keep disconnected from the
build for now.
The current driver (or rather LinuxKPI) lacks support for some
"qcom" bits needed in order to get things working.
There was interest by various people to enhance support further.

We initially only plan to support PCI parts but it would be great
to further enhance qcom SoC support to run on several (cheap) APs.

The firmware is provided by port net/wifi-firmware-ath11k-kmod.

Given the lack of full license texts on most files this is
imported under the draft policy for handling SPDX files (D29226)
and with approval for BSD-3-Clause-Clear. [1]

Approved by:    core (jhb, 2023-05-11) [1]
MFC after:      2 months
2023-05-12 11:21:16 +00:00
..
amd64 amd64: pmap.h put a guard around a pcpu.h function 2023-05-12 11:14:54 +00:00
arm hwpmc: use kstack_contains() 2023-05-06 14:49:19 -03:00
arm64 arm64: Fix a typo in a source code comment 2023-05-12 10:45:46 +02:00
bsm
cam Revert "cam: fix up world compilation after previous" 2023-04-15 18:25:55 -06:00
cddl fbt/x86: update FBT_AFRAMES to match the trap handlers 2023-05-11 10:50:15 -07:00
compat LinuxKPI: add dummy hash.h and kernel_connect() 2023-05-12 11:21:10 +00:00
conf twe: Remove driver 2023-05-10 22:24:12 -06:00
contrib ath11k: import ath11k driver 2023-05-12 11:21:16 +00:00
crypto OpenSSL: Regen an assembly file for arm 2023-03-21 15:13:51 -04:00
ddb
dev dpaa2: Simplify addresses translation with PHYS_TO_DMAP 2023-05-11 17:38:35 +02:00
dts
fs unionfs(): destroy root vnode if upper registration fails 2023-05-07 18:30:43 -05:00
gdb
geom geom: use bool for one-bit wide bit-field 2023-04-17 15:43:00 -04:00
gnu
i386 Complete removing twe(4) 2023-05-11 16:28:23 +08:00
isa
kern ktls: re-work alloc thread 2023-05-09 13:09:34 -04:00
kgssapi
libkern ext2fs: extract crc16 into sys/crc16.h 2023-04-24 12:41:52 +03:00
modules ath11k: import ath11k driver 2023-05-12 11:21:16 +00:00
net vlan: fix setting flags on a QinQ interface 2023-05-12 11:12:51 +02:00
net80211 net80211: Remove double words in source code comments 2023-04-18 07:14:50 +02:00
netgraph ng_atmllc: remove 2023-03-09 18:04:21 +00:00
netinet bblog: inherit TCP_LOG option from listener 2023-05-06 11:21:16 +02:00
netinet6 ipv6: disable RFC 4620 nodeinfo by default 2023-04-26 13:47:59 -04:00
netipsec netipsec/key.c: use designated initializers for arrays 2023-04-25 09:41:24 +03:00
netlink netlink: provide original interface lladdr in the interface dump. 2023-05-10 09:57:01 +00:00
netpfil sys/netpfil/ipfw/ip_fw2.c: typo (Compatiblity) 2023-05-05 01:23:08 +01:00
netsmb
nfs Convert nfs bootp/diskless to use IfAPI 2023-05-02 14:35:58 -04:00
nfsclient
nfsserver
nlm
ofed ofed: Fix a logic inversion from IfAPI conversion 2023-04-19 11:56:25 -04:00
opencrypto
powerpc imgact_elf: Change header_supported to return bool instead of boolean_t. 2023-05-04 12:29:29 -07:00
riscv hwpmc: use kstack_contains() 2023-05-06 14:49:19 -03:00
rpc
security mac: Honor order when registering MAC modules. 2023-04-18 15:36:27 -04:00
sys Revert "cpuset: increase userland maximum size to 1024" 2023-05-09 13:05:00 -04:00
teken
tests tests: make ktest build on ppc. 2023-04-17 13:47:07 +00:00
tools makesyscalls.lua: Minor fluff removal 2023-04-20 16:17:58 -06:00
ufs Updates to UFS/FFS superblock integrity checks when reading a superblock. 2023-04-29 17:01:18 -07:00
vm vm: implement vm_page_reclaim_contig_domain_ext() 2023-05-09 13:09:34 -04:00
x86 sys/x86/x86/mptable.c: typo (compatiblity) 2023-05-05 01:23:09 +01:00
xdr
xen xen: move common variables off of sys/x86/xen/hvm.c 2023-04-14 15:59:11 +02:00
Makefile
README.md note that some arch independent code can live in dev (e.g. SMBios) 2023-03-03 01:54:07 -08:00

FreeBSD Kernel Source:

This directory contains the source files and build glue that make up the FreeBSD kernel and its modules, including both original and contributed software.

Kernel configuration files are located in the conf/ subdirectory of each architecture. GENERIC is the configuration used in release builds. NOTES contains documentation of all possible entries. LINT is a compile-only configuration used to maximize build coverage and detect regressions.

Source Roadmap:

Directory Description
amd64 AMD64 (64-bit x86) architecture support
arm 32-bit ARM architecture support
arm64 64-bit ARM (AArch64) architecture support
cam Common Access Method storage subsystem - cam(4) and ctl(4)
cddl CDDL-licensed optional sources such as DTrace
conf kernel build glue
compat Linux compatibility layer, FreeBSD 32-bit compatibility
contrib 3rd-party imported software such as OpenZFS
crypto crypto drivers
ddb interactive kernel debugger - ddb(4)
fs most filesystems, excluding UFS, NFS, and ZFS
dev device drivers and other arch independent code
gdb kernel remote GDB stub - gdb(4)
geom GEOM framework - geom(4)
i386 i386 (32-bit x86) architecture support
kern main part of the kernel
libkern libc-like and other support functions for kernel use
modules kernel module infrastructure
net core networking code
net80211 wireless networking (IEEE 802.11) - net80211(4)
netgraph graph-based networking subsystem - netgraph(4)
netinet IPv4 protocol implementation - inet(4)
netinet6 IPv6 protocol implementation - inet6(4)
netipsec IPsec protocol implementation - ipsec(4)
netpfil packet filters - ipfw(4), pf(4), and ipfilter(4)
opencrypto OpenCrypto framework - crypto(7)
powerpc PowerPC/POWER (32 and 64-bit) architecture support
riscv 64-bit RISC-V architecture support
security security facilities - audit(4) and mac(4)
sys kernel headers
tests kernel unit tests
ufs Unix File System - ffs(7)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures