Lines Matching refs:gsm
1877 struct wpa_group *gsm = sm->group; in ieee80211w_kde_add() local
1882 igtk.keyid[0] = gsm->GN_igtk; in ieee80211w_kde_add()
1884 if (gsm->wpa_group_state != WPA_GROUP_SETKEYSDONE || in ieee80211w_kde_add()
1885 wpa_auth_get_seqnum(sm->wpa_auth, NULL, gsm->GN_igtk, igtk.pn) < 0) in ieee80211w_kde_add()
1887 os_memcpy(igtk.igtk, gsm->IGTK[gsm->GN_igtk - 4], WPA_IGTK_LEN); in ieee80211w_kde_add()
1914 struct wpa_group *gsm = sm->group; in SM_STATE() local
1932 wpa_auth_get_seqnum(sm->wpa_auth, NULL, gsm->GN, rsc); in SM_STATE()
1948 gtk = gsm->GTK[gsm->GN - 1]; in SM_STATE()
1949 gtk_len = gsm->GTK_len; in SM_STATE()
1950 keyidx = gsm->GN; in SM_STATE()
2243 struct wpa_group *gsm = sm->group; in SM_STATE() local
2261 if (gsm->wpa_group_state == WPA_GROUP_SETKEYSDONE) in SM_STATE()
2262 wpa_auth_get_seqnum(sm->wpa_auth, NULL, gsm->GN, rsc); in SM_STATE()
2267 kde_len = 2 + RSN_SELECTOR_LEN + 2 + gsm->GTK_len + in SM_STATE()
2274 hdr[0] = gsm->GN & 0x03; in SM_STATE()
2277 gsm->GTK[gsm->GN - 1], gsm->GTK_len); in SM_STATE()
2280 kde = gsm->GTK[gsm->GN - 1]; in SM_STATE()
2281 pos = kde + gsm->GTK_len; in SM_STATE()
2288 rsc, gsm->GNonce, kde, pos - kde, gsm->GN, 1); in SM_STATE()