[PATCH 0/3] ath10k mesh support

Bob Copeland me at bobcopeland.com
Sun Aug 16 08:25:54 PDT 2015


Hi,

This patchset implements mesh support for ath10k.  In the end there aren't
too many changes required now that raw mode is upstream.

When the module is loaded with (newly implemented) modparam rawmode=1, it
will enable operating an open mesh STA via something like the following:

    if=wlan0
    meship=10.10.1.10
    ip link set $if down
    ip addr flush $if
    iw dev $if set type mp
    ip link set $if up
    ip addr add $meship/24 dev $if
    iw dev $if set freq 5745 80 5775
    iw dev $if mesh join mesh-vht

Prerequisites:

* latest mac80211-next is needed to ensure that a valid AID is supplied with
stations, without which firmware will crash.

* another mac80211 patch is needed to enable VHT mesh; I'll be sending this
separately to linux-wireless, but you can find it here:

http://bobcopeland.com/kernel/wl/20150816/

Notes:
* Even with 80 MHz VHT enabled, performance is not great: I get about 65 Mbps
OTA.  It looks like we only send 1 frame per a-mpdu; any thoughts on how
to fix would be welcome.

* I'm not crazy about requiring a modparam and advertising mesh interfaces
that are only really usable when the modparam is set, but I'm not sure how
to set rx decap mode on the fly and whether we can do that on a per-vif
basis.

* monitor vdev for getting all multicasts is a bit heavy handed, would
be nice if there was something like ath9k's all mcast filter flag.

Bob Copeland (3):
  ath10k: enable monitor when OTHER_BSS requested
  ath10k: check for encryption before adding MIC_LEN
  ath10k: implement mesh support

 drivers/net/wireless/ath/ath10k/core.c   |  6 ++++++
 drivers/net/wireless/ath/ath10k/htt_tx.c |  3 ++-
 drivers/net/wireless/ath/ath10k/mac.c    | 34 +++++++++++++++++++++++++++-----
 3 files changed, 37 insertions(+), 6 deletions(-)

-- 
2.1.4




More information about the ath10k mailing list