Re: [ath5k-devel] 5 & 10 MHz Channel Bandwidth

2012-07-26 Thread Guido Alejandro Gavilanes Castillo
Hello Chris, I have posted also a question on this last week (with no clue yet). From what I have seen googling here and there and checking the source code, the trunk version of compat-wireless includes already the software to work in 5, 10, 20 and 40 MHz bwmodes, being 20 MHz the default value "

[ath5k-devel] 5 & 10 MHz Channel Bandwidth

2012-07-26 Thread Chris Pattenden
Hello. I'm working on a point-to-point long-distance application and I'd like to run my ath5k device in 5 or 10 MHz bandwidth mode. Yes, I realize this is non-standard and that's okay for this specific application. Both the MikroTik router and DD-WRT (running on a Doodle Labs ath5k) seem to do

Re: [ath5k-devel] [PATCH 2/2] ath5k: fix phy_init() to respect user txpower changes

2012-07-26 Thread Thomas Huehn
Hi Nick, Nick Kossifidis schrieb: > I think this is a better approach (I'll prepare a proper patch as soon > as I have some bandwidth to work with wireless-testing, maybe > tomorrow)... > > --- old/phy.c 2012-07-26 20:40:00.869150187 +0300 > +++ new/phy.c 2012-07-26 20:43:25.074710577 +0300 > @@

Re: [ath5k-devel] [PATCH v6] mac80211: Remove control.sta from struct ieee80211_tx_info and restructure tx-path

2012-07-26 Thread Thomas Huehn
Hi Arik, Arik Nemtsov schrieb: > Better to just wait some time. I wrote up something to make it much > easier for you. Waiting for some internal review before sending it up. > Thx for helping out here, I ws allready checking into what kind of struct I can put the sta pointer. But if you have a

Re: [ath5k-devel] [PATCH v6] mac80211: Remove control.sta from struct ieee80211_tx_info and restructure tx-path

2012-07-26 Thread Arik Nemtsov
On Thu, Jul 26, 2012 at 8:04 PM, Arik Nemtsov wrote: > On Thu, Jul 26, 2012 at 7:57 PM, Arik Nemtsov wrote: >> On Thu, Jul 26, 2012 at 7:31 PM, Thomas Huehn >> wrote: >>> Hi Johannes, >>> >>> Johannes Berg schrieb: >>> > > /home/johannes/sys/wireless/drivers/net/wireless/ti/wlcore/tx.c:

Re: [ath5k-devel] [PATCH 2/2] ath5k: fix phy_init() to respect user txpower changes

2012-07-26 Thread Nick Kossifidis
2012/7/26 Felix Fietkau : > On 2012-07-26 12:31 PM, Nick Kossifidis wrote: >> 2012/7/26 Felix Fietkau : >>> On 2012-07-26 12:20 PM, Nick Kossifidis wrote: 2012/7/26 Thomas Huehn : > Hi Nick, > > Nick Kossifidis schrieb: > >> 2012/7/26 Thomas Huehn : > >> There is no

Re: [ath5k-devel] [PATCH v6] mac80211: Remove control.sta from struct ieee80211_tx_info and restructure tx-path

2012-07-26 Thread Arik Nemtsov
On Thu, Jul 26, 2012 at 7:31 PM, Thomas Huehn wrote: > Hi Johannes, > > Johannes Berg schrieb: > >>> >>> /home/johannes/sys/wireless/drivers/net/wireless/ti/wlcore/tx.c: In >>> function ‘wl1271_skb_queue_head’: >>> /home/johannes/sys/wireless/drivers/net/wireless/ti/wlcore/tx.c:622:48: >>> warning

Re: [ath5k-devel] [PATCH v6] mac80211: Remove control.sta from struct ieee80211_tx_info and restructure tx-path

2012-07-26 Thread Arik Nemtsov
On Thu, Jul 26, 2012 at 7:57 PM, Arik Nemtsov wrote: > On Thu, Jul 26, 2012 at 7:31 PM, Thomas Huehn > wrote: >> Hi Johannes, >> >> Johannes Berg schrieb: >> /home/johannes/sys/wireless/drivers/net/wireless/ti/wlcore/tx.c: In function ‘wl1271_skb_queue_head’: /home/johannes/sy

Re: [ath5k-devel] [PATCH v6] mac80211: Remove control.sta from struct ieee80211_tx_info and restructure tx-path

2012-07-26 Thread Thomas Huehn
Hi Johannes, Johannes Berg schrieb: >> >> /home/johannes/sys/wireless/drivers/net/wireless/ti/wlcore/tx.c: In >> function ‘wl1271_skb_queue_head’: >> /home/johannes/sys/wireless/drivers/net/wireless/ti/wlcore/tx.c:622:48: >> warning: ‘hlid’ may be used uninitialized in this function >> [-Wuniniti

Re: [ath5k-devel] [PATCH v6] mac80211: Remove control.sta from struct ieee80211_tx_info and restructure tx-path

2012-07-26 Thread Johannes Berg
On Thu, 2012-07-26 at 18:17 +0200, Johannes Berg wrote: > On Thu, 2012-07-26 at 18:09 +0200, Thomas Huehn wrote: > > The pointer control.sta is removed from ieee80211_tx_info to free up > > sufficient memory in SKB_CB on the tx-path to enable new annotations > > per data packet e.g.support of upcom

Re: [ath5k-devel] [PATCH v6] mac80211: Remove control.sta from struct ieee80211_tx_info and restructure tx-path

2012-07-26 Thread Johannes Berg
On Thu, 2012-07-26 at 18:09 +0200, Thomas Huehn wrote: > The pointer control.sta is removed from ieee80211_tx_info to free up > sufficient memory in SKB_CB on the tx-path to enable new annotations > per data packet e.g.support of upcoming Transmit Power Control (TPC). > Now the control.sta pointer

Re: [ath5k-devel] [PATCH v5] mac80211: Remove control.sta from struct ieee80211_tx_info and restructure tx-path

2012-07-26 Thread Thomas Huehn
Hi Johannes, Johannes Berg schrieb: > On Thu, 2012-07-26 at 11:27 +0200, Thomas Huehn wrote: > >> (2) >> url = git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git >> >> last commit e4cbd6542efdab97ed6d38e706b7cac51c68ced7 > > I'm on this commit + your patch. > > CC [M] drivers

Re: [ath5k-devel] [PATCH v5] mac80211: Remove control.sta from struct ieee80211_tx_info and restructure tx-path

2012-07-26 Thread Johannes Berg
On Thu, 2012-07-26 at 11:27 +0200, Thomas Huehn wrote: > (2) > url = git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git > > last commit e4cbd6542efdab97ed6d38e706b7cac51c68ced7 I'm on this commit + your patch. CC [M] drivers/net/wireless/ti/wlcore/main.o /home/johannes/sys

Re: [ath5k-devel] [PATCH 2/2] ath5k: fix phy_init() to respect user txpower changes

2012-07-26 Thread Felix Fietkau
On 2012-07-26 12:31 PM, Nick Kossifidis wrote: > 2012/7/26 Felix Fietkau : >> On 2012-07-26 12:20 PM, Nick Kossifidis wrote: >>> 2012/7/26 Thomas Huehn : Hi Nick, Nick Kossifidis schrieb: > 2012/7/26 Thomas Huehn : > There is nothing in your patch that suggests that

Re: [ath5k-devel] [PATCH 2/2] ath5k: fix phy_init() to respect user txpower changes

2012-07-26 Thread Nick Kossifidis
2012/7/26 Felix Fietkau : > On 2012-07-26 12:20 PM, Nick Kossifidis wrote: >> 2012/7/26 Thomas Huehn : >>> Hi Nick, >>> >>> Nick Kossifidis schrieb: >>> 2012/7/26 Thomas Huehn : >>> There is nothing in your patch that suggests that's related to this. Anyway there's a simple way to fi

Re: [ath5k-devel] [PATCH 2/2] ath5k: fix phy_init() to respect user txpower changes

2012-07-26 Thread Felix Fietkau
On 2012-07-26 12:20 PM, Nick Kossifidis wrote: > 2012/7/26 Thomas Huehn : >> Hi Nick, >> >> Nick Kossifidis schrieb: >> >>> 2012/7/26 Thomas Huehn : >> >>> There is nothing in your patch that suggests that's related to this. >>> Anyway there's a simple way to fix this: >>> >>> Just move this: >>> >

Re: [ath5k-devel] [PATCH 2/2] ath5k: fix phy_init() to respect user txpower changes

2012-07-26 Thread Nick Kossifidis
2012/7/26 Thomas Huehn : > Hi Nick, > > Nick Kossifidis schrieb: > >> 2012/7/26 Thomas Huehn : > >> There is nothing in your patch that suggests that's related to this. >> Anyway there's a simple way to fix this: >> >> Just move this: >> >> 3575 /* Min/max in 0.25dB units */ >> 3576

Re: [ath5k-devel] [PATCH v5] mac80211: Remove control.sta from struct ieee80211_tx_info and restructure tx-path

2012-07-26 Thread Thomas Huehn
Hi Johannes, On my Linux box I applied and compiled the current v5 version of the patch successfully. On top of the following freshly checked out git repos I put the remove-sta patch: (1) url = git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-testing.git last commit 80f3bc801e351e