qiao | 28 Jan 16:17 2016

how to kick off wifi user

Dear all,

 

Now I setup AP (ath9k driver) and want to find a way to kick off a special wifi user from the AP. I know “iw dev station del”, but it seems it only remove the station data from driver inside, but cannot trigger a disassociation frame wireless client. Would you please give some guidance about kick off wifi user?

 

Appreciate if any help!

 

-Joe



 



 

_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Maties Pons | 25 Jan 11:17 2016
Picon

Disable ACKs and Retransmission with ath9k_htc

Hi, 

I would like to know if it is possible to disable the 802.11 ACK and retransmission mechanism using the ath9k_htc driver while running under the IBSS (Ad-hoc) mode. I have found some investigation papers and studies (like WildNet and Roofnet) that did it using the old MadWifi driver, but I am not sure if it is doable with the current driver.

Thank you,

Maties Pons.

_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Sandip Sitapara | 26 Jan 15:48 2016
Picon

SSID cloaking with Ad-Hoc Mode

Hello Everyone,

Is there any way we can enable the SSID cloaking with Ad-hoc mode
using Ath9k? Any help would be really appreciated.

Thanks in Advance.

--

-- 
Thanks
Sandip Sitapara
Limestone Corporation
www.limeston.com
Дрюков Евгений | 21 Jan 10:27 2016
Picon

AR9280 How does it work - Power Detector Register AR_PHY_TPCRG1 & AR_PHY_TPCRG5

CloseLoop power regulator.
EPROM Version:0x0e Revision:0x16
Calibration per freq table 5Ghz: Idx:0->5300 Idx:1->5400 Idx:2->5500 Idx:3->5600 Idx:4->5700 Idx:5->5750 Idx:6->5825

EEPROM PWR\VPD table dump:
Chain:0 FreqTable:0 PD_GAIN:0   30\10  52\23  72\49  92\98 103\154
Chain:0 FreqTable:0 PD_GAIN:1   70\23  79\31  90\47  96\59 103\77
Chain:0 FreqTable:0 PD_GAIN:2   0\0  0\0 0\0 0\0 0\0
Chain:0 FreqTable:0 PD_GAIN:3   0\0  0\0 0\0 0\0 0\0

EEPROM GainOverlap = 6
EEPROM xpdMask = 0x06 -- 0110

Driver make two VPD table:
table1 10-148 sizeof 37
table2  23-74 sizeof 17

Next step - make PDADC table.
at9280 start -5db step 0.5db

PDAC table:
00:  000 000 000 000 000 000 001 002 003 004 << -5db
10:  005 006 007 008 009 010 011 012 013 014 << 0db
20:  015 017 018 019 020 021 023 025 028 030 << 5db
30:  033 036 038 041 043 046 049 053 058 063 << 10db
40:  068 073 078 083 088 093 098 108 118 158 << 15db
50:  028 030 032 035 038 041 044 047 051 055 << 20db
60:  059 064 069 074 079 084 089 094 099 104 << 25db <<  MAX_RATE_POWER=63 = 31db
70:  104 104 104 104 104 104 104 104 104 104 << 30db
80:  104 104 104 104 104 104 104 104 104 104 << 35db
90:  104 104 104 104 104 104 104 104 104 104 << 40db
100:  104 104 104 104 104 104 104 104 104 104 << 45db
110:  104 104 104 104 104 104 104 104 104 104  << 50db
120: 104 104 104 104 104 104 104 104 << 55db

GainOverlap_t2 = 6
GainBoundaries0:43
GainBoundaries1:51
GainBoundaries2:51
GainBoundaries3:51

Why GainBoundaries0 = 43 ???
Max power PD_GainTable1 =   Chain:0 FreqTable:0 PD_GAIN:0   30\10  52\23  72\49  92\98 103\154
103\154 == 103 \ 2 = Pwr:51\ADC:154 for table1

PDADC[43] = 83 <-- GainBoundaries0
PDADC[44] = 88
PDADC[45] = 93
PDADC[46] = 98
PDADC[47] = 108
PDADC[48] = 118
PDADC[49] = 158 <<< interpolate value  <<< <-- GainBoundaries0 + GainOverlap
PDADC[50] = 28
PDADC[51] = 30  <<< GainBoundaries1 GainBoundaries2 GainBoundaries3
PDADC[52] = 32
PDADC[53] = 35
PDADC[54] = 38
PDADC[55] = 41

Сan anyone have any ideas on how to work the registers?

xpdMask = 0x06 -- 0110
numXpdGain = 2
AR_PHY_TPCRG1
>AR_PHY_TPCRG1_NUM_PD_GAIN = numXpdGain - 1 =  1
>AR_PHY_TPCRG1_PD_GAIN_1 = 2
>AR_PHY_TPCRG1_PD_GAIN_2 = 1
>AR_PHY_TPCRG1_PD_GAIN_3 = 0

GainOverlap = 6
GainBoundaries0:43
GainBoundaries1:51
GainBoundaries2:51
GainBoundaries3:51
AR_PHY_TPCRG5
>AR_PHY_TPCRG5_PD_GAIN_OVERLAP = 6
>AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_1 = 43
>AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_2 = 51
>AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_3 = 51
>AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_4 = 51

Best regards, Eugene.
_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Rafiq Shaikh | 18 Jan 09:20 2016
Picon

Trying to enable ath9k_htc usb wifi driver on Cyanogenmod 12.1

Hi,

I have a Nexus 7 2012 Grouper tablet running Cyanogenmod 12.1 (Android).
I am trying to plugin a wifi USB dongle to my Nexus 7 Grouper and use it as a second wifi interface.
As part of this exercise I need to enable the support for ATH9K_HTC driver for Atheros AR9271 chipset.
I added following four config options in arch/arm/configs/cyanogenmod_grouper_defconfig:
CONFIG_ATH_COMMON=m
CONFIG_ATH9K_HW=m
CONFIG_ATH9K_COMMON=m
CONFIG_ATH9K_HTC=m

Then I follow the steps to build the CM image as given in https://wiki.cyanogenmod.org/w/Build_for_grouper.
After downloading the new CM image onto the device I don't see the modules related to ath9k_htc in /systems/lib/modules/.
When I look at the android/system/out/target/product/grouper/obj/KERNEL_OBJ/.config the options related to ATH9K_XX 
are missing. Out of the four options I only see CONFIG_ATH_COMMON=m.

Questions is:

Why ATH9K_XXX related config is removed before building the kernel? Who is removing them?

Has anyone successfully built Cyanogenmod 12.1 with ATH9K_XXX modules?

AM I missing something that is essential to get these modules included as part of the Cyanogenmod 12.1 image?

Best Regards,
-Rafiq.

_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Xuefer | 15 Jan 14:22 2016
Picon
Gravatar

ath9k driver broken since kernel v4.2

I'm having exactly same problem, except i'm using openwrt with mac mac80211


it's broken since openwrt 1443a0ca4a5978ffc14d34608f46d8d695289c1b

-PKG_VERSION:=2015-03-09
-PKG_RELEASE:=3
+PKG_VERSION:=2015-06-22
+PKG_RELEASE:=1
 PKG_BACKPORT_VERSION:=
-PKG_MD5SUM:=6d4b04e4ce8a1f54dabfb04f4709453c
+PKG_MD5SUM:=352b2b46d36a72aadc96161a3cefdb1c


i know how to use git bitset, but i don't know how to use it on openwrt's source, i have to roll back to that svn changeset which build with kernel 3.18.17. current latest is kernel 3.18.23


bug reported at https://dev.openwrt.org/ticket/20309 yet no one else seems to care
_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Valent Turkovic | 9 Jan 23:20 2016

Open source wifi router for crisis situations using ath9k

Hi all,
I'm one who starter www.meshpoint.me - idea is to build open source
wifi router that can be easily deployed in any type of crisis
situations.

I have been setting up wifi networks in crisis situations and I know
that there are no devices that are usable in crisis stiations. Belive
it or not but first responders usually aren't network admins :)
So that is why we started developing MeshPint.

First iteration will use off the shelf components and later we plan
develop our own wifi router board using atheros hardware.

Our current design (as you can see on the web site) uses three TP-LINK
WR842ND (AR9341) boards in 3D printed case.

Our concern is that this could generate too much interference and
cause too much L2 retransmissions because of co-channel interference.

We are using latest OpenWrt 15.04 Chaos Chalmer and ath9k driver and
would like to know if it is possible to extract metrics that shows
number or L2 retransmissions.
Do mac80211 or ath9k tracks L2 retransmission statistics?

How can we get those metrics if they do?

From my research up to 5-10% of L2 retransmission is just fine, but
anything over that is cause for great concern.

Is there any other metric that you would suggest we track that would
show some issues due to wifi interference?

Is there anyway to get AR9341 datasheet?

Cheers,
Valent.
lifefishing | 7 Jan 16:30 2016

回复: [patch -next] ath9k: fix ath9k_hw_nvram_check_version()

art2, who have,Pls give me

来自我的华为手机



-------- 原始邮件 --------
主题:Re: [ath9k-devel] [patch -next] ath9k: fix ath9k_hw_nvram_check_version()
发件人:Kalle Valo
收件人:Dan Carpenter
抄送:Martin Blumenstingl ,kernel-janitors <at> vger.kernel.org,ath9k-devel <at> venema.h4ckr.net,linux-wireless <at> vger.kernel.org,QCA ath9k Development


Dan Carpenter writes:

> There is a type bug so it always returns success.
>
> Fixes: 6fa658fd5ab2 ('ath9k: Simplify and fix eeprom endianness swapping')
> Signed-off-by: Dan Carpenter

Applied to ath.git, thanks.

--
Kalle Valo
_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
<at> oracle.com> <at> oracle.com>
<at> qca.qualcomm.com> <at> googlemail.com> <at> oracle.com> <at> codeaurora.org>
_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Fisher | 4 Jan 04:24 2016

Re: Welcome to the "ath9k-devel" mailing list






--

With Regards!

Tiegen.Li

李铁根

Application Developer , Wireless & Security products,IIT, Asia Pacific
Belden Hirschmann Beijing Office, China
Add:Room 2605, Golden Tower, No.1 South Road of Xibahe, Chaoyang District, Beijing, China
Zip code:100028
Tel:+86.10.6591 8801
Fax:+86.10.6591 8933
Cell+86 13911862034

Website:www.Belden.com



At 2016-01-04 11:21:15, ath9k-devel-request <at> lists.ath9k.org wrote: >Welcome to the ath9k-devel <at> lists.ath9k.org mailing list! > >To post to this list, send your email to: > > ath9k-devel <at> lists.ath9k.org > >General information about the mailing list is at: > > https://lists.ath9k.org/mailman/listinfo/ath9k-devel > >If you ever want to unsubscribe or change your options (eg, switch to >or from digest mode, change your password, etc.), visit your >subscription page at: > > https://lists.ath9k.org/mailman/options/ath9k-devel/lifefishing%40163.com > > >You can also make such adjustments via email by sending a message to: > > ath9k-devel-request <at> lists.ath9k.org > >with the word `help' in the subject or body (don't include the >quotes), and you will get back a message with instructions. > >You must know your password to change your options (including changing >the password, itself) or to unsubscribe. It is: > > DDR123! <at> # > >Normally, Mailman will remind you of your lists.ath9k.org mailing list >passwords once every month, although you can disable this if you >prefer. This reminder will also include instructions on how to >unsubscribe or change your account options. There is also a button on >your options page that will email your current password to you.
_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
David Binderman | 28 Dec 22:27 2015
Picon

drivers/net/wireless/ath/ath9k/init.c:865: possible misleading indentation ?

Hello there,

drivers/net/wireless/ath/ath9k/init.c:865:4: warning: statement is indented as if it were guarded
by... [-Wmisleading-indentation]

        if (ath9k_is_chanctx_enabled())
            hw->wiphy->interface_modes |=
                    BIT(NL80211_IFTYPE_P2P_DEVICE);

            hw->wiphy->iface_combinations = if_comb;
            hw->wiphy->n_iface_combinations = ARRAY_SIZE(if_comb);

iface_combinations and n_iface_combinations get assigned to every time,
but the code is formatted to look as if this should only happen some of the time.

Regards

David Binderman

 		 	   		  
Lukas Göstl | 23 Dec 11:53 2015

ath9k_htc over 20 Nodes

Hi again,

I got my Mesh Network running without any of the wireless adapters getting stuck. The Problem was that the
adapter got overwhelmed 
when the ath9k driver wanted to send more packets than the adapter could process. More precisely the
adapter got Problems when
the HTC_MAX_TX_STATUS (defined as 12) was reached. So I reduced the software queue of the ath9k driver from
256 to 12 Packets. 

However the performance could be better. Has anyone an idea for another solution or a suggestion to
increase the performance?

Thanks,
Lukas

> Hi all,
> 
> i successfully build up a secure Mesh Network over 20 Nodes with wpa_supplicant, ath9k_htc and
linux-kernel 3.18
> 
> I know there is a limit of station peering's on ath9k_htc, however I whitelisted the stations in a way, that
only 7 Peers authenticate with each other.
>
> The Mesh Network runs well for about 2 - 3 hours. Then some wireless adapters get stuck and do not response
anymore. They need a Powercycle to work again.
> 
> Has anybody an idea why this happens or what`s the best way to debug such a problem? I don't get any output in syslog.
> 
> Thanks,
> Lukas

Gmane