2014-03-24 13:49:17

by shankar swaminathan

[permalink] [raw]
Subject: mac80211: WPA2-PSK encrypted packet Rx issue

Hello,

I have an AP with ath9k drivers that completes 4-way handshake and
generates PTK using CCMP and WPA-PSK with a client.

A ping from the wired side to the client (through the AP) reaches the
client as an encrypted packet (confirmed through a wireless capture).
The client also sends an encrypted response.
However, the response does not seem to reach the AP.

I have a function registered through dev_add_pack() in my kernel
module. However the function never seems to be hit.

Is there some configuration that is required in the Rx path of the AP
in the mac80211 driver that needs to be done?

Kindly help.

regards,
-shankar