qcacmn: Add optional cabapilites in WPA ie
Add optional cabapilites in WPA ie. Change-Id: I9be9e5f79837fe21a109d7e4c881023403297736
This commit is contained in:

committed by
nshrivas

parent
cf7d57c5f6
commit
ac40b6beda
@@ -2379,6 +2379,13 @@ uint8_t *wlan_crypto_build_wpaie(struct wlan_objmgr_vdev *vdev,
|
|||||||
selcnt[0]++;
|
selcnt[0]++;
|
||||||
WPA_ADD_KEYMGMT_TO_SUITE(frm, WLAN_CRYPTO_KEY_MGMT_NONE);
|
WPA_ADD_KEYMGMT_TO_SUITE(frm, WLAN_CRYPTO_KEY_MGMT_NONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* optional capabilities */
|
||||||
|
if (crypto_params->rsn_caps != 0 &&
|
||||||
|
crypto_params->rsn_caps != WLAN_CRYPTO_RSN_CAP_PREAUTH) {
|
||||||
|
WLAN_CRYPTO_ADDSHORT(frm, crypto_params->rsn_caps);
|
||||||
|
}
|
||||||
|
|
||||||
/* calculate element length */
|
/* calculate element length */
|
||||||
iebuf[1] = frm - iebuf - 2;
|
iebuf[1] = frm - iebuf - 2;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user