linux/drivers/net/wireless/ath/ath6kl
Pierre Le Magourou 270df8f80d ath6kl: Fix WLAN tethering authentication problem.
When enabling WLAN tethering, a new AP is visible and a STA could
connect to it. When the STA tries to authenticate to the newly created
AP, the WPA authentication mechanism is stuck in the 1/4 msg of 4-Way
Handshake.

In ath6kl_rx(), the ath6kl_find_sta() function is looking for the
h_source field of the Ethernet frame header received by the STA. The
datap pointer that points to the Ethernet frame header is incorrect,
and was pointing at the wrong offset in the buffer.

This commit adds a pad_before_data_start offset to set the datap pointer
to the Ethernet frame header. datap->h_source parameter is now really
pointing to the source ethernet address and the authentication process
can continue.

Signed-off-by: Pierre Le Magourou <plemagourou@aldebaran.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
2016-07-19 16:22:32 +03:00
..
bmi.c
bmi.h ath6kl: Fix ath6kl_bmi_read_hi32 macro 2014-07-14 15:49:23 +03:00
cfg80211.c nl80211: support beacon report scanning 2016-07-06 14:51:31 +02:00
cfg80211.h cfg80211: pass name_assign_type to rdev_add_virtual_intf() 2015-03-30 10:36:17 +02:00
common.h ath: change logging functions to return void 2014-09-29 14:29:23 +03:00
core.c ath6kl: add ability to set debug uart baud rate 2016-04-26 14:57:44 +03:00
core.h ath6kl: fix typo 2016-05-28 11:21:39 +03:00
debug.c ath6kl: break stats gathering code into separate method 2015-10-29 13:06:58 +02:00
debug.h ath6kl: break stats gathering code into separate method 2015-10-29 13:06:58 +02:00
hif-ops.h
hif.c ath6kl: fix blank lines before and after braces 2014-03-13 07:46:31 +02:00
hif.h ath6kl: fix struct hif_scatter_req list handling 2014-03-13 07:20:00 +02:00
htc_mbox.c ath6kl: Don't print error message when recv is canceled 2015-12-08 16:50:21 +02:00
htc_pipe.c ath6kl: implement rx flush for htc pipe 2014-07-14 16:03:01 +03:00
htc-ops.h
htc.h ath6kl: spell "distribution" correctly in a comment. 2015-07-29 11:14:04 +03:00
init.c ath6kl: add ability to set debug uart baud rate 2016-04-26 14:57:44 +03:00
Kconfig ath6kl: update Kconfig descriptions 2014-03-13 07:47:26 +02:00
main.c wireless: Use eth_<foo>_addr instead of memset 2015-03-03 17:01:36 -05:00
Makefile
recovery.c
sdio.c ath6kl: Add SDIO device ID for QCA6234X Support 2014-08-14 15:26:15 +03:00
target.h ath6kl: remove spaces before semicolon 2014-03-13 07:47:05 +02:00
testmode.c
testmode.h
trace.c
trace.h
txrx.c ath6kl: Fix WLAN tethering authentication problem. 2016-07-19 16:22:32 +03:00
usb.c ath6kl: remove incorrect reset_resume handler 2014-11-04 00:59:05 +02:00
wmi.c ath6kl: simplify logical condition 2016-05-28 11:23:18 +03:00
wmi.h cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00