Search Linux Wireless

Re: [PATCH v3 4/6] wifi: mac80211: configure puncturing bitmap in channel_switch()

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

 



On Sun, 2023-01-29 at 23:22 -0800, Aloka Dixit wrote:
> Validate and set the puncturing bitmap in bss_conf for new channel.
> 
> Signed-off-by: Aloka Dixit <quic_alokad@xxxxxxxxxxx>
> ---
>  include/net/mac80211.h |  3 +++
>  net/mac80211/cfg.c     | 13 +++++++++++++
>  2 files changed, 16 insertions(+)
> 
> diff --git a/include/net/mac80211.h b/include/net/mac80211.h
> index b1c17c7ac044..87db6055d331 100644
> --- a/include/net/mac80211.h
> +++ b/include/net/mac80211.h
> @@ -645,6 +645,7 @@ struct ieee80211_fils_discovery {
>   * @csa_active: marks whether a channel switch is going on. Internally it is
>   *	write-protected by sdata_lock and local->mtx so holding either is fine
>   *	for read access.
> + * @csa_punct_bitmap: new pucturing bitmap for channel switch

typo: puncturing

>   * @mu_mimo_owner: indicates interface owns MU-MIMO capability
>   * @chanctx_conf: The channel context this interface is assigned to, or %NULL
>   *	when it is not assigned. This pointer is RCU-protected due to the TX
> @@ -741,6 +742,8 @@ struct ieee80211_bss_conf {
>  	u32 eht_puncturing;
>  
>  	bool csa_active;
> +	u32 csa_punct_bitmap;


And one more ;-)

I think u16 is enough for now

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