[PATCH V2 2/3] ath: use seq_file api for ath9k debugfs files

2014-11-09 Thread Arend van Spriel
The debugfs files that are defined in debug.c which are read-only and using a simple_open as .open file operation have been modified to use the single_open seq_file API. This simplifies the read functions defining the file contents. Signed-off-by: Arend van Spriel ar...@broadcom.com ---

[PATCH 02/16] mac80211: retransmit TDLS teardown packet through AP if not ACKed

2014-11-09 Thread Arik Nemtsov
From: Liad Kaufman liad.kauf...@intel.com Since the TDLS peer station might not receive the teardown packet (e.g., when in PS), this makes sure the packet is retransmitted - this time through the AP - if the TDLS peer didn't ACK the packet. Signed-off-by: Liad Kaufman liad.kauf...@intel.com

[PATCH 03/16] mac80211: move skb info band assignment out

2014-11-09 Thread Arik Nemtsov
From: Johannes Berg johannes.b...@intel.com Instead of passing the band as a parameter to ieee80211_xmit() and ieee80211_tx(), move it outside of the two functions while making sure info-band is set up before calling them. This removes the parameter and simplifies the follow commit.

[PATCH 01/16] mac80211: add option for setting skb flags before xmit

2014-11-09 Thread Arik Nemtsov
From: Liad Kaufman liad.kauf...@intel.com Allows setting of an skb's flags - if needed - when calling ieee80211_subif_start_xmit(). Signed-off-by: Liad Kaufman liad.kauf...@intel.com Reviewed-by: Johannes Berg johannes.b...@intel.com Signed-off-by: Arik Nemtsov a...@wizery.com ---

[PATCH 08/16] cfg/mac80211: define TDLS channel switch feature bit

2014-11-09 Thread Arik Nemtsov
Define some related TDLS protocol constants and advertise channel switch support in the extended-capabilities IE when the feature bit is defined. Actually supporting TDLS channel-switching also requires support for some new nl80211 commands, to be introduced by future patches. Signed-off-by:

[PATCH 11/16] cfg80211: introduce TDLS channel switch commands

2014-11-09 Thread Arik Nemtsov
Introduce commands to initiate and cancel TDLS channel-switching. Once TDLS channel-switching is started, the lower level driver is responsible for continually initiating channel-switch operations and returning to the base (AP) channel to listen for beacons from time to time. Upon cancellation of

[PATCH 07/16] mac80211: add BSS coex IE to TDLS setup frames

2014-11-09 Thread Arik Nemtsov
Add the BSS coex IE in case we support HT40 channels, as mandated by section 8.5.13 in IEEE802.11 2012. Signed-off-by: Arik Nemtsov arikx.nemt...@intel.com Reviewed-by: Johannes Berg johannes.b...@intel.com Signed-off-by: Arik Nemtsov a...@wizery.com --- include/linux/ieee80211.h | 3 +++

[PATCH 10/16] mac80211: prepare TDLS mgmt code for channel-switch templates

2014-11-09 Thread Arik Nemtsov
Split the data-generating from the Tx-sending functionality, as we do not want to send templates to the lower driver. Also add an optional chandef argument to the data-generating portion. It will be used for channel-switch templates. Signed-off-by: Arik Nemtsov arikx.nemt...@intel.com

[PATCH 15/16] mac80211: add specific-queue flushing support

2014-11-09 Thread Arik Nemtsov
From: Liad Kaufman liad.kauf...@intel.com If the HW supports IEEE80211_HW_QUEUE_CONTROL, allow flushing only specific queues rather than all of them. Signed-off-by: Liad Kaufman liad.kauf...@intel.com Reviewed-by: Johannes Berg johannes.b...@intel.com Signed-off-by: Arik Nemtsov a...@wizery.com

[PATCH 09/16] mac80211: track AP and peer STA TDLS chan-switch support

2014-11-09 Thread Arik Nemtsov
The AP or peer can prohibit TDLS channel switch via a bit in the extended capabilities IE. Parse the IE and track this bit. Set an appropriate STA flag if both the AP and peer STA support TDLS channel-switching. Add the new STA flag and the missing TDLS_INITIATOR to debugfs. Signed-off-by: Arik

[PATCH 14/16] mac80211: add TDLS channel-switch Rx flow

2014-11-09 Thread Arik Nemtsov
When receiving a TDLS channel switch request or response, parse the frame and call a new tdls_recv_channel_switch op in the low level driver with the parsed data. Signed-off-by: Arik Nemtsov arikx.nemt...@intel.com Reviewed-by: Johannes Berg johannes.b...@intel.com Signed-off-by: Arik Nemtsov

[PATCH 16/16] mac80211: synchronously reserve TID per station

2014-11-09 Thread Arik Nemtsov
From: Liad Kaufman liad.kauf...@intel.com In TDLS (e.g., TDLS off-channel) there is a requirement for some drivers to supply an unused TID between the AP and the device to the FW, to allow sending PTI requests and to allow the FW to aggregate on a specific TID for better throughput. To ensure

[PATCH 05/16] mac80211: add function to create data frame template including key

2014-11-09 Thread Arik Nemtsov
From: Johannes Berg johannes.b...@intel.com For some TDLS channel switch implementations data frames need to be sent by the firmware based on a template. This template should be created by mac80211, and thus needs to properly be built from an 802.3 frame into an 802.11 frame. In addition, the

[PATCH 12/16] mac80211: add parsing of TDLS specific IEs

2014-11-09 Thread Arik Nemtsov
These are used in TDLS channel switching code. Signed-off-by: Arik Nemtsov arikx.nemt...@intel.com Reviewed-by: Johannes Berg johannes.b...@intel.com Signed-off-by: Arik Nemtsov a...@wizery.com --- include/linux/ieee80211.h | 15 +++ net/mac80211/ieee80211_i.h | 2 ++

[PATCH 04/16] mac80211: factor out 802.11 header building code

2014-11-09 Thread Arik Nemtsov
From: Johannes Berg johannes.b...@intel.com Factor out the 802.11 header building code from the xmit function to be able to use it separately in a later commit. While at it, fix up some documentation. Signed-off-by: Johannes Berg johannes.b...@intel.com Signed-off-by: Arik Nemtsov

Re: [PATCH 11/16] cfg80211: introduce TDLS channel switch commands

2014-11-09 Thread Arend van Spriel
On 11/09/14 17:50, Arik Nemtsov wrote: Introduce commands to initiate and cancel TDLS channel-switching. Once TDLS channel-switching is started, the lower level driver is responsible for continually initiating channel-switch operations and returning to the base (AP) channel to listen for beacons

[PATCH] wlcore: make wlcore_cmd_send_failsafe() static

2014-11-09 Thread Luca Coelho
From: Luciano Coelho luciano.coe...@intel.com The wlcore_cmd_send_failsafe() function is only called in the cmd.c file, where it is definde. Make it static. Additionally, move the EXPORT_SYMBOL macro for wl1271_cmd_send() to the right place. Signed-off-by: Luciano Coelho