Handling user regdom hints while having intersected world regdom

2018-09-28 Thread Peter Große
Hi. When a setup has multiple wifi cards anounncing different regdoms, the regularitory subsystem stores an intersected world regdom using aplha2 "98". I wonder what the correct result should be, when I call "iw reg set 00" or with any other country code? Because in my system with multiple

[PATCH] ath9k: spelling s/premble/preamble/

2018-03-06 Thread Peter Große
Signed-off-by: Peter Große <pe...@friiks.de> --- drivers/net/wireless/ath/ath9k/common-init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/common-init.c b/drivers/net/wireless/ath/ath9k/common-init.c index 8b4f7fdabf58..82de0fadbc95

[PATCH] mac80211: Fix setting TX power on monitor interfaces

2017-12-13 Thread Peter Große
ES: CR0: 80050033 CR2: 7f9263c109f0 CR3: 0001df85 CR4: 000406f0 Call Trace: ieee80211_recalc_txpower+0x33/0x40 ieee80211_set_tx_power+0x40/0x180 nl80211_set_wiphy+0x32e/0x950 Reported-by: Peter Große <pe...@friiks.de> Signed-off-by: Peter Gro

[PATCH] ocb: Use common freqchan helper for setting the operating channel

2017-12-13 Thread Peter Große
Simplify code by using the helper which has been introduced earlier. Signed-off-by: Peter Große <pe...@friiks.de> --- Mh, the patch is against the full tree of iw, not the kernel, so there is no net/wireless/ path. But yeah, whitespace got mangled. Regards Peter ocb.

Re: Setting TX power on a monitoring interface

2017-12-01 Thread Peter Große
Hi Johannes, On Fri, 01 Dec 2017 15:49:02 +0100 Johannes Berg <johan...@sipsolutions.net> wrote: > On Mon, 2017-11-27 at 16:07 +0100, Peter Große wrote: > > > > I think if the driver has WANT_MONITOR_VIF, then we can pass that > > > through

Re: Setting TX power on a monitoring interface

2017-11-27 Thread Peter Große
On Mon, 27 Nov 2017 12:43:13 +0100 Johannes Berg wrote: > > What would be the correct way of fixing it? Maybe I can provide a patch. > > That's a really good question :-) > > I think if the driver has WANT_MONITOR_VIF, then we can pass that >

Setting TX power on a monitoring interface

2017-11-20 Thread Peter Große
Hi everyone. The iw tool allows to set TX power settings on network interfaces. If I try to set the TX power level on a _monitor_ interface, I get a kernel warning: [ cut here ] WARNING: CPU: 0 PID: 2193 at net/mac80211/driver-ops.h:167

[PATCH 1/1] ocb: Use common freqchan helper for setting the operating channel

2017-10-27 Thread Peter Große
Simplify code by using the helper which has been introduced earlier. Signed-off-by: Peter Große <pe...@friiks.de> --- ocb.c | 50 -- 1 file changed, 8 insertions(+), 42 deletions(-) diff --git a/ocb.c b/ocb.c index bcf0474..dfdaf59