qcacld-3.0: Wait for probe response from AP in OWE transition mode

In OWE transition mode, the AP advertises one Hidden SSID and one
normal ssid and the OWE capable STA connects to the OWE supported
hidden SSID. When connecting to the hidden SSID, if the AP sends
beacon for the unicast probe request sent by driver before
anouncing join success, then the beacon NULL ssid gets updated to
the kernel. Then after successful association, while indicating
the connection successs to the kernel, the current bss is not
filled as wlan_cfg80211_get_bss() is called with the actual ssid
and not the NULL ssid.
Due to this when supplicant sends install key command for this
bss, kernel returns error and set_key always fails.

Wait for the probe response from the AP for the unicast probe
request sent before announcing join success and drop the beacon
received from the AP so that the driver
fills the proper ssid to the kernel bss entry and same ssid gets
used in association completion handler.

Change-Id: Icded0af5d45d3281ab4304bf166bdc318aa7a942
CRs-Fixed: 2782618
此提交包含在:
Pragaspathi Thilagaraj
2020-09-22 18:49:45 +05:30
提交者 snandini
父節點 8c8068fb81
當前提交 ee7302ebd0
共有 2 個檔案被更改,包括 16 行新增0 行删除

查看文件

@@ -29,6 +29,9 @@
#include <sir_api.h>
#include "wlan_cm_roam_public_struct.h"
#define OWE_TRANSITION_OUI_TYPE "\x50\x6f\x9a\x1c"
#define OWE_TRANSITION_OUI_SIZE 4
#define CFG_VALID_CHANNEL_LIST_LEN 100
#define CFG_PMKID_MODES_OKC (0x1)