Commit Graph
3 Commits
Author SHA1 Message Date
Hu Wang 3fa1853ed5 wlan: Fix null mac address check in WDA
Driver failed to join AP with specific BSSID(eg. 00:00:00:00:00:03).
The reason is WDA_IS_NULL_MAC_ADDRESS only checks the first 4 bytes
of mac address, due to which AP's BSSID failed the check, hence WDA
returned the join failure.

Fix WDA_IS_NULL_MAC_ADDRESS to check all 6 bytes of mac address.

Change-Id: Ifda6d6ada80a5197e56893e30061f48e418ba041
CRs-Fixed: 1029543
2021-10-10 23:46:48 +02:00
Hu Wang 859cb988e7 wlan: Clear the bits in Ext Cap IE if AP not support
Some specific AP will send assoc reject if DUT set the bits of
Ext Cap IE which AP not advertise in beacon or probe response.
To avoid the IoT issue, clear the bits in Ext Cap IE if AP not
support.

Change-Id: I632f5474331abf51257cacdcce412d7a110d2433
CRs-Fixed: 1052140
2020-05-21 10:54:45 +02:00
Hu Wang 0409e22658 wlan: Use variable length for Ext Cap IE
Ext Cap IE is defined as fixed length in driver. But some
AP sends beacon or probe resp with variable length of
Ext Cap IE, then dot11f will decode it to invalid value.

To fix this, use variable length for Ext Cap IE.

Change-Id: I910edfddf3ea64bc3000b6e7803dc57a50399dbb
CRs-Fixed: 1052140
2020-05-21 10:54:44 +02:00