Karthikeyan Periyasamy <periyasa@xxxxxxxxxxxxxx> wrote: > Add operations to allow an AP to capture frames from stations that > are active on the operating channel, but not associated to the current AP. > Operations include add/delete the filter and get the statistics > information of the unassociated stations. > > User can able to add/delete two type of filters, > 1. BSSID > 2. STA MAC address > > BSSID filter achieved by HW through vdev_set_neighbor_rx_param WMI command. > Local device able to capture all frames of the specified BSS using the above > WMI command. STA filter achieved by SW through RX addr2 matching with > unassociated station rhash table list keyed by MAC address. rhash table used > for efficient search. rhash table can grow/shrink by the add/delete STA > filter request. > > Hardware tested: QCA9984, QCA4019 and QCA9888 > Firmware tested: 10.4-3.6-xxxxx > > NOTE: Tested with debug firmware > > Signed-off-by: Karthikeyan Periyasamy <periyasa@xxxxxxxxxxxxxx> So I'm not sure what to do with this. A bpf type of filtering system in mac80211 would be nice but then again we cannot benefit from HW offloading. Johannes, what do you think? Here are the full patches: https://patchwork.kernel.org/patch/10508821/ https://patchwork.kernel.org/patch/10508823/ -- https://patchwork.kernel.org/patch/10508823/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches