[7/9] hostapd: Tell the AP that the antennas won't change

Message ID 20260429194934.863108-7-michael.tremer@ipfire.org
State New
Headers
Series [1/9] hostapd: Force setting reg domain before hostapd starts |

Commit Message

Michael Tremer 29 Apr 2026, 7:49 p.m. UTC
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 src/initscripts/packages/hostapd | 4 ++++
 1 file changed, 4 insertions(+)
  

Patch

diff --git a/src/initscripts/packages/hostapd b/src/initscripts/packages/hostapd
index 2b1c840f1..eb00e11d3 100644
--- a/src/initscripts/packages/hostapd
+++ b/src/initscripts/packages/hostapd
@@ -617,6 +617,10 @@  write_config() {
 		if [ ${#he_caps[@]} -gt 0 ]; then
 			printf "%s\n" "${he_caps[@]}"
 		fi
+
+		# The antenna patterns don't change
+		he_6ghz_rx_ant_pat=1
+		he_6ghz_tx_ant_pat=1
 	fi
 
 	# Enable 802.11ac?