Search Linux Wireless

Re: [PATCH wireless-next 1/2] wifi: mac80211: validate SCAN_FLAG_AP in scan request during MLO

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

 



On 5/13/2025 4:26 PM, Aditya Kumar Singh wrote:
On 5/13/2025 4:18 PM, Johannes Berg wrote:
On Tue, 2025-05-13 at 16:02 +0530, Aditya Kumar Singh wrote:

Okay sure let me first send a clean up. So,
ieee80211_num_beaconing_links() should return 1 for non-MLO as well?


That would seem logical to me? For this and many other things non-MLO is
mostly equivalent to just having a single link (apart from the address
translation.)

Yeah in a way true only.


And callers should test for == 1 instead of <= 1.

Not even sure that matters enough to need to change?
yeah can be left as it is. Sure then I will change the function alone to return 1 for non-MLO case as well.

Thanks for the inputs :)


Done. Here is the clean up patch for review -
Link: https://lore.kernel.org/all/20250515-fix_num_beaconing_links-v1-1-4a39e2704314@xxxxxxxxxxxxxxxx/

--
Aditya




[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