Lines Matching refs:ampe
555 struct ieee80211_ampe_ie *ampe; in mesh_rsn_protect_frame() local
563 len = sizeof(*ampe); in mesh_rsn_protect_frame()
583 ampe = (struct ieee80211_ampe_ie *) (ampe_ie + 2); in mesh_rsn_protect_frame()
585 RSN_SELECTOR_PUT(ampe->selected_pairwise_suite, in mesh_rsn_protect_frame()
587 os_memcpy(ampe->local_nonce, sta->my_nonce, WPA_NONCE_LEN); in mesh_rsn_protect_frame()
588 os_memcpy(ampe->peer_nonce, sta->peer_nonce, WPA_NONCE_LEN); in mesh_rsn_protect_frame()
590 pos = (u8 *) (ampe + 1); in mesh_rsn_protect_frame()
652 struct ieee80211_ampe_ie *ampe; in mesh_rsn_process_ampe() local
729 ampe = (struct ieee80211_ampe_ie *) ampe_buf; in mesh_rsn_process_ampe()
730 pos = (u8 *) (ampe + 1); in mesh_rsn_process_ampe()
732 if (os_memcmp(ampe->peer_nonce, null_nonce, WPA_NONCE_LEN) != 0 && in mesh_rsn_process_ampe()
733 os_memcmp(ampe->peer_nonce, sta->my_nonce, WPA_NONCE_LEN) != 0) { in mesh_rsn_process_ampe()
738 os_memcpy(sta->peer_nonce, ampe->local_nonce, in mesh_rsn_process_ampe()
739 sizeof(ampe->local_nonce)); in mesh_rsn_process_ampe()