[ath9k-devel] [PATCH 4/6] ath9k: Remove a few unused macros and fix indentation

2008-08-06 Thread Sujith
Signed-off-by: Sujith Manoharan [EMAIL PROTECTED] --- drivers/net/wireless/ath9k/core.h | 275 +--- 1 files changed, 130 insertions(+), 145 deletions(-) diff --git a/drivers/net/wireless/ath9k/core.h b/drivers/net/wireless/ath9k/core.h index 903bd46..e294c1b

[ath9k-devel] [PATCH 01/10] ath9k: Merge reset functions

2008-08-11 Thread Sujith
Signed-off-by: Sujith Manoharan [EMAIL PROTECTED] --- drivers/net/wireless/ath9k/beacon.c |2 +- drivers/net/wireless/ath9k/core.c | 73 +++ drivers/net/wireless/ath9k/core.h |3 +- drivers/net/wireless/ath9k/recv.c |2 +- drivers/net/wireless

[ath9k-devel] [PATCH 09/10] ath9k: Use ah_curchan and remove sc_curchan which is redundant

2008-08-11 Thread Sujith
Signed-off-by: Sujith Manoharan [EMAIL PROTECTED] --- drivers/net/wireless/ath9k/core.c | 20 +--- drivers/net/wireless/ath9k/core.h |1 - drivers/net/wireless/ath9k/rc.c |4 ++-- drivers/net/wireless/ath9k/xmit.c |2 +- 4 files changed, 12 insertions(+), 15

[ath9k-devel] [PATCH 10/10] ath9k: Trim struct ath_softc

2008-08-11 Thread Sujith
Add sc_rxflush and sc_noreset as bitfields to sc_flags. Remove a few variables and function prototypes that are unused. Signed-off-by: Sujith Manoharan [EMAIL PROTECTED] --- drivers/net/wireless/ath9k/beacon.c |8 ++-- drivers/net/wireless/ath9k/core.c | 10 -- drivers/net/wireless

Re: [ath9k-devel] Irritating issue (-tip)

2008-10-04 Thread Sujith
with that patch. [1]: http://marc.info/?l=linux-wirelessm=122309915413328w=2 Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

[ath9k-devel] D-Link DWA-643

2008-10-09 Thread Sujith
will be Welcome. Did you compile wireless-testing ? How are you trying to connect to the AP, using wpa_supplicant ? If so, can you post the config ? Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo

[ath9k-devel] about ath9k

2008-11-10 Thread Sujith
development. 2. Is this driver has been shipped with some linux distributions? Yep, any distribution that carries kernel 2.6.27 or above will carry ath9k. Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo

[ath9k-devel] problems on reconnecting after suspend ...

2008-11-10 Thread Sujith
out a patch that fixes this. Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

[ath9k-devel] 802.11n Question Regarding Aggregates

2008-11-11 Thread Sujith
on the first try, will the node buffer these frames and wait till it can send the complete block up, or does it just forward up what it gets after the block-ack is sent each time? ieee80211_sta_manage_reorder_buf() in net/mac80211/rx.c contains the answers you are looking for. Sujith

[ath9k-devel] Capabilities at the PHY

2008-11-11 Thread Sujith
. :) Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

[ath9k-devel] [PATCH v2 2/2] ath9k: Use GFP_ATOMIC when allocating TX private area

2008-12-02 Thread Sujith
); + The queue is already available, we make sure of that before calling ath_tx_start(). And the queue is sent through txctl.txq, you don't have to calculate the queue number again. So, just stopping the queue and moving the buffer back to the free list would be enough. Sujith

[ath9k-devel] BUG - ath9k keep on disconnecting in 2.6.28-rc8

2008-12-14 Thread Sujith
:9e:df:f6 wlan0: authentication with AP 00:11:95:9e:df:f6 timed out A number of updates have gone into the wireless-testing tree. You can use that tree or compat-wireless to get the latest driver and check if the problem persists. Sujith ___ ath9k-devel

[ath9k-devel] [PATCH v3 07/16] ath9k: use ieee80211_conf on ath9k_hw_iscal_supported()

2008-12-28 Thread Sujith
; break; } Why are the IS_CHAN_B() checks removed ? Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] [PATCH v3 02/16] ath9k: use hw-conf on ath_setcurmode()

2008-12-29 Thread Sujith
2 HT rate tables, ar5416_11na_ratetable and ar5416_11ng_ratetable. The different HT modes point to the same tables, in ath_rate_attach(). Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] [PATCH v3 07/16] ath9k: use ieee80211_conf on ath9k_hw_iscal_supported()

2008-12-29 Thread Sujith
Luis R. Rodriguez wrote: Because 1) it will currently never happen 2) we need a better check for is CCK in mac80211, not an internal check. Agreed, an internal check is hacky. But hopefully, we'll remember this when adding 11B support. :) Sujith

[ath9k-devel] [RFC 08/12] ath9k: get EEPROM contents from platform data on AHB bus

2009-01-05 Thread Sujith
), instead of pci.c and ahb.c ? Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] [RFC 08/12] ath9k: get EEPROM contents from platform data on AHB bus

2009-01-06 Thread Sujith
could put it into main.c simply. Your choice really, it doesn't matter much anyway. :) Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

[ath9k-devel] [PATCH v4 02/11] ath9k: convert to use bus-agnostic DMA routines

2009-01-14 Thread Sujith
Gabor Juhos wrote: Convert to use bus-agnostic DMA routines to make it usable on AHB bus as well. This pretty much makes the previous patch redundant. Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman

Re: [ath9k-devel] [PATCH v4 07/11] ath9k: get EEPROM contents from platform data on AHB bus

2009-01-15 Thread Sujith
Gabor Juhos wrote: Sujith rta: Gabor Juhos wrote: +static bool ath_ahb_eeprom_read(struct ath_hal *ah, u32 off, u16 *data) +{ +struct ath_softc *sc = ah-ah_sc; +struct platform_device *pdev = to_platform_device(sc-dev); +struct ath9k_platform_data *pdata; + +pdata

[ath9k-devel] ath9k, compat-wireless-old: kernel panic

2009-01-17 Thread Sujith
gone into ath9k. Any kernel later than 2.6.27 would be a better choice. In that case you can use compat-wireless-2.6 to pull in the latest code. See: http://wireless.kernel.org/en/users/Download Sujith -- http://sujith-m.blogspot.com ___ ath9k-devel

[ath9k-devel] not getting 11n rates

2009-01-17 Thread Sujith
load ath9k with debugging enabled, as 'modprobe ath9k debug=0x2000' and post the output here. Sujith -- http://sujith-m.blogspot.com ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] ath9k not working

2009-01-17 Thread Sujith
: CONFIG_ATH9K_DEBUG=y has to be present in your .config Also, this option is present in newer kernels, so 2.6.29-rc2 should do fine. Sujith -- http://sujith-m.blogspot.com ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org

Re: [ath9k-devel] not getting 11n rates

2009-01-17 Thread Sujith
doesn't report HT rates. You can run iperf and see how the throughput is. Sujith -- http://sujith-m.blogspot.com ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] Possibility of porting ath9k to opensolaris.

2009-01-20 Thread Sujith
. Sujith -- http://sujith-m.blogspot.com ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

[ath9k-devel] ath9k WMP300nv2 (AR5416)

2009-01-25 Thread Sujith
/Download Sujith -- http://sujith-m.blogspot.com ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] Setting 11n MCS TX bitrate

2009-02-04 Thread Sujith
through iw though. It seems this is due to the way our RC works... anyway this could use some love too. Sujith may be working on this, not sure, sujith? In the end it would be nice to see minstrel be used anyway so a good milestone is to allow ath9k select minstrel or let it use its own RC

[ath9k-devel] ar9102 client mode unstable, ping times climb and climb

2009-02-04 Thread Sujith
The post at pastebin has expired... Sujith -- http://sujith-m.blogspot.com ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

[ath9k-devel] ath9k in 2.6.28.3 still does not work properly

2009-02-04 Thread Sujith
Enable CONFIG_ATH9K_DEBUG=y in config.mk, load ath9k with the module parameter debug=0x2000, and then reproduce the issue and post the log here please. Thanks. Sujith -- http://sujith-m.blogspot.com ___ ath9k-devel mailing list ath9k-devel

[ath9k-devel] Do 11n rates available in ad-hoc mode?

2009-02-04 Thread Sujith
. However, I never saw any rates 54 Mbps. Are the 11n rates available in ad-hoc mode? Thx a lot. Nope, 11n hasn't been implemented for Ad-Hoc. Sujith -- http://sujith-m.blogspot.com ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https

[ath9k-devel] WDS support in ATH9k driver

2009-02-04 Thread Sujith
how it goes. (NL80211_IFTYPE_WDS in ath_attach() ). Sujith -- http://sujith-m.blogspot.com ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

[ath9k-devel] How to disable 11n mode

2009-02-10 Thread Sujith
have to, 1x1 chainmask configuration will automatically be chosen for legacy mode. See ath_update_chainmask() in main.c Sujith -- http://sujith-m.blogspot.com ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo

[ath9k-devel] How to disable 11n mode

2009-02-10 Thread Sujith
? The chainmasks would automatically be 1x1 in legacy mode, see ath9k_config()@main.c and ath_update_chainmask(). Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

[ath9k-devel] AR9260 hang during connection to AP

2009-02-11 Thread Sujith
find one. 2) Where I can get documentation for AR5*** and AR9*** chipsets? Does it released for public access? The code is the documentation. :) Sujith -- http://sujith-m.blogspot.com ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https

Re: [ath9k-devel] AR9260 hang during connection to AP

2009-02-11 Thread Sujith
, give me a link to git tutorial. I want to modifi some wireless files, but keep ability to update them by git pull... Sorry, I'm newbie... http://wireless.kernel.org/en/developers/Documentation/git-guide Sujith -- http://sujith-m.blogspot.com ___ ath9k

Re: [ath9k-devel] AR9260 hang during connection to AP

2009-02-23 Thread Sujith
Steve Brown wrote: For me, the ASSERT at rc.c:745 goes off. I instrumented it. The results are attached. Thanks for the trace. We'll work on this. Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman

Re: [ath9k-devel] ar9102 client mode unstable, ping times climb and climb

2009-02-23 Thread Sujith
On kernel 2.6.28.6 with compat-wireless 2009-02-19. All who have put the AR9102 in client-mode seem to watch it quickly degrade to 0 or 1Mbps rate... which I do not see on a laptop with AR5418 MiniPCI card using same compat-wireless. Sujith or other developer tried ath9k on AP81 platform

Re: [ath9k-devel] AR9260 hang during connection to AP

2009-02-23 Thread Sujith
current channel width. Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] AR9260 hang during connection to AP

2009-02-24 Thread Sujith
Steve Brown wrote: This is the bug, the AP advertises 20/40, but sets the operating channel to 20 Mhz, but ath9k chooses the wrong rate table since it doesn't honor the AP's current channel width. Can you try this patch ? This will apply on top of today's wireless-testing. Thanks.

Re: [ath9k-devel] AR9260 hang during connection to AP

2009-02-24 Thread Sujith
, are you using ath9k as the AP ? Can you paste the hostapd log ? (hostapd -dd) From your other mail, the chosen rate table is completely wrong, am not sure if this is related to AP mode in ath9k. Sujith ___ ath9k-devel mailing list ath9k-devel

[ath9k-devel] [RFC] ath9k: use correct init values for ar9100 devices

2009-03-03 Thread Sujith
Gabor Juhos wrote: 1. In some cases the ethernet interface goes down for a short time after'ifconfig wlan0 up'. 2. Sometimes the device simply reboots itself after 'ifconfig wlan0 up'. After I have added some printk statements into the code, I noticed that the ar5416 and ar9100 devices use

[ath9k-devel] [RFC] ath9k: use correct init values for ar9100 devices

2009-03-03 Thread Sujith
Sujith Manoharan wrote: I'll check the initval arrays and update. Does this patch help ? I haven't tested on 9100, but 5416 works fine. diff --git a/drivers/net/wireless/ath9k/hw.c b/drivers/net/wireless/ath9k/hw.c index eb750a5..d7b3c44 100644 --- a/drivers/net/wireless/ath9k/hw.c +++ b

Re: [ath9k-devel] [RFC] ath9k: use correct init values for ar9100 devices

2009-03-05 Thread Sujith
those initvals are meant only for AR91xx chipsets. and the typo for AR9285 chipsets. This one can go with a separated patch? Sure. Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

[ath9k-devel] AMSDU and AMPDU packet aggregation in ath9k

2009-03-05 Thread Sujith
to do a project with drivers that support AMSDU and AMPDU packet aggregation. AFAK, ath9k (in the wireless-testing tree) supports this AMSDU and AMPDU packet aggregation. Is it true? ath9k supports only AMPDU aggregation currently. Sujith ___ ath9k

[ath9k-devel] [PATCH] ath9k: create a common debugfs_root for all device instances

2009-03-05 Thread Sujith
dereference. Will send out a patch fixing this. Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

[ath9k-devel] [PATCH 0/3] ath9k: version checking macro cleanup (was [RFC] ath9k: use correct init values for ar9100 devices)

2009-03-05 Thread Sujith
Gabor Juhos wrote: According to Luis request, here is the new patch-set with detailed explanations. Series looks good, but it doesn't apply on current wireless-testing. A rebase is needed ? Sujith ___ ath9k-devel mailing list ath9k-devel

[ath9k-devel] [PATCH] ath9k: Set IEEE80211_TX_CTL_RATE_CTRL_PROBE in rate control for probe rates

2009-03-06 Thread Sujith
; } IEEE80211_TX_CTL_RATE_CTRL_PROBE is to be used with fl...@ieee80211_tx_info and is not a per-rate flag. Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

[ath9k-devel] [PATCH 2/2] ath9k: make few eeprom and calib items static

2009-03-09 Thread Sujith
in net-next-2.6 fixes a couple of warnings (in eeprom.c). Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] ath9k panic when connecting to 802.11n-enabled AP

2009-03-17 Thread Sujith
Vladimir Senkov wrote: On Mon, Mar 16, 2009 at 2:03 AM, Sujith sujith.manoha...@atheros.com wrote: handle_assoc STA 00:23:4d:b7:98:e8 - no HT, num of non-HT stations 1 hostapd_ht_operation_update current operation mode=0x0 hostapd_ht_operation_update new operation mode=0x13 changes=2 new

Re: [ath9k-devel] N not in use.

2009-03-31 Thread Sujith
? Kernel driver in use: nvidia Kernel modules: nvidia I don't think this should affect ath9k, but still, please remove the binary kernel module 'nvidia' when you are reporting kernel issues. Sujith ___ ath9k-devel mailing list ath9k-devel

Re: [ath9k-devel] Read and write the EEPROM

2009-04-01 Thread Sujith
supported by ath9k. If that command doesn't work anymore, might someone please suggest me how could I get the data out of the card's memory. Take a look at eeprom.[ch] in ath9k/ and you could probably write a parser or extend ath_info maybe ... Sujith

[ath9k-devel] [PATCH] ath9k: reset after PCI FATAL/PERR interrupts

2009-04-13 Thread Sujith
remains unclear, though. We'll work on this issue. Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] Disconnect problem (DMA failed to stop in 10 ms)

2009-08-18 Thread Sujith
the driver with the modparam 'debug=0x200' and post the kernel log when this issue happens ? Thanks. Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

[ath9k-devel] Disabling Link-Layer Acks

2009-10-07 Thread Sujith
? No. That flag is used to indicate whether we should expect an ACK for the frame being sent. The correct way would be to set AR_DIAG_ACK_DIS in AR_DIAG_SW (reg.h) Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org

[ath9k-devel] Arch Linux ath9k

2009-10-27 Thread Sujith
is at: http://linuxwireless.org/en/users/Download/ Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

[ath9k-devel] trouble with DWA-552 and ath9k

2009-12-17 Thread Sujith
=0x600 and post the kernel log. Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] trouble with DWA-552 and ath9k

2009-12-17 Thread Sujith
and is perhaps not 100% supported yet? That can be determined by looking at the kernel log on loading the driver with 'debug=0x600'. Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] trouble with DWA-552 and ath9k

2010-01-07 Thread Sujith
://wireless.kernel.org/en/users/Drivers/ath9k/debug That would show what exactly goes wrong when bringing up the interface. Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] trouble with DWA-552 and ath9k

2010-01-13 Thread Sujith
as the contents of RTC_RC is weird. Which probably means that the earlier initialization messed up somewhere, corrupting the RTC register space - this would be my immediate guess. Will take a look. Thanks for the debug log. Sujith ___ ath9k-devel

[ath9k-devel] ath9k: AWAKE - NETWORK_SLEEP

2010-01-15 Thread Sujith
: [ 4432.123358] ath9k: NETWORK SLEEP - AWAKE Disable power managament. 'iwconfig wlan0 power off' Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] ath: Unable to stop TxDMA. Reset HAL!

2010-01-19 Thread Sujith
Benoit PAPILLAULT wrote: I am seeing this as well on 2.6.33-rc4-wl, but only at unload time (modprobe -r ath9k). Yep, this happens because I changed the debug mask for that message to FATAL. It is harmless, but can be fixed by cleaning up the virtual wiphy / idle stuff. Sujith

Re: [ath9k-devel] ath9k in wireless-testing won't work in AP mode

2010-02-02 Thread Sujith
Luis Rodriguez wrote: Since the issues so far are obaserved on AR9160 and AR9220 (and not AR9280) and AR9271 (sujith) this might be a bus issue and the only way to zero in on the issue would be by getting full register dumps to ensure every other register related to ACK Timeout is programmed

Re: [ath9k-devel] ath9k_htc compat-wireless tarballs should be up now

2010-03-29 Thread Sujith
), to ath9k_hif_usb_ids[], and changed #define AR9271_USB 0x9271 to #define AR9271_USB 0x1006, is this the right thing to do ? Can you post the output of lsusb ? Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org

Re: [ath9k-devel] ath9k_htc compat-wireless tarballs should be up now

2010-03-31 Thread Sujith
Dyno Fu wrote: On Tue, Mar 30, 2010 at 11:47 AM, Sujith sujith.manoha...@atheros.com wrote: Wiktor Zajas wrote: Thanks so much for this driver, it's working flawlessly. Only one minor problem was Michael MIC failure detected, changing to AES helped. I don't know if what I've done

[ath9k-devel] compat-wireless

2010-04-08 Thread Sujith
, because the firmware does not report the actual transmission rate. You can check the actual throughput using iperf. Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] ath9k_htc: add the 0cf3:1006 TL-WN422G v2 device ID now

2010-04-20 Thread Sujith
John W. Linville wrote: Any feedback on this? This has already been merged. commit e92119ca88691ac2239916d31c3dcecd10867521 Author: Sujith sujith.manoha...@atheros.com Date: Thu Apr 1 10:28:24 2010 +0530 ath9k_htc: Add TL-WN422G v2 product ID Signed-off-by: Sujith sujith.manoha

[ath9k-devel] Fail to probe WN721N

2010-05-06 Thread Sujith
=linux/kernel/git/mcgrof/ath9k_htc.git;a=snapshot;h=464e457b98dfd75223f50b3c9a11740b979135da;sf=tgz Anybody give me a hand? Thanks! ath9k_htc has been merged into wireless-testing. See: http://wireless.kernel.org/en/users/Drivers/ath9k_htc Sujith

[ath9k-devel] [patch 2/9] ath9k: range checking issues in htc_hst.c

2010-05-09 Thread Sujith
; - if (epid = ENDPOINT_MAX) { + if (epid = HST_ENDPOINT_MAX) { if (pipe_id != USB_REG_IN_PIPE) dev_kfree_skb_any(skb); else The original check was correct ... Sujith ___ ath9k-devel

Re: [ath9k-devel] [patch 2/9] ath9k: range checking issues in htc_hst.c

2010-05-10 Thread Sujith
the htc_target struct should be changed to ENDPOINT_MAX? Ah right. That should be fixed. Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] Vaio F Atheros AR9287 drivers Backtrack 4

2010-05-17 Thread Sujith
called ath9k_htc. It's present in the current wireless-testing branch and it's in process of being propagated to other branches and stable kernels. AR9287 is supported by ath9k, not ath9k_htc. compat-wireless should support the chipset. Sujith ___ ath9k

[ath9k-devel] [patch -next 1/2] ath9k_htc: dereferencing before check in hif_usb_tx_cb()

2010-05-18 Thread Sujith
Dan Carpenter wrote: After c11d8f89d3b7: ath9k_htc: Simplify TX URB management we no longer assume that tx_buf is a non-null pointer. Signed-off-by: Dan Carpenter erro...@gmail.com Thanks. Acked-by: Sujith sujith.manoha...@atheros.com diff --git a/drivers/net/wireless/ath/ath9k/hif_usb.c

[ath9k-devel] [patch -next 2/2] ath9k_htc: rare leak in ath9k_hif_usb_alloc_tx_urbs()

2010-05-18 Thread Sujith
Dan Carpenter wrote: This is obviously a small picky thing. The original error handling code doesn't free the most recent allocations which haven't been added to the hif_dev-tx.tx_buf list yet. Signed-off-by: Dan Carpenter erro...@gmail.com Thanks. Acked-by: Sujith sujith.manoha

[ath9k-devel] problem with AR9271

2010-05-18 Thread Sujith
fine But, The bit rate is 1 MB/s and when I try to changed using iwconfig wlan0 bitrate 54M it says not supported The reported TX rate is always 1 Mbps, because the firmware doesn't report the actual tx rate. Sujith ___ ath9k-devel

[ath9k-devel] [patch] ath9k: cleanup: remove unneeded null check

2010-05-23 Thread Sujith
-off-by: Dan Carpenter erro...@gmail.com Thanks. Acked-by: Sujith sujith.manoha...@atheros.com diff --git a/drivers/net/wireless/ath/ath9k/wmi.c b/drivers/net/wireless/ath/ath9k/wmi.c index e23172c..6260faa 100644 --- a/drivers/net/wireless/ath/ath9k/wmi.c +++ b/drivers/net/wireless/ath

[ath9k-devel] ath9k_htc in master mode

2010-06-10 Thread Sujith
is currently working on this, but it might change in the future. :) Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

[ath9k-devel] ath9k_htc - AR9271 - NETGEAR WNA1100 Wireless-N 150 USB Adapter - 0846:9030

2010-06-15 Thread Sujith
credits You have the wrong firmware. Please see http://wireless.kernel.org/en/users/Drivers/ath9k_htc. I'll check the USB IDs and send a fix. Thanks for reporting this. Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org

[ath9k-devel] RTS/CTS with TL-WN721N (ath9k_htc AR9271)

2010-07-14 Thread Sujith
ATH9K_HTC_TX_RTSCTS and ATH9K_HTC_TX_CTSONLY in ath9k_htc_tx_start() in htc_drv_txrx.c Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

[ath9k-devel] Cannot apply patches to add AP mode to supported modes for ath9k_htc

2010-07-31 Thread Sujith
Natale Vinto wrote: Hi, I have a TP-LINK TL-WN722N USB dongle with AR9271 chipset, because I would use it as AP i tried to use wireless-testing linville kernel 2.6.35-rc5 and tried to apply patches from Sujith that I found here: http://marc.info/?t=12767669921r=1w=2 http://marc.info/?l

Re: [ath9k-devel] ath9k_htc vs. powerpc (was Re: working usb wifi card, that is still possible to buy)

2010-11-26 Thread Sujith
Pavel Machek wrote: Hi! Sujith, I see you fought with endianness issues on ath9k_htc driver. Was you able to test it on actual hardware? Should I try the version just after your commit? No, I never had a chance to test the driver on a big-endian system. I assume you are referring

Re: [ath9k-devel] ath9k_htc vs. powerpc (was Re: working usb wifi card, that is still possible to buy)

2010-11-29 Thread Sujith
Pavel Machek wrote: ...so I indentified two endianness problems in eeprom, but even with both fixed, it still will not associate. Is there some way to dump USB packets, then compare them between PC and PowerPC versions? Should I expect them to match? Does this patch help ? diff --git

Re: [ath9k-devel] ath9k_htc vs. powerpc (was Re: working usb wifi card, that is still possible to buy)

2010-11-29 Thread Sujith
well. Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

[ath9k-devel] about ath9k_htc status report for transmitted packet

2010-12-13 Thread Sujith
the firmware using WMI_TXRATE_EVENTID in wmi.c Also, check the 'tgt_stats' debugfs file to obtain retry statistics. Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] about ath9k_htc status report for transmitted packet

2010-12-13 Thread Sujith
Tao Jin wrote: Hi Sujith, Thanks a lot for the reply! Is this fully supported in ath9k and ath5k? Yep. Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

[ath9k-devel] about ath9k_htc code naming convention

2010-12-28 Thread Sujith
a kernel novice. Are these names kinda standard naming convention in driver development? or this has to do with the usb chipset used in those wifi usb cards? HTC is specific to the USB cards supported by ath9k_htc. Sujith ___ ath9k-devel mailing list

Re: [ath9k-devel] target unresponsive form ath9k_htc.

2011-01-02 Thread Sujith
Yevgeniy Melnichuk wrote: hello Sujith, same result, except the lines you mentioned are missing. here is the exact output: usb 1-1: new high speed USB device using ehci_hcd and address 15 usb 1-1: ath9k_htc: Transferred FW: ar7010_1_1.fw, size: 73028 usb 1-1: ath9k_htc: Target

Re: [ath9k-devel] target unresponsive form ath9k_htc.

2011-01-02 Thread Sujith
the value. Otherwise, the config file used to compile the kernel would have the value. I have a card with PID 0x7015 and it works fine here, so not sure where the problem lies. Can you post the output of uname -a, and /proc/cpuinfo ? Thanks. Sujith ___ ath9k

Re: [ath9k-devel] ath9k_htc in master mode / 0cf3:9271 Atheros Communications AR9271 802.11n / USB TP-Link TL-WN722N / detachable antenna - RSMA

2011-01-11 Thread Sujith
device specifically for this knowing full well the drivers weren't done yet :-) There are a few issues with PS-buffering which requires modifications in the firmware. Hopefully, something will be posted soon. Sujith ___ ath9k-devel mailing list ath9k

[ath9k-devel] [RFC/WIP 00/33] ath9k_htc AP mode

2011-01-20 Thread Sujith
tested rigorously, so consider this series as experimental code. Sujith Sujith Manoharan (33): ath9k_htc: Allow upto two simultaneous interfaces ath9k_htc: Unify target capability updation ath9k_htc: Fix error handling in add_interface ath9k_htc: Remove OP_PREAMBLE_SHORT ath9k_htc: Remove

[ath9k-devel] [RFC/WIP 01/33] ath9k_htc: Allow upto two simultaneous interfaces

2011-01-20 Thread Sujith
From: Sujith Manoharan sujith.manoha...@atheros.com Multiple interfaces can be configured if a slot is free on the target. Monitor mode also requires a slot. The maximum number of stations that can be handled in the firmware is 8, manage the station slots accordingly. Signed-off-by: Sujith

[ath9k-devel] [RFC/WIP 02/33] ath9k_htc: Unify target capability updation

2011-01-20 Thread Sujith
From: Sujith Manoharan sujith.manoha...@atheros.com Update capabilites on the target once, when start() is called, there is no need for redundant updation on adding an interface. Signed-off-by: Sujith Manoharan sujith.manoha...@atheros.com --- drivers/net/wireless/ath/ath9k/htc_drv_main.c

[ath9k-devel] [RFC/WIP 03/33] ath9k_htc: Fix error handling in add_interface

2011-01-20 Thread Sujith
From: Sujith Manoharan sujith.manoha...@atheros.com Addition of a station might fail - handle this error properly by removing the VAP on the target. Also, bail out immediately if the max. no of interfaces has been reached. Signed-off-by: Sujith Manoharan sujith.manoha...@atheros.com --- drivers

[ath9k-devel] [RFC/WIP 04/33] ath9k_htc: Remove OP_PREAMBLE_SHORT

2011-01-20 Thread Sujith
From: Sujith Manoharan sujith.manoha...@atheros.com mac80211's BSS info can be used for this. Signed-off-by: Sujith Manoharan sujith.manoha...@atheros.com --- drivers/net/wireless/ath/ath9k/htc.h | 13 ++--- drivers/net/wireless/ath/ath9k/htc_drv_main.c |9 - 2

[ath9k-devel] [RFC/WIP 06/33] ath9k_htc: Remove OP_ASSOCIATED variable

2011-01-20 Thread Sujith
From: Sujith Manoharan sujith.manoha...@atheros.com mac80211 stores the association state in ieee80211_bss_conf. Use this and remove the local state, which is incorrect anyway since it is stored globally and not on a per-VIF basis. Restarting ANI and reconfiguration of HW beacon timers when

[ath9k-devel] [RFC/WIP 07/33] ath9k_htc: Set the BSSID mask for multiple interfaces

2011-01-20 Thread Sujith
From: Sujith Manoharan sujith.manoha...@atheros.com Signed-off-by: Sujith Manoharan sujith.manoha...@atheros.com --- drivers/net/wireless/ath/ath9k/htc.h |5 +++ drivers/net/wireless/ath/ath9k/htc_drv_main.c | 35 + 2 files changed, 40 insertions(+), 0

[ath9k-devel] [RFC/WIP 08/33] ath9k_htc: Make sequence number calculation per-VIF

2011-01-20 Thread Sujith
From: Sujith Manoharan sujith.manoha...@atheros.com Signed-off-by: Sujith Manoharan sujith.manoha...@atheros.com --- drivers/net/wireless/ath/ath9k/htc.h|2 +- drivers/net/wireless/ath/ath9k/htc_drv_beacon.c |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff

[ath9k-devel] [RFC/WIP 10/33] ath9k_htc: Protect ampdu_action with a mutex

2011-01-20 Thread Sujith
From: Sujith Manoharan sujith.manoha...@atheros.com This is required when issuing commands to the firmware. Signed-off-by: Sujith Manoharan sujith.manoha...@atheros.com --- drivers/net/wireless/ath/ath9k/htc_drv_main.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git

[ath9k-devel] [RFC/WIP 11/33] ath9k_htc: Fix WMI and beacon header

2011-01-20 Thread Sujith
From: Sujith Manoharan sujith.manoha...@atheros.com Match the beacon header with that of the firmware. Also, the firmware reports the TSF for an SWBA, so store it. Signed-off-by: Sujith Manoharan sujith.manoha...@atheros.com --- drivers/net/wireless/ath/ath9k/htc.h |2 +- drivers/net

[ath9k-devel] [RFC/WIP 12/33] ath9k_htc: Maintain individual counters for interfaces

2011-01-20 Thread Sujith
From: Sujith Manoharan sujith.manoha...@atheros.com This is required for allowing only one IBSS interface to be configured. Signed-off-by: Sujith Manoharan sujith.manoha...@atheros.com --- drivers/net/wireless/ath/ath9k/htc.h | 28 + drivers/net/wireless/ath

[ath9k-devel] [RFC/WIP 13/33] ath9k_htc: Allow AP interface to be created

2011-01-20 Thread Sujith
From: Sujith Manoharan sujith.manoha...@atheros.com Signed-off-by: Sujith Manoharan sujith.manoha...@atheros.com --- drivers/net/wireless/ath/ath9k/htc.h |8 drivers/net/wireless/ath/ath9k/htc_drv_main.c | 11 +++ 2 files changed, 19 insertions(+), 0 deletions

[ath9k-devel] [RFC/WIP 14/33] ath9k_htc: Calculate and set the HW opmode

2011-01-20 Thread Sujith
From: Sujith Manoharan sujith.manoha...@atheros.com Signed-off-by: Sujith Manoharan sujith.manoha...@atheros.com --- drivers/net/wireless/ath/ath9k/htc_drv_main.c | 15 ++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_main.c

[ath9k-devel] [RFC/WIP 15/33] ath9k_htc: Add ANI for AP mode

2011-01-20 Thread Sujith
From: Sujith Manoharan sujith.manoha...@atheros.com The time granularity for the ANI task is different for AP and station mode. Signed-off-by: Sujith Manoharan sujith.manoha...@atheros.com --- drivers/net/wireless/ath/ath9k/htc.h |1 + drivers/net/wireless/ath/ath9k/htc_drv_main.c

  1   2   3   4   5   6   7   8   >