Search Linux Wireless

Re: [PATCH] cfg80211: Random local address for Public Action frame exchange

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

 



On 01/02/2017 02:28 PM, Johannes Berg wrote:
On Fri, 2016-12-30 at 22:55 +0300, IgorMitsyanko wrote:
The driver needs to configure receive behavior to accept frames to
the
specified random address during the time the frame exchange is
pending
and such frames need to be acknowledged similarly to frames sent to
the
local permanent address when this random address functionality is
not
used.
A (probably) silly question: how wireless drivers are supposed to use
SA
in a frame? I think drivers are not concerned about source address,
they
simply pass whatever there is already set by userspace in
cfg80211_mgmt_tx_params::buf into air on Tx.
And on Rx, they filter frames based on receiver address/BSSID, pass
it
to upper layers and do not care what address is in DA (it is handled
by
upper layers).
They do care about the DA in RX, since - as the commit message states -
"such frames need to be acknowledged [...]"

Acknowledgment is done for transmitter<->receiver addresses,
not for source<->destination?
Patch talks about source address randomization, but I guess it actually
 meant transmitter address (basically dynamic BSSID config?). Maybe naming
should be changed in the patch.

For  NL80211_EXT_FEATURE_MGMT_TX_RANDOM_SA_CONNECTED case,
I wonder if HW can be configured to not filter-out multiple BSSIDs or the idea is that while random_sa frame is pending for ACK, HW will drop all frames destined
for initially configured BSSID?


johannes





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux