Skip to content

ath11k: add monitor mode support

Miles Hu ath11k 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 2 repliesIn review
  2. v26 patches 1 replySuperseded

Changes in v3 from the cover letter

- Fix compile error on x86

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ath11k: init/deinit monitor ringsdrivers/net/wireless/ath/ath11k/core.h drivers/net/wireless/ath/ath11k/dp.c drivers/net/wireless/ath/ath11k/dp.h +4 more+262 -682 replies
2/6ath11k: monitor filter set functiondrivers/net/wireless/ath/ath11k/dp_tx.c+107 -720 replies
3/6ath11k: htt setup monitor ringsdrivers/net/wireless/ath/ath11k/dp_rx.c drivers/net/wireless/ath/ath11k/dp_rx.h+265 -320 replies
4/6ath11k: monitor mode attach/detachdrivers/net/wireless/ath/ath11k/dp.c drivers/net/wireless/ath/ath11k/dp_rx.c+175 -00 replies
5/6ath11k: enable/disable monitor mode and destination ring entry processdrivers/net/wireless/ath/ath11k/dp_rx.c drivers/net/wireless/ath/ath11k/hal.c drivers/net/wireless/ath/ath11k/hal_rx.c +1 more+252 -20 replies
6/6ath11k: merge msdu tlv process and status/destination ring processdrivers/net/wireless/ath/ath11k/dp_rx.c+291 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/6] ath11k: add monitor mode support

Adding monitor mode in ath11k. It can be enabled
by commands below:

ifconfig wlan0 down
iw wlan0 set type monitor
ifconfig wlan0 up

change channel:
iw wlan0 set freq 5805 80 5775

Change summary:
1. create monitor status/destination/buffer/link descriptor rings.
2. enable these rings and push ring filters to buffer/status rings.
3. add napi entry point for monitor status and destination rings process.
4. implement monitor status/buffer rings replenish.
5. process entries from the status ring to get ppdu id and tlv status.
6. process entries from the destination ring by comparing ppdu id to build msdu list.
7. merge msdu list to mpdu and copy rx status to cb.
8. deliver mpdu to upper layer.

Known issues:
- Coexist with other interface type (AP/STA) not fully supported.
- higher data rates (11ax) not supported. radiotap needs proper info.
- signal strength and rate idx not accurate in some packets.

-Miles Hu

Miles Hu (6):
ath11k: init/deinit monitor rings
ath11k: monitor filter set function
ath11k: htt setup monitor rings
ath11k: monitor mode attach/detach
ath11k: enable/disable monitor mode and destination ring entry process
ath11k: merge msdu tlv process and status/destination ring process

V2:
- Move to ath11k-bringup branch
V3:
- Fix compile error on x86

 drivers/net/wireless/ath/ath11k/core.h     |   8 +-
 drivers/net/wireless/ath/ath11k/dp.c       | 111 ++--
 drivers/net/wireless/ath/ath11k/dp.h       | 189 ++++++-
 drivers/net/wireless/ath/ath11k/dp_rx.c    | 864 ++++++++++++++++++++++++++++-
 drivers/net/wireless/ath/ath11k/dp_rx.h    |  61 +-
 drivers/net/wireless/ath/ath11k/dp_tx.c    | 179 +++---
 drivers/net/wireless/ath/ath11k/dp_tx.h    |   1 +
 drivers/net/wireless/ath/ath11k/hal.c      |   2 +-
 drivers/net/wireless/ath/ath11k/hal_desc.h |   3 +
 drivers/net/wireless/ath/ath11k/hal_rx.c   |  28 +
 drivers/net/wireless/ath/ath11k/hal_rx.h   |  17 +
 drivers/net/wireless/ath/ath11k/mac.c      |  40 +-
 drivers/net/wireless/ath/ath11k/rx_desc.h  |   1 +
 13 files changed, 1341 insertions(+), 163 deletions(-)
Signature · 7 lines
2.7.4


_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k