> > > 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 <gree...@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@lists.ath9k.org >>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel >>> >>> >> >> -- >> Ben Greear <gree...@candelatech.com> >> Candela Technologies Inc http://www.candelatech.com >> >> >
_______________________________________________ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel