All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/2] ath10k: Add QCA vendor command/attr support to filter neighbor BSS frames
@ 2018-07-05 11:51 ` Karthikeyan Periyasamy
  0 siblings, 0 replies; 18+ messages in thread
From: Karthikeyan Periyasamy @ 2018-07-05 11:51 UTC (permalink / raw)
  To: ath10k; +Cc: linux-wireless, Karthikeyan Periyasamy

Allow AP to receive neighbor BSSs frames and user-space can get the
statistics of the stations associated with neighbor BSSs.

User-space can use QCA_NL80211_VENDOR_SUBCMD_BSS_FILTER command to configure
RX filter to receive frames from stations that are active on the operating
channel, but not associated with the local device (e.g., STAs associated with
neighbor APs). Filtering is done based on a list of BSSIDs and STA MAC addresses
added by the user. This command is also used to fetch statistics of unassociated
stations. The attributes used with this command are defined in enum
qca_wlan_vendor_attr_bss_filter.

User can add/delete the filter by specifying the BSSID/STA MAC address in
QCA_WLAN_VENDOR_ATTR_BSS_FILTER_MAC_ADDR, filter type as BSSID/STA in
QCA_WLAN_VENDOR_ATTR_BSS_FILTER_TYPE and add/delete action in
QCA_WLAN_VENDOR_ATTR_BSS_FILTER_ACTION using the QCA vendor command
QCA_NL80211_VENDOR_SUBCMD_BSS_FILTER.

User can get the statistics of an unassociated station by specifying the MAC
address in QCA_WLAN_VENDOR_ATTR_BSS_FILTER_MAC_ADDR, station type in
QCA_WLAN_VENDOR_ATTR_BSS_FILTER_TYPE, GET action in
QCA_WLAN_VENDOR_ATTR_BSS_FILTER_ACTION using the QCA vendor command
QCA_NL80211_VENDOR_SUBCMD_BSS_FILTER. User can also get the statistics of all
unassociated stations by specifying the Broadcast MAC address (ff:ff:ff:ff:ff:ff)
in QCA_WLAN_VENDOR_ATTR_BSS_FILTER_MAC_ADDR with above procedure. In response,
ath10k driver specify statistics information nested in
QCA_WLAN_VENDOR_ATTR_BSS_FILTER_STA_STATS.

NOTE: Tested with debug firmware

Karthikeyan Periyasamy (2):
  ath10k: add wmi interface for vdev_set_neighbor_rx_param
  ath10k: Add QCA vendor command/attr support to filter neighbor BSS
    frames

 drivers/net/wireless/ath/ath10k/Makefile  |   3 +-
 drivers/net/wireless/ath/ath10k/core.h    |   3 +
 drivers/net/wireless/ath/ath10k/htt_rx.c  |   5 +
 drivers/net/wireless/ath/ath10k/mac.c     |  15 +-
 drivers/net/wireless/ath/ath10k/vendor.c  | 770 ++++++++++++++++++++++++++++++
 drivers/net/wireless/ath/ath10k/vendor.h  | 289 +++++++++++
 drivers/net/wireless/ath/ath10k/wmi-ops.h |  28 +-
 drivers/net/wireless/ath/ath10k/wmi.c     |  33 ++
 drivers/net/wireless/ath/ath10k/wmi.h     |  76 +++
 9 files changed, 1219 insertions(+), 3 deletions(-)
 create mode 100644 drivers/net/wireless/ath/ath10k/vendor.c
 create mode 100644 drivers/net/wireless/ath/ath10k/vendor.h

-- 
1.9.1

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2019-02-15 12:38 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-05 11:51 [RFC 0/2] ath10k: Add QCA vendor command/attr support to filter neighbor BSS frames Karthikeyan Periyasamy
2018-07-05 11:51 ` Karthikeyan Periyasamy
2018-07-05 11:51 ` [RFC 1/2] ath10k: add wmi interface for vdev_set_neighbor_rx_param Karthikeyan Periyasamy
2018-07-05 11:51   ` Karthikeyan Periyasamy
2018-07-05 11:51 ` [RFC 2/2] ath10k: Add QCA vendor command/attr support to filter neighbor BSS frames Karthikeyan Periyasamy
2018-07-05 11:51   ` Karthikeyan Periyasamy
2018-10-05  6:00   ` [RFC 2/2] ath10k: Add QCA vendor command/attr support to filterneighbor " Kalle Valo
2018-10-05  6:00   ` Kalle Valo
     [not found]   ` <20181005060031.BA1EB60BF4@smtp.codeaurora.org>
2018-10-18  8:29     ` Johannes Berg
2018-10-18  8:29       ` Johannes Berg
2018-11-20  2:40       ` Karthikeyan Periyasamy
2018-11-20  2:40         ` Karthikeyan Periyasamy
2019-01-25 20:49         ` Johannes Berg
2019-01-25 20:49           ` Johannes Berg
2019-01-28  4:49           ` Karthikeyan Periyasamy
2019-01-28  4:49             ` Karthikeyan Periyasamy
2019-02-15 12:37             ` Johannes Berg
2019-02-15 12:37               ` Johannes Berg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.