Search Linux Wireless

Re: [PATCH 1/2] nl80211: Allow transmitting auth frames with random TA

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

 



Hi,

This patch doesn't apply now, sorry I let it linger across a lot of MLO
work.

> - To allow user space to use link address indicated by driver as
>   transmit address for authentication frames triggered by
>   NL80211_CMD_EXTERNAL_AUTH for MLO connection.

Maybe this is already covered by the changes that are actually
responsible for it not applying any more?

You can use the link address now, due to commit 6df2810ac9a9 ("wifi:
cfg80211: Allow MLO TX with link source address").


The PASN privacy thing seems something that would be desirable also for
mac80211, how would you think it would work there? Also for hwsim
testing I guess :)


>  	if (!ether_addr_equal(mgmt->sa, wdev_address(wdev))) {
> +		/* Allow random TA to be used with authentication frames if the
> +		 * driver has indicated support for this. Otherwise, only allow
> +		 * the local address to be used.
> +		 */
> +		if (ieee80211_is_auth(mgmt->frame_control) &&
> +		    wiphy_ext_feature_isset(
> +			   &rdev->wiphy,
> +			   NL80211_EXT_FEATURE_AUTH_TX_RANDOM_TA))
> +			goto out_tx;

Could use else/if instead of goto? Not sure that's better 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