[PATCH v3] mac80211: mesh: set tx_info->hw_queue to the correct queue upon packet forwarding

2016-08-08 Thread Yaniv Machani
-queue occurred for some reason, frame will be inserted to correct queue 2 (BE). In this case frames are now dequeued from 2 different queues and sent out of order. Signed-off-by: Meirav Kama <meir...@ti.com> Signed-off-by: Yaniv Machani <yani...@ti.com> --- v3 - update the headline net/mac8

[PATCH v3 3/3] mac80211: mesh: fixed HT ies in beacon template

2016-07-13 Thread Yaniv Machani
The HT capab info field inside the HT capab IE of the mesh beacon is incorrect (in the case of 20MHz channel width). To fix this driver will check configuration from cfg and will build it accordingly. Signed-off-by: Meirav Kama <meir...@ti.com> Signed-off-by: Yaniv Machani <yani...@ti.co

[PATCH v2] mac80211: rx: frames received out of order

2016-07-13 Thread Yaniv Machani
nserts it to the correct queue (e.g. BE). After that, driver dequeue frames from 2 different queues and sends them out of order. To fix this, driver will set the tx_info->hw_queue to the correct queue when cloning the skb. Signed-off-by: Meirav Kama <meir...@ti.com> Signed-off-by: Yaniv Machani <yani

[PATCH] mac80211: rx: frames received out of order

2016-07-13 Thread Yaniv Machani
-queue occurred for some reason, frame will be inserted to correct queue 2 (BE). In this case frames are now dequeued from 2 different queues and sent out of order. Signed-off-by: Meirav Kama <meir...@ti.com> Signed-off-by: Yaniv Machani <yani...@ti.com> --- net/mac80211/rx.c | 1 + 1 file ch

[PATCH v2 2/3] mac80211: mesh: improve path resolving time

2016-07-13 Thread Yaniv Machani
, possibly of few seconds until the traffic will resume. To improve that, added an 'immediate' flag to be used when the path needs to be resolved. Once set, a PREQ frame will be send w/o considering the MinInterval parameter. Signed-off-by: Maital Hahn <mait...@ti.com> Signed-off-by:

[PATCH v2 1/3] mac80211: mesh: flush stations before beacons are stopped

2016-07-13 Thread Yaniv Machani
rivers. Tested also on Ralink RT3572 chipset. Signed-off-by: Maital Hahn <mait...@ti.com> Signed-off-by: Yaniv Machani <yani...@ti.com> --- V2- updated comment, patch was tested with RT3572 net/mac80211/mesh.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/n

[PATCH v2 0/3] Mesh mpm fixes and enhancements

2016-07-13 Thread Yaniv Machani
Hahn (1): mac80211: mesh: flush stations before beacons are stopped Yaniv Machani (2): mac80211: mesh: improve path resolving time mac80211: mesh: fixed HT ies in beacon template net/mac80211/mesh.c | 43 ++- net/mac80211/mesh_hwmp.c | 42

[PATCH 3/3] mac80211: mesh: fixed HT ies in beacon template

2016-07-13 Thread Yaniv Machani
The HT capab info field inside the HT capab IE of the mesh beacon is incorrect (in the case of 20MHz channel width). To fix this driver will check configuration from cfg and will build it accordingly. Signed-off-by: Meirav Kama <meir...@ti.com> Signed-off-by: Yaniv Machani <yani...@ti.co

[PATCH] mac80211: rx: frames received out of order

2016-06-28 Thread Yaniv Machani
-queue occurred for some reason, frame will be inserted to correct queue 2 (BE). In this case frames are now dequeued from 2 different queues and sent out of order. Signed-off-by: Meirav Kama <meir...@ti.com> Acked-by: Yaniv Machani <yani...@ti.com> --- net/mac80211/rx.c | 1 + 1 file ch

[PATCH] mac80211: util: mesh is not connected properly after recovery

2016-06-28 Thread Yaniv Machani
From: Maital Hahn <mait...@ti.com> In the reconfigure process for mesh interface, moved the reconfiguration of the mesh peers to be done only after restarting the beacons, the same as it is done for AP. Signed-off-by: Maital Hahn <mait...@ti.com> Acked-by: Yaniv Machani <yani...@t

[PATCH 1/4] mac80211: mesh: flush stations before beacons are stopped

2016-06-28 Thread Yaniv Machani
From: Maital Hahn <mait...@ti.com> Some drivers (e.g. wl18xx) expect that the last stage in the de-initialization process will be stopping the beacons, similar to ap. Update ieee80211_stop_mesh() flow accordingly. Signed-off-by: Maital Hahn <mait...@ti.com> Acked-by: Yaniv M

[PATCH 0/4] Mesh mpm fixes and enhancements

2016-06-28 Thread Yaniv Machani
This patch set is addressing some issues found in the current 802.11s implementation, specifically when using hostap mpm. It's aligning the beacon format and handling some corner cases. Maital Hahn (2): mac80211: mesh: flush stations before beacons are stopped mac80211/cfg: mesh: fix

[PATCH 3/4] mac80211: mesh: fixed HT ies in beacon template

2016-06-28 Thread Yaniv Machani
v Kama <meir...@ti.com> Acked-by: Yaniv Machani <yani...@ti.com> --- net/mac80211/mesh.c | 33 - net/mac80211/util.c | 3 --- net/wireless/mesh.c | 2 +- 3 files changed, 33 insertions(+), 5 deletions(-) diff --git a/net/mac80211/mesh.c b/net/mac80211/me

[PATCH 4/4] mac80211: sta_info: max_peers reached falsely

2016-06-28 Thread Yaniv Machani
ed-off-by: Meirav Kama <meir...@ti.com> Acked-by: Yaniv Machani <yani...@ti.com> --- net/mac80211/sta_info.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c index 76b737d..1ce6320 100644 --- a/net/mac80211/sta_info.c

[PATCH 2/4] mac80211/cfg: mesh: fix healing time when a mesh peer is disconnecting

2016-06-28 Thread Yaniv Machani
utting it in the queue. Signed-off-by: Maital Hahn <mait...@ti.com> Acked-by: Yaniv Machani <yani...@ti.com> --- net/mac80211/cfg.c | 1 + net/mac80211/mesh.c | 3 ++- net/mac80211/mesh_hwmp.c | 42 +- 3 files changed, 28 insertions(+), 18

[PATCH] wlcore/wl18xx: mesh: added initial mesh support for wl8

2016-06-28 Thread Yaniv Machani
ed-off-by: Maital Hahn <mait...@ti.com> Signed-off-by: Yaniv Machani <yani...@ti.com> --- drivers/net/wireless/ti/wl18xx/main.c | 15 --- drivers/net/wireless/ti/wl18xx/wl18xx.h | 2 +- drivers/net/wireless/ti/wlcore/acx.h | 1 + drivers/net/wireless/ti/wlco

[PATCH v2] wlcore: time sync : add support for 64 bit clock

2016-06-27 Thread Yaniv Machani
Changed the configuration to support 64bit instead of 32bit this in order to offload the driver from handling a wraparound. Signed-off-by: Yaniv Machani <yani...@ti.com> --- V2 - Update the interface parameters type to le16 from u16. drivers/net/wireless/ti/wl18xx/event.

[PATCH] wlcore: time sync : add support for 64 bit clock

2016-06-23 Thread Yaniv Machani
Changed the configuration to support 64bit instead of 32bit this in order to offload the driver from handling a wraparound. Signed-off-by: Yaniv Machani <yani...@ti.com> --- drivers/net/wireless/ti/wl18xx/event.c | 26 +- drivers/net/wireless/ti/wl18xx/event.

[PATCH 1/4] wlcore/wl18xx : add time sync event handling

2015-07-30 Thread Yaniv Machani
Added support for a new time sync event the event data contains the WiLink TSF value. To trigger the event, a HW modification is required, so as a supporting firmware binary. Signed-off-by: Yaniv Machani yani...@ti.com --- drivers/net/wireless/ti/wl18xx/event.c | 13 + drivers/net

[PATCH 4/4] wlcore: add p2p device support

2015-07-30 Thread Yaniv Machani
From: Eliad Peller el...@wizery.com When starting a p2p mgmt interface, enable its device role. This allows us to keep the sta role disabled and scan on the dev role. In general, p2p management interfaces cannot send vif-specific commands to FW, as the vif role id is invalid. Only off-channel

[PATCH 3/4] wlcore: add generic_cfg_feature command definitions

2015-07-30 Thread Yaniv Machani
From: Eliad Peller el...@wizery.com Add definitions and function prototypes for generic_cfg command. Signed-off-by: Eliad Peller el...@wizery.com --- drivers/net/wireless/ti/wlcore/cmd.c | 30 ++ drivers/net/wireless/ti/wlcore/cmd.h | 15 +++ 2 files

[PATCH 2/4] wl18xx: use long intervals in sched scan

2015-07-30 Thread Yaniv Machani
From: Eliad Peller el...@wizery.com Add support for long intervals on sched scan. If configured, the original request interval will be used num_short_interval times, and then the long interval will be used. While on it, fix the scan command field names to reflect the expected value is in ms

[PATCH 1/2] ARM: dts: am335x-evm: add wilink8 wlan support

2015-07-30 Thread Yaniv Machani
From: Eliad Peller el...@wizery.com * enable mmc3 used for wlan * configure the gpios used for wlan * add fixed voltage regulator used for wlan power control Signed-off-by: Eliad Peller el...@wizery.com Signed-off-by: Yaniv Machani yani...@ti.com --- arch/arm/boot/dts/am335x-evm.dts

[PATCH 2/2] ARM: dts: am335x-evm: add wilink8 bluetooth support

2015-07-30 Thread Yaniv Machani
From: Eliad Peller el...@wizery.com uart1 is used for shared transport (used for multiplexing bluetooth and nfc data). add the needed muxes and definitions. Signed-off-by: Eliad Peller el...@wizery.com Signed-off-by: Eyal Reizer ey...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 29