Search Linux Wireless

Re: [RFC 3/5] wifi: mac80211: configure power save for an S1G short beaconing BSS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2025-07-14 at 15:14 +1000, Lachlan Hodges wrote:
> 
> +++ b/net/mac80211/tx.c
> @@ -4881,6 +4881,13 @@ static void __ieee80211_beacon_add_tim(struct ieee80211_sub_if_data *sdata,
>  	int aid0 = 0;
>  	int i, have_bits = 0, n1, n2;
>  	struct ieee80211_bss_conf *link_conf = link->conf;
> +	/*
> +	 * via IEEE80211-2024 11.1.3.10.2 if we are short beaconing,
> +	 * use dot11ShortBeaconDTIMPeriod, else use dot11DTIMPeriod.
> +	 */
> +	u8 dtim_period = link_conf->s1g_short_beaconing ?
> +			      link_conf->s1g_short_beacon_dtim_period :
> +			      link_conf->dtim_period;

Also here I wonder if the complexity is worth it?

If we just say the beacon interval and DTIM period are when we send
_any_ beacon, then none of this is needed and we simply send long
beacons and DTIMs according their own schedule each?

You've certainly thought about this more than I have though :-)

johannes





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux