Notes Jonny | 20 Dec 01:16 2014
Picon

nl80211: send_and_recv->nl_recvmsgs failed: -33

Hello

I am seeing this error message quite often in syslog. Was wondering if
it is something I can fix. Not sure if related, but the laptop drops
off the established wifi at this location (that problem happens ever
few days).

Could the -33 be replaced with an error string? I wonder what -33 is,
perhaps -EDOM?

Regards, Jonny

Dec 20 00:07:28 ubuntu1404 NetworkManager[749]: <info> Activation
(wlan0) Stage 4 of 5 (IPv6 Configure Timeout) started...
Dec 20 00:07:28 ubuntu1404 NetworkManager[749]: <info> Activation
(wlan0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
Dec 20 00:07:28 ubuntu1404 wpa_supplicant[1095]: wlan0: CTRL-EVENT-SCAN-STARTED
Dec 20 00:07:29 ubuntu1404 wpa_supplicant[1095]: nl80211:
send_and_recv->nl_recvmsgs failed: -33
Dec 20 00:08:11 ubuntu1404 wpa_supplicant[1095]: wlan0: CTRL-EVENT-SCAN-STARTED
Dec 20 00:08:12 ubuntu1404 wpa_supplicant[1095]: nl80211:
send_and_recv->nl_recvmsgs failed: -33
Dec 20 00:09:14 ubuntu1404 wpa_supplicant[1095]: wlan0: CTRL-EVENT-SCAN-STARTED
Dec 20 00:09:15 ubuntu1404 wpa_supplicant[1095]: nl80211:
send_and_recv->nl_recvmsgs failed: -33
Dec 20 00:09:45 ubuntu1404 wpa_supplicant[1095]: wlan0: WPA: Group
rekeying completed with xxxxxxxxxxxxxx [GTK=TKIP]
Dec 20 00:10:37 ubuntu1404 wpa_supplicant[1095]: wlan0: CTRL-EVENT-SCAN-STARTED
Dec 20 00:10:38 ubuntu1404 wpa_supplicant[1095]: nl80211:
send_and_recv->nl_recvmsgs failed: -33
(Continue reading)

Johannes Berg | 19 Dec 16:58 2014
Picon

[RFC 1/3] nl80211: support per-TID station statistics

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

The base for the current statistics is pretty mixed up, support
exporting RX/TX statistics for MSDUs per TID. This (currently)
covers received MSDUs, transmitted MSDUs and retries/failures
thereof.

Doing it per TID for MSDUs makes more sense than say only per AC
because it's symmetric - we could export per-AC statistics for all
frames (which AC we used for transmission can be determined also
for management frames) but per TID is better and usually data
frames are really the ones we care about. Also, on RX we can't
determine the AC - but we do know the TID for any QoS MPDU we
received.

Change-Id: I22d8a889ef73c603a968bed15afa66710aef61e7
Signed-off-by: Johannes Berg <johannes.berg@...>
---
 include/net/cfg80211.h       | 21 +++++++++++++++++++++
 include/uapi/linux/nl80211.h | 29 +++++++++++++++++++++++++++++
 net/wireless/nl80211.c       | 41 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 91 insertions(+)

diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index e62ac77da365..43cc58652185 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
 <at>  <at>  -938,6 +938,24  <at>  <at>  struct sta_bss_parameters {
 	u16 beacon_interval;
 };
(Continue reading)

Andre Paixao | 19 Dec 10:16 2014
Picon

OCB mode

Hi,

is the code open? From where could I clone it?

Cheers

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

Rajkumar Manoharan | 19 Dec 07:54 2014

[PATCH 0/8] ath10k: add per station debugfs support

The following patches add support for sending addba/addba response/delba
for every station entries. These commands are purely for testing purpose.

Before using any of the above aggregation commands, the mode should be moved
to manual. To disable automatic aggretation in target

echo 1 >/sys/kernel/debug/ieee80211/phyX/netdev:wlanX/
	stations/XX:XX:XX:XX:XX:XX/aggr_mode

Then for sending addba request,

echo 1 32 >/sys/kernel/debug/ieee80211/phyX/netdev:wlanX/
	stations/XX:XX:XX:XX:XX:XX/addba

To send addba response,

echo 0 25 >/sys/kernel/debug/ieee80211/phyX/netdev:wlanX/
	stations/XX:XX:XX:XX:XX:XX/addba_resp

And for delba,

echo 0 1 37 >/sys/kernel/debug/ieee80211/phyX/netdev:wlanX/
	stations/XX:XX:XX:XX:XX:XX/delba

Rajkumar Manoharan (8):
  ath10k: add wmi support for addba_clear_resp
  ath10k: add wmi support for addba_send
  ath10k: add wmi support for addba_set_resp
  ath10k: add wmi support for delba_send
  ath10k: Implement sta_add_debugfs
(Continue reading)

Sujith Manoharan | 19 Dec 02:03 2014

[PATCH 0/5] ath9k patches

From: Sujith Manoharan <c_manoha@...>

Pending patches for ath9k, rebased over wireless-drivers-next.
All of these are for -next.

The patch "ath9k: Fix no-ack frame status" depends on two commits
that have been merged in mac80211-next, so it needs to be pulled
into wireless-drivers-next.

Sujith

Miaoqing Pan (4):
  ath9k: Add HW IDs for QCA956x
  ath9k: Add initvals for QCA956x
  ath9k: Fix register definitions for QCA956x
  ath9k: Add QCA956x HW support

Sujith Manoharan (1):
  ath9k: Fix no-ack frame status

 drivers/net/wireless/ath/ath9k/ahb.c             |    4 +
 drivers/net/wireless/ath/ath9k/ani.c             |    3 +-
 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c   |   15 +-
 drivers/net/wireless/ath/ath9k/ar9003_hw.c       |   61 +-
 drivers/net/wireless/ath/ath9k/ar9003_phy.c      |   47 +-
 drivers/net/wireless/ath/ath9k/ar9003_phy.h      |   19 +-
 drivers/net/wireless/ath/ath9k/ar956x_initvals.h | 1046 ++++++++++++++++++++++
 drivers/net/wireless/ath/ath9k/hw.c              |   41 +-
 drivers/net/wireless/ath/ath9k/hw.h              |    1 +
 drivers/net/wireless/ath/ath9k/mac.c             |    3 +-
(Continue reading)

Lorenzo Bianconi | 19 Dec 00:18 2014
Picon

[PATCH 0/3] add debugfs support to ath9k hw TPC

*[PATCH 1/3]: enable TPC by default on AR9003 based chips
*[PATCH 2/3]: enable/disable hw TPC through debugfs
*[PATCH 3/3]: fix typo

Lorenzo Bianconi (3):
  ath9k: enable TPC by default
  ath9k: add debugfs support for hw TPC
  ath9k: fix typo

 drivers/net/wireless/ath/ath9k/debug.c | 71 ++++++++++++++++++++++++++++++++++
 drivers/net/wireless/ath/ath9k/hw.c    |  3 ++
 drivers/net/wireless/ath/ath9k/xmit.c  |  2 +-
 3 files changed, 75 insertions(+), 1 deletion(-)

--

-- 
2.1.0

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

Arend van Spriel | 18 Dec 21:42 2014

[RFC V2] cfg80211: Add feature flag for 4-way handshake offload

From: Gautam Kumar Shukla <gautams@...>

The new feature flag allows the driver to indicate that it can
offload the 4-way handshake for WPA/RSN-PSK. With the
wiphy::features flag being used up this patch adds a new
field wiphy::ext_features. Considering extensibility this
new field is declared as a byte array.

Signed-off-by: Gautam (Gautam Kumar) Shukla <gautams@...>
Signed-off-by: Arend van Spriel <arend@...>
---
V2:
  - rename helper functions.
  - make helper function static inline.
  - derive ext_feature array size from extended feature count.
---
 include/net/cfg80211.h       | 39 +++++++++++++++++++++++++++++++++++++++
 include/uapi/linux/nl80211.h | 22 ++++++++++++++++++++++
 net/wireless/nl80211.c       |  5 +++++
 3 files changed, 66 insertions(+)

diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 670b9ed..38f30e5 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
 <at>  <at>  -3013,6 +3013,8  <at>  <at>  struct wiphy_vendor_command {
  *  <at> regulatory_flags: wiphy regulatory flags, see
  *	&enum ieee80211_regulatory_flags
  *  <at> features: features advertised to nl80211, see &enum nl80211_feature_flags.
+ *  <at> ext_features: extended features advertised to nl80211, see
(Continue reading)

Peter Oh | 18 Dec 19:13 2014

[PATCH] ath10k: set phymode to 11b when NO_OFDM flag set

phymode should use 11b only if NO_OFDM flags is set.
Hence check up channel flag for NO_OFDM and set to
11b.

Signed-off-by: Peter Oh <poh@...>
---
 drivers/net/wireless/ath/ath10k/mac.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index 42f6a4d..c68beac 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
 <at>  <at>  -269,7 +269,10  <at>  <at>  chan_to_phymode(const struct cfg80211_chan_def *chandef)
 	case IEEE80211_BAND_2GHZ:
 		switch (chandef->width) {
 		case NL80211_CHAN_WIDTH_20_NOHT:
-			phymode = MODE_11G;
+			if (chandef->chan->flags & IEEE80211_CHAN_NO_OFDM)
+				phymode = MODE_11B;
+			else
+				phymode = MODE_11G;
 			break;
 		case NL80211_CHAN_WIDTH_20:
 			phymode = MODE_11NG_HT20;
--

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
(Continue reading)

Helmut Schaa | 18 Dec 17:21 2014

DFS CAC time

Hi,

Using ath10k I get the following when checking the CAC times for an
ETSI regulatory domain:

iw list | grep CAC -B 2
* 5260 MHz [52] (20.0 dBm) (radar detection)
  DFS state: available (for 342 sec)
  DFS CAC time: 60000 ms
* 5280 MHz [56] (20.0 dBm) (radar detection)
  DFS state: available (for 342 sec)
  DFS CAC time: 60000 ms
* 5300 MHz [60] (20.0 dBm) (radar detection)
  DFS state: available (for 342 sec)
  DFS CAC time: 60000 ms
* 5320 MHz [64] (20.0 dBm) (radar detection)
  DFS state: available (for 342 sec)
  DFS CAC time: 60000 ms
* 5500 MHz [100] (27.0 dBm) (radar detection)
  DFS state: usable (for 408 sec)
  DFS CAC time: 60000 ms
* 5520 MHz [104] (27.0 dBm) (radar detection)
  DFS state: usable (for 408 sec)
  DFS CAC time: 60000 ms
* 5540 MHz [108] (27.0 dBm) (radar detection)
  DFS state: usable (for 408 sec)
  DFS CAC time: 60000 ms
* 5560 MHz [112] (27.0 dBm) (radar detection)
  DFS state: usable (for 408 sec)
  DFS CAC time: 60000 ms
(Continue reading)

Johannes Berg | 18 Dec 17:11 2014
Picon

[PATCH 1/2] nl80211: support MSDU statistics

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

The base for the current statistics is pretty mixed up, support
exporting RX/TX statistics for MSDUs per TID.

This makes sense because it's symmetric - we could export per-AC
statistics for all frames (which AC we used for transmission can
be determined also for management frames) but per TID is better
and usually data frames are really the ones we care about. Also,
on RX we can't determine the AC - but we do know the TID for any
QoS MSDU we received.

Signed-off-by: Johannes Berg <johannes.berg@...>
---
 include/net/cfg80211.h       | 10 +++++++++-
 include/uapi/linux/nl80211.h | 12 ++++++++++++
 net/wireless/nl80211.c       | 14 +++++++++++++-
 3 files changed, 34 insertions(+), 2 deletions(-)

diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 729f9e0bcf38..d1d0894ff302 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
 <at>  <at>  -965,6 +965,10  <at>  <at>  struct sta_bss_parameters {
  *  <at> txrate: current unicast bitrate from this station
  *  <at> rxrate: current unicast bitrate to this station
  *  <at> rx_packets: packets (MSDUs & MMPDUs) received from this station
+ *  <at> rx_qos_msdu: QoS-MSDUs received from this station (per TID)
+ *  <at> rx_nonqos_msdu: non-QoS-MSDUs received from this station
+ *  <at> tx_qos_msdu: QoS-MSDUs sent to this station (per TID)
(Continue reading)

Johannes Berg | 18 Dec 15:10 2014
Picon

pull-request: mac80211 2014-12-18

Hi,

Also from me a first pull request - we have a number of really old
issues that happened to crop up now with new work (or just more testing)
in the right areas as well as some small bugs newly introduced in 3.19.

Let me know if there are any problems.

Thanks,
johannes

The following changes since commit 5fbea33740aeb948422d7b7e8aafbeac362264b2:

  r8169:update rtl8168g pcie ephy parameter (2014-12-11 21:38:52 -0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211.git tags/mac80211-for-davem-2014-12-18

for you to fetch changes up to 28a9bc68124c319b2b3dc861e80828a8865fd1ba:

  mac80211: free management frame keys when removing station (2014-12-17 14:00:17 +0100)

----------------------------------------------------------------
This relatively large collection of fixes is all over - from things
that were broken a long time ago (the management key issue) but not
noticed yet, to small issues that were only introduced into 3.19
(like the multicast issue). At least one issue is old but can crash
the kernel based on invalid userspace requests (the nl80211 matches
array one.)
(Continue reading)


Gmane