feat(wpa_supplicant): Add PASN Support to for NAN Pairing

- Create pasn module from upstream. Changes till 1a791e9c
- Add ecdh prime len api to MbedTLS port
- Integrate nan and pasn modules for PIN code method
- Fix KCK length and add auth timeout
- Add NAN Pairing PASN support
This commit is contained in:
Nachiket Kukade
2026-05-22 13:01:51 +08:00
parent 38182e38c0
commit e731ff3598
28 changed files with 6309 additions and 10 deletions
@@ -175,6 +175,7 @@ struct nan_sync_callbacks {
void (* ndp_response_indication)(struct ndp_cb_peer_info *peer_info);
void (* pairing_indication)(uint8_t peer_svc_id, uint8_t pub_id, uint8_t peer_nmi[6], uint16_t selected_method);
void (* pairing_confirm)(uint8_t status, uint8_t peer_svc_id, uint8_t sub_id, uint8_t peer_nmi[6], uint16_t matched_method, uint8_t reason_code);
void (* receive_pasn)(uint8_t *buf, size_t len, uint16_t trans_seq, uint16_t status);
};
/* Host helpers for NAN encrypted-datapath, registered via