]> git.baikalelectronics.ru Git - kernel.git/commit
wcn36xx: pass information elements in scan requests
authorDaniel Mack <daniel@zonque.org>
Tue, 17 Apr 2018 13:23:37 +0000 (15:23 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 24 Apr 2018 06:06:28 +0000 (09:06 +0300)
commit22ea831c3ee68840133525486cd2d7ddd884e1f8
tree82cfa8219b01c8f30168b6f28c99bdadb0a9bd9f
parentb844589cfafbd8b31f7cb172f6603cb30016f547
wcn36xx: pass information elements in scan requests

When the wifi driver core passes IE elements in the scan request, append
them to the firmware message. The driver currently tells the core that
it is capable of attaching up to WCN36XX_MAX_SCAN_IE_LEN octets, but
doesn't actually pass them to the the hardware.

Note that this patch doesn't fix a bug that was observed. The change is
merely done for the sake of completeness as the hardware supports
appending IEs in scans. Tests show that network scans work fine with
this patch applied.

Some defines were moved around to avoid cyclic include dependencies.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wcn36xx/hal.h
drivers/net/wireless/ath/wcn36xx/smd.c
drivers/net/wireless/ath/wcn36xx/wcn36xx.h