opnsense-src/sys
Adrian Chadd 9efd215411 rtwn: create a new HAL routine for enabling STA mode beacon processing
For some NICs (notably the rtl8192cu that I'm working on) the
firmware rate adaptation requires beacon processing to be enabled.

Instead of making assumptions in the if_rtwn beacon routines (and
honestly all of that should be in the HAL too), create a HAL method
for enabling/disabling beacon processing specifically in STA mode.

Since this isn't necessarily required for all NICs (notably the RTL8188E
NICs, where some will do firmware rate control and some will require
driver rate control), only enable it for the RTL8192CU and RT8192EU.

The RTL8188E and RTL8812/RTL8821 just have no-op routines for now.

Locally tested:

* RTL8192CU, STA mode

Differential Revision:	https://reviews.freebsd.org/D48066
Reviewed by:	bz
2024-12-20 12:40:19 -08:00
..
amd64 x86 atomics: Remove unused WANT_FUNCTIONS 2024-12-17 15:48:22 +01:00
arm intrng: fix INTR_ROOT_* constants 2024-12-16 15:11:52 -04:00
arm64 arm64: apple: re-align to recent standards 2024-12-17 09:38:50 -06:00
bsm New setcred() system call and associated MAC hooks 2024-12-16 15:42:39 +01:00
cam kern: Make fileops and filterops tables const where possible 2024-11-26 21:04:21 +00:00
cddl dtrace: Add some more annotations for KMSAN 2024-11-23 02:36:08 +00:00
compat linprocfs: Properly reset error variable for mtab generation 2024-12-17 09:59:38 +01:00
conf arm64: add a driver for the Apple Interrupt Controller 2024-12-17 08:24:14 -06:00
contrib iwlwifi: add missing blank, unwrap line 2024-12-20 07:09:24 +00:00
crypto libmd: re-apply masking of _Transform names 2024-09-30 14:59:31 -05:00
ddb
dev rtwn: create a new HAL routine for enabling STA mode beacon processing 2024-12-20 12:40:19 -08:00
dts Remove SOC FPGA drivers 2024-12-06 17:38:52 -05:00
fs nullfs: stop lying about mount flags in statfs(2) 2024-12-20 17:58:29 +02:00
gdb
geom kern: Make fileops and filterops tables const where possible 2024-11-26 21:04:21 +00:00
gnu
i386 x86 atomics: Remove unused WANT_FUNCTIONS 2024-12-17 15:48:22 +01:00
isa Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
kern bus: improve null_add_child() panic message 2024-12-20 07:16:04 +00:00
kgssapi
libkern
modules pf: nat64 2024-12-17 11:07:12 +01:00
net if_ovpn: improve reconnect handling 2024-12-18 17:10:29 +01:00
net80211 net80211: HT: check for feature support in ht_recv_action_ht_txchwidth() 2024-12-08 21:01:40 +00:00
netgraph netgraph: Enable support for EIM NAT 2024-12-06 09:31:58 +00:00
netinet tcp: remove unused variable from tcp_usr_disconnect() 2024-12-18 20:11:34 -08:00
netinet6 ip6_output(): if mtu is not yet computed for ipsec hook, use ifp mtu 2024-12-16 14:10:29 +02:00
netipsec pfkey: Fix some checks in kdebug_sadb() 2024-12-04 16:22:50 +00:00
netlink netlink.h: Align macro declarations with tabs 2024-12-10 21:12:38 +03:00
netpfil ip_fw: address lock order reversal 2024-12-19 16:37:38 +01:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc atomics: Constify loads 2024-12-16 15:42:26 +01:00
riscv riscv: connect eswin to the build. 2024-12-17 17:42:09 +00:00
rpc rpc: svc_tli_create() is always called with NULL socket 2024-12-19 12:11:51 -08:00
security MAC/do: Fix a compilation warning about an unused function 2024-12-17 15:47:42 +01:00
sys atomic: Update interceptor function signatures after commit 5e9a82e898 2024-12-17 14:07:40 +00:00
teken
tests netlink: use nitems() and roundup(2) from param.h 2024-12-03 12:04:39 -08:00
tools vnode: Make the vop_vector reference a pointer to const 2024-11-26 20:57:54 +00:00
ufs fs: Add static asserts for the size of fid structures 2024-12-05 17:56:23 -08:00
vm vm/vm_map.h: drop vm_flags_t 2024-12-09 05:27:44 +02:00
x86 amd iommu: remove unused function 2024-12-16 00:49:52 +02:00
xdr rpc: Fix the definition of xdr_void() 2024-10-30 19:27:18 +00:00
xen x86/xen: Use intended values in HVM_CALLBACK_VECTOR 2024-11-06 15:46:05 +01:00
Makefile
README.md man filesystems: fix more xrefs after move to s4 2024-06-27 18:32:05 -06: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.

Documentation:

Source code documentation is maintained in a set of man pages, under section 9. These pages are located in share/man/man9, from the top-level of the src tree. Consult intro(9) for an overview of existing pages.

Some additional high-level documentation of the kernel is maintained in the Architecture Handbook.

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(4)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures