Search Linux Wireless

Re: [PATCH] wifi: mac80211: warn on insufficient antennas for injected HT frames

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

 



On Mon, 2025-07-14 at 17:44 +0800, WangYuli wrote:
> When injecting frames via radiotap, an HT MCS rate can be specified.
> The number of chains for that MCS implies a minimum number of
> antennas that must be enabled in the antenna bitmap. Previously,
> if the antenna bitmap specified fewer antennas than required by the
> MCS, the bitmap was silently cleared. This makes it hard to debug
> issues with injected frames.
> 
> Add a WARN_ONCE() to log a descriptive error when this happens, make
> it clear that the antenna configuration was insufficient and has
> been reset.
> 

No. We shouldn't WARN on userspace misbehaviour.

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