WPS NFC: Add BSSID and AP channel info to Configuration Token
This information can help the Enrollee to find the AP more quickly with an optimized scan. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
75dbf98157
commit
d2f18378e1
3 changed files with 9 additions and 3 deletions
|
@ -1784,7 +1784,8 @@ struct wpabuf * hostapd_wps_nfc_config_token(struct hostapd_data *hapd,
|
|||
if (hapd->wps == NULL)
|
||||
return NULL;
|
||||
|
||||
ret = wps_get_oob_cred(hapd->wps);
|
||||
ret = wps_get_oob_cred(hapd->wps, hostapd_wps_rf_band_cb(hapd),
|
||||
hapd->iconf->channel);
|
||||
if (ndef && ret) {
|
||||
struct wpabuf *tmp;
|
||||
tmp = ndef_build_wifi(ret);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue