]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: enable ibss-rsn
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>
Fri, 10 Apr 2015 13:23:23 +0000 (13:23 +0000)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 17 Apr 2015 06:37:20 +0000 (09:37 +0300)
commita64360c9e02fe785d77691d2fd3eda54b3c7c496
tree4fba325cc15d8cec45a632c8ca41d5b53bc89e0f
parent428b4aea2ea6d55334b97410f6e388790a8a3ef1
ath10k: enable ibss-rsn

With latest additions to the driver it seems
viable to enable support for IBSS-RSN.

It seems to work on QCA988X and 999.999.0.636 but
is a bit slow to exchange RSN keys for some
reason. This may be a firmware quirk or ath10k is
missing something. Nevertheless it makes sense to
finally enable IBSS-RSN in ath10k even if somewhat
handicapped.

QCA6174 firmware doesn't seem to be able to Tx
EAPOL frames at all now (they get stuck in hw
queues for some reason) so it never gets to set
the keys in driver. It's fairly safe to assume that
once this is fixed IBSS-RSN will work with QCA6174
firmware without any additional changes. Hence no
special handling for advertising
IEEE80211_HW_SUPPORTS_PER_STA_GTK and
WIPHY_FLAG_IBSS_RSN is done now.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c