* [ath9k-devel] Encryption key in mac80211
@ 2014-01-21 2:05 abhinav narain
2014-01-21 2:56 ` Ben Greear
0 siblings, 1 reply; 5+ messages in thread
From: abhinav narain @ 2014-01-21 2:05 UTC (permalink / raw)
To: ath9k-devel
Hi all,
I want encrypt the my framed injected packet with the same key as the
current shared key between the AP and the client.
For all I know the encryption is currently done in hardware (in atheros
cards)
but the session key must be stored in some data structure in mac80211!
Does anyone know where in the mac80211 stack can I access the key ?
Thanks,
Abhinav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140120/a1f4c5f2/attachment.htm
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] Encryption key in mac80211
2014-01-21 2:05 [ath9k-devel] Encryption key in mac80211 abhinav narain
@ 2014-01-21 2:56 ` Ben Greear
2014-01-21 3:19 ` abhinav narain
2014-02-03 17:04 ` abhinav narain
0 siblings, 2 replies; 5+ messages in thread
From: Ben Greear @ 2014-01-21 2:56 UTC (permalink / raw)
To: ath9k-devel
On 01/20/2014 06:05 PM, abhinav narain wrote:
> Hi all,
> I want encrypt the my framed injected packet with the same key as the current shared key between the AP and the client.
> For all I know the encryption is currently done in hardware (in atheros cards)
> but the session key must be stored in some data structure in mac80211!
>
> Does anyone know where in the mac80211 stack can I access the key ?
Check out the nohwcrypt module option. That disables all hardware encryption
for ath9k.
Thanks,
Ben
>
> Thanks,
> Abhinav
>
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] Encryption key in mac80211
2014-01-21 2:56 ` Ben Greear
@ 2014-01-21 3:19 ` abhinav narain
2014-02-09 1:07 ` abhinav narain
2014-02-03 17:04 ` abhinav narain
1 sibling, 1 reply; 5+ messages in thread
From: abhinav narain @ 2014-01-21 3:19 UTC (permalink / raw)
To: ath9k-devel
Hi Ben,
Thanks for this, I wasn't aware it can be turned off in the wifi chip!
I am suspecting, the encryption will be done in softmac mac80211 susbsytem ?
I see the flag ath9k_modparam_nohwcrypt used for this purpose,
but I can't see where this is hooked into the mac80211! any hints ?
Thanks,
Abhinav
On Mon, Jan 20, 2014 at 6:56 PM, Ben Greear <greearb@candelatech.com> wrote:
> On 01/20/2014 06:05 PM, abhinav narain wrote:
>
>> Hi all,
>> I want encrypt the my framed injected packet with the same key as the
>> current shared key between the AP and the client.
>> For all I know the encryption is currently done in hardware (in atheros
>> cards)
>> but the session key must be stored in some data structure in mac80211!
>>
>> Does anyone know where in the mac80211 stack can I access the key ?
>>
>
> Check out the nohwcrypt module option. That disables all hardware
> encryption
> for ath9k.
>
> Thanks,
> Ben
>
>
>> Thanks,
>> Abhinav
>>
>>
>> _______________________________________________
>> ath9k-devel mailing list
>> ath9k-devel at lists.ath9k.org
>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>>
>>
>
> --
> Ben Greear <greearb@candelatech.com>
> Candela Technologies Inc http://www.candelatech.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140120/3e2e5f5d/attachment.htm
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] Encryption key in mac80211
2014-01-21 2:56 ` Ben Greear
2014-01-21 3:19 ` abhinav narain
@ 2014-02-03 17:04 ` abhinav narain
1 sibling, 0 replies; 5+ messages in thread
From: abhinav narain @ 2014-02-03 17:04 UTC (permalink / raw)
To: ath9k-devel
Hi all,
I am still lost where to find the negotiated key by the device and the AP
in mac80211 codebase.
Any suggestions will be greatly appreciated!
Thanks,
Abhinav
On Mon, Jan 20, 2014 at 6:56 PM, Ben Greear <greearb@candelatech.com> wrote:
> On 01/20/2014 06:05 PM, abhinav narain wrote:
>
>> Hi all,
>> I want encrypt the my framed injected packet with the same key as the
>> current shared key between the AP and the client.
>> For all I know the encryption is currently done in hardware (in atheros
>> cards)
>> but the session key must be stored in some data structure in mac80211!
>>
>> Does anyone know where in the mac80211 stack can I access the key ?
>>
>
> Check out the nohwcrypt module option. That disables all hardware
> encryption
> for ath9k.
>
> Thanks,
> Ben
>
>
>> Thanks,
>> Abhinav
>>
>>
>> _______________________________________________
>> ath9k-devel mailing list
>> ath9k-devel at lists.ath9k.org
>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>>
>>
>
> --
> Ben Greear <greearb@candelatech.com>
> Candela Technologies Inc http://www.candelatech.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140203/e44ef400/attachment.htm
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] Encryption key in mac80211
2014-01-21 3:19 ` abhinav narain
@ 2014-02-09 1:07 ` abhinav narain
0 siblings, 0 replies; 5+ messages in thread
From: abhinav narain @ 2014-02-09 1:07 UTC (permalink / raw)
To: ath9k-devel
>
>
> I am suspecting, the encryption will be done in softmac mac80211 susbsytem
> ?
>
I looked at the wpa_supplicant codebase and found *wpa_ft_install_ptk()*
having the PTK key for encrypting the data packets.
I am not sure if this is the key passed to mac80211 subsystem.
I want to encrypt my injected frame with the same key as that of the
current session
key of the AP i am attached to.
Thoughts, comments ?
-
Abhinav
Thanks,
> Abhinav
>
>
> On Mon, Jan 20, 2014 at 6:56 PM, Ben Greear <greearb@candelatech.com>wrote:
>
>> On 01/20/2014 06:05 PM, abhinav narain wrote:
>>
>>> Hi all,
>>> I want encrypt the my framed injected packet with the same key as the
>>> current shared key between the AP and the client.
>>> For all I know the encryption is currently done in hardware (in atheros
>>> cards)
>>> but the session key must be stored in some data structure in mac80211!
>>>
>>> Does anyone know where in the mac80211 stack can I access the key ?
>>>
>>
>> Check out the nohwcrypt module option. That disables all hardware
>> encryption
>> for ath9k.
>>
>> Thanks,
>> Ben
>>
>>
>>> Thanks,
>>> Abhinav
>>>
>>>
>>> _______________________________________________
>>> ath9k-devel mailing list
>>> ath9k-devel at lists.ath9k.org
>>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>>>
>>>
>>
>> --
>> Ben Greear <greearb@candelatech.com>
>> Candela Technologies Inc http://www.candelatech.com
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140208/345e3697/attachment.htm
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-02-09 1:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-21 2:05 [ath9k-devel] Encryption key in mac80211 abhinav narain
2014-01-21 2:56 ` Ben Greear
2014-01-21 3:19 ` abhinav narain
2014-02-09 1:07 ` abhinav narain
2014-02-03 17:04 ` abhinav narain
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.