Search Linux Wireless

Re: [RFC 4/5] wifi: cfg80211: Add cfg80211_next_nan_dw_notif() API

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

 



On Mon, 2025-06-23 at 01:24 +0300, Andrei Otcheretianski wrote:
> Implement and export a new API that will be used by drivers to notify
> user space about upcoming NAN Discovery Window (DW).

Seems there's not that much point in splitting a 67 line patch and a 7
line patch (#3) that really belong together?

> +	if (!wdev->owner_nlportid)
> +		genlmsg_multicast_netns(&nl80211_fam, wiphy_net(&rdev->wiphy),
> +					msg, 0, NL80211_MCGRP_NAN, gfp);
> +	else
> +		genlmsg_unicast(wiphy_net(&rdev->wiphy), msg,
> +				wdev->owner_nlportid);

I feel like perhaps the new design should just enforce the owner?
Otherwise how would all of this possibly work ... any application starts
listening and sending frames? Seems like a recipe for confusion.

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