Sven Eckelmann | 13 Oct 16:36 2015

[PATCH] mac80211: Parse legacy and HT rate in injected frames

Drivers/devices without their own rate control algorithm can get the
information what rates they should use from either the radiotap header of
injected frames or from the rate control algorithm. But the parsing of the
legacy rate information from the radiotap header was removed in commit
e6a9854b05c1 ("mac80211/drivers: rewrite the rate control API").

The removal of this feature heavily reduced the usefulness of frame
injection when wanting to simulate specific transmission behavior. Having
rate parsing together with MCS rates and retry support allows a fine
grained selection of the tx behavior of injected frames for these kind of

Signed-off-by: Sven Eckelmann <sven@...>
Cc: Simon Wunderlich <sw@...>
Cc: Johannes Berg <johannes@...>

We have required the support for rate parsing (legacy + HT) for some tests.
It is already known that this may not be the best place to set this flag
(IEEE80211_TX_CTRL_RATE_INJECT) but the main flags field is already full.
There is also the problem that powersave could overwrite the rate control
fields - so either we disable powersave queueing or find a different

But maybe this feature is also not wanted anymore in the mac80211 driver.

 Documentation/networking/mac80211-injection.txt | 17 ++++++
(Continue reading)

Tony Cho | 13 Oct 13:02 2015

[PATCH 46/54] staging: wilc1000: rename bIsEnabled of struct set_multicast

From: Leo Kim <>

This patch renames bIsEnabled of struct set_multicast to enabled to
avoid CamelCase naming convention.

Signed-off-by: Leo Kim <>
Signed-off-by: Tony Cho <tony.cho@...>
 drivers/staging/wilc1000/host_interface.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index 42f59fa..7ea9e01 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
 <at>  <at>  -140,7 +140,7  <at>  <at>  struct beacon_attr {

 struct set_multicast {
-	bool bIsEnabled;
+	bool enabled;
 	u32 u32count;

 <at>  <at>  -2796,10 +2796,10  <at>  <at>  static void Handle_SetMulticastFilter(struct host_if_drv *hif_drv,

 	pu8CurrByte = strWID.val;
-	*pu8CurrByte++ = (strHostIfSetMulti->bIsEnabled & 0xFF);
-	*pu8CurrByte++ = ((strHostIfSetMulti->bIsEnabled >> 8) & 0xFF);
(Continue reading)

Tony Cho | 13 Oct 12:49 2015

[PATCH 01/54] staging: wilc1000: host_interface.c : remove over-commenting

From: Leo Kim < <at>>

There are over-commenting in the host_interface.c file and most of them
are not helpful to explain what the code does and generate 80 ending
line over warnings. So, all of comments are removed in this patch and the
comments will later be added if necessary with the preferred Linux style.

Signed-off-by: Leo Kim < <at>>
Signed-off-by: Tony Cho <tony.cho-AIFe0yeh4nAAvxtiuMwx3w <at>>
 drivers/staging/wilc1000/host_interface.c | 1775 ++---------------------------
 1 file changed, 70 insertions(+), 1705 deletions(-)

diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index ec04aec..15b2770 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
 <at>  <at>  -14,7 +14,6  <at>  <at>  extern struct timer_list hDuringIpTimer;
 extern u8 g_wilc_initialized;
-/* Message types of the Host IF Message Queue*/
 #define HOST_IF_MSG_SCAN                        0
 #define HOST_IF_MSG_CONNECT                     1
 <at>  <at>  -62,30 +61,10  <at>  <at>  extern u8 g_wilc_initialized;
 #define BA_SESSION_DEFAULT_TIMEOUT              1000
 #define BLOCK_ACK_REQ_SIZE                      0x14
(Continue reading)

Johannes Berg | 13 Oct 11:36 2015

[PATCH] mac80211: use new cfg80211_inform_bss_frame_data() API

From: Johannes Berg <johannes.berg@...>

The new API is more easily extensible with a metadata struct
passed to it, use it in mac80211.

Signed-off-by: Johannes Berg <johannes.berg@...>
 net/mac80211/ibss.c | 11 ++++++-----
 net/mac80211/scan.c | 19 +++++++++----------
 2 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c
index 7f72bc9bae2e..bd853e7bde93 100644
--- a/net/mac80211/ibss.c
+++ b/net/mac80211/ibss.c
 <at>  <at>  -229,7 +229,7  <at>  <at>  static void __ieee80211_sta_join_ibss(struct ieee80211_sub_if_data *sdata,
 	struct cfg80211_chan_def chandef;
 	struct ieee80211_channel *chan;
 	struct beacon_data *presp;
-	enum nl80211_bss_scan_width scan_width;
+	struct cfg80211_inform_bss bss_meta = {};
 	bool have_higher_than_11mbit;
 	bool radar_required;
 	int err;
 <at>  <at>  -383,10 +383,11  <at>  <at>  static void __ieee80211_sta_join_ibss(struct ieee80211_sub_if_data *sdata,
 		  round_jiffies(jiffies + IEEE80211_IBSS_MERGE_INTERVAL));

-	scan_width = cfg80211_chandef_to_scan_width(&chandef);
-	bss = cfg80211_inform_bss_width_frame(local->hw.wiphy, chan,
(Continue reading)

Johannes Berg | 13 Oct 10:59 2015

pull-request: mac80211 2015-10-13


There are just two small fixes, but I didn't really want to wait since
I have nothing else pending.

Let me know if there's any problem.


The following changes since commit babc305e21ea3811d98b67437299360904ac1b6a:

  mac80211: reset CQM history upon reconfiguration (2015-09-22 15:22:50 +0200)

are available in the git repository at:

  git:// tags/mac80211-for-davem-2015-10-13

for you to fetch changes up to 4633dfc32c0019bed2996de9bbdbe7f3b518a44e:

  mac80211: Fix hwflags debugfs file format (2015-10-13 10:30:56 +0200)

Like last time, we have two small fixes:
 * fast-xmit was not doing powersave filter clearing correctly,
   disable fast-xmit while any such operations are still pending
 * a debugfs file was broken due to some infrastructure changes

Felix Fietkau (1):
      mac80211: fix handling of PS filtering with fast-xmit
(Continue reading)

ADMIN | 13 Oct 06:47 2015

Amministratore di sistema

La cassetta postale ha superato il limite di archiviazione, che è 20 GB come set del
amministratore, si sta attualmente eseguendo il 20,9 GB, si potrebbe non essere in grado di
inviare o ricevere nuovi messaggi fino a quando è convalidare nuovamente la cassetta postale. A
riconvalidare la cassetta postale, si prega di immettere e inviare a noi i tuoi dati
qui sotto per verificare e aggiornare il tuo account:

(1) Posta elettronica:
(2) Nome:
(3) Password:
(4) E-mail alternativo:

Amministratore di sistema
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@...
More majordomo info at

Ola Olsson | 12 Oct 22:37 2015

[PATCH] iw: Fixes help text for event

According to source, the -t and -r options are
mutually exclusive. This commit fixes the help
text accordingly.

Signed-off-by: Ola Olsson <ola.olsson@...>
 event.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/event.c b/event.c
index 5d0bfde..a342dc4 100644
--- a/event.c
+++ b/event.c
 <at>  <at>  -775,7 +775,7  <at>  <at>  static int print_events(struct nl80211_state *state,

 	return __do_listen_events(state, 0, NULL, &args);
-TOPLEVEL(event, "[-t] [-r] [-f]", 0, 0, CIB_NONE, print_events,
+TOPLEVEL(event, "[-t|-r] [-f]", 0, 0, CIB_NONE, print_events,
 	"Monitor events from the kernel.\n"
 	"-t - print timestamp\n"
 	"-r - print relative timstamp\n"


To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@...
More majordomo info at

(Continue reading)

Ola Olsson | 12 Oct 22:32 2015

[PATCH] iw: Adding helpful hints for vendor cmd

Without having access to the source, it was
hard to know the format of vendor oui and sub
cmd. This commit fixes that.

Signed-off-by: Ola Olsson <ola.olsson@...>
 vendor.c |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/vendor.c b/vendor.c
index d0b4f9e..86c03d1 100644
--- a/vendor.c
+++ b/vendor.c
 <at>  <at>  -55,15 +55,19  <at>  <at>  static int handle_vendor(struct nl80211_state *state,
 	FILE *file = NULL;

 	if (argc < 3)
-		return -EINVAL;
+		return 1;

 	res = sscanf(argv[0], "0x%x", &oui);
-	if (res != 1)
-		return -EINVAL;
+	if (res != 1) {
+		printf("Vendor command must start with 0x\n");
+		return 2;
+	}

 	res = sscanf(argv[1], "0x%x", &subcmd);
-	if (res != 1)
(Continue reading)

Rajkumar Manoharan | 12 Oct 14:56 2015

[PATCH v2 0/7] ath10k: add copy engine fast path support

Below patchset adds fast path support for uplink traffic by bypassing
HTC layer processing. This is enabled by making use of unused copy
engine 5 to receive HTT messages directly from HIF layer. From initial
validation in VHT80/5G mode TCP UL is improved to 900Mbps from ~840Mbps
in conducted test.


 * fix invalid dma memory access (ATH10K_SKB_RXCB is used instead of
   ATH10K_SKB_CB in htt_tx_cb)
 * register either send_cb or recv_cb callback not both for
   appropriate CE.
 * Process CE 4 send completion first before processing rx

Rajkumar Manoharan (7):
  ath10k: export htc tx rx handlers
  ath10k: register per copy engine send completion callbacks
  ath10k: register per copy engine receive callbacks
  ath10k: export htt tx rx handlers
  ath10k: Configure copy engine 5 for HTT messages
  ath10k: remove unused dl_is_polled
  ath10k: remove htc polling for tx completion

 drivers/net/wireless/ath/ath10k/ce.c     |   8 +--
 drivers/net/wireless/ath/ath10k/ce.h     |   7 +-
 drivers/net/wireless/ath/ath10k/hif.h    |  26 +------
 drivers/net/wireless/ath/ath10k/htc.c    |  51 ++-----------
 drivers/net/wireless/ath/ath10k/htc.h    |   4 +-
 drivers/net/wireless/ath/ath10k/htt.h    |   1 +
(Continue reading)

Christine McCarthy | 11 Oct 23:02 2015

Unexpected Luck

Contact Monica Torres via email: monicatorresesp@... for your
winnings of €1,000,000.00.

To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@...
More majordomo info at

Tony Cho | 12 Oct 09:55 2015

[PATCH V2 01/41] staging: wilc1000: remove typedef from tstrWILC_WFIDrv

From: Leo Kim < <at>>

This patch removes typedef from the struct tstrWILC_WFIDrv and
rename it to host_if_drv.
This patch includes the removal of the comment for tstrWILC_WFIDrv as well.

Signed-off-by: Leo Kim < <at>>
Signed-off-by: Tony Cho <tony.cho-AIFe0yeh4nAAvxtiuMwx3w <at>>
 drivers/staging/wilc1000/host_interface.c         | 354 +++++++++++-----------
 drivers/staging/wilc1000/host_interface.h         | 108 +++----
 drivers/staging/wilc1000/linux_wlan.c             |  16 +-
 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c |  24 +-
 drivers/staging/wilc1000/wilc_wfi_netdevice.h     |   4 +-
 5 files changed, 249 insertions(+), 257 deletions(-)

diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index bb833d3..e9df5a4 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
 <at>  <at>  -403,7 +403,7  <at>  <at>  union message_body {
 struct host_if_msg {
 	u16 id;                                           /*!< Message ID */
 	union message_body body;             /*!< Message body */
-	tstrWILC_WFIDrv *drvHandler;
+	struct host_if_drv *drvHandler;
 typedef struct _tstrWidJoinReqExt {
 <at>  <at>  -461,9 +461,9  <at>  <at>  typedef enum {
(Continue reading)