Re: [PATCHv2 1/4] cfg80211: handle minimum bandwidth for quarter and half rates

2015-06-11 Thread Johannes Berg
On Thu, 2015-06-11 at 13:06 +0200, Matthias May wrote: const struct ieee80211_reg_rule *freq_reg_info(struct wiphy *wiphy, -u32 center_freq) +u32 center_freq, u32 min_bw) { const struct

Re: Exposing enum ieee80211_channel_flags to user

2015-06-11 Thread Rafał Miłecki
On 11 June 2015 at 11:46, Johannes Berg johan...@sipsolutions.net wrote: On Thu, 2015-06-11 at 11:45 +0200, Johannes Berg wrote: On Thu, 2015-06-11 at 11:35 +0200, Rafał Miłecki wrote: iw also wasn't helpful: Frequencies: * 5180 MHz [36] (30.0 dBm) * 5200 MHz [40] (30.0

[PATCHv2 4/4] rtlwifi: send minimum bandwidth to handle

2015-06-11 Thread Matthias May
add 20MHz minimum bandwidth to the calls of freq_reg_info() Signed-off-by: Matthias May matthias@neratec.com --- drivers/net/wireless/rtlwifi/regd.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/rtlwifi/regd.c

Re: Exposing enum ieee80211_channel_flags to user

2015-06-11 Thread Johannes Berg
On Thu, 2015-06-11 at 11:35 +0200, Rafał Miłecki wrote: iw also wasn't helpful: Frequencies: * 5180 MHz [36] (30.0 dBm) * 5200 MHz [40] (30.0 dBm) * 5220 MHz [44] (30.0 dBm) * 5240 MHz [48] (30.0 dBm) After some in-kernel debugging (nl80211_set_wiphy,

RTL8723BS BLE Support

2015-06-11 Thread Drasko DRASKOVIC
Hi all, I can see here: https://github.com/lwfinger/rtl8723bs_bt Bluetooth support for RTL8723BS chip support. This chip should support Bluetooth Low Energy, based on this - https://wikidevi.com/wiki/Realtek_RTL8723BS_Combo_Module_(SDIO), although I do not see BLE mention in the datasheet:

Re: values in /proc/net/wireless are static, doesn't change; iwlwifi, Intel 6205

2015-06-11 Thread Johannes Berg
On Thu, 2015-06-11 at 08:30 +, Daniel Lublin wrote: The fix just went into net.git. Aha! There you go. Where do I find it? Beginner kernel git diver... https://git.kernel.org/cgit/linux/kernel/git/davem/net.git/commit/?id=9c5a18a31b321f120efda412281bb9f610f84aa0 johannes -- To

Exposing enum ieee80211_channel_flags to user

2015-06-11 Thread Rafał Miłecki
Hi, Recently I spent quite some time trying to figure out why hostapd can't start 80 MHz AP for me with following error: radio1 (1617): nl80211: Failed to set channel (freq=5180): -22 (Invalid argument) My config included: hw_mode=a channel=36 vht_oper_chwidth=1 vht_oper_centr_freq_seg0_idx=42

Re: Exposing enum ieee80211_channel_flags to user

2015-06-11 Thread Johannes Berg
On Thu, 2015-06-11 at 12:00 +0200, Rafał Miłecki wrote: Upon rereading, I think my preference would be to remove much of the channel list information and add a separate iw command. Do you mean removing channel list from iw phy X info? I'm not sure I'd remove it completely - but perhaps

Re: [PATCH] rt2800: fix assigning same WCID for different stations

2015-06-11 Thread Stanislaw Gruszka
On Wed, Jun 10, 2015 at 04:20:37PM +0200, Stanislaw Gruszka wrote: On some hardware reading WCID entries table results getting 0xff numbers, no matter of value written there before. This cause assigning the same WCID for different stations and makes not possible to connect to more than one

[PATCHv2 1/4] cfg80211: handle minimum bandwidth for quarter and half rates

2015-06-11 Thread Matthias May
This patch changes the API of freq_freq_info() to take as additional argument the minimum bandwidth the caller can handle. If multiple rules match, the match with the widest bandwidth is returned. Signed-off-by: Matthias May matthias@neratec.com --- include/net/cfg80211.h | 3 ++-

[PATCHv2 2/4] ath: send minimum bandwidth to handle.

2015-06-11 Thread Matthias May
add 20MHz minimum bandwidth to the calls of freq_reg_info() Signed-off-by: Matthias May matthias@neratec.com --- drivers/net/wireless/ath/regd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/regd.c b/drivers/net/wireless/ath/regd.c index

[PATCHv2 3/4] brcm80211: send minimum bandwidth to handle

2015-06-11 Thread Matthias May
add 20MHz minimum bandwidth to the calls of freq_reg_info() Signed-off-by: Matthias May matthias@neratec.com --- drivers/net/wireless/brcm80211/brcmsmac/channel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/brcm80211/brcmsmac/channel.c

Re: Exposing enum ieee80211_channel_flags to user

2015-06-11 Thread Johannes Berg
On Thu, 2015-06-11 at 11:45 +0200, Johannes Berg wrote: On Thu, 2015-06-11 at 11:35 +0200, Rafał Miłecki wrote: iw also wasn't helpful: Frequencies: * 5180 MHz [36] (30.0 dBm) * 5200 MHz [40] (30.0 dBm) * 5220 MHz [44] (30.0 dBm) * 5240 MHz [48] (30.0

[PATCH v2] rt2800: fix assigning same WCID for different stations

2015-06-11 Thread Stanislaw Gruszka
On some hardware reading WCID entries table results getting 0xff numbers, no matter of value written there before. This cause assigning the same WCID for different stations and makes not possible to connect to more than one station. Signed-off-by: Stanislaw Gruszka sgrus...@redhat.com --- v1 -

Re: [PATCHv2 1/4] cfg80211: handle minimum bandwidth for quarter and half rates

2015-06-11 Thread Johannes Berg
On Thu, 2015-06-11 at 13:06 +0200, Matthias May wrote: This patch changes the API of freq_freq_info() to take as additional argument the minimum bandwidth the caller can handle. If multiple rules match, the match with the widest bandwidth is returned. You can't make a patch like this that

Re: [PATCH] staging: wilc1000: modify odd print message

2015-06-11 Thread Greg KH
On Thu, Jun 11, 2015 at 01:52:28PM +0900, Dean.lee wrote: On 2015년 06월 11일 12:50, Greg KH wrote: On Thu, Jun 11, 2015 at 12:44:24PM +0900, Dean Lee wrote: This driver has odd message in print string. So this patch removes the data type. Signed-off-by: Dean Lee dean@atmel.com ---

Re: [PATCH 1/4] staging: wilc1000: modify data type

2015-06-11 Thread Greg KH
On Thu, Jun 11, 2015 at 02:33:39PM +0900, Johnny Kim wrote: On 2015년 06월 11일 09:40, Greg KH wrote: On Wed, Jun 10, 2015 at 05:06:44PM +0900, Johnny Kim wrote: -static int wilc_wlan_cfg_commit(int type, uint32_t drvHandler) +static int wilc_wlan_cfg_commit(int type, size_t drvHandler)

Re: [PATCH] treewide: Fix typo compatability - compatibility

2015-06-11 Thread Laurent Pinchart
Hello, On Wednesday 10 June 2015 13:00:20 Masanari Iida wrote: On Wed, Jun 10, 2015 at 7:27 AM, Mauro Carvalho Chehab wrote: Em Wed, 27 May 2015 15:05:42 +0300 Laurent Pinchart laurent.pinch...@ideasonboard.com escreveu: Even though 'compatability' has a dedicated entry in the

Re: [PATCH v3] ath10k: add 'cryptmode' param to support raw tx injection and software crypto

2015-06-11 Thread Kalle Valo
Liu CF/TW cfliu...@gmail.com writes: This change supports hardware crypto engine bypass by enabling raw Rx/Tx encap mode. This enables use cases such as software crypto and raw tx injection. This change introduces a new module param 'cryptmode'. [...] ---

Amministratore di sistema

2015-06-11 Thread ADMIN
Cassetta postale ha superato il limite diarchiviazione, che di 20 GB come stabilitodall'amministratore, si sta attualmenteeseguendo su 20,9 GB, non sarai in grado diinviare o ricevere messaggi di nuovi finch non siri-convalida la tua casella di posta. Perriconvalidare la tua casella di posta,

Re: [PATCH v2] ath10k: enable VHT for IBSS

2015-06-11 Thread Kalle Valo
Janusz Dziedzic janusz.dzied...@tieto.com writes: Enable VHT support for IBSS, while mac80211/cfg80211 and wpa_supplicant already support this. In my test env, ath10k 2x2 I get: (udp) ath10k-1 ath10k-2 (server) - speed: 419 Mbits/sec (tcp) ath10k-1 ath10k-2 (server) - speed: 404

[PATCH] ath10k: mac: remove unreachable negative return check

2015-06-11 Thread Nicholas Mc Guire
and the assignments fixed up. Signed-off-by: Nicholas Mc Guire hof...@osadl.org --- Patch was compile tested with x86_64_defconfig + CONFIG_ATH_CARD=y CONFIG_ATH10K=m Patch is against 4.1-rc7 (localversion-next is -next-20150611) drivers/net/wireless/ath/ath10k/mac.c | 10 +- 1 file

[PATCH] ath10k: txrx: remove unreachable negative return check and fixup type

2015-06-11 Thread Nicholas Mc Guire
and the assignments fixed up. Signed-off-by: Nicholas Mc Guire hof...@osadl.org --- Patch was compile tested with x86_64_defconfig + CONFIG_ATH_CARD=y CONFIG_ATH10K=m Patch is against 4.1-rc7 (localversion-next is -next-20150611) drivers/net/wireless/ath/ath10k/txrx.c |6 +++--- 1 file changed

Re: [PATCH v3] ath10k: add 'cryptmode' param to support raw tx injection and software crypto

2015-06-11 Thread Liu CF/TW
On Thu, Jun 11, 2015 at 6:59 AM, Kalle Valo kv...@qca.qualcomm.com wrote: Liu CF/TW cfliu...@gmail.com writes: This change supports hardware crypto engine bypass by enabling raw Rx/Tx encap mode. This enables use cases such as software crypto and raw tx injection. This change introduces a new

Re: [PATCH v3] ath10k: add 'cryptmode' param to support raw tx injection and software crypto

2015-06-11 Thread Liu CF/TW
On Thu, Jun 11, 2015 at 7:03 AM, Kalle Valo kv...@qca.qualcomm.com wrote: Liu CF/TW cfliu...@gmail.com writes: This change supports hardware crypto engine bypass by enabling raw Rx/Tx encap mode. This enables use cases such as software crypto and raw tx injection. This change introduces a new

Re: [PATCH v3] ath10k: add 'cryptmode' param to support raw tx injection and software crypto

2015-06-11 Thread Liu CF/TW
Thanks Michal for the tests you did and the additional patch to address AMSDU limitation. Per our discussions offline, in v4, I will squash your patch and add your test results in the commit log. I will also put a note that AMSDU be a known limitation when cryptmode!=0. Thanks David On Tue, Jun

Re: [PATCH 1/2] ath10k: dump fw features during probing

2015-06-11 Thread Kalle Valo
Michal Kazior michal.kaz...@tieto.com writes: This should help when analysing problems from users and spot fw api blob problems easier. Signed-off-by: Michal Kazior michal.kaz...@tieto.com [...] +static unsigned int ath10k_core_get_fw_feature_str(char *buf, +

Re: Anyone tried ath10k AP with 40Mhz operation?

2015-06-11 Thread Ben Greear
On 06/11/2015 06:23 AM, Ben Greear wrote: On 06/10/2015 11:54 PM, Michal Kazior wrote: On 10 June 2015 at 22:31, Ben Greear gree...@candelatech.com wrote: I'm trying this hostapd config file. Beacons seem OK, and station associates. Station puts DHCP Discover on the air (using 20Mhz

[PATCH] iw: print beacon-loss and wiphy delete events.

2015-06-11 Thread greearb
From: Ben Greear gree...@candelatech.com This is nicer than messages about unknown events. Signed-off-by: Ben Greear gree...@candelatech.com --- event.c | 28 +++- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/event.c b/event.c index b87a076..2c9694d

Re: [PATCH v3] ath10k: add 'cryptmode' param to support raw tx injection and software crypto

2015-06-11 Thread Kalle Valo
Liu CF/TW cfliu...@gmail.com writes: This change supports hardware crypto engine bypass by enabling raw Rx/Tx encap mode. This enables use cases such as software crypto and raw tx injection. This change introduces a new module param 'cryptmode'. cryptmode: 0: Use hardware crypto engine

[PATCH] ath10k: remove unused variable hdr in ath10k_htt_rx_h_undecap()

2015-06-11 Thread Raja Mani
Just found this during code review. Signed-off-by: Raja Mani rm...@qti.qualcomm.com --- drivers/net/wireless/ath/ath10k/htt_rx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/htt_rx.c b/drivers/net/wireless/ath/ath10k/htt_rx.c index 89eb16b..7399e45 100644

Re: [PATCH v2] ath10k: enable VHT for IBSS

2015-06-11 Thread Ben Greear
On 06/10/2015 11:33 PM, Janusz Dziedzic wrote: 2015-06-11 8:32 GMT+02:00 Sangwoo Moon swm...@lanada.kaist.ac.kr: Hello, I have successfully installed the latest version of ath10k driver from backports. However, I have some difficulties on configuring wpa_supplicant for IBSS VHT mode. Looked

Re: Anyone tried ath10k AP with 40Mhz operation?

2015-06-11 Thread Ben Greear
On 06/10/2015 11:54 PM, Michal Kazior wrote: On 10 June 2015 at 22:31, Ben Greear gree...@candelatech.com wrote: I'm trying this hostapd config file. Beacons seem OK, and station associates. Station puts DHCP Discover on the air (using 20Mhz according to wireshark). AP reads this, and

Re: [PATCHv2 1/4] cfg80211: handle minimum bandwidth for quarter and half rates

2015-06-11 Thread Matthias May
On 11/06/15 13:44, Johannes Berg wrote: On Thu, 2015-06-11 at 13:06 +0200, Matthias May wrote: const struct ieee80211_reg_rule *freq_reg_info(struct wiphy *wiphy, - u32 center_freq) + u32 center_freq,

Re: Exposing enum ieee80211_channel_flags to user

2015-06-11 Thread Ben Greear
On 06/11/2015 03:01 AM, Johannes Berg wrote: On Thu, 2015-06-11 at 12:00 +0200, Rafał Miłecki wrote: Upon rereading, I think my preference would be to remove much of the channel list information and add a separate iw command. Do you mean removing channel list from iw phy X info? I'm not

Re: Exposing enum ieee80211_channel_flags to user

2015-06-11 Thread Johannes Berg
On Thu, 2015-06-11 at 06:16 -0700, Ben Greear wrote: Maybe also allow the full dump with an optional --verbose flag: 'iw --verbose phy X info' ? Well, as I said, it's not so simple to do this in the info handler since you need to collect all the info first and then print it. johannes -- To

Question on beacon-miss offloading.

2015-06-11 Thread Ben Greear
In my ath10k CT firmware, I am disabling the beacon-miss offloading to save space and because it will not work with lots of virtual stations. But, it must be that I need some way to tell the stack that this feature is not enabled, because when suddenly kill my AP, then the ath10k station

Re: RTL8723BS BLE Support

2015-06-11 Thread Larry Finger
On 06/11/2015 04:07 AM, Drasko DRASKOVIC wrote: Hi all, I can see here: https://github.com/lwfinger/rtl8723bs_bt Bluetooth support for RTL8723BS chip support. This chip should support Bluetooth Low Energy, based on this - https://wikidevi.com/wiki/Realtek_RTL8723BS_Combo_Module_(SDIO), although

[PATCH V4] mac80211: minstrel_ht: Handle Dynamic SMPS state of the peer.

2015-06-11 Thread Chaitanya T K
In case of Dynamic SMPS enable RTS/CTS for all rates. Signed-off-by: Chaitanya T K chaitanya.m...@gmail.com --- V4: Updated commit log and fixed indent. V3: Moved the check to set_rate. V2:Fix indent and add signoff. --- net/mac80211/rc80211_minstrel_ht.c | 8 +++- 1 file changed, 7

Re: Question on beacon-miss offloading.

2015-06-11 Thread Ben Greear
On 06/11/2015 02:07 PM, Ben Greear wrote: In my ath10k CT firmware, I am disabling the beacon-miss offloading to save space and because it will not work with lots of virtual stations. But, it must be that I need some way to tell the stack that this feature is not enabled, because when

[PATCH] staging: wilc1000: change WILC_Char to s8

2015-06-11 Thread Dean Lee
change own data type(WILC_Char) to common data type(s8) Signed-off-by: Dean Lee dean@atmel.com --- drivers/staging/wilc1000/coreconfigurator.c | 24 +++ drivers/staging/wilc1000/coreconfigurator.h | 4 +- drivers/staging/wilc1000/host_interface.c | 88

Re: [PATCH 1/2] ath10k: dump fw features during probing

2015-06-11 Thread Michal Kazior
On 11 June 2015 at 20:51, Kalle Valo kv...@qca.qualcomm.com wrote: Michal Kazior michal.kaz...@tieto.com writes: This should help when analysing problems from users and spot fw api blob problems easier. Signed-off-by: Michal Kazior michal.kaz...@tieto.com [...] +static unsigned int

[PATCH] staging: wilc1000: change WILC_BOOL to bool

2015-06-11 Thread Dean Lee
change own data type(WILC_BOOL) to common data type(bool) but that's contain true/false value. so change with them. Signed-off-by: Dean Lee dean@atmel.com --- drivers/staging/wilc1000/coreconfigurator.c | 16 +-- drivers/staging/wilc1000/coreconfigurator.h | 4 +-

Re: [PATCH v2] ath10k: enable VHT for IBSS

2015-06-11 Thread Janusz Dziedzic
On 11 June 2015 at 16:15, Kalle Valo kv...@qca.qualcomm.com wrote: Janusz Dziedzic janusz.dzied...@tieto.com writes: Enable VHT support for IBSS, while mac80211/cfg80211 and wpa_supplicant already support this. In my test env, ath10k 2x2 I get: (udp) ath10k-1 ath10k-2 (server) - speed:

[PATCH v2] staging: wilc1000: change WILC_BOOL to bool

2015-06-11 Thread Dean Lee
change own data type(WILC_BOOL) to common data type(bool) but that's contain true/false value. so change with them. Signed-off-by: Dean Lee dean@atmel.com --- Change remove WILC_BOOL structure. --- drivers/staging/wilc1000/coreconfigurator.c | 26 ++--

[PATCH] ath10k: prevent debugfs mmio access crash kernel

2015-06-11 Thread Michal Kazior
It was possible to force an out of bounds MMIO read/write via debugfs. E.g. on QCA988X this could be triggered with: echo 0x2080e0 | tee /sys/kernel/debug/ieee80211/*/ath10k/reg_addr cat /sys/kernel/debug/ieee80211/*/ath10k/reg_value BUG: unable to handle kernel paging request at

Re: [PATCH v2] ath10k: enable VHT for IBSS

2015-06-11 Thread Sangwoo Moon
Hello, I have successfully installed the latest version of ath10k driver from backports. However, I have some difficulties on configuring wpa_supplicant for IBSS VHT mode. Looked at wpa_supplicant configuration file, but I couldn't found any option related to explicit setting VHT (though

Re: [PATCH v2] ath10k: enable VHT for IBSS

2015-06-11 Thread Janusz Dziedzic
2015-06-11 8:32 GMT+02:00 Sangwoo Moon swm...@lanada.kaist.ac.kr: Hello, I have successfully installed the latest version of ath10k driver from backports. However, I have some difficulties on configuring wpa_supplicant for IBSS VHT mode. Looked at wpa_supplicant configuration file, but I

Re: Anyone tried ath10k AP with 40Mhz operation?

2015-06-11 Thread Michal Kazior
On 10 June 2015 at 22:31, Ben Greear gree...@candelatech.com wrote: I'm trying this hostapd config file. Beacons seem OK, and station associates. Station puts DHCP Discover on the air (using 20Mhz according to wireshark). AP reads this, and thinks it is sending a DHCP response back, but

Re: [PATCH v2] README: clarify redistribution requirements covering patents

2015-06-11 Thread Luis R. Rodriguez
On Thu, May 28, 2015 at 5:48 PM, Luis R. Rodriguez mcg...@suse.com wrote: On Tue, May 19, 2015 at 1:22 PM, Luis R. Rodriguez mcg...@do-not-panic.com wrote: This v2 just changes licence to license as requested by Arend. Please let me know if there is anything else needed. Just a friendly

r8188eu deadlock

2015-06-11 Thread Paul Thomas
Hello, I just got a TP-LINK TL-WN725N adapter (VID 0bda, PID 8179) The driver in the staging area seems to be working fine, but I get this on startup. I'm using this with a BeagleBone Black. I did a fresh git pull today, so it is with kernel 4.1.0-rc7-00063-gcff100f, I haven't tried it with the

values in /proc/net/wireless are static, doesn't change; iwlwifi, Intel 6205

2015-06-11 Thread Daniel Lublin
I'm on a thinkpad X230 with Intel Advanced-N 6205 card, iwlwifi driver. Reading /proc/net/wireless, I find that the values there does not change. No matter me moving around, changing distance to my AP. On my old machine (X60), I was used to sometimes using for example wavemon(1) to find out

Re: values in /proc/net/wireless are static, doesn't change; iwlwifi, Intel 6205

2015-06-11 Thread Johannes Berg
On Thu, 2015-06-11 at 07:55 +, Daniel Lublin wrote: I'm on a thinkpad X230 with Intel Advanced-N 6205 card, iwlwifi driver. Reading /proc/net/wireless, I find that the values there does not change. No matter me moving around, changing distance to my AP. On my old machine (X60), I was

Re: values in /proc/net/wireless are static, doesn't change; iwlwifi, Intel 6205

2015-06-11 Thread Daniel Lublin
The fix just went into net.git. Aha! There you go. Where do I find it? Beginner kernel git diver... -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: ATH10K and VLAN : Frame with VLAN tag are not sent

2015-06-11 Thread Michal Kazior
On 5 June 2015 at 18:26, voncken cedric.vonc...@acksys.fr wrote: [...] I see no reason why this should fail. The dot1q encapsulation shouldn't influence how firmware behaves.. but maybe I'm wrong. It's still unclear to me what your topology looks like. Perhaps you're having

Re: [PATCHv2 1/4] cfg80211: handle minimum bandwidth for quarter and half rates

2015-06-11 Thread Johannes Berg
On Thu, 2015-06-11 at 14:46 +0200, Matthias May wrote: Using the dummy country code: country XS: DFS-UNSET (5170 - 5180 @ 5), (N/A, 14), (N/A) (5175 - 5185 @ 10), (N/A, 17), (N/A) (5170 - 5190 @ 20), (N/A, 20), (N/A) For a center freq of 5175 The first loop finds the first